On Thu, Feb 26, 2004 at 04:05:11PM -0500, John Peacock wrote:
> Cristiano Paris wrote:
>
> >swig -c -nopm -perl -I.. -I../../../include -I/usr/include/apr-0 -module
> >SVN::_Core -o core.c ../core.i
>
> That all looks OK, i.e. you have the swiglib perl5 directory and you are
> not getting errors until the linker. However, this looks odd to me:
>
> -I/usr/include/apr-0
>
> It's in most of the compile lines. Are you sure that you gave the proper
> path to APR_CONFIG? Did you build Apache or are you relying on a prebuilt
> one?
Okay. I was building subversion without support for Apche, relying on its built-it apr-util. Now I've upgraded to latest BerkeleyDB (4.2), latest Apache (2.0.48), latest Perl (5.8.3) and latest Swig (1.3.21), but nothing changed. Here is what I get:
gcc -c -I/usr/include/apache2 -I/usr/include/apache2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BI
TS=64 -I/usr/lib/perl5/5.8.3/i686-linux/CORE -I.. -I../../../include -g -march=pentium3 -O3 -pipe -fomit-frame-poi
nter -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/per
l5/5.8.3/i686-linux/CORE" core.c
Running Mkbootstrap for SVN::_Core ()
chmod 644 _Core.bs
rm -f blib/arch/auto/SVN/_Core/_Core.so
LD_RUN_PATH="/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_client/.libs:/var/tmp/portage/
subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_delta/.libs:/var/tmp/portage/subversion-1.0.0/work/subversio
n-1.0.0/subversion/libsvn_fs/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_ra/.libs
:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_repos/.libs:/var/tmp/portage/subversion-1.
0.0/work/subversion-1.0.0/subversion/libsvn_wc/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversi
on/libsvn_diff/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_subr/.libs:/var/tmp/po
rtage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/.libs:/usr/lib" gcc -shared -L/usr/local/lib c
ore.o -o blib/arch/auto/SVN/_Core/_Core.so -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bi
ndings/swig/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_client/.libs -L/var/tmp
/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_delta/.libs -L/var/tmp/portage/subversion-1.0.0/wor
k/subversion-1.0.0/subversion/libsvn_fs/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/li
bsvn_ra/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_repos/.libs -L/var/tmp/port
age/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_wc/.libs -L/var/tmp/portage/subversion-1.0.0/work/subver
sion-1.0.0/subversion/libsvn_diff/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_s
ubr/.libs -lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_subr-1 -lsvn
_swig_perl-1 -L/usr/lib -lswigpl
chmod 755 blib/arch/auto/SVN/_Core/_Core.so
cp _Core.bs blib/arch/auto/SVN/_Core/_Core.bs
chmod 644 blib/arch/auto/SVN/_Core/_Core.bs
Manifying blib/man3/SVN::Delta.3pm
Manifying blib/man3/SVN::Repos.3pm
Manifying blib/man3/SVN::Ra.3pm
Manifying blib/man3/SVN::Core.3pm
Manifying blib/man3/SVN::Wc.3pm
Manifying blib/man3/SVN::Client.3pm
Manifying blib/man3/SVN::Base.3pm
make -f Makefile.client
make[1]: Entering directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
gcc -c -I/usr/include/apache2 -I/usr/include/apache2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BI
TS=64 -I/usr/lib/perl5/5.8.3/i686-linux/CORE -I.. -I../../../include -g -march=pentium3 -O3 -pipe -fomit-frame-poi
nter -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/per
l5/5.8.3/i686-linux/CORE" svn_client.c
Running Mkbootstrap for SVN::_Client ()
chmod 644 _Client.bs
rm -f blib/arch/auto/SVN/_Client/_Client.so
LD_RUN_PATH="/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_client/.libs:/var/tmp/portage/
subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_delta/.libs:/var/tmp/portage/subversion-1.0.0/work/subversio
n-1.0.0/subversion/libsvn_fs/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_ra/.libs
:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_repos/.libs:/var/tmp/portage/subversion-1.
0.0/work/subversion-1.0.0/subversion/libsvn_wc/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversi
on/libsvn_diff/.libs:/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_subr/.libs:/var/tmp/po
rtage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/.libs:/usr/lib" gcc -shared -L/usr/local/lib s
vn_client.o -o blib/arch/auto/SVN/_Client/_Client.so -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/sub
version/bindings/swig/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_client/.libs
-L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_delta/.libs -L/var/tmp/portage/subversion
-1.0.0/work/subversion-1.0.0/subversion/libsvn_fs/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/sub
version/libsvn_ra/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_repos/.libs -L/va
r/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/libsvn_wc/.libs -L/var/tmp/portage/subversion-1.0.0/w
ork/subversion-1.0.0/subversion/libsvn_diff/.libs -L/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversio
n/libsvn_subr/.libs -lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_su
br-1 -lsvn_swig_perl-1 -L/usr/lib -lswigpl
make[1]: Leaving directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file blib/arch/auto/SVN/_Client/_Client.so: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/SVN/_Client/_Client.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/subversion/bindings/swig/perl'
make: *** [modules] Error 2
> I'm at the limit of my knowledge; you may need more detailed help than I
> can currently provide. Perhaps Ben Reser (who has been performing massive
> rewrites of the Perl swig bindings) can chime in here...
Okay. Thank you anyway... you were so kind...
Cristiano
----
Web: http://www.disp.uniroma2.it/users/paris
Public PGP/GnuPG key
pub 1024D/32CA6D54 2004-01-23 Cristiano Paris (RHPK) <c.paris@email.it>
Key fingerprint = 3BFD 9884 230A 1F17 391C 1434 80CB 2C7A 32CA 6D54
----
- application/pgp-signature attachment: stored
Received on Thu Feb 26 23:01:18 2004