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.

eggdrop on debian[solved]

General support and discussion of Eggdrop bots.
Post Reply
R
Rhedd
Voice
Posts: 11
Joined: Tue Jan 03, 2006 11:49 pm

eggdrop on debian[solved]

Post by Rhedd »

Hi I have downloaded and untared eggdrop . My problem is when I go to do ./configure
I get the following :
configure:1359: result:
configure:1361: result: This is Eggdrop's GNU configure script.
configure:1363: result: It's going to run a bunch of tests to hopefully make your compile
configure:1365: result: work without much twiddling.
configure:1367: result:
configure:1444: checking for gcc
configure:1473: result: no
configure:1524: checking for cc
configure:1540: found /usr/bin/cc
configure:1550: result: cc
configure:1714: checking for C compiler version
configure:1717: cc --version </dev/null >&5
tcc: invalid option -- '--version'
configure:1720: $? = 1
configure:1722: cc -v </dev/null >&5
tcc version 0.9.23
configure:1725: $? = 0
configure:1727: cc -V </dev/null >&5
tcc: invalid option -- '-V'
configure:1730: $? = 1
configure:1753: checking for C compiler default output file name
configure:1756: cc conftest.c >&5
tcc: file '/usr/lib/crt1.o' not found
tcc: file '/usr/lib/crti.o' not found
tcc: file '/usr/lib/crtn.o' not found
configure:1759: $? = 0
configure:1805: result: b.out
configure:1810: checking whether the C compiler works
configure:1816: ./b.out
./configure: line 1817: ./b.out: No such file or directory
configure:1819: $? = 127
configure:1828: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Any suggestions please ?
Last edited by Rhedd on Wed Dec 12, 2007 10:00 pm, edited 1 time in total.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

If possible, try to install gcc rather than relying on tcc. It would seem the autoconf script is having alot of problems figuring out how to use it.

It would also seem some standard libraries are not found, suggesting your system is missing 'libc'.
NML_375
R
Rhedd
Voice
Posts: 11
Joined: Tue Jan 03, 2006 11:49 pm

Post by Rhedd »

I did as you said and installed gcc and now I get these error .
/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/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11


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

configure:1359: result:
configure:1361: result: This is Eggdrop's GNU configure script.
configure:1363: result: It's going to run a bunch of tests to hopefully make your compile
configure:1365: result: work without much twiddling.
configure:1367: result:
configure:1444: checking for gcc
configure:1460: found /usr/bin/gcc
configure:1470: result: gcc
configure:1714: checking for C compiler version
configure:1717: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
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:1720: $? = 0
configure:1722: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
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
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1759: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Eggdrop"
| #define PACKAGE_TARNAME "eggdrop"
| #define PACKAGE_VERSION "1.6.18"
| #define PACKAGE_STRING "Eggdrop 1.6.18"
| #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.
Any more ideas/suggestions please ?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Something is seriously amiss with your devel setup.. I didn't know debian was shipping with other than GCC/glibc, but, perhaps it would be useful to remove the tcc packages/deps and make sure all of your GCC packages are installed.

Here's a bit from the gcc manpage about your error:

-V version
The argument version specifies which version of GCC to run. This is useful when multiple versions are installed. For example, version might be 2.0, meaning to run GCC version 2.0.

The -V and -b options work by running the machine>-gcc-<version> executable, so there's no real reason to use them if you can just run that directly.


Looks like configure is still finding multiple *cc's to try, so its getting confused.

I can only assume you ran configure with no extra params, and those being shown are what configure picked out, which seems a bit unusual. If you did specify commandline options, try running configure without any.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

you're still missing glibc...
NML_375
R
Rhedd
Voice
Posts: 11
Joined: Tue Jan 03, 2006 11:49 pm

Post by Rhedd »

did # apt-get build-dep eggdrop and its off and running now .
Post Reply