[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

my experience compiling on RedHat 7.3

From: Scott Harrison <sharrison_at_users.sourceforge.net>
Date: 2002-08-01 22:29:05 CEST

Dear All:

Notes FYI on getting RedHat 7.3 to compile subversion.
 (RH73 fresh install and then updated RPMs).

* download the latest RPMs from
  => done and installed (however, hey! I had to remove db3-utils and
     db3-devel first)

* checkout subversion with subversion
  => done

* ./autogen.sh doesn't work because it needs an up-to-date autoconf
  I get this: ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.53.tar.gz
    and install into /usr/local/autoconf-2.53
  export AUTOCONF=/usr/local/autoconf-2.53/bin/autoconf
  => done

* ./autogen.sh still doesn't work (complains about no autom4te)
  => ln -s /usr/bin/autom4te-2.53 /usr/bin/autom4te

* Another error.
  subversion/libsvn_subr/getdate.y contains 10 shift/reduce conflicts.
  Creating build-outputs.mk...
  Creating svn_private_config.h.in...
  FATAL ERROR: Autoconf version 2.50 or higher is required for this script
  Creating configure...

* Okay you bastards, take this!
  mv /usr/bin/autoconf /usr/bin/autoconf.old
  ln -s /usr/local/autoconf-2.53/bin/autoconf /usr/bin/autoconf

  (should probably just have modified PATH,
  => done

* One more time
  FATAL ERROR: Autoconf version 2.50 or higher is required for this script

* ./configure REALLY benefits from --disable-shared and

* Yet we get this blasted thing after running ./configure
  config.status: error: cannot find input file: svn_private_config.h.in

* Okay. Now I am serious.
  export PATH=/usr/local/autoconf-2.53/bin:$PATH

* The wonderful world of "apr"
  It worked well with the fresh CVS checkouts from
  apr-land as opposed to the apr RPMs.
  cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr apr-util

* With the exported path, I no longer get the fatal error:
  Instead I get WARNINGS (hoorah! hoorah? hoorah!) :)
Creating config.h.in ...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING: [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.

* ./configure --prefix=/usr/local/subversion \
  --exec-prefix=/usr/local/subversion --enable-maintainer-mode --disable-shared

Yes, it worked!

* make
  (half-an-hour later on my i586 64M 233MHz dinosaur)
* make check
  (half-an-hour later again)

Moral of the story here was to pay attention to build errors
early on in the process.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 1 22:34:29 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.