Hello,
Would somebody please give me some advice with installing the perl
bindings?
On this Redhat i686, I've got the latest stable perl (5.8.7), and the
lastest stable swig (1.3.25), subversion 1.2.1, and Apache2.0.47 (I
think).
Everything builds nicely, but for the bindings:
[root@dave11 subversion-1.2.1]# make swig-pl
cd /usr/src/subversion-1.2.1/subversion/bindings/swig/perl/native; make
make[1]: Entering directory
`/usr/src/subversion-1.2.1/subversion/bindings/swig/perl/native'
cc -c -I/usr/local/apache2/include -I/usr/local/apache2/include
-I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl
-I../../../../../subversion/include
-I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm -O2 -DVERSION=\"\"
-DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.7/CORE" core.c
core.c:1139: parse error before `apr_pool_t'
make[1]: *** [core.o] Error 1
make[1]: Leaving directory
`/usr/src/subversion-1.2.1/subversion/bindings/swig/perl/native'
make: *** [swig-pl] Error 2
[root@dave11 subversion-1.2.1]#
Has anyone seen this before, or does anyone have any ideas? I'm totally
lost....
Thanks in anticipation
lee
[root@dave11 subversion-1.2.1]# perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=linux, osvers=2.4.21-32.0.1.el, archname=i686-linux
uname='linux dave11 2.4.21-32.0.1.el #1 tue may 17 18:01:37 edt 2005
i686 i686 i386 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/include/gdbm',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/include/gdbm'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3
2.96-122)', gccosandvers='linux7'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/local/lib/perl5/5.8.7/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Sep 16 2005 11:04:03
%ENV:
PERL5LIB="/usr/lib/perl5/site_perl/5.8.7/"
PERL5LIBOLD="/usr/lib/perl5/site_perl/5.8.0/"
@INC:
/usr/lib/perl5/site_perl/5.8.7/
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
.
Received on Fri Sep 16 14:36:13 2005