IIRC, Debian refers to glibc2 as libc6, try it.

--
Tal Peer
[EMAIL PROTECTED]

On Wed, 19 Feb 2003, Eliran Gonen wrote:

> [ quite LONG ]
> 
> Hello IGLUs!
> 
> I downloaded sim-0.8.1 source package (.tar.gz) and unpacked it.
> Then, moved into the new directory and typed as usual:
> 
> $ ./configure --disable-kde                   # --disable-kde disable the use of the 
>KDE libs as I have none
> 
> .... Few seconds and I got this error message:
> 
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for -p flag to install... yes
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output... configure: error: C compiler cannot create 
>executables
> See `config.log' for more details.
> 
> So I fired my editor and noticed this on the config.log file:
> 
> 
> < config.log >
> configure:1773: checking for gawk
> configure:1802: result: no
> configure:1773: checking for mawk
> configure:1789: found /usr/bin/mawk
> configure:1799: result: mawk
> configure:1809: checking whether make sets $(MAKE)
> configure:1829: result: yes
> configure:2187: checking for style of include used by make
> configure:2215: result: GNU
> configure:2343: checking for gcc
> configure:2359: found /usr/bin/gcc
> configure:2369: result: gcc
> configure:2613: checking for C compiler version
> configure:2616: gcc --version </dev/null >&5
> 2.95.4
> configure:2619: $? = 0
> configure:2621: gcc -v </dev/null >&5
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
> configure:2624: $? = 0
> configure:2626: gcc -V </dev/null >&5
> gcc: argument to `-V' is missing
> configure:2629: $? = 1
> configure:2653: checking for C compiler default output
> configure:2656: gcc     conftest.c  >&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure:2659: $? = 1
> configure: failed program was:
> | #line 2632 "configure"
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "sim"
> | #define VERSION "0.8.1"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2698: error: C compiler cannot create executables
> See `config.log' for more details.
> </ config.log >
> 
> After googling for:
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> 
> I saw the problem was that I have no glibc-devel!
> As root: $ apt-get install glibc || $ apt-get install glibc-devel
> returned nothing (well actually: "No installation candidates").
> 
> So I just went gnu.org and got the glibc source package.
> 
> $ ./configure
> [..sniped..]
> checking version of gcc... 2.95.4, bad
> checking for gnumake... no
> checking for gmake... no
> checking for make... make
> checking version of make... 3.79.1, ok
> configure: error:
> *** These critical programs are missing or too old: gcc
> *** Check the INSTALL file for required versions.
> 
> Then I tried compiling make:
> 
> $ ./configure
> checking for C compiler default output... configure: error: C compiler cannot create 
>executables
> 
> And then gcc-3.2.2:
> 
> $ ./configure
> 
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> *** The command 'gcc -o conftest -g -O2   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
> 
> Again, the crt1/glibc-devel problem.
> 
> I'm runing debian woody on an i686, kernel 2.4.18
> 
> If you got that far, do you know how to solve this ?
> 
> Thanks ALOT!
> -- 
>       <A HREF="http://www.rootshell.be/~eg";>Eliran Gonen</A>
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to