LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-31-2008, 03:33 PM   #1
craftereric
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Rep: Reputation: 15
configure error Apache APR module


I am trying to install the APR module that comes with apache 2.2.6.

setup:
Redhat Release 3 update 7

rpm -qa | grep "gcc" shows:
gcc-c++-ssa-3.5ssa-0.20030801.48
gcc-g77-3.2.3-54
gcc-objc-ssa-3.5ssa-0.20030801.48
gcc-c++-3.2.3-54
gcc-java-ssa-3.5ssa-0.20030801.48
gcc-java-3.2.3-54
libgcc-ssa-3.5ssa-0.20030801.48
gcc-gnat-3.2.3-54
gcc-ssa-3.5ssa-0.20030801.48
compat-gcc-c++-7.3-2.96.128
libgcc-3.2.3-54
gcc-objc-3.2.3-54
compat-gcc-7.3-2.96.128
gcc-3.2.3-54
gcc-g77-ssa-3.5ssa-0.20030801.48


./configure FAILS
The entire config.log is below. LD_LIBRARY_PATH is unset. I would appreciate a solution. Google indicates that this problem is common but I have not found a solution that applies to my situation.

================================================================

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.60. Invocation command line was

$ /usr/local/ilc/mv_prereqs/apache_httpd/httpd-2.2.6/srclib/apr/configure --cache-file=/dev/null --srcdir=/usr/local/ilc/mv_prereqs/apache_httpd/httpd-2.2.6/srclib/apr --prefix=/usr/local/apache2 --exec-prefix=/usr/local/apache2 --libdir=${prefix}/lib --includedir=/usr/local/apache2/include --bindir=${prefix}/bin --datadir=/usr/local/apache2 --with-installbuilddir=${prefix}/build

## --------- ##
## Platform. ##
## --------- ##

