[MacPorts] #13528: Lincity-ng fails to build and install on Mac OS X 10.5.1

MacPorts trac at macosforge.org
Sat Dec 8 14:01:06 PST 2007


#13528: Lincity-ng fails to build and install on Mac OS X 10.5.1
------------------------------------+---------------------------------------
 Reporter:  johnmusbach1 at gmail.com  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect                  |      Status:  new                              
 Priority:  Normal                  |   Milestone:                                   
Component:  ports                   |     Version:  1.5.2                            
 Keywords:                          |  
------------------------------------+---------------------------------------
 1) When installing lincity-ng it does not properly satisfy the libxml2
 dependency which must be done with macports before installing lincity-ng,
 this should be fixed

 2) After that dependency is met lincity-ng still fails to build and
 install with the following error:

 bash-3.2$ sudo port install lincity-ng
 --->  Configuring lincity-ng
 --->  Building lincity-ng with target all
 Error: Target org.macports.build returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_games_lincity-ng/work/lincity-ng-1.1.0
 && jam" returned error 1
 Command output: C++
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/PbarInterface.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/prefix.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/readdir.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-
 ng/ReadPngInterface.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-
 ng/ScreenInterface.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Sound.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-
 ng/TimerInterface.o
 C++ ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Util.o
 LinkApplication lincity-ng
 Undefined symbols:
   "_iconv_close", referenced from:
       TinyGetText::convert(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&,
 std::basic_string<char, std::char_traits<char>, std::allocator<char> >
 const&, std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > const&)in libtinygettext.a(TinyGetText.o)
   "_iconv", referenced from:
       TinyGetText::convert(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&,
 std::basic_string<char, std::char_traits<char>, std::allocator<char> >
 const&, std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > const&)in libtinygettext.a(TinyGetText.o)
   "_iconv_open", referenced from:
       TinyGetText::convert(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&,
 std::basic_string<char, std::char_traits<char>, std::allocator<char> >
 const&, std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > const&)in libtinygettext.a(TinyGetText.o)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status

     g++ -o lincity-ng
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/ButtonInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/ButtonPanel.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/CheckButton.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Config.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Debug.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Dialog.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/EconomyGraph.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/ErrorInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Game.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/GameView.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/HelpWindow.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/main.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/MainLincity.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/MainMenu.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/MapEdit.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/MiniMap.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Mps.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/MpsInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/PBar.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/PbarInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/prefix.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/readdir.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/ReadPngInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/ScreenInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Sound.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/TimerInterface.o
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity-ng/Util.o
 ./build/i686-apple-darwin9.1.0/optimize/src/gui/liblincity_gui.a
 ./build/i686-apple-darwin9.1.0/optimize/src/lincity/liblincity_lib.a
 ./build/i686-apple-darwin9.1.0/optimize/src/tinygettext/libtinygettext.a
 ./build/i686-apple-darwin9.1.0/optimize/src/PhysfsStream/libphysfsstream.a
  -g  -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm
 -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL_image
 -lSDL_mixer -lSDL_ttf -lSDL_gfx -L/opt/local/lib -lphysfs -framework
 OpenGL -liconv -lz

 ...failed LinkApplication lincity-ng ...
 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 1 target(s)...
 ...updated 128 target(s)...

 I have tried contacting the developer of lincity-ng about this error but
 he is unsure of the proper resolution: https://lists.berlios.de/pipermail
 /lincity-ng-devel/2007-December/000404.html . Although I also encounter
 the same error when building directly from the 1.1.2 tarball I would think
 that there is something both me and macports is overlooking and not
 properly satisfying when attempting to install this game... Hope you can
 fix this so that the game can be properly installed on Mac OS X 10.5.1,
 thanks!

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13528>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list