Thanks a lot for this hint. I checked with "which g++-4.2" and found "/usr/bin/g++-4.2". By a closer look at "/usr/bin" I dug out a lot(!) of other old stuff which was installed by macports and others (but not apple). So I just removed everything that had "date of change" prior to time of Mountain Lion upgrade. Now, fink seems to call "the right" compiler binary and qt3 as well as octave are built successfully.
Benedikt Am 28.09.2012 um 22:16 schrieb Alexander Hansen <[email protected]>: > On 9/28/12 9:12 AM, Benedikt Zeller wrote: >> Hi >> >> While installing octave with fink, a (fatal) error ocurred during the >> compiling process of qt3...see output below. >> >> Is there a workaround? >> >> Thank you for any help. >> >> Benedikt >> >> >> Fink output: >> ------------------------------------- >> g++-4.2 -c -o option.o -pipe -I. -Igenerators -Igenerators/unix >> -Igenerators/win32 -Igenerators/mac >> -I/sw_old/src/fink.build/qt3-3.3.8-2000/qt-x11-free-3.3.8/include/qmake >> -I/sw_old/src/fink.build/qt3-3.3.8-2000/qt-x11-free-3.3.8/include >> -I/sw_old/src/fink.build/qt3-3.3.8-2000/qt-x11-free-3.3.8/include >> -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL >> -DQT_NO_COMPRESS >> -I/sw_old/src/fink.build/qt3-3.3.8-2000/qt-x11-free-3.3.8/mkspecs/darwin-g++ >> -DHAVE_QCONFIG_CPP -mdynamic-no-pic option.cpp >> option.cpp:40:20: error: stdarg.h: No such file or directory > <snip> > >> Package manager version: 0.34.4 >> Distribution version: selfupdate-rsync Fri Sep 28 01:19:46 2012, 10.8, x86_64 >> Trees: local/main stable/main >> Xcode.app: 4.5 >> Xcode command-line tools: 4.5.0.0.1.1249367152 >> Max. Fink build jobs: 2 >> ------------------------------------- > > The qt3 package has a check for g++-4.2, but that isn't provided by > Apple for Mountain Lion. > > Do you have a g++-4.2 in your PATH for some reason? Try running "which > g++-4.2" to verify that. > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
