On 1/28/13 1:54 PM, Bletzinger, Michael Erwin wrote: > Hello Everyone, > > kdeedu4-x11 seems to be looking for a fortran library associated with gcc > 4.2. I can only install the fortran library for gcc 4.5, 4.6 and 4.7 > libraries with fink. gcc 4.2 is a virtual package. Any suggestions? > > Thanks > Michael > > Linking CXX shared module ../../../../lib/cantor_rbackend.so > cd > /sw/src/fink.build/kdeedu4-x11-4.4.1-6/kdeedu-4.4.1/build/cantor/src/backends/R > && /sw/bin/cmake -E cmake_link_script > CMakeFiles/cantor_rbackend.dir/link.txt --verbose=1 > /sw/var/lib/fink/path-prefix-10.6/g++-4.2 -fno-common -Woverloaded-virtual > -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG > -arch i386 -isysroot / -mmacosx-version-min=10.6 -bundle > -Wl,-headerpad_max_install_names -multiply_defined suppress > -L/sw/src/fink.build/kdeedu4-x11-4.4.1-6/kdeedu-4.4.1/build/lib > -L/sw/opt/kde4/x11/lib -L/sw/lib/system-openssl/lib -L/sw/lib/freetype219/lib > -L/sw/lib/fontconfig2/lib -L/sw/lib/qt4-x11/lib -L/sw/opt/qca2/x11/lib > -L/sw/opt/strigi/x11/lib -L/sw/opt/soprano/x11/lib -L/sw/opt/attica/x11/lib > -L/sw/opt/akonadi/x11/lib -L/sw/lib > -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib > -Wl,-dead_strip_dylibs -o ../../../../lib/cantor_rbackend.so > CMakeFiles/cantor_rbackend.dir/cantor_rbackend_automoc.o > CMakeFiles/cantor_rbackend.dir/rbackend.o > CMakeFiles/cantor_rbackend.dir/rsession.o CMakeFiles/cantor_rbackend. dir/rexpression.o CMakeFiles/cantor_rbackend.dir/rextensions.o CMakeFiles/cantor_rbackend.dir/settings.o CMakeFiles/cantor_rbackend.dir/rserver_interface.o -L/sw/Library/Frameworks/R.framework/Versions/2.15/Resources/lib -L/sw/opt/kde4/x11/lib -L/sw/src/fink.build/kdeedu4-x11-4.4.1-6/kdeedu-4.4.1/build/lib -L/sw/lib/qt4-x11/lib /sw/opt/kde4/x11/lib/libkdeui.5.4.0.dylib ../../../../lib/libcantorlibs.0.0.1.dylib -lR -lRlapack -lgfortran -lRblas /sw/lib/qt4-x11/lib/libQtSvg.dylib /sw/lib/qt4-x11/lib/libQtGui.dylib /sw/opt/kde4/x11/lib/libkdecore.5.4.0.dylib /sw/lib/qt4-x11/lib/libQtDBus.dylib /sw/lib/qt4-x11/lib/libQtCore.dylib -lpthread -framework Carbon /sw/opt/kde4/x11/lib/libkio.5.4.0.dylib /sw/opt/kde4/x11/lib/libsolid.4.4.0.dylib > ld: library not found for -lgfortran > collect2: ld returned 1 exit status > make[2]: *** [lib/cantor_rbackend.so] Error 1 > make[1]: *** [cantor/src/backends/R/CMakeFiles/cantor_rbackend.dir/all] Error > 2 > make: *** [all] Error 2 > ### execution of /tmp/fink.6jKgi failed, exit code 2 > ### execution of /tmp/fink.f6_SH failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-kdeedu4-x11-4.4.1-6 > (Reading database ... 207649 files and directories currently installed.) > Removing fink-buildlock-kdeedu4-x11-4.4.1-6 ... > Failed: phase compiling: kdeedu4-x11-4.4.1-6 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <[email protected]> > The Fink Beginners List <[email protected]>, > > with a carbon copy to the maintainer: > > Benjamin Reed <[email protected]> > > Note that this is preferable to emailing just the maintainer directly, > since most fink package maintainers do not have access to all possible > hardware and software configurations. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.34.4 > Distribution version: selfupdate-rsync Mon Jan 28 13:01:55 2013, 10.6, i386 > Trees: local/main stable/main unstable/main > Xcode.app: 3.2.6 > Xcode command-line tools: 3.2.6 > Max. Fink build jobs: 1 > >
The issue is not that the build can't find a libgfortran.dylib associated with gcc-4.2, which is from Apple and doesn't include any Fortran components. It's that the build doesn't find _any_ libgfortran.dylib in the link path, because we hide the libraries in the gcc4N packages for safety. This may be a newly exposed issue due to other package updates. kdeedu4-x11 will need to have the gcc4N (probably gcc47) library path added to its build options. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ 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
