I'm having a problem installing some fink packages lately, although I had no
problem building them in the past.  I will use the example of the latest
windowMaker, version 0.80.0-3 to explain the problem.

When I try "fink install windowmaker", it will start to configure before
doing a make.  Then the problem comes about that says this:

configure: error: no acceptable cc found in $PATH

Normally I would guess someone would flame back that I didn't install the
developers tools.  This is not the case at all.  I have built many fink
packages in the past and I've been very happy with what it does.

Here are some more clues as to what is happening....

If I type "which cc", I get /usr/bin/cc

More interestingly, I can run the configure file if I do it manually with a
bit of tweaking.

I su to root. (then)
cd /sw/src/windowmaker-0.80.0-3/WindowMaker

When I am in this directory and type "./configure", I end up with the same
problem.  However, after going through the configure file, I found that it
looks for a couple variables called $CC, and $LD.  (Actually, this was the
case for a different project, WindowMaker's behavior is the same even though
I haven't perused the configure file)

If I do "setenv CC /usr/bin/cc" and "setenv LD /usr/bin/ld", then
"./configure", it configures fine.

In fact, this same problem happened with lesstif.  I was able to build
lesstif by doing this although I couldn't do it by typing "fink install
lesstif"

After doing the above, if I type "fink install windowmaker", I run into the
same problems as before.  I have no idea how to set these variables in
windowMaker's scope.

Does anyone out there know what the real problem here is, and how to fix it?

Any ideas would be appreciated.




-Jeff Sanders


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to