At 19:22 +0100 28/10/02, Max Horn wrote:
The error you describe occurs if -no-cpp-precomp is set in CPPFLAGS. What version of fink are you trying to install? 0.11.0 or CVS?Package manager version: 0.11.0.cvs
Distribution version: 0.4.9.cvs
I don't undestand your remark about -no-cpp-precomp.
The flag -no-cpp-precomp is in ncurses-5.2-8.info :
SetCFLAGS: -no-cpp-precomp -Wno-deprecated
(Maybe missing a filed SetCPPFLAGS ???)
All compilation use '-no-cpp-precomp'. Example :
cd ../obj_s; gcc -I../ncurses -I. -no-cpp-precomp -DNDEBUG -I. -I../include -I/sw/include -DHAVE_CONFIG_H -no-cpp-precomp -Wno-deprecated -fno-common -c ../ncurses/./base/lib_delch.c
'configure' found the correct compiler (with -no-cpp-precomp) :
checking whether the C compiler (gcc -no-cpp-precomp -Wno-deprecated ) works... yes
checking whether the C compiler (gcc -no-cpp-precomp -Wno-deprecated ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking version of gcc... gcc (GCC) 3.1 20020420 (prerelease)
Copyright (C) 2002 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.
On the other hand, 'configure' does not found the 'good' preprocessor :
checking how to run the C preprocessor... gcc -E
It should be :
gcc -E -no-cpp-precomp
or
/usr/bin/cpp
This 'bad' preprocessor is used only by 'MKlib_gen.sh' :
sh ./base/MKlib_gen.sh "gcc -E" "gawk" <../include/curses.h >lib_gen.c
If I try "configure + make" by hand with a 'good' preprocessor:
> sudo -s
> cd /sw/src/ncruses-5.2-8/ncurses
> setenv CPP "gcc -E -no-cpp-precomp"
> ./configure ...
[...]
> make
[...]
All is ok !
--
Paul Gaborit -- <http://www.enstimac.fr/~gaborit/>
DR/GI -- <http://www.enstimac.fr/dr/gind/>
Perl en français -- <http://www.enstimac.fr/Perl/>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel