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 script problem

Old posts that have not been replied to for several years.
Locked
c
cheeba

configure script problem

Post by cheeba »

hey i'm trying to get the configure script to go :(
hopefuly this isn't a flat out dupe or anything
running debian unstable
running the script as superuser doesn't make a difference

this is what it sayssssss;

Code: Select all

This is Eggdrop's GNU configure script.
It's going to run a bunch of tests to hopefully make your compile
work without much twiddling.

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
and this is what i beleive the relevant parts of config.log are

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 Eggdrop configure 1.6.16, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ configure

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

hostname = arnold
uname -m = i686
uname -r = 2.6.6-1-686
uname -s = Linux
uname -v = #1 Wed May 12 14:57:57 EST 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: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##
configure:1353: result:
configure:1355: result: This is Eggdrop's GNU configure script.
configure:1357: result: It's going to run a bunch of tests to hopefully make your compile
configure:1359: result: work without much twiddling.
configure:1361: result:
configure:1437: checking for gcc
configure:1453: found /usr/bin/gcc
configure:1463: result: gcc
configure:1707: checking for C compiler version
configure:1710: gcc --version </dev/null >&5
gcc (GCC) 3.3.4 (Debian 1:3.3.4-2)
Copyright (C) 2003 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:1713: $? = 0
configure:1715: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr $
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-2)
configure:1718: $? = 0
configure:1720: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1723: $? = 1
configure:1746: checking for C compiler default output file name
configure:1749: gcc    conftest.c  >&5
configure:1752: $? = 0
configure:1798: result: a.out
configure:1803: checking whether the C compiler works
configure:1809: ./a.out
configure: line 1: ./a.out: Permission denied
configure:1812: $? = 126
configure:1821: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
thanks for any assistance
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

For some reason, configure think's you are trying to cross-compile. What Eggdrop version is this? Try 1.6.16 and 1.6.17 CVS (see README).

Can you compile other things ok?

Either this is an autoconf bug or a debian bug.. ./configure is generated by GNU Autoconf, not directly written by Eggdev...

This is just an idea, but try:

Code: Select all

unset CHOST
unset CFLAGS
unset CFLGS
unset CC
sh configure
Wcc
c
cheeba

Post by cheeba »

turns out i had the filesystem i was using mounted noexec

thanks for your time
Locked