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

Building Subversion 1.4.3 on SunOS

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: 2007-05-22 11:03:13 CEST

I am trying to build Subversion 1.4.3 on SunOS 5.6

I have correctly built and installed apr, zlib, expat, apr-util and neon.

To configure svn I used

./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"

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?

configure: WARNING: no JNI header files found.

Not sure about this. Anybody knows if this is important?

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?

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/local/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.

Thanks
Giulio

-------------------
Giulio Troccoli
Technical Consultant
 
T +44 (0)20 7360 1914 F +44 (0)20 7360 1974
E giulio.troccoli@uk.linedata.com W www.linedata.com
MSN Messenger giulio@troccoli.it
 
 
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

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

  • application/octet-stream attachment: conf.log
  • application/octet-stream attachment: libtool
Received on Tue May 22 11:04:07 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.