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

Need helps on subversion

From: T. Nguyen <ptn_y2k1_at_yahoo.com>
Date: 2007-04-06 17:35:21 CEST

Hi all,
   
  I am trying to build a server/client subversion 1.4.3 with the followings:
   
  openssl-0.9.8e
  db-4.4.20
  httpd-2.2.4
  subversion-1.4.3
  subversion-deps-1.4.3 (for neon only, apr and apr-util will be replace by version 1.2.8)
  apr-1.2.8
  apr-util-1.2.8
   
  Here is the way I build in the following order, please note that I put all together in one script. I just copy what options I build for each:
   
  openssl:
   
  cd ${OPENSSL_SRC}
  make clean 2>&1
  ./config \
    --prefix=${OPENSSL_HOME} \
    shared zlib-dynamic \
    2>&1
  make 2>&1
make test 2>&1
make install 2>&1
   
  db:
   
  cd ${DB_SRC}/build_unix
  make realclean 2>&1
  ../dist/configure \
    --prefix=${DB_HOME} \
    --enable-compat185 \
    2>&1
  make 2>&1
make install 2>&1
   
  apr:
   
  cd ${SUBVERSION_SRC}/apr
  make clean 2>&1
  ./configure \
    --prefix=${APACHE2_HOME} \
    2>&1
  make 2>&1
make install 2>&1
   
  apr-util:
   
  cd ${SUBVERSION_SRC}/apr-util
  make clean 2>&1
./configure \
    --prefix=${APACHE2_HOME} \
    --with-apr=${APACHE2_HOME} \
    --with-berkeley-db=${DB_HOME} \
    2>&1
  make 2>&1
make install 2>&1
   
  neon:
   
  cd ${SUBVERSION_SRC}/neon
  make clean 2>&1
./configure \
    --prefix=${APACHE2_HOME} \
    2>&1
  make 2>&1
#make check 2>&1
make install 2>&1
   
  httpd:
   
  cd ${HTTPD_SRC}
  make clean 2>&1
  ./configure \
    --prefix=${APACHE2_HOME} \
    --with-apr=${APACHE2_HOME}/bin/apr-1-config \
    --with-apr-util=${APACHE2_HOME}/bin/apu-1-config \
    --enable-rewrite \
    --enable-speling \
    --enable-mime-magic \
    --enable-unique-id \
    --enable-usertrack \
    --enable-ssl \
    --enable-dav \
    --enable-maintainer-mode \
    --enable-so \
    --enable-deflate \
    --with-dbm=db4 \
    --enable-dav \
    --with-berkeley-db=${DB_HOME} \
    --enable-modules=all \
    --enable-share=all \
    --with-ssl=${OPENSSL_HOME} \
    --enable-mods-shared=all \
    2>&1
  make 2>&1
make install 2>&1
   
  subversion:
   
  cd ${SUBVERSION_SRC}
  make clean 2>&1
  ./configure \
    --prefix=${SVN_HOME} \
    --enable-maintainer-mode \
    --with-ssl \
    --with-berkeley-db=${DB_HOME} \
    --with-apxs=${APACHE2_HOME}/bin/apxs \
    --with-apr=${APACHE2_HOME}/bin/apr-1-config \
    --with-apr-util=${APACHE2_HOME}/bin/apu-1-config \
    --with-neon=${APACHE2_HOME} \
    --with-zlib-dir=${APACHE2_HOME}/lib \
    2>&1
  make 2>&1
#make -jN external-all 2>&1
#make -jN local-all 2>&1
#make check 2>&1
make install 2>&1
   
   
  I could not go through when I build httpd, then of course I fail on building subversion. Can someone help me out of this problem? Here is the errors that I got:
   
  /web/usr/webadmin/svn/apache2/build-1/libtool --silent --mode=link /usr/local/bin/gcc -pthreads -I/web/usr/webadmin/svn/
openssl/include -I/web/usr/webadmin/svn/db/include -I/web/usr/webadmin/svn/apache2/include -I/web/usr/webadmin/svn/subver
sion/include -L/usr/local/lib -R/usr/local/lib -R/web/usr/webadmin/svn/openssl/lib -L/web/usr/webadmin/svn/openssl/lib
-L/web/usr/webadmin/svn/db/lib -L/web/usr/webadmin/svn/apache2/lib -o mod_deflate.la -rpath /web/usr/webadmin/svn/apac
he2/modules -module -avoid-version mod_deflate.lo -lz
Text relocation remains referenced
    against symbol offset in file
<unknown> 0x1ac0 /usr/local/lib/libz.a(inflate.o)
<unknown> 0x1ac4 /usr/local/lib/libz.a(inflate.o)
  ......... (it's a long list, I only copy starting and ending errors)
  <unknown> 0x468 /usr/local/lib/libz.a(inffast.o)
<unknown> 0x8 /usr/local/lib/libz.a(compress.o)
<unknown> 0x18 /usr/local/lib/libz.a(compress.o)
<unknown> 0x9c /usr/local/lib/libz.a(compress.o)
<unknown> 0xac /usr/local/lib/libz.a(compress.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[3]: *** [mod_deflate.la] Error 1
make[3]: Leaving directory `/export/home/webadmin/src/svn/httpd-2.2.4/modules/filters'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/export/home/webadmin/src/svn/httpd-2.2.4/modules/filters'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/export/home/webadmin/src/svn/httpd-2.2.4/modules'
make: *** [install-recursive] Error 1
Fri Apr 6 08:16:32 PDT 2007: build_apache2 END
Completed!! Fri Apr 6 08:16:32 PDT 2007
   
   
  Thank you very much.
   
  T.
   

 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
Received on Fri Apr 6 17:35:45 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.