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

Re: Installation Problems (make swig-py)

From: J Robert Ray <jrray_at_imageworks.com>
Date: 2004-10-15 20:51:36 CEST

Tom Smith wrote:
> --- Max Bowsher <maxb@ukf.net> wrote:
>
>
>>Tom Smith wrote:
>>
>>>I was able to get subversion 1-1-0 installed and
>>>running. I am able to setup repositories, check
>>
>>them
>>
>>>out and it really works great. The problem I am
>>>having is with viewCVS. I cannot find the python
>>>module libsvn. I was able to find the svn module
>>
>>no
>>
>>>problem, but one of the first thing it does is
>>
>>import
>>
>>>libsvn.
>>>
>>>I found on a couple of boards a few messages about
>>>"make swig-py". This didn't work, ended up
>>
>>spitting
>>
>>>out:
>>>
>>>none -python
>>>
>>
> -I/usr/local/src/subversion-1.1.0/subversion/bindings/swig
>
>>-I/usr/local/src/subversion-1.1.0/subversion/include
>>
>>>-I -DSVN_SWIG_VERSION=
>>>-I/usr/local/src/httpd-2.0.52/srclib/apr/include
>>>
>>
> -I/usr/local/src/httpd-2.0.52/srclib/apr-util/include
>
> -I/usr/local/src/httpd-2.0.52/srclib/apr-util/xml/expat/lib
>
> -I/usr/local/src/subversion-1.1.0/subversion/bindings/swig/python/libsvn_swig_py
>
>>>-o subversion/bindings/swig/python/svn_client.c
>>>
>>
> /usr/local/src/subversion-1.1.0/subversion/bindings/swig/svn_client.i
>
>>>make: none: Command not found
>>>make: ***
>>>[subversion/bindings/swig/python/svn_client.c]
>>
>>Error
>>
>>>127
>>>
>>>I am having a pretty hard time with this, any help
>>>would be greatly appreciated.
>>>
>>>System.
>>>RH ES 3
>>>Subversion 1.1.0
>>>Apache 2.0.52
>>
>>You need swig installed.
>>
>>Max.
>>
>>
>
> OK. New Problem.
>
> I downloaded SWIG 1-3-22. I installed the package to
> /usr/local/SWIG-1-3-22. All Seemed to go well.
>
> I subversion src root i did - make clean, ./configure
> --with-swig=/usr/local/SWIG-1-3-22/bin/swig, make,
> make install
>
> At this point I attempted to "make swig-py". This
> process returned
>
> [root@me subversion-1.1.0]# make swig-py
> cd subversion/bindings/swig/python/libsvn_swig_py &&
> /bin/sh /usr/local/src/subversion-1.1.0/libtool
> --silent --mode=link gcc -g -O2 -g -O2 -pthread
> -DNEON_ZLIB
> -L/usr/local/src/httpd-2.0.52/srclib/apr-util/xml/expat/lib
> -rpath /usr/local/subversion-1.1.0/lib
> -L/usr/local/SWIG-1.3.22/share/swig -o
> libsvn_swig_py-1.la swigutil_py.lo -lswigpy
> ../../../../../subversion/libsvn_subr/libsvn_subr-1.la
> ../../../../../subversion/libsvn_delta/libsvn_delta-1.la
> /usr/local/src/httpd-2.0.52/srclib/apr-util/libaprutil-0.la
> /usr/local/src/httpd-2.0.52/srclib/apr-util/xml/expat/lib/libexpat.la
> /usr/local/src/httpd-2.0.52/srclib/apr/libapr-0.la
> -lrt -lm -lcrypt -lnsl -lpthread -ldl
> /usr/bin/ld: cannot find -lswigpy
> collect2: ld returned 1 exit status
> make: ***
> [subversion/bindings/swig/python/libsvn_swig_py/libsvn_swig_py-1.la]
> Error 1
>
> Reading a reply from an ealier post, made by Max
> Bowsher I found a shell script that would use "build a
> replacement libs2igpy"
> http://www.contactor.se/~dast/svnusers/archive-2004-09/0584.shtml
>
> Running this did not fix my issue.
> - I ran it, returned "libtool: install: warning:
> remember to run `libtool --finish
> /usr/local/SWIG-1.3.22/lib'"
> - I then tried "make swig-py"
> - I then did what it told me to do "libtool --finish
> /usr/local/SWIG-1.3.22/lib"
> - Again tried "make swig-py"
>
> I am not a C programmer, and quite frankly alot of
> this is over my head. Am I aproaching this totally
> wrong, I just want viewCVS for my SVN repository.

Hi,

when you install swig, you need to do this:

make
make runtime

make install install-runtime

Hope this helps,

- Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 15 20:51:54 2004

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.