LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ircd installing problem (https://www.linuxquestions.org/questions/linux-software-2/ircd-installing-problem-606230/)

dujalik 12-12-2007 03:17 AM

ircd installing problem
 
Hi,
I have a problem installing ircd. When I try to configure I get this:

Code:

duja@mp3dz:~/ircd-hybrid-7.2.3> ./configure --prefix=/home/duja/ircd --with-nicklen=20 --with-maxclients=500 --with-topiclen=400
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
duja@mp3dz:~/ircd-hybrid-7.2.3>

And config.log contains this:

Code:

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

It was created by ircd-hybrid configure 7.2.2, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  $ ./configure --prefix=/home/duja/ircd --with-nicklen=20 --with-maxclients=500 --with-topiclen=400

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

hostname = mp3dz.net
uname -m = x86_64
uname -r = 2.6.16.53-070731a
uname -s = Linux
uname -v = #1 SMP Tue Jul 31 10:46:54 CEST 2007

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

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

PATH: //bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /opt/cross/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


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

configure:1806: checking for gcc
configure:1822: found /usr/bin/gcc
configure:1833: result: gcc
configure:2071: checking for C compiler version
configure:2078: gcc --version >&5
gcc (GCC) 4.1.0 (SUSE Linux)
Copyright (C) 2006 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:2081: $? = 0
configure:2088: gcc -v >&5
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)
configure:2091: $? = 0
configure:2098: gcc -V >&5
gcc: '-V' option must have argument
configure:2101: $? = 1
configure:2124: checking for C compiler default output file name
configure:2151: gcc    conftest.c  >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find /lib/libc.so.6
collect2: ld returned 1 exit status
configure:2154: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ircd-hybrid"
| #define PACKAGE_TARNAME "ircd-hybrid"
| #define PACKAGE_VERSION "7.2.2"
| #define PACKAGE_STRING "ircd-hybrid 7.2.2"
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|  ;
|  return 0;
| }
configure:2193: error: C compiler cannot create executables
See `config.log' for more details.

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

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_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_prog_ac_ct_CC=gcc

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

AR=''
BALLOC_C=''
CC='gcc'
CFLAGS=''
CLOBBER=''
CP=''
CPP=''
CPPFLAGS=''
CRYPT_C=''
CRYPT_LIB=''
DEFS=''
DYNLINK_C=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENCSPEED=''
EXAMPLE_CONF=''
EXEEXT=''
GREP=''
INET_MISC=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IRC_CFLAGS=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN=''
LTLIBOBJS=''
MAKEDEPEND=''
MKDEP=''
MODULES_LIBS=''
MOD_TARGET=''
MV=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='ircd-hybrid'
PACKAGE_STRING='ircd-hybrid 7.2.2'
PACKAGE_TARNAME='ircd-hybrid'
PACKAGE_VERSION='7.2.2'
PATH_SEPARATOR=':'
PICFLAGS=''
RM=''
SED=''
SEDOBJ=''
SELECT_TYPE=''
SET_MAKE=''
SHELL='/bin/sh'
SNPRINTF_C=''
SSL_INCLUDES=''
SSL_LIBS=''
SSL_SRCS_ENABLE=''
STDOUT=''
TEST=''
ZLIB_LD=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/duja/ircd'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME "ircd-hybrid"
#define PACKAGE_TARNAME "ircd-hybrid"
#define PACKAGE_VERSION "7.2.2"
#define PACKAGE_STRING "ircd-hybrid 7.2.2"
#define PACKAGE_BUGREPORT ""
#define _GNU_SOURCE 1

configure: exit 77

Can anyone help please : /

Thanks in advance.

derxob 12-13-2007 01:10 PM

Judging from these lines:
Code:

/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find /lib/libc.so.6
collect2: ld returned 1 exit status

I think you may not have the required version of libc installed. Check the README and see what the needed version is and make sure yours matches.


All times are GMT -5. The time now is 09:08 AM.