Computing.Net > Forums > Linux > Error with config script in JSERV

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Error with config script in JSERV

Reply to Message Icon

Original Message
Name: McSween
Date: May 7, 2003 at 18:18:39 Pacific
Subject: Error with config script in JSERV
OS: RedHat 9
CPU/Ram: PIII 933/512 RAM
Comment:

When trying to run the configure script for JSERV on my RedHat linux box I get a message that it cannot locate all the neccessary Apache header files (specificaly os-inline.c) I have Apache 2.0.45 installed with J2SE 1.4.1_02 and J2EE 1.3.1 on a RedHat 9 box. I ran the Apache configure script before I compiled it. Below is the script output.
[root@WEBFTP ApacheJServ-1.1.2]# ./configure --with-jdk-home=$JAVA_HOME --with-JSDK=$J2EE_HOME
loading cache ./config.cache
Configuring ApacheJServ/1.1.2
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
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... Linux 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... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for echo... /bin/echo
checking for find... /usr/bin/find
checking for sed... /bin/sed
checking for test... /usr/bin/test
checking for rm... /bin/rm
checking for head... /usr/bin/head
checking for tr... /usr/bin/tr
checking for grep... /bin/grep
checking for cut... /bin/cut
checking for touch... /bin/touch
checking for cat... /bin/cat
checking for cp... /bin/cp
checking for make... /usr/bin/make
checking for chmod... /bin/chmod
checking for GNU make... GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
/usr/bin/make
checking for working const... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for mode_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking for gettimeofday... yes
WARNING: --with-apache-src is undefined: assuming shared object build
checking for apxs... need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
/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/modules
checking for Apache layout consistency... verified
checking for JDK location (please wait)... /usr/local/java/j2sdk1.4.1_02
checking Java platform... forced Java 1
checking for false... /bin/false
checking java... /usr/local/java/j2sdk1.4.1_02/bin/java
checking javac... /usr/local/java/j2sdk1.4.1_02/bin/javac
checking javadoc... /usr/local/java/j2sdk1.4.1_02/bin/javadoc
checking jar... /usr/local/java/j2sdk1.4.1_02/bin/jarchecking JSDK... /usr/local/j2sdkee1.3.1/lib/j2ee.jar
checking overview... disabled
checking for httpd.h... yes
checking for http_config.h... yes
checking for http_core.h... yes
checking for http_log.h... yes
checking for http_main.h... yes
checking for http_protocol.h... yes
checking for util_script.h... yes
checking for util_md5.h... yes
checking for os-inline.c... no
configure: error: Could not locate one or more of the necessary Apache header files.
Please check that you have passed the correct location for the Apache
directory. Note that you must run either Apache's 'Configure' or
'configure' program at least once if you have never compiled Apache before;
this generates certain necessary headers files based on your platform.


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software