This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

./configure errors out. Cannot create executable

General support and discussion of Eggdrop bots.
Post Reply
t
theplop
Voice
Posts: 7
Joined: Fri Jan 27, 2006 5:46 pm
Location: Idaho

./configure errors out. Cannot create executable

Post by theplop »

checking for C compiler default output file name... configure: error: C compiler cannot create executables

any help would be appreciated.
I do have GCC, running on a slackware 10 box.

here is the config.log (the relavant info anyways)

configure:1720: $? = 0
configure:1722: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
configure:1725: $? = 0
configure:1727: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1730: $? = 1
configure:1753: checking for C compiler default output file name
configure:1756: gcc conftest.c >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:1759: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Eggdrop"
| #define PACKAGE_TARNAME "eggdrop"
| #define PACKAGE_VERSION "1.6.17"
| #define PACKAGE_STRING "Eggdrop 1.6.17"
| #define PACKAGE_BUGREPORT "bugs@eggheads.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1798: error: C compiler cannot create executables
See `config.log' for more details.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: ./configure errors out. Cannot create executable

Post by demond »

theplop wrote: gcc: installation problem, cannot exec `as': No such file or directory
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
t
theplop
Voice
Posts: 7
Joined: Fri Jan 27, 2006 5:46 pm
Location: Idaho

Post by theplop »

i realize thats the error, but i have no clue what " 'as " is.... hence why i asked for help.

:?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Possibly a reinstall of gcc will sort it.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

As far as i remember it was a problem with missing glibc-devel package installed.
Que?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

as is the (GNU) assembler which is part of the (GNU) binutils.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
t
theplop
Voice
Posts: 7
Joined: Fri Jan 27, 2006 5:46 pm
Location: Idaho

Post by theplop »

thanks for the tips.
i installed binutils-2.15.92.0.2-i486-3, and it took care of the `as problem.

It errored out again with limits.h, i fixed that with kernel-headers-2.4.32-i386-1

thanks guys for pointing the way.
t
theplop
Voice
Posts: 7
Joined: Fri Jan 27, 2006 5:46 pm
Location: Idaho

Post by theplop »

Well, i thought all was well, i was wrong....
everything goes great until the end.

Code: Select all

Eggdrop successfully compiled:
-rwxr-xr-x  1 root root 699617 2006-01-28 16:08 eggdrop

Modules successfully compiled:
ls: *.so: No such file or directory
make: *** [modules] Error 1
If i do do a "make install" after that i get problems with missing .so files...
so i know it wasn't installed right.

i have been googling and searching the BB's for a while trying to find a solution...

any help would be great.
Post Reply