Dear Mr. Hansen.

Responses to both your emails are here:

[summer:libidn-1.31-1/libidn-1.31]6 bobw% gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.

The config.log file associated with libidn-1.31 gives the same complaint about not finding clang:

[summer:libidn-1.31-1/libidn-1.31]4 bobw% more config.log
..
configure:4353: gcc -v >&5
clang: error: unable to find utility "clang", not a developer tool or in PATH

But I notice an important point in that file:

There are several lines in that log-file beginning "PATH:" , but none of which contain the path to the `clang` executable -- namely /Developer/usr/bin -- as I see with:

[summer:libidn-1.31-1/libidn-1.31]7 bobw% echo $path
/Users/bobw /Developer/usr/bin /usr/local/bin /usr/X11R6/bin /sw/bin /Applications /Applications/mol_structure/VMD /Applications/mol_structure/VMD/NAMD_2.7b1_MacOSX-x86 /Applications/android-sdk/android-sdk-mac_x86/platform-tools /sw/bin /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/local/teTeX/bin/i386-apple-darwin-current /usr/local/bin /usr/X11R6/bin

That apparently accounts for the error. But leavea me with further questions: Why is the path seen by fink different than that seen by the shell? And how do I set the former?

Bob W.

On 7/25/15 12:31 PM, Alexander Hansen wrote:
On Jul 25, 2015, at 07:37, Robert Wohlhueter <bobwohlhue...@earthlink.net> 
wrote:

[Mac OS 10.9 running on MacBookPro with XCODE 6.2 , Developer package 3.2, and 
i686-apple-darwin10-gcc-4.2.1]

After `fink selfupdate`,  `fink update-all`  fails to build from source some 
packages.  (Excepts form output are pasted below *****.)

Checking “/sw/src/fink.build/gcc5-5.1.0-2/darwin_objdir/config.log”  (the 
complete file is attached), I see (among many others) the messages: “

configure:4392: gcc    conftest.c  >&5
clang: error: unable to find utility "clang", not a developer tool or in PATH

.. which completely boogles me, since:

[summer:fink/10.7]10 bobw% which clang
/Developer/usr/bin/clang

and:

[summer:fink/10.7]11 bobw% echo $path
/Users/bobw /Developer/usr/bin /usr/local/bin /usr/X11R6/bin /sw/bin 
/Applications /Applications/mol_structure/VMD 
/Applications/mol_structure/VMD/NAMD_2.7b1_MacOSX-x86 
/Applications/android-sdk/android-sdk-mac_x86/platform-tools /sw/bin /sw/sbin 
/bin /sbin /usr/bin /usr/sbin /usr/local/teTeX/bin/i386-apple-darwin-current 
/usr/local/bin /usr/X11R6/bin

Can anyone suggest a solution?

Thanks,

Bob Wohlhueter


*****details****************

Also include the following system information:
Package manager version: 0.38.6
Distribution version: selfupdate-rsync Fri Jul 24 10:00:19 2015, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 6.2
Xcode command-line tools: 6.2.0.0.1.1424975374
Max. Fink build jobs:  1

except from `sudo fink update-all` output:

checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether make supports nested variables... (cached) no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/sw/src/fink.build/libidn-1.31-1/libidn-1.31':
configure: error: C compiler cannot create executables
See `config.log' for more details
### execution of /tmp/fink.yWtiX failed, exit code 77
### execution of /tmp/fink.Lf4JX failed, exit code 77
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libidn-1.31-1
(Reading database ... 218895 files and directories currently installed.)
Removing fink-buildlock-libidn-1.31-1 ...
Failed: phase compiling: libidn-1.31-1 failed
What does the config.log in /sw/src/fink.build/libidn-1.31-1/libidn-1.31 say 
about the situation?


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to