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

Re: make install fails on linux [solved]

From: anton <anton_at_nezzwerk.com>
Date: 2004-11-22 22:52:56 CET

(also tried HEAD revision from svn repo trunk - same result.)

then after some diligent strace'ing, it turned out to be that make
install looked for the *original* httpd.conf in order to insert the
following line:

LoadModule authz_svn_module modules/mod_authz_svn.so

if whatever string in httpd.conf it was looking for was not there, apxs
just hung, eating up 100% of cpu.

after i replaced my httpd.conf with the one from the original apache
distribution, everything worked fine.

-a

anton wrote:
>
> a quick note - when i finally interrupt a hanging make install, it
> outputs the following before exiting:
>
> make: *** [install-mods-shared] Interrupt
>
> any clues for further debugging will be appreciated.
>
> thank you.
>
> -a
>
>
>> i run the following in the source directory:
>>
>> ./autogen.sh && \
>> ./configure \
>> --with-apxs=/usr/local/apache/apache2-2.0.52/bin/apxs \
>> --prefix=/usr/local/svn/svn-1.1.1 \
>> --with-zlib \
>> --enable-shared \
>> --with-ssl && \
>> make && \
>> make check
>>
>> everything works just fine, however, when i run make install as root,
>> mod_dav_svn.so gets created in the modules directory, however
>> mod_authz_svn.so never gets created and apxs process just sits there
>> indefinitely, consuming 100% cpu.
>>
>> last few lines of make install output:
>>
>> ---------------------
>>
>> cp .libs/mod_dav_svn.soT
>> /usr/local/apache/apache2-2.0.52/modules/mod_dav_svn.so
>> cp .libs/mod_dav_svn.lai
>> /usr/local/apache/apache2-2.0.52/modules/mod_dav_svn.la
>> cp .libs/mod_dav_svn.a
>> /usr/local/apache/apache2-2.0.52/modules/mod_dav_svn.a
>> ranlib /usr/local/apache/apache2-2.0.52/modules/mod_dav_svn.a
>> chmod 644 /usr/local/apache/apache2-2.0.52/modules/mod_dav_svn.a
>> PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/apache2-2.0.52/modules
>> ----------------------------------------------------------------------
>> Libraries have been installed in:
>> /usr/local/apache/apache2-2.0.52/modules
>>
>> If you ever happen to want to link against installed libraries
>> in a given directory, LIBDIR, you must either use libtool, and
>> specify the full pathname of the library, or use the `-LLIBDIR'
>> flag during linking and do at least one of the following:
>> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>> during execution
>> - add LIBDIR to the `LD_RUN_PATH' environment variable
>> during linking
>> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>> - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>>
>> See any operating system documentation about shared libraries for
>> more information, such as the ld(1) and ld.so(8) manual pages.
>> ----------------------------------------------------------------------
>> chmod 755 /usr/local/apache/apache2-2.0.52/modules/mod_dav_svn.so
>>
>> ---------------------
>>
>> gentoo profile 2004.3
>> gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1)
>> kernel 2.4.23
>>
>> tried with apache 2.0.48, 2.0.52; subversion 1.1.1, 1.1.0, 1.0.8
>>
>> apache was built with:
>>
>> ./configure -prefix=/usr/local/apache/apache2-2.0.52 \
>> --disable-actions \
>> --disable-asis \
>> --disable-charset-lite \
>> --disable-env \
>> --disable-negotiation \
>> --disable-imap \
>> --disable-include \
>> --disable-userdir \
>> --enable-mods-shared='rewrite headers ssl dav deflate proxy'\
>> --with-mpm=worker \
>> --with-ssl=/usr/bin \
>> --enable-nonportable-atomics=yes \
>> && make
>>
>> and
>>
>> ./configure -prefix=/usr/local/apache/apache2-2.0.48 \
>> --enable-so \
>> --with-mpm=worker \
>> --enable-ssl=shared \
>> --with-ssl=/usr/bin \
>> --enable-dav=shared \
>> --enable-deflate=shared \
>> --enable-proxy=shared
>>
>> thank you.
>>
>> -a
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 22:55:19 2004

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.