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.

i get this error eggdrop C preprocessor /lib/cpp fails sanit

General support and discussion of Eggdrop bots.
Post Reply
a
amul
Voice
Posts: 1
Joined: Fri Dec 30, 2005 1:46 am

i get this error eggdrop C preprocessor /lib/cpp fails sanit

Post by amul »

i get this error when I did ./configure , could you please help me out, , I used eggdrop1.6.17 , even i tried to copy file eggdrop and made chmod , but still bot not coming to IRC when I did ./eggdrop -mn <config> it connecting to server and time out. Please help
T
T-Xorcist
Halfop
Posts: 47
Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:

Post by T-Xorcist »

What exactly is the error?
A
ArcAiN6
Voice
Posts: 4
Joined: Sat Jan 14, 2006 2:39 am

Post by ArcAiN6 »

I am having similar problem using redhat enterprise AS 4

Code: Select all

[node1 eggdrop1.6.17]$ ./configure 

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... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[node1 eggdrop1.6.17]$ 
I don't know what the problem is..

cpp is in the right place, i did a whereis and it shows:

Code: Select all

[node1 eggdrop1.6.17]$ whereis cpp
cpp: /usr/bin/cpp /lib/cpp /usr/share/man/man1/cpp.1.gz
[node1 eggdrop1.6.17]$ 
Any help would be greatly appreciated

-=[ ArcAiN6 ]=-
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

ArcAiN6 wrote:

Code: Select all

See `config.log' for more details.
I don't know what the problem is..
poor eyesight? :)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
A
ArcAiN6
Voice
Posts: 4
Joined: Sat Jan 14, 2006 2:39 am

Post by ArcAiN6 »

log reads like portugese stereo installation instructions to me....

If you could help me figure out the problem, and maybe a solution, i would appreciate it.
config.lob:

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

  $ ./configure 

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

hostname = node1
uname -m = i686
uname -r = 2.6.9-5.ELsmp
uname -s = Linux
uname -v = #1 SMP Wed Jan 5 19:30:39 EST 2005

/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/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## 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) 3.4.4 20050721 (Red Hat 3.4.4-2)
Copyright (C) 2004 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
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
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
configure:1759: $? = 0
configure:1805: result: a.out
configure:1810: checking whether the C compiler works
configure:1816: ./a.out
configure:1819: $? = 0
configure:1836: result: yes
configure:1843: checking whether we are cross compiling
configure:1845: result: no
configure:1848: checking for suffix of executables
configure:1850: gcc -o conftest    conftest.c  >&5
configure:1853: $? = 0
configure:1878: result: 
configure:1884: checking for suffix of object files
configure:1905: gcc -c   conftest.c >&5
configure:1908: $? = 0
configure:1930: result: o
configure:1934: checking whether we are using the GNU C compiler
configure:1958: gcc -c   conftest.c >&5
configure:1964: $? = 0
configure:1968: test -z 
			 || test ! -s conftest.err
configure:1971: $? = 0
configure:1974: test -s conftest.o
configure:1977: $? = 0
configure:1990: result: yes
configure:1996: checking whether gcc accepts -g
configure:2017: gcc -c -g  conftest.c >&5
configure:2023: $? = 0
configure:2027: test -z 
			 || test ! -s conftest.err
configure:2030: $? = 0
configure:2033: test -s conftest.o
configure:2036: $? = 0
configure:2047: result: yes
configure:2064: checking for gcc option to accept ANSI C
configure:2134: gcc  -c -g -O2  conftest.c >&5
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: syntax error before '*' token
conftest.c:15: warning: "struct stat" declared inside parameter list
conftest.c:15: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c:44: error: syntax error before "FILE"
conftest.c:44: warning: "struct stat" declared inside parameter list
conftest.c:44: error: `pairnames' declared as function returning a function
conftest.c:44: error: syntax error before "int"
configure:2140: $? = 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.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2134: gcc -qlanglvl=ansi -c -g -O2  conftest.c >&5
gcc: unrecognized option `-qlanglvl=ansi'
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: syntax error before '*' token
conftest.c:15: warning: "struct stat" declared inside parameter list
conftest.c:15: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c:44: error: syntax error before "FILE"
conftest.c:44: warning: "struct stat" declared inside parameter list
conftest.c:44: error: `pairnames' declared as function returning a function
conftest.c:44: error: syntax error before "int"
configure:2140: $? = 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.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2134: gcc -std1 -c -g -O2  conftest.c >&5
cc1: error: unrecognized command line option "-std1"
configure:2140: $? = 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.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2134: gcc -Ae -c -g -O2  conftest.c >&5
<command line>:1:2: missing '(' after predicate
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: syntax error before '*' token
conftest.c:15: warning: "struct stat" declared inside parameter list
conftest.c:15: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c:44: error: syntax error before "FILE"
conftest.c:44: warning: "struct stat" declared inside parameter list
conftest.c:44: error: `pairnames' declared as function returning a function
conftest.c:44: error: syntax error before "int"
configure:2140: $? = 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.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2134: gcc -Aa -D_HPUX_SOURCE -c -g -O2  conftest.c >&5
<command line>:1:2: missing '(' after predicate
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: syntax error before '*' token
conftest.c:15: warning: "struct stat" declared inside parameter list
conftest.c:15: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c:44: error: syntax error before "FILE"
conftest.c:44: warning: "struct stat" declared inside parameter list
conftest.c:44: error: `pairnames' declared as function returning a function
conftest.c:44: error: syntax error before "int"
configure:2140: $? = 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.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2134: gcc -Xc -D__EXTENSIONS__ -c -g -O2  conftest.c >&5
gcc: unrecognized option `-Xc'
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: syntax error before '*' token
conftest.c:15: warning: "struct stat" declared inside parameter list
conftest.c:15: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c:44: error: syntax error before "FILE"
conftest.c:44: warning: "struct stat" declared inside parameter list
conftest.c:44: error: `pairnames' declared as function returning a function
conftest.c:44: error: syntax error before "int"
configure:2140: $? = 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.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2171: result: none needed
configure:2189: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2195: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2348: checking how to run the C preprocessor
configure:2383: gcc -E  conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:11,
                 from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:122:61: limits.h: No such file or directory
