@alexander:

mbp:~ r$ ls -la /usr/bin/*cc* /usr/bin/*++*
lrwxr-xr-x   1 root  wheel       7 Mar 21 23:23 /usr/bin/c++ -> clang++
-rwxr-xr-x   1 root  wheel  475392 Mar 21 15:19 /usr/bin/c++filt
lrwxr-xr-x   1 root  wheel       5 Mar 21 23:23 /usr/bin/cc -> clang
lrwxr-xr-x   1 root  wheel       5 Mar 21 23:23 /usr/bin/clang++ -> clang
-rwxr-xr-x   2 root  wheel  575904 Mar 21 23:23 /usr/bin/flex++
lrwxr-xr-x   1 root  wheel      12 Mar 21 23:23 /usr/bin/g++ -> llvm-g++-4.2
lrwxr-xr-x   1 root  wheel      12 Mar 21 23:23 /usr/bin/gcc -> llvm-gcc-4.2
lrwxr-xr-x   1 root  wheel      12 Mar 21 23:35 /usr/bin/gcc-4.2 -> /usr/bin/gcc
lrwxr-xr-x   1 root  wheel      52 Mar 21 23:23
/usr/bin/i686-apple-darwin11-llvm-g++-4.2 ->
../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-g++-4.2
lrwxr-xr-x   1 root  wheel      52 Mar 21 23:23
/usr/bin/i686-apple-darwin11-llvm-gcc-4.2 ->
../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gcc-4.2
-rwxr-xr-x  36 root  wheel     811 Mar 21 15:19 /usr/bin/ip2cc
-r-xr-xr-x   1 root  wheel    2116 Mar 21 15:19 /usr/bin/ip2cc5.10
-r-xr-xr-x   1 root  wheel    2116 Mar 21 15:19 /usr/bin/ip2cc5.12
-rwxr-xr-x   1 root  wheel   45856 Mar 21 15:19 /usr/bin/kcc
lrwxr-xr-x   1 root  wheel      32 Mar 21 23:23 /usr/bin/llvm-g++ ->
../llvm-gcc-4.2/bin/llvm-g++-4.2
lrwxr-xr-x   1 root  wheel      32 Mar 21 23:23 /usr/bin/llvm-g++-4.2
-> ../llvm-gcc-4.2/bin/llvm-g++-4.2
lrwxr-xr-x   1 root  wheel      32 Mar 21 23:23 /usr/bin/llvm-gcc ->
../llvm-gcc-4.2/bin/llvm-gcc-4.2
lrwxr-xr-x   1 root  wheel      32 Mar 21 23:23 /usr/bin/llvm-gcc-4.2
-> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
-rwxr-xr-x   1 root  wheel    1425 Mar 21 15:19 /usr/bin/runocc.d
-rwxr-xr-x   1 root  wheel   15264 Mar 21 15:17 /usr/bin/tccutil
-rwxr-xr-x   1 root  wheel     135 Mar 21 23:23 /usr/bin/yacc

Note that they all have (about) the same write dates, so I'm not sure
which are "old" vs "new".

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 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.

$ cc --version
Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix

Should I ditch all the gcc versions and keep all the clang versions?

- Rob


On Tue, Sep 10, 2013 at 10:24 PM, Alexander Hansen
<alexanderk.han...@gmail.com> wrote:
> On 9/10/13 9:42 PM, Robert Poor wrote:
>>
>> I'm a real newcomer to fink (and octave, and qt), but I stumbled upon
>> a problem while trying "fink install octave".  But first, some
>> environment settings:
>>
>> OS: OS X 10.8.4
>> fink --version: Package manager version: 0.35.1
>>
>> After installing a new fink and doing the "fink update-all; fink
>> selfupdate" dance, I tried to install octave via:
>>
>> $ fink install octave
>>
>> ... but it died trying to install qt3-3.3.8-2002   I traced the
>> problem to where qt's configure script was calling 'read acceptance'
>> to confirm acceptance of the QPL/GLP license.  (See output below).
>>
>> My workaround was to change the line that read
>>
>>     read acceptance
>>
>> to
>>
>>     acceptance='yes'
>>
>> There's probably a better fix, but like I said, I'm a beginner at all
>> this.
>>
>> - rdp
>>
>> =====
>> $ fink install octave
>> <snip>
>> This is the Qt/X11 Open Source Edition.
>>
>> You are licensed to use this software under the terms of either
>> the Q Public License (QPL) or the GNU General Public License (GPL).
>>
>> Type 'Q' to view the Q Public License.
>> Type 'G' to view the GNU General Public License.
>> Type 'yes' to accept this license offer.
>> Type 'no' to decline this license offer.
>>
>> Do you accept the terms of either license?
>> Creating qmake. Please wait...
>> g++-4.2 -c -o project.o -pipe -I. -Igenerators -Igenerators/unix
>> -Igenerators/win32 -Igenerators/mac
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include/qmake
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include
>> -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
>> -DQT_NO_COMPRESS
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/mkspecs/darwin-g++
>> -DHAVE_QCONFIG_CPP -mdynamic-no-pic project.cpp
>> make: g++-4.2: No such file or directory
>> g++-4.2 -c -o property.o -pipe -I. -Igenerators -Igenerators/unix
>> -Igenerators/win32 -Igenerators/mac
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include/qmake
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include
>> -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
>> -DQT_NO_COMPRESS
>> -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/mkspecs/darwin-g++
>> -DHAVE_QCONFIG_CPP -mdynamic-no-pic property.cpp
>> make: g++-4.2: No such file or directory
>> make: *** [project.o] Error 1
>> make: *** Waiting for unfinished jobs....
>> make: *** [property.o] Error 1
>> qmake failed to build. Aborting.
>> ### execution of /tmp/fink.PJc56 failed, exit code 2
>> ### execution of /tmp/fink.W_mdS failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> ...
>> =====
>>
>
> What do you get from  "ls /usr/bin/*cc* /usr/bin/*++*"?
>
> The problem is that your build thinks it needs to use g++-4.2, but that
> isn't supposed to be present for any Xcode command-line tools supported on
> 10.8.
>
> If you have a /usr/bin/gcc-4.2, e.g. due to having upgraded from an earlier
> OS X or manually creating one, the qt3 build detects that and then also
> tries to use g++-4.2.
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to