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

Re: make fails on sparc solaris 5.8 (fixed + solaris install notes)

From: anton <anton_at_nezzwerk.com>
Date: 2003-07-10 22:34:18 CEST

Philip Martin wrote:

> anton <anton@nezzwerk.com> writes:
> Editing the Makefile like that won't work! If you want to build
> without gdbm then use --with-gdbm=no when you configure Apache. If
> you want to build without zlib then use --with-zlib=no when you
> configure Subversion.
> No wonder you get complaints about missing gdbm symbols!

excellent, the following did the trick:

./configure --prefix=/opt/apache2/apache_2.0.47 --enable-dav=shared
--enable-so --with-dbm=db4 --with-berkeley-db=/usr/local/bdb/db
make && make install

./configure --with-apxs=/opt/apache2/apache/bin/apxs
--prefix=/tmp/svn_install --with-berkeley-db=/usr/local/bdb/db
--with-apr=/opt/apache2/apache --with-zlib=no
make && make install

however, make install fails with the following:

/export/home/anton/tmp/subversion-0.24.2/ac-helpers/install-sh -c -m 644
./subversion/svnadmin/svnadmin.1 /tmp/svn_install/man/man1/svnadmin.1
/export/home/anton/tmp/subversion-0.24.2/ac-helpers/install-sh -c -d
cd subversion/mod_authz_svn ;
/export/home/anton/tmp/subversion-0.24.2/ac-helpers/install-sh -c -d
"/opt/apache2/apache_2.0.47/modules" ; /opt/apache2/apache/bin/apxs -i
-S LIBEXECDIR="/opt/apache2/apache_2.0.47/modules" -a -n authz_svn
ld.so.1: /opt/apache2/apache_2.0.47/bin/httpd: fatal: libgcc_s.so.1:
open failed: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/opt/apache2/apache_2.0.47/bin/httpd'..
make: *** [install-mods-shared] Error 1

however, httpd -l produces the following output:

./httpd -l
Compiled in modules:

mod_so is obviously compiled into the binary.

i had to fix apxs perl script in apache's installation to ignore the
check (grep call was failing (unless (grep /mod_so/, `. $envvars &&
$httpd -l`))).

afterwards everything worked out fine.

thank you for your help.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 22:34:29 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.