----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

modify your path, so that gcc's path will be listed first.

On Wed, 17 Nov 1999, Mr. Ross Druker wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Hi,
> 
> This is my first attempt at installing JServ.
> 
> AIX 4.2
> Apache 1.3.9 with DSO
> JServ 1.1b3
> 
> I was able to run configure without a problem, but the compiling failed using
> the AIX C compiler, so I downloaded a binary version of gcc 2.95.1 from
> aixpdslib.seas.ucla.edu.  It installed without a problem into /usr/local/bin,
> is in the path, and runs fine.  When I re-run configure, it still uses the AIX
> C compiler.  (See output below.)  How do I get configure to find gcc?
> 
> Thanks,
> Ross
> 
> Command line and Output from configure:
> 
> ./configure --with-apxs=/usr/local/apache/bin/apxs \
> --with-jdk-home=/usr/local/J1.1.4 \
> --with-JSDK=/usr/local/JSDK2.0/lib/jsdk.jar
> 
> loading cache ./config.cache
> Configuring ApacheJServ/1.1b3
> checking for a BSD compatible install... src/scripts/build/unix/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking host system type... powerpc-ibm-aix4.2.1.0
> checking build system type... powerpc-ibm-aix4.2.1.0
> checking for ranlib... (cached) ranlib
> checking for gcc... (cached) cc
> checking whether the C compiler (cc  ) works... yes
> checking whether the C compiler (cc  ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) no
> checking whether cc accepts -g... (cached) yes
> checking for non-GNU ld... (cached) /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
> checking for BSD-compatible nm... (cached) /usr/bin/nm -B
> checking whether ln -s works... (cached) yes
> loading cache ./config.cache within ltconfig
> checking whether we are using GNU C... no
> checking for object suffix... o
> checking for executable suffix... (cached) no
> checking for cc option to produce PIC... none
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.lo... yes
> checking if cc static flag -bnso -bI:/lib/syscalls.exp works... none
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... aix4.2.1.0 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking whether make sets ${MAKE}... (cached) yes
> checking for a BSD compatible install... src/scripts/build/unix/install-sh -c
> checking whether ln -s works... (cached) yes
> checking for gcc... (cached) cc
> checking whether the C compiler (cc -g ) works... yes
> checking whether the C compiler (cc -g ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) no
> checking whether cc accepts -g... (cached) yes
> checking for echo... (cached) /usr/bin/echo
> checking for find... (cached) /usr/bin/find
> checking for sed... (cached) /usr/bin/sed
> checking for test... (cached) /usr/bin/test
> checking for rm... (cached) /usr/bin/rm
> checking for head... (cached) /usr/bin/head
> checking for tr... (cached) /usr/ucb/tr
> checking for grep... (cached) /usr/bin/grep
> checking for cut... (cached) /usr/bin/cut
> checking for touch... (cached) /usr/bin/touch
> checking for cat... (cached) /usr/bin/cat
> checking for cp... (cached) /usr/bin/cp
> checking for make... (cached) /usr/local/bin/make
> checking for chmod... (cached) /usr/bin/chmod
> checking for GNU make... (cached) /usr/local/bin/make
> checking for working const... (cached) yes
> checking how to run the C preprocessor... (cached) cc -E
> checking for ANSI C header files... (cached) yes
> checking for mode_t... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking whether struct tm is in sys/time.h or time.h... (cached) time.h
> checking for ANSI C header files... (cached) yes
> checking for gettimeofday... (cached) yes
> WARNING: --with-apache-src is undefined: assuming shared object build
> checking for apxs... /usr/local/apache/bin/apxs, assume Apache 1.3 with DSO
> support
> checking for Apache installation directory (assume shared build)...
> /usr/local/apache
> checking for Apache include directory... /usr/local/apache/include
> checking for Apache configuration directory... /usr/local/apache/conf/jserv
> checking for Apache library directory... /usr/local/apache/libexec
> checking for Apache layout consistency... verified
> checking for JDK location (please wait)... /usr/local/J1.1.4
> checking Java platform... forced Java 1
> checking for false... (cached) /usr/bin/false
> checking java... /usr/local/J1.1.4/bin/java
> checking javac... /usr/local/J1.1.4/bin/javac
> checking javadoc... /usr/local/J1.1.4/bin/javadoc
> checking jar... /usr/local/J1.1.4/bin/jar
> checking JSDK... /usr/local/JSDK2.0/lib/jsdk.jar
> checking overview... disabled
> checking for httpd.h... (cached) yes
> checking for http_config.h... (cached) yes
> checking for http_core.h... (cached) yes
> checking for http_log.h... (cached) yes
> checking for http_main.h... (cached) yes
> checking for http_protocol.h... (cached) yes
> checking for util_script.h... (cached) yes
> checking for util_md5.h... (cached) yes
> checking for os-inline.c... (cached) yes
> 
> Creating Apache JServ configuration files...
> 
> creating ./config.status
> creating Makefile
> creating conf/Makefile
> creating conf/jserv.conf
> creating conf/jserv.properties
> creating conf/zone.properties
> creating conf/save-install.sh
> creating docs/Makefile
> creating docs/api/Makefile
> creating example/Makefile
> creating example/jserv.conf
> creating example/example.properties
> creating example/Hello.java
> creating example/jserv.properties
> creating src/Makefile
> creating src/java/Makefile
> creating src/java/org/apache/java/io/Makefile
> creating src/java/org/apache/java/lang/Makefile
> creating src/java/org/apache/java/net/Makefile
> creating src/java/org/apache/java/recycle/pool/Makefile
> creating src/java/org/apache/java/recycle/Makefile
> creating src/java/org/apache/java/security/Makefile
> creating src/java/org/apache/java/util/Makefile
> creating src/java/org/apache/java/Makefile
> creating src/java/org/apache/jserv/Makefile
> creating src/java/org/apache/Makefile
> creating src/java/org/Makefile
> creating src/c/Makefile
> creating src/c/jserv.h
> creating src/java/org/apache/jserv/JServDefs.java
> creating src/scripts/package/tar.gz/snap.sh
> Apache JServ configuration complete...
> 
> Apache Installed Directory: /usr/local/apache
> 
> Module Type: dynamic (DSO will be used to link mod_jserv into server
> dynamically)
> 
> Apache include flags:
>   -I/usr/local/apache/include
> 
> Default configuration files will be installed in:
>   /usr/local/apache/conf/jserv
> 
> Default log files will be created in:
>   /usr/local/apache/logs
> 
> Default servlets will be installed in:
>   /usr/local/apache/servlets
> 
> ApacheJServ.jar file will be installed in:
>   /usr/local/apache/libexec/ApacheJServ.jar
> 
> Documentation will be installed in:
>   /usr/local/jserv/docs
> 
> Build classpath is:
>   
>/home/appl/ApacheJServ-1.1b3/src/java:/usr/local/J1.1.4/lib/classes.zip:/usr/local/JSDK2.0/lib/jsdk.jar
> 
> You might consider putting frequently used options into
> ./configure-options, one per line.
> 
> 
> 
> 
> -- 
> Ross Druker                                      Rohm and Haas Co.
> [EMAIL PROTECTED]                             Spring House, PA
> "Forgive me my nonsense as I also forgive the    (215) 619-5475
> nonsense of others who think they talk sense." -- Robert Frost
> The opinions expressed are mine and not those of Rohm and Haas Company.
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 
> 



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to