egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eggdrop on debian[solved]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Rhedd
Voice


Joined: 03 Jan 2006
Posts: 11

PostPosted: Tue Dec 11, 2007 6:24 pm    Post subject: eggdrop on debian[solved] Reply with quote

Hi I have downloaded and untared eggdrop . My problem is when I go to do ./configure
I get the following :

Quote:
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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Dec 11, 2007 7:55 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Rhedd
Voice


Joined: 03 Jan 2006
Posts: 11

PostPosted: Tue Dec 11, 2007 10:56 pm    Post subject: Reply with quote

I did as you said and installed gcc and now I get these error .
Quote:
/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 ?
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Dec 12, 2007 1:48 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Dec 12, 2007 2:25 pm    Post subject: Reply with quote

you're still missing glibc...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Rhedd
Voice


Joined: 03 Jan 2006
Posts: 11

PostPosted: Wed Dec 12, 2007 10:00 pm    Post subject: Reply with quote

did # apt-get build-dep eggdrop and its off and running now .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber