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

libtool: link: warning: libexpat.la seems to be moved

From: Joe Sparks <JRSPARKS_at_alphasmart.com>
Date: 2006-08-01 21:32:31 CEST

Good Morning,

I have been tasked with converting our data from CVS to SVN. Let me
first stress that I am NOT an expert. We have a +5GB CVS repository
that I need to convert. I first tried the pre-installed copy of
Subversion that came with SUSE 10.1 (version 1.3.0). I was having a
problem converting the data using cvs2svn. After reading the mail
archive, I got the impression it was highly recommended to have the
newest version installed and running before asking for help. I removed
the pre-installed RPM and downloaded the tar ball.

I pre-installed all the helper applications listed in the
INSTALL/README:

System Info:
SUSE Linux 10.1
CVS2SVN v1.4.0-RC1
Neon 0.26.1 (installed)
APR 1.2.7 (installed)
APR-util 1.2.7 (installed)
Python 2.4.3 (installed)
Berkeley DB 4.4.20 (installed)
Expat 2.0.0 (installed)
Ruby 1.8.4 (installed)
Subversion 1.3.2 (trying to install)

After installing the above programs, I ran the autogen.sh file. Here
are a few warnings from it:

-----------------------------------
buildcheck: libtool version 1.5.22 (ok)
buildcheck: local copy of find_apr.m4 does not match APR's copy.
            An updated copy of find_apr.m4 may need to be checked in.
buildcheck: local copy of PrintPath does not match APR's copy.
            An updated copy of PrintPath may need to be checked in.
buildcheck: local copy of find_apu.m4 does not match APRUTIL's copy.
            An updated copy of find_apu.m4 may need to be checked in.
Copying libtool helper: /usr/share/aclocal/libtool.m4
<Del'd to save space>
Creating configuration files for apr.
buildconf: checking installation...
buildconf: libtool version 1.5.22 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
<Del'd to save space>
Creating configuration files for apr-util.
Looking for apr source in ../apr
Creating include/private/apu_config.h ...
Creating configure ...
Invoking xml/expat/buildconf.sh ...
Incorporating /usr/share/aclocal/libtool.m4 into aclocal.m4 ...
Copying libtool helper files ...
Creating config.h.in ...
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
-----------------------------------

After that, I ran the following configure command:
venus:~/subversion-1.3.2 # ./configure --disable-libtool-lock
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
--with-apxs=/usr/local/apache2/bin/apxs --with-ssl --with-zlib
--enable-debug --enable-dso --with-gnu-ld

This is just the last ./configure command I ran. I have tried many
combinations to get it to work.

Some interesting things from the configure command:

-----------------------------------
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.2.7
configure: Apache Portable Runtime Utility (APRUTIL) library
configuration
checking for APR-util... yes
checking APR-UTIL version... 1.2.7
configuring libtool now
<Snip>
configure: WebDAV support is enabled
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_SetXmlDeclHandler in -lexpat... yes
configure: XML parser used: expat
<Snip>
configure: Configured to build neon 0.25.5:
  Install prefix: /usr/local
  Compiler: gcc
  XML Parser: expat
  SSL library: SSL support enabled, using OpenSSL (0.9.7 or later)
  zlib support: zlib support enabled, using -lz
  Build libraries: Shared=yes, Static=yes
neon configured properly
<Snip>
checking for Apache module support via DSO through APXS... found at
/usr/local/apache2/bin/apxs
<Snip>
checking for availability of Berkeley DB... Yes
-----------------------------------

I'm not sure why it tries to build Neon when I already have it
installed..

After that, I ran the "make" command. That's when I get the following
errors about 20 times each:

-----------------------------------
libtool: link: warning: `/usr/lib/libexpat.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i586-suse-linux/4.1.0/../../..//libexpat.la' seems to be
moved
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
warning: libexpat.so.1, needed by /usr/local/apr/lib/libaprutil-1.so,
may conflict with libexpat.so.0
-----------------------------------

Any suggestions on how to get it working? Do you see anything I can
change? I have the complete Autogen/Configure/Make history and can
attach it if you would like.

I have scoured Google and the mail archives but have not found an
answer. The closest thing I have found was here:
http://tinyurl.com/mscfx I tried the suggestion here
http://tinyurl.com/qgobx but it did not work either.

I would greatly appreciate any help you can give.

Thanks,

Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 1 21:34:20 2006

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

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