Please keep these conversations on the mailing list; mailing lists not only
allow for the sharing of knowledge, but the pooling of help.
I use Lion as well. I just updated my Mac Ports with no issues; if you are
having issues, you need to resolve them. Consult their bug tracker,
mailing list, and documentation. When I do major version OS upgrades, I
always do a fresh install, so my Mac Ports would have been a clean install.
You need more than gettext; you need libintl.dylib as well. On my machine,
it is installed via Mac Ports.
Here is what I have:
[~/Development/Stellarium-repo/info/builds/unix ] file
/opt/local/lib/libintl.8.dylib
/opt/local/lib/libintl.8.dylib: Mach-O 64-bit dynamically linked shared
library x86_64
[~/Development/Stellarium-repo/info/builds/unix ] grep libintl *
CMakeCache.txt:AngleMeasure-static_LIB_DEPENDS:STATIC=general;/Library/Frameworks/QtOpenGL.framework;general;/Library/Frameworks/QtScript.framework;general;/Library/Frameworks/QtGui.framework;general;/Library/Frameworks/QtNetwork.framework;general;/Library/Frameworks/QtCore.framework;general;/System/Library/Frameworks/AGL.framework;general;/System/Library/Frameworks/OpenGL.framework;general;/System/Library/Frameworks/AGL.framework;general;/System/Library/Frameworks/OpenGL.framework;general;/opt/local/lib/libiconv.dylib;general;/opt/local/lib/libintl.dylib;
This shows that my libintl is an x86_64 binary, and that stellarium is
correctly configure to use it. Please check what yours is using.
On Sat, Apr 14, 2012 at 7:26 PM, Kristen Aw <[email protected]> wrote:
> Hello Timothy
>
> I've been learning OpenGL and trying to build Stellarium but have been
> having trouble with compiling. I'm using a MacOSX Lion so I don't know if
> that's the reason for the bugs. I've downloaded all the software specified
> on the "Compiling with MacOSX" wiki although there's some trouble with
> macports due to rsync errors. However, I have bazaar, gettext, Qt and so
> on.
>
> I finally got "cmake ../.." to work, but here's the part where "make"
> fails:
>
> [ 71%] Building CXX object src/CMakeFiles/stellarium.dir/main.cpp.o
> Linking CXX executable stellarium
> Undefined symbols for architecture x86_64:
> "_libintl_gettext", referenced from:
> _gettext in StelObserver.cpp.o
> _gettext in StelProjector.cpp.o
> _gettext in StelProjectorClasses.cpp.o
> _gettext in StelObject.cpp.o
> _gettext in StelSkyCultureMgr.cpp.o
> _gettext in SimbadSearcher.cpp.o
> _gettext in StelGuiBase.cpp.o
> ...
> "_libintl_bind_textdomain_codeset", referenced from:
> _bind_textdomain_codeset in StelTranslator.cpp.o
> "_libintl_bindtextdomain", referenced from:
> _bindtextdomain in StelTranslator.cpp.o
> "_libintl_textdomain", referenced from:
> _textdomain in StelTranslator.cpp.o
> "_libintl_setlocale", referenced from:
> StelTranslator::reload() in StelTranslator.cpp.o
> _main in main.cpp.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make[2]: *** [src/stellarium] Error 1
> make[1]: *** [src/CMakeFiles/stellarium.dir/all] Error 2
> make: *** [all] Error 2
>
> Do you know how I might resolve this?
>
> Thanks
>
> Best,
> Kristen
>
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel