Page 1 of 1

Problem mit ./configure

Posted: 2004-02-11 19:21
by star-com
Hi, ich bekomme bei ./configure von jwhois (vielleicht kennt das der ein oder andre) den folgenden fehler :

Code: Select all

jwhois-3.2.2 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/root/jwhois-3.2.2/missing: Unknown `--run' option
Try `/root/jwhois-3.2.2/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
Hat jemand ne Idee ??
es handelt sich bei dem rootie um nen 8.2er suse

gruss
Adrian

Re: Problem mit ./configure

Posted: 2004-02-11 19:39
by darkspirit
Gibt die config.log weitere Infos her?

Re: Problem mit ./configure

Posted: 2004-02-11 19:44
by star-com
ich poste die einfach mal hier
vielleicht sieht jemand andres den fehler auf anhieb ;)

Code: Select all

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.53.  Invocation command line was

  $ ./configure

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

hostname = ********
uname -m = i686
uname -r = 2.4.21-166-smp4G-ipx
uname -s = Linux
uname -v = #2 SMP Wed Jan 7 16:00:17 CET 2004

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

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

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


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

configure:1249: checking for a BSD-compatible install
configure:1303: result: /usr/bin/install -c
configure:1314: checking whether build environment is sane
configure:1357: result: yes
configure:1383: WARNING: `missing' script is too old or missing
configure:1391: checking for gawk
configure:1407: found /usr/bin/gawk
configure:1417: result: gawk
configure:1427: checking whether make sets ${MAKE}
configure:1447: result: yes
configure:1662: checking for a BSD-compatible install
configure:1716: result: /usr/bin/install -c
configure:1773: checking for gcc
configure:1789: found /usr/bin/gcc
configure:1799: result: gcc
configure:2043: checking for C compiler version
configure:2046: gcc --version </dev/null >&5
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
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:2049: $? = 0
configure:2051: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
configure:2054: $? = 0
configure:2056: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2059: $? = 1
configure:2085: checking for C compiler default output
configure:2088: gcc    conftest.c  >&5
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
configure:2091: $? = 1
configure: failed program was:
#line 2062 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:2118: error: C compiler cannot create executables

## ---------------- ##
## 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_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "jwhois"
#define VERSION "3.2.2"
#define DEFAULTHOST "whois.internic.net"
#define WHOISSERVERS "whois-servers.net"
#define CACHEEXPIRE "168"
configure: exit 77

Das wars...

und ??

danke für eure hilfe


gruss

Re: Problem mit ./configure

Posted: 2004-02-11 19:48
by captaincrunch
Der interessante Teil ist
configure:2049: $? = 0
configure:2051: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
configure:2054: $? = 0
configure:2056: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2059: $? = 1
configure:2085: checking for C compiler default output
configure:2088: gcc conftest.c >&5
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
configure:2091: $? = 1
configure: failed program was:
#line 2062 "configure"
#include "confdefs.h"
Du solltest mal schauen, warum der gcc nur während des Tests abschmiert.

Re: Problem mit ./configure

Posted: 2004-02-11 19:52
by star-com
tja ???
gute frage
und wie ?


ich hab mit dem gcc nicht viel am hut, sorry

tips ?

gruss

Re: Problem mit ./configure

Posted: 2004-02-11 19:55
by captaincrunch

Code: Select all

#include <stdio.h>

int main()
{
printf("Hello world!n");
return 0;
}
Obiges per cut and paste in irgend eine Datei ablegen, und das ganze dann per gcc FILE -o hallo kompilieren, sofern alles glatt geht, ist beim configure etwas ganz schief gelaufen.

Re: Problem mit ./configure

Posted: 2004-02-11 20:21
by star-com
ausgabe :

Code: Select all

gcc: Internal error: Segmentation fault (program collect2)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

und nun ??

Re: Problem mit ./configure

Posted: 2004-02-11 20:24
by captaincrunch
Sonst läuft noch alles auf deinem System? Hast du irgendwelche Updates gefahren? gcc und Konsorten schon mal neu drübergebügelt?

Re: Problem mit ./configure

Posted: 2004-02-11 20:26
by star-com
der rootie ist grad mal reichlich ne woche alt
sollte ein zweiter server werden aber irgendwie spinnt der

jedenfalls alles andre läuft ordentlich
updates hab ich noch nicht gefahren

Re: Problem mit ./configure

Posted: 2004-02-11 20:27
by Joe User
gcc, gcc-g++, glibc-devel, binutils, bison, flex, libtool, autoconf, automake, gettext und deren Abhängigkeiten installieren...

Re: Problem mit ./configure

Posted: 2004-02-11 20:37
by captaincrunch
Wenn der spinnt mal ein Schuss ins Blaue: ist der RAM noch OK?

Re: Problem mit ./configure

Posted: 2004-02-11 20:40
by star-com
wie gesagt
server ganz neu =)


trotz reinstall aller packete per yast kein erfolg



und nun ??

Re: Problem mit ./configure

Posted: 2004-02-11 20:45
by Joe User
Installiere bitte cpp, gcc, gcc-g++, libgcc, libstdc++, libstdc++-devel von http://ftp.gwdg.de/pub/linux/suse/ftp.s ... s/gcc/8.2/ und versuche es nochmals.

Re: Problem mit ./configure

Posted: 2004-02-11 21:09
by star-com
ich glaub ich bin zu doof

aber weder bekomm ich die alten packete runter und daher auch die neuen nicht drauf

Re: Problem mit ./configure

Posted: 2004-02-11 21:14
by Joe User
Im Verzeichnis wo die RPMs liegen, folgenden Befehl ausführen:

Code: Select all

rpm -Uvh --force --nodeps *-3.3.1-16.i586.rpm

Re: Problem mit ./configure

Posted: 2004-02-11 21:16
by star-com
*an kopf klopp*

auf das --force hätte ich auch kommen können *grins*


thx

Re: Problem mit ./configure

Posted: 2004-02-11 21:19
by star-com
juhu ;)


du bistn schatz, es funzt wieder....

also nochmal vielen dank


gruss
Adrian

Re: Problem mit ./configure

Posted: 2004-02-11 22:01
by Joe User
Danke :oops: