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