hostname = test0801install
uname -m = i686
uname -r = 2.4.21-40.ELsmp
uname -s = Linux
uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2790: checking build system type
configure:2808: result: i686-pc-linux-gnu
configure:2830: checking host system type
configure:2845: result: i686-pc-linux-gnu
configure:2867: checking target system type
configure:2882: result: i686-pc-linux-gnu
configure:2946: checking for working mkdir -p
configure:2962: result: yes
configure:3054: checking for chosen layout
configure:3056: result: apr
configure:3323: checking for gcc
configure:3339: found /usr/bin/gcc
configure:3350: result: gcc
configure:3588: checking for C compiler version
configure:3595: gcc --version >&5
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-54)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3598: $? = 0
configure:3605: gcc -v >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-54)
configure:3608: $? = 0
configure:3615: gcc -V >&5
gcc: argument to `-V' is missing
configure:3618: $? = 1
configure:3641: checking for C compiler default output file name
configure:3668: gcc conftest.c >&5
/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_check_caller@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:3671: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3710: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_mkdir_p=yes
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=i686-pc-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

APR_CONFIG_LOCATION='source'
APR_DOTTED_VERSION='1.2.11'
APR_LIBNAME=''
APR_MAJOR_VERSION='1'
AR=''
AS=''
ASCPP=''
AWK=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFAULT_OSDIR=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_CPPFLAGS=''
EXTRA_INCLUDES=''
EXTRA_LDFLAGS=''
EXTRA_LIBS=''
F77=''
FFLAGS=''
GREP=''
INCLUDES=''
INCLUDE_OUTPUTS=''
INCLUDE_RULES=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_SUBDIRS=''
LDFLAGS=''
LDLIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_LIBS=''
LN_S=''
LTFLAGS=''
LTLIBOBJS=''
LT_LDFLAGS=''
LT_NO_INSTALL=''
MKDEP=''
NOTEST_CFLAGS=''
NOTEST_CPPFLAGS=''
NOTEST_INCLUDES=''
NOTEST_LDFLAGS=''
NOTEST_LIBS=''
OBJECTS_PLATFORM=''
OBJEXT=''
OSDIR=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RM=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
acceptfilter=''
apr_builddir='/usr/local/ilc/mv_prereqs/apache_httpd/httpd-2.2.6/srclib/apr'
apr_builders='/usr/local/ilc/mv_prereqs/apache_httpd/httpd-2.2.6/srclib/apr/build'
apr_charset_ebcdic=''
apr_inaddr_none=''
apr_srcdir='/usr/local/ilc/mv_prereqs/apache_httpd/httpd-2.2.6/srclib/apr'
apr_tcp_nopush_flag=''
aprdso=''
aprlfs=''
arpa_ineth=''
bigendian=''
bindir='${prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
conioh=''
crypth=''
ctypeh=''
datadir='/usr/local/apache2'
datarootdir='${prefix}/share'
direnth=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
eolstr=''
errnoh=''
exec_prefix='/usr/local/apache2'
export_lib_target=''
fcntlh=''
fcntlser=''
file_as_socket=''
flockser=''
fork=''
hasfcntlser=''
hasflockser=''
hasposixser=''
hasprocpthreadser=''
hassysvser=''
have_corkable_tcp=''
have_getrlimit=''
have_in_addr=''
have_inet_addr=''
have_inet_network=''
have_ipv6=''
have_memchr=''
have_memmove=''
have_sa_storage=''
have_sctp=''
have_setrlimit=''
have_sigaction=''
have_sigsuspend=''
have_sigwait=''
have_strcasecmp=''
have_strdup=''
have_stricmp=''
have_strncasecmp=''
have_strnicmp=''
have_strstr=''
have_union_semun=''
havebeosarea=''
havemmapanon=''
havemmapshm=''
havemmaptmp=''
havemmapzero=''
haveos2shm=''
haveshmget=''
haveshmgetanon=''
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='/usr/local/apache2/include'
infodir='${datarootdir}/info'
installbuilddir='${datadir}/build-${APR_MAJOR_VERSION}'
int64_literal=''
int64_t_fmt=''
int64_value=''
int_value=''
ioh=''
lib_target=''
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/modules'
limitsh=''
link=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}'
long_value=''
lt_compile=''
mandir='${prefix}/man'
mmap=''
netdbh=''
netinet_inh=''
netinet_sctp_uioh=''
netinet_sctph=''
netinet_tcph=''
o_nonblock_inherited=''
oc=''
off_t_fmt=''
off_t_value=''
oldincludedir='/usr/include'
osuuid=''
pdfdir='${docdir}'
pid_t_fmt=''
posixser=''
prefix='/usr/local/apache2'
proc_mutex_is_global=''
proclockglobal=''
procpthreadser=''
program_transform_name='s,x,x,'
psdir='${docdir}'
pthreadh=''
pthreadser=''
rand=''
sbindir='${exec_prefix}/bin'
semaphoreh=''
sendfile=''
sharedmem=''
sharedstatedir='${prefix}/com'
shlibpath_var=''
short_value=''
signalh=''
size_t_fmt=''
size_t_value=''
so_ext=''
socklen_t_value=''
ssize_t_fmt=''
ssize_t_value=''
stdargh=''
stdint=''
stdioh=''
stdlibh=''
stringh=''
stringsh=''
struct_rlimit=''
sys_ioctlh=''
sys_sendfileh=''
sys_signalh=''
sys_socketh=''
sys_sockioh=''
sys_syslimitsh=''
sys_timeh=''
sys_typesh=''
sys_uioh=''
sys_unh=''
sys_waith=''
sysconfdir='${prefix}/conf'
sysvser=''
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
tcp_nodelay_inherited=''
threads=''
timeh=''
top_builddir='/usr/local/ilc/mv_prereqs/apache_httpd/httpd-2.2.6/srclib/apr'
uint64_literal=''
uint64_t_fmt=''
uint64_t_hex_fmt=''
unistdh=''
usebeosarea=''
usemmapanon=''
usemmapshm=''
usemmaptmp=''
usemmapzero=''
useos2shm=''
useshmget=''
useshmgetanon=''
voidp_size=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""

configure: exit 77
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Module Load Error vishallagdev Linux - Server 4 02-02-2008 10:45 PM
configure failed for srclib/apr Sulman Shah Suse/Novell 1 12-02-2006 02:19 AM
Apache - error: external APR GT_Onizuka Linux - Software 0 12-02-2005 03:32 AM
apache 2.x enable APR or not ? adrianmak Linux - Software 0 08-18-2005 06:49 AM
configure:Error: Module source already has to be below src/modules/ to be activated Kevnathan Linux - Security 3 12-09-2004 03:31 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration