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

Re: Building Subversion 1.4.3 on SunOS

From: Ramanathan Muthaiah <rus.cahimb_at_gmail.com>
Date: 2007-05-22 16:48:49 CEST

Hi Giulio,

[snip]

> ./configure --prefix=/usr/local --enable-shared=no --enable-ssl=no --without-berkeley-db --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-neon=/usr/local CPPFLAGS="-I/usr/local/include"

[Ram] : apr and apr-utils arguments should contain path and the config
file located in the path

You may want to refer to this article :

http://linuxgazette.net/128/ramanathan.html

>
> I have attached the output produced (conf.log). I also had the following errors:
>
> apxs:Error: Sorry, no DSO support for Apache available
> apxs:Error: under your platform. Make sure the Apache
> apxs:Error: module mod_so is compiled into your server
> apxs:Error: binary `/usr/local/apache/bin/httpd'.
>
> As I will be using svn only as a client on this machina I don't care about Apache, right?

[Ram] : You should configure Apache with Subversion in the server
from where the repositories will be hosted and served to SVN clients

>
> configure: WARNING: no JNI header files found.
>
> Not sure about this. Anybody knows if this is important?
>

[Ram] : Not sure about this

> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> Traceback (most recent call last):
> File "/user/dev/subversion-1.4.3/build/get-py-info.py", line 43, in ?
> cc, basecflags, opt, ccshared = \
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 472, in get_config_vars
> func()
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 356, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/local/lib/python2.3/config/Makefile (No such file or directory)
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> Traceback (most recent call last):
> File "/user/dev/subversion-1.4.3/build/get-py-info.py", line 130, in ?
> print " ".join(link_options())
> File "/user/dev/subversion-1.4.3/build/get-py-info.py", line 66, in link_options
> options = sysconfig.get_config_var('LDSHARED').split()
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 495, in get_config_var
> return get_config_vars().get(name)
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 472, in get_config_vars
> func()
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 356, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/local/lib/python2.3/config/Makefile (No such file or directory)
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> Traceback (most recent call last):
> File "/user/dev/subversion-1.4.3/build/get-py-info.py", line 134, in ?
> print " ".join(lib_options())
> File "/user/dev/subversion-1.4.3/build/get-py-info.py", line 111, in lib_options
> link_command = link_options()
> File "/user/dev/subversion-1.4.3/build/get-py-info.py", line 66, in link_options
> options = sysconfig.get_config_var('LDSHARED').split()
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 495, in get_config_var
> return get_config_vars().get(name)
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 472, in get_config_vars
> func()
> File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 356, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/local/lib/python2.3/config/Makefile (No such file or directory)
> configure: WARNING: perl bindings require perl 5.8.0 or newer.
> configure: WARNING: we have configured without BDB filesystem support
>
> Again, as I will be using svn as a client I won't need any perl, python or any other language scripts, so I don't care about these errors, right?

[Ram] : if you do not want Perl / Python bindings, you may skip this

>
> You don't seem to have Berkeley DB version 4.0.14 or newer
> installed and linked to APR-UTIL. We have created Makefiles which
> will build without the Berkeley DB back-end; your repositories will
> use FSFS as the default back-end. You can find the latest version of
> Berkeley DB here:
> http://www.sleepycat.com/download/index.shtml
>
> This is fine, as the repository has been built using FSFS
>
> Now, when I make, everything goes fine until
>
> cd subversion/svn && /bin/ksh /user/dev/subversion-1.4.3/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthreads -D_LARGEFILE64_SOURCE -DNE_LFS -L/usr/local/apr/lib -rpath /usr/local/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-cmd.o update-cmd.o util.o ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_diff/libsvn_diff-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/local/apr/lib/libaprutil-0.la -lexpat /usr/local/apr/lib/libapr-0.la -lm -lsocket -lnsl -lresolv -lpthread /usr/loc
al/lib/libneon.la -lsocket -lz
> /user/dev/subversion-1.4.3/libtool[4766]: : is not an identifier
> make: *** [subversion/svn/svn] Bus Error (core dumped)
>
> Anyone has any idea what is going on? I have attached libtool too.

[Ram] : Maybe, with the correct configure command this error should go away.

/Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 22 16:49:11 2007

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.