On 24-Dec-03, at 6:48 AM, Martin Costabel wrote:


Java Dude wrote:
[]
checking for isascii... no
checking whether sigaction needs _POSIX_SOURCE... unknown
checking for termio.h... no
checking for termios.h... no
checking for unistd.h... (cached) no
checking for tcgetattr... no
checking for vsscanf function or workaround... no
checking for working mkstemp... no
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... int
checking for type sigaction_t... no
checking declaration of size-change... no
checking for memmove... yes
checking if poll really works... no
checking for stdbool.h... yes
checking for builtin bool type... no
checking for library stdc++... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
### execution of /var/tmp/tmp.2.lV3u45 failed, exit code 1
Failed: compiling ncurses-5.3-20031018-2 failed

Martin Wrote:
Not only the error message at the end, but also several of the earlier checks indicate that something is wrong with your C++ compiler.

You don't set the environment variable CXX in one of your bash startup scripts, for example? Or you are on a partition with a space in its name?

You may find more clues about what is wrong by inspecting the end of the file config.log in the directory /sw/src/ncurses-5.3-20031018-2/ncurses-5.3/
In particular, what comes after the line
configure:10062: checking how to run the C++ preprocessor



Java Dude Replied: I have one drive with one partition called Panther.

Thanks for any help you can offer.

Here is the section from the config.log:

configure:10062: checking how to run the C++ preprocessor
configure:10084: /usr/bin/g++ -E -I/sw/include -D_GNU_SOURCE -DNDEBUG conftest.cc
In file included from configure:10080:
/usr/include/gcc/darwin/3.3/assert.h:14:20: stdlib.h: No such file or directory
configure:10090: $? = 1
configure: failed program was:
#line 10079 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:10084: /usr/bin/g++ -E -I/sw/include -D_GNU_SOURCE -DNDEBUG conftest.cc
In file included from configure:10080:
/usr/include/gcc/darwin/3.3/assert.h:14:20: stdlib.h: No such file or directory
configure:10090: $? = 1
configure: failed program was:
#line 10079 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:10084: /lib/cpp -I/sw/include -D_GNU_SOURCE -DNDEBUG conftest.cc
./configure: line 1: /lib/cpp: No such file or directory
configure:10090: $? = 127
configure: failed program was:
#line 10079 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:10084: /lib/cpp -I/sw/include -D_GNU_SOURCE -DNDEBUG conftest.cc
./configure: line 1: /lib/cpp: No such file or directory
configure:10090: $? = 127
configure: failed program was:
#line 10079 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:10160: result: /lib/cpp
configure:10175: /lib/cpp -I/sw/include -D_GNU_SOURCE -DNDEBUG conftest.cc
./configure: line 1: /lib/cpp: No such file or directory
configure:10181: $? = 127
configure: failed program was:
#line 10170 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:10175: /lib/cpp -I/sw/include -D_GNU_SOURCE -DNDEBUG conftest.cc
./configure: line 1: /lib/cpp: No such file or directory
configure:10181: $? = 127
configure: failed program was:
#line 10170 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:10242: error: C++ preprocessor "/lib/cpp" fails sanity check






------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to