You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Goddard Lee <le...@easa.eu.int> on 2005/08/29 12:56:18 UTC

SVN Perl Bindings Fail to make

I'm sure this has been reported, but in case it helps:

[root@dave11 subversion-1.2.1]# cd subversion/bindings/swig/perl/native
[root@dave11 native]# ls -l
total 136
-rw-rw-r--    1 rt       rt           3206 Dec  4  2004 Base.pm
-rw-rw-r--    1 rt       rt          46729 Jun 21  2004 Client.pm
-rw-rw-r--    1 rt       rt          21517 Jul  1 19:25 Core.pm
-rw-rw-r--    1 rt       rt           4829 Aug  1  2004 Delta.pm
-rw-rw-r--    1 rt       rt           1628 Jul  1 19:22 Fs.pm
-rw-rw-r--    1 rt       rt           1471 Oct  5  2004 h2i.pl
-rwxr-xr-x    1 root     root         5153 Aug 26 12:50 Makefile.PL
-rw-rw-r--    1 rt       rt           5022 Mar 22 10:31 Makefile.PL.in
-rw-rw-r--    1 rt       rt           5299 Jul  1 19:25 Ra.pm
-rw-rw-r--    1 rt       rt           1892 Mar 30 19:06 Repos.pm
drwxrwxr-x    2 rt       rt           4096 Jul  1 22:18 t
-rw-rw-r--    1 rt       rt           8511 Jun 21  2004 Wc.pm
[root@dave11 native]# perl Makefile.PL
swig error : Unrecognized option -perl
Use 'swig -help' for available options.
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile for SVN::_Core
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile.client for SVN::_Client
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile.delta for SVN::_Delta
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile.fs for SVN::_Fs
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile.ra for SVN::_Ra
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile.repos for SVN::_Repos
Note (probably harmless): No library found for -lsvn_swig_perl-1
Writing Makefile.wc for SVN::_Wc
[root@dave11 native]# make
cp ../../../../../subversion/bindings/swig/perl/native/Ra.pm blib/lib/SVN/Ra.pm
cp ../../../../../subversion/bindings/swig/perl/native/Delta.pm blib/lib/SVN/Delta.pm
cp ../../../../../subversion/bindings/swig/perl/native/Core.pm blib/lib/SVN/Core.pm
cp ../../../../../subversion/bindings/swig/perl/native/Wc.pm blib/lib/SVN/Wc.pm
cp ../../../../../subversion/bindings/swig/perl/native/Repos.pm blib/lib/SVN/Repos.pm
cp ../../../../../subversion/bindings/swig/perl/native/Base.pm blib/lib/SVN/Base.pm
cp ../../../../../subversion/bindings/swig/perl/native/Client.pm blib/lib/SVN/Client.pm
cp ../../../../../subversion/bindings/swig/perl/native/Fs.pm blib/lib/SVN/Fs.pm
/usr/bin/swig -c -nopm -perl -I../../../../../subversion/bindings/swig -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl -I../../../../../subversion/include -I/usr/src/subversion-1.2.1/apr/include  -o core.c ../../../../../subversion/bindings/swig/core.i
swig error : Unrecognized option -nopm
swig error : Unrecognized option -perl
Use 'swig -help' for available options.
make: *** [core.c] Error 1
[root@dave11 native]# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.21-1.1931.2.393.entsmp, archname=i386-linux-thread-multi
    uname='linux por'
    config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef'
 useithreads=define usemultiplicity=
    useperlio= d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=un uselongdouble=
    usemymalloc=, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-19)', gccosandvers=''
gccversion='3.2.3 200305'
    intsize=o, longsize=s, ptrsize=l, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long'
k', ivsize=4'
ivtype, nvtype='double'
o_no', nvsize=, Off_t='', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc'
l', ldflags =' -L/usr/local/lib'
ldflags_use'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize XS/A'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        MAINT18379
  Built under linux
  Compiled at Sep 15 2003 10:03:52
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    .
[root@dave11 native]# svn --version
svn, version 1.2.1 (r15230)
   compiled Aug 26 2005, 12:56:33
[root@dave11 native]# uname -a
Linux dave11 2.4.21-32.0.1.EL #1 Tue May 17 18:01:37 EDT 2005 i686 i686 i386 GNU/Linux
--
Lee Goddard
Internet Application Development
European Aviation Safety Agency
Administrative Directorate
E: Lee.Goddard@EASA.EU.int 
T: +49 221 89990 3221
F: +49 221 89990 3221
W: www.easa.eu.int

Post: Postfach 10 12 53, D-50452 Köln
Visit: Ottoplatz 1, D-50679 Köln

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: SVN Perl Bindings Fail to make

Posted by Max Bowsher <ma...@ukf.net>.
Goddard Lee wrote:
> I'm sure this has been reported, but in case it helps:
>
> [root@dave11 subversion-1.2.1]# cd subversion/bindings/swig/perl/native
...
> [root@dave11 native]# perl Makefile.PL
> swig error : Unrecognized option -perl
> Use 'swig -help' for available options.

This looks more like a problem with your installation of swig, than with the 
subversion code.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: SVN Perl Bindings Fail to make

Posted by Ben Reser <be...@reser.org>.
On Mon, Aug 29, 2005 at 02:56:18PM +0200, Goddard Lee wrote:
> [root@dave11 native]# perl Makefile.PL
> swig error : Unrecognized option -perl
> Use 'swig -help' for available options.

Looks to me like SWIG wasn't installed with Perl support.

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org