[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:

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

subversion
----------
./autogen.sh
./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
--with-apr-util=/opt/apache2/apache
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
/tmp/svn_install/info
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
mod_authz_svn.la
ld.so.1: /opt/apache2/apache_2.0.47/bin/httpd: fatal: libgcc_s.so.1:
open failed: No such file or directory
Killed
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:
   core.c
   mod_access.c
   mod_auth.c
   mod_include.c
   mod_log_config.c
   mod_env.c
   mod_setenvif.c
   prefork.c
   http_core.c
   mod_mime.c
   mod_status.c
   mod_autoindex.c
   mod_asis.c
   mod_cgi.c
   mod_negotiation.c
   mod_dir.c
   mod_imap.c
   mod_actions.c
   mod_userdir.c
   mod_alias.c
   mod_so.c

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.

-- 
anton
---------------------------------------------------------------------
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.