Received: (qmail 27733 invoked by uid 501); 14 Jun 2001 02:47:50 -0000 Message-Id: <20010614024750.27732.qmail@apache.org> Date: 14 Jun 2001 02:47:50 -0000 From: Roy Hooper Reply-To: rhooper@toybox.ca To: submit@bugz.apache.org Subject: custom config.layout may get apachectl incorrect X-Send-Pr-Version: 3.110 >Number: 7868 >Category: build >Synopsis: custom config.layout may get apachectl incorrect >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jun 13 19:50:01 PDT 2001 >Closed-Date: Thu Aug 30 11:55:46 PDT 2001 >Last-Modified: Thu Aug 30 11:55:46 PDT 2001 >Originator: rhooper@toybox.ca >Release: 2.0b16 >Organization: >Environment: FreeBSD web1 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Wed Jun 6 21:47:22 EDT 2001 root@:/usr/src/sys/compile/SMP-SERIAL i386 root@web1:/local/source/httpd-2_0_16[53]# gcc -v Using builtin specs. gcc version 2.95.3 [FreeBSD] 20010315 (release) >Description: I made a heavily modified config.layout entry "Customized" and built apache as follows. # Customized Apache path layout for multi-machine multi-architecture setup prefix: /local/shared/apache exec_prefix: /local/arch/apache bindir: $exec_prefix/bin sbindir: $exec_prefix/bin libexecdir: $exec_prefix/modules mandir: $prefix/man sysconfdir: /local/system/apache/conf datadir: /local/shared/apache iconsdir: $datadir/icons htdocsdir: $datadir/htdocs cgidir: $datadir/cgi-bin includedir: $prefix/include localstatedir: /local/system/apache runtimedir: $localstatedir/logs logfiledir: $prefix/logs proxycachedir: $localstatedir/proxy I then built it as: ./configure --enable-auth-db --enable-dav --enable-dav-fs --enable-vhost-alias --enable-rewrite --enable-layout=Customized I then installed it: root@web1:/local/source/httpd-2_0_16[60]# make install Making install in srclib Making install in apr Making all in lib Making all in strings Making all in passwd Making all in tables Making all in file_io/unix Making all in network_io/unix Making all in threadproc/unix Making all in misc/unix Making all in locks/unix Making all in time/unix Making all in mmap/unix Making all in shmem/unix (cd mm && make libmm.la) `libmm.la' is up to date. Making all in i18n/unix Making all in user/unix Making all in dso/unix if [ ! -d /usr/local/include ]; then ./build/mkdir.sh /usr/local/include; fi; cp include/*.h /usr/local/include; if [ ! -d /usr/local/lib ]; then ./build/mkdir.sh /usr/local/lib; fi; libtool --mode=install cp libapr.la /usr/local/lib cp .libs/libapr.lai /usr/local/lib/libapr.la cp .libs/libapr.a /usr/local/lib/libapr.a ranlib /usr/local/lib/libapr.a chmod 644 /usr/local/lib/libapr.a /usr/bin/env OBJFORMAT="elf" /sbin/ldconfig -m /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib 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 `-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 See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Making install in apr-util Making all in buckets Making all in crypto Making all in dbm Making all in sdbm Making all in . Making all in encoding Making all in hooks Making all in uri Making all in xml Making all in expat if [ ! -d /usr/local/include ]; then /data01/source/httpd-2_0_16/srclib/apr/build/mkdir.sh /usr/local/include; fi; cp include/*.h /usr/local/include; if [ ! -d /usr/local/lib ]; then /data01/source/httpd-2_0_16/srclib/apr/build/mkdir.sh /usr/local/lib; fi; libtool --mode=install cp libaprutil.la /usr/local/lib cp .libs/libaprutil.lai /usr/local/lib/libaprutil.la cp .libs/libaprutil.a /usr/local/lib/libaprutil.a ranlib /usr/local/lib/libaprutil.a chmod 644 /usr/local/lib/libaprutil.a /usr/bin/env OBJFORMAT="elf" /sbin/ldconfig -m /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib 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 `-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 See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Making install in pcre Making install in os Making install in unix Making install in server Making install in mpm Making install in prefork Making install in modules Making install in aaa Making install in dav/fs Making install in dav/main Making install in filters Making install in http Making install in loggers Making install in mappers Making install in metadata Making install in generators Making install in support mkdir /local/arch/apache mkdir /local/arch/apache/bin Installing configuration files mkdir /local/shared/apache mkdir /local/shared/apache/conf Installing HTML documents mkdir /local/shared/apache/htdocs mkdir /local/shared/apache/htdocs/manual Installing icons mkdir /local/shared/apache/icons mkdir /local/shared/apache/logs Installing CGIs mkdir /local/shared/apache/cgi-bin Installing header files mkdir /local/shared/apache/include Installing Support Binaries chmod 755 /local/arch/apache/bin/apachectl And ran /local/arch/apache/bin/apachectl and got root@web1:/local/source/httpd-2_0_16[64]# /local/arch/apache/bin/apachectl start /local/arch/apache/bin/apachectl: /local/shared/apache/bin/httpd: not found /local/arch/apache/bin/apachectl start: httpd could not be started >How-To-Repeat: See above >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: wrowe State-Changed-When: Thu Aug 30 11:55:46 PDT 2001 State-Changed-Why: Much work has gone into the build system since .16, so while I cannot validate it at the moment, I'm quite certain the problem you had is gone. Please try the next alpha release as it is announced, and reply if we need to reopen this report. Thanks for participating in Apache 2.0 beta development! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]