configure:2389: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2383: gcc -E  conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:11,
                 from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:122:61: limits.h: No such file or directory
configure:2389: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2383: gcc -E -traditional-cpp  conftest.c
conftest.c:12: assert.h: No such file or directory
configure:2389: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2383: gcc -E -traditional-cpp  conftest.c
conftest.c:12: assert.h: No such file or directory
configure:2389: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2383: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:11,
                 from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:122:61: limits.h: No such file or directory
configure:2389: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2383: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:11,
                 from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:122:61: limits.h: No such file or directory
configure:2389: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2466: result: /lib/cpp
configure:2490: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:11,
                 from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:122:61: limits.h: No such file or directory
configure:2496: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2490: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:11,
                 from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/limits.h:122:61: limits.h: No such file or directory
configure:2496: $? = 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.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:2565: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

AWK=''
BASENAME=''
CC='gcc'
CFLAGS='-g -O2'
CPP='/lib/cpp'
CPPFLAGS=''
DEFAULT_MAKE=''
DEFS=''
DEST=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGGEXEC=''
EGGVERSION=''
EGREP=''
EXEEXT=''
HEAD_1=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MODULE_XLIBS=''
MOD_CC=''
MOD_EXT=''
MOD_LD=''
MOD_STRIP=''
MOD_UPDIR=''
OBJEXT='o'
PACKAGE_BUGREPORT='bugs@eggheads.org'
PACKAGE_NAME='Eggdrop'
PACKAGE_STRING='Eggdrop 1.6.17'
PACKAGE_TARNAME='eggdrop'
PACKAGE_VERSION='1.6.17'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_CC=''
SHLIB_LD=''
SHLIB_STRIP=''
STRIP=''
TCLINC=''
TCLINCFN=''
TCLLIB=''
TCLLIBFN=''
TCL_LIBS=''
TCL_REQS=''
UNAME=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
egg_ac_parameters=''
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "bugs@eggheads.org"
#define PACKAGE_NAME "Eggdrop"
#define PACKAGE_STRING "Eggdrop 1.6.17"
#define PACKAGE_TARNAME "eggdrop"
#define PACKAGE_VERSION "1.6.17"

configure: exit 1
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory 
that's your problem - screwed gcc installation; you probably can't compile anything on that machine
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
A
ArcAiN6
Voice
Posts: 4
Joined: Sat Jan 14, 2006 2:39 am

Post by ArcAiN6 »

demond wrote: that's your problem - screwed gcc installation; you probably can't compile anything on that machine
hmm... seems to work for everything else i've tried to compile so far... just not the eggybot... i'll uninstall the compilers andreinstall them to see...
A
ArcAiN6
Voice
Posts: 4
Joined: Sat Jan 14, 2006 2:39 am

Post by ArcAiN6 »

hmm... just installed ffmpeg and imagemagik no problems... just eggy bot won't install
oh well, i'll put it on another machine...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

If the gcc install screws up in any way you will never compile eggdrop.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply