Hi,
I found the problem for the strange behaviour of the configure script.
Here the solution for the records:
For another s/w I tried to build (not fink), I made a softlink ln -s
/sw/include /usr/local/include. The preprocessor found out, that it has
twice the same directory in the search path (/usr/local/include and
/sw/include) and dropped the linked one from its search path. This
warning is interpreted by the configure script, that the gcc -E
-traditional-cpp does not work and it ended up with the last available
option /lib/cpp.
Cheers,
Remi
On Saturday, October 5, 2002, at 05:26 PM, Remi Mommsen wrote:
> Hi Martin,
>
> Very strange problem: if I run fink install emacs21 then the configure
> thinks it has to take /lib/cpp. But if I suspend the fink install just
> before the configure and give exactly the same command on the command
> line (as root) it works perfectly well. Could there be a permission
> difference between sudo (fink) and root (command line)? Any idea where
> it could arise? I wonder if someone else will run into the same
> problem.
>
> Thanks a lot.
>
> cheers,
> Remi
>
> On Saturday, October 5, 2002, at 03:50 PM, Martin Costabel wrote:
>
>> Remi Mommsen wrote:
>> []
>>> creating lib-src/Makefile
>>> ./config.status: /lib/cpp: No such file or directory
>>
>> Something must have gone wrong when configure tried to guess the
>> machine type. It should not have set the preprocessor to /lib/cpp.
>>
>> There is a part of the output during the configure phase that looks
>> as follows in my case:
>>
>> checking host system type... powerpc-apple-darwin
>> checking for gcc... gcc
>> checking whether the C compiler (gcc -L/sw/lib) works... yes
>> checking whether the C compiler (gcc -L/sw/lib) is a
>> cross-compiler... no
>> checking whether we are using GNU C... yes
>> checking whether gcc accepts -g... yes
>> checking whether ln -s works... yes
>> checking how to run the C preprocessor... gcc -E -traditional-cpp
>> checking for a BSD compatible install... /usr/bin/install -c
>>
>> I bet it's different for you, but I have no idea why.
>>
>> []
>>> make[1]: *** No rule to make target `all'. Stop.
>>> make: *** [lib-src] Error 2
>>
>> There is probably no Makefile in lib-src, because this should have
>> been made from Makefile.c using the (non-existent) preprocessor.
>>
>> --
>> Martin
>>
>>
>
>
> ---------------------------------------------------------------------
> "Truth decays into beauty, while beauty soon becomes merely charm.
> Charm ends up as strangeness, and even that doesn't last, but up and
> down are forever." (Anonymous)
>
> *********************************************************************
> Remigius K. Mommsen e-mail: [EMAIL PROTECTED]
> University of California, Irvine URL: home.cern.ch/mommsen
> c/o SLAC voice: ++1 (650) 926-3595
> 2575 Sand Hill Road #35 mobile: ++1 (650) 387-1402
> Menlo Park, CA 94025, US fax: ++1 (650) 926-8522
> *********************************************************************
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
>
---------------------------------------------------------------------
"What're quantum mechanics?"
"I don't know. People who repair quantums I suppose."
(Rincewind, Terry Pratchett "Eric")
*********************************************************************
Remigius K. Mommsen e-mail: [EMAIL PROTECTED]
University of California, Irvine URL: home.cern.ch/mommsen
c/o SLAC voice: ++1 (650) 926-3595
2575 Sand Hill Road #35 mobile: ++1 (650) 387-1402
Menlo Park, CA 94025, US fax: ++1 (650) 926-8522
*********************************************************************
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users