get music in Lincity-NG

Ryan Schmidt ryandesign at macports.org
Thu Nov 22 14:40:36 PST 2007


On Nov 22, 2007, at 08:16, William Davis wrote:

> Strangely lincity-ng would not compile for me :
>
> C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Util.o
> ...skipped lincity-ng for lack of libtinygettext.a...
> MkDir1 ./build/i686-apple-darwin9.1.0/optimize/src/tools/xmlgettext
> C++ ./build/i686-apple-darwin9.1.0/optimize/src/tools/xmlgettext/ 
> main.o
> C++ ./build/i686-apple-darwin9.1.0/optimize/src/tools/xmlgettext/ 
> XmlReader.o
> LinkApplication xmlgettext
> XmlGetText data/locale/gui/messages.pot
> XGetText data/locale/messages.pot
> ...failed updating 3 target(s)...
> ...skipped 3 target(s)...
> ...updated 123 target(s)...
>
> Warning: the following items did not execute (for lincity-ng):  
> org.macports.activate org.macports.build org.macports.destroot  
> org.macports.install
> Error: Status 1 encountered during processing.
>
> THe other two failures were also complaining about missing  
> libtinygettext.a

I don't know what that's about. It compiled and ran ok for me, on  
10.4.11 Intel with Xcode 2.4.1. I'm not familiar with  
libtinygettext.a. I see you filed a bug:

http://trac.macports.org/projects/macports/ticket/13378

Don't forget to assign bugs to the port's maintainer so he'll see them.


> On Nov 22, 2007, at 8:13 AM, Sven Wolf wrote:
>
>> to get the music within Lincity-NG, just add /opt/local/lib to  
>> your $PATH (e.g. add /opt/local/lib to .profile)

/opt/local/lib would be a weird thing to add to $PATH wouldn't it? / 
opt/local would be a more normal thing to add, but of course it  
should already be in your $PATH if you've gotten this far with MacPorts.

I get sound but no music, regardless of whether I've added /opt/local/ 
lib to the $PATH or not. I see an error in the xterm:

Couldn't load music file '/opt/local/share/lincity-ng/music/02 -  
Robert van Herk - City Blues.ogg': Failed loading  
libvorbisfile.dylib: dlopen(libvorbisfile.dylib, 2): image not found

Don't know why; libvorbisfile.dylib exists in /opt/local/lib as  
expected.


Maybe the lincity-ng port should be updated to 1.1.2. (It's at 1.1.0  
currently.) I filed a ticket for this:

http://trac.macports.org/projects/macports/ticket/13384




More information about the macports-users mailing list