[kde-edu]: kdeedu4 4.4.0 does not compile under OS X
Robert Stevenson Neasham
robertneasham at yahoo.com
Sun Feb 28 06:41:09 CET 2010
Hello,
If you find a path I would be interested in it, as I work on a MacBook Pro
Thanks and Good Luck!
Robert
On Sun, Feb 28, 2010 at 12:23 AM, Jan Gosmann <jan at hyper-world.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> building kdeedu4 4.4.0 under Mac OS X 10.6.2 fails with the following
> output:
>
> <snip>
> make -f
> kalzium/libavogadro-kalzium/src/CMakeFiles/avogadro-kalzium.dir/build.make
> kalzium/libavogadro-kalzium/src/CMakeFiles/avogadro-kalzium.dir/build
> Linking CXX shared library ../../../lib/libavogadro-kalzium.dylib
> cd
>
> /opt/local/var/macports/build/_Volumes_Home_blubb_Public_ports_kde_kdeedu4/work/build/kalzium/libavogadro-kalzium/src
> && /opt/local/bin/cmake -E cmake_link_script
> CMakeFiles/avogadro-kalzium.dir/link.txt --verbose=1
> /usr/bin/g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
> - -mmacosx-version-min=10.6 -O2 -arch x86_64 -fno-common
> - -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2
> - -DNDEBUG -DQT_NO_DEBUG -dynamiclib -headerpad_max_install_names
> - -single_module -multiply_defined suppress -L/opt/local/lib
> - -current_version 0.9.3 -o ../../../lib/libavogadro-kalzium.0.9.3.dylib
> - -install_name /opt/local/lib/libavogadro-kalzium.0.dylib
> CMakeFiles/avogadro-kalzium.dir/avogadro-kalzium_automoc.o
> CMakeFiles/avogadro-kalzium.dir/animation.o
> CMakeFiles/avogadro-kalzium.dir/atom.o
> CMakeFiles/avogadro-kalzium.dir/bond.o
> CMakeFiles/avogadro-kalzium.dir/boxcontrol.o
> CMakeFiles/avogadro-kalzium.dir/camera.o
> CMakeFiles/avogadro-kalzium.dir/color.o
> CMakeFiles/avogadro-kalzium.dir/colorbutton.o
> CMakeFiles/avogadro-kalzium.dir/cube.o
> CMakeFiles/avogadro-kalzium.dir/cylinder.o
> CMakeFiles/avogadro-kalzium.dir/elementtranslate.o
> CMakeFiles/avogadro-kalzium.dir/engine.o
> CMakeFiles/avogadro-kalzium.dir/extension.o
> CMakeFiles/avogadro-kalzium.dir/filetreeitem.o
> CMakeFiles/avogadro-kalzium.dir/fragment.o
> CMakeFiles/avogadro-kalzium.dir/glgraphicsview.o
> CMakeFiles/avogadro-kalzium.dir/global.o
> CMakeFiles/avogadro-kalzium.dir/glpainter.o
> CMakeFiles/avogadro-kalzium.dir/glwidget.o
> CMakeFiles/avogadro-kalzium.dir/idlist.o
> CMakeFiles/avogadro-kalzium.dir/line.o
> CMakeFiles/avogadro-kalzium.dir/mesh.o
> CMakeFiles/avogadro-kalzium.dir/meshgenerator.o
> CMakeFiles/avogadro-kalzium.dir/molecule.o
> CMakeFiles/avogadro-kalzium.dir/navigate.o
> CMakeFiles/avogadro-kalzium.dir/neighborlist.o
> CMakeFiles/avogadro-kalzium.dir/painter.o
> CMakeFiles/avogadro-kalzium.dir/periodictableview.o
> CMakeFiles/avogadro-kalzium.dir/plotaxis.o
> CMakeFiles/avogadro-kalzium.dir/plotobject.o
> CMakeFiles/avogadro-kalzium.dir/plotpoint.o
> CMakeFiles/avogadro-kalzium.dir/plotwidget.o
> CMakeFiles/avogadro-kalzium.dir/plugin.o
> CMakeFiles/avogadro-kalzium.dir/pluginmanager.o
> CMakeFiles/avogadro-kalzium.dir/point.o
> CMakeFiles/avogadro-kalzium.dir/primitive.o
> CMakeFiles/avogadro-kalzium.dir/primitiveitemmodel.o
> CMakeFiles/avogadro-kalzium.dir/primitivelist.o
> CMakeFiles/avogadro-kalzium.dir/protein.o
> CMakeFiles/avogadro-kalzium.dir/residue.o
> CMakeFiles/avogadro-kalzium.dir/sphere.o
> CMakeFiles/avogadro-kalzium.dir/textrenderer.o
> CMakeFiles/avogadro-kalzium.dir/tool.o
> CMakeFiles/avogadro-kalzium.dir/toolgroup.o
> CMakeFiles/avogadro-kalzium.dir/undosequence.o
> CMakeFiles/avogadro-kalzium.dir/zmatrix.o
> CMakeFiles/avogadro-kalzium.dir/engines/bsdyengine.o
> CMakeFiles/avogadro-kalzium.dir/colors/elementcolor.o
> - -F/opt/local/libexec/qt4-mac/lib -L/opt/local/lib
> /opt/local/lib/libopenbabel.dylib -framework QtOpenGL -framework
> - -lOpenGL -framework -lAGL -framework QtGui /opt/local/lib/libpng.dylib
> - -framework Carbon -framework AppKit -framework QtCore -lpthread
> /opt/local/lib/libz.dylib -framework ApplicationServices -framework AGL
> - -framework OpenGL -lOpenGL -lAGL -framework QtGui
> /opt/local/lib/libpng.dylib -framework Carbon -framework AppKit
> - -framework QtCore -lpthread /opt/local/lib/libz.dylib -framework
> ApplicationServices -framework AGL -framework OpenGL
> ld: framework not found -lOpenGL
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libavogadro-kalzium.0.9.3.dylib] Error 1
> make[1]: ***
> [kalzium/libavogadro-kalzium/src/CMakeFiles/avogadro-kalzium.dir/all]
> Error 2
> make: *** [all] Error 2
> </snap>
>
> The error message that the framework "-lOpenGL" was not found is
> correct, because the framework is just OpenGL without the -l prefix.
> Therefore the "-framework -lOpenGL" somewhere within the options should
> be replaced by "-framework OpenGL".
>
> Also there is somewhere a "-framework -lAGL" which has to be replaced by
> "-framework AGL" and, finally, there are occurrences of "-lAGL" and
> "-lOpenGL" (without the "-framework" before it) which have to be removed
> entirely from the command.
>
> I would create a patch myself, but I am unfamiliar with the cmake build
> system and do not know in which file I have to edit in which way to make
> this work.
>
> Best regards,
> Jan
>
> - --
> Homepage: http://www.hyper-world.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkuJVRUACgkQ5zkufi1obaHcwwCggGx0Jz/sBMNwNLHOiWLxaNVl
> 1e0AniCuKwguop1/pJWFsdG0mCMPejdG
> =88iM
> -----END PGP SIGNATURE-----
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
>
--
RSN JR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-edu/attachments/20100228/893452f6/attachment.htm
More information about the kde-edu
mailing list