[Mac OS X] Problem Compiling OpenTTD

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
GiveItATry
Engineer
Engineer
Posts: 2
Joined: 16 Jan 2011 10:47

[Mac OS X] Problem Compiling OpenTTD

Post by GiveItATry »

Hello Together,

i tried to compile the last branch in repository, using the guide form wiki, on Mac OS X 10.6.6. I followed the steps, first installing the libraries and getting the last branch. But if i try to run configure the script can not find the lzma library. I got the following Error:

Code: Select all

checking liblzma... not found
WARNING: lzma was not detected or disabled
...
Can you give me any help with this?

Big Thanks!

P.S. Searched the net and the board for an solution, but without result!

(Sorry for my bad English :/)
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: [Mac OS X] Problem Compiling OpenTTD

Post by Arie- »

liblzma sounds like a library: lib - lzma. Sure you have this one installed?
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [Mac OS X] Problem Compiling OpenTTD

Post by planetmaker »

GiveItATry wrote: Can you give me any help with this?
Follow the advice it gives you and install the library - just as Arie- says.

In general it's a good idea to have all development libraries at hand which are mentioned on http://www.openttd.org/en/development and you surely have also not looked at the most obvious place for advice, our wiki: http://wiki.openttd.org/Compiling_on_Mac
GiveItATry
Engineer
Engineer
Posts: 2
Joined: 16 Jan 2011 10:47

Re: [Mac OS X] Problem Compiling OpenTTD

Post by GiveItATry »

As i allready wrote I first installed the libraries! I used Mac Ports to do this. If I check Mac Ports he sais me liblzma is installed!

Code: Select all

The following ports are currently installed:
  expat @2.0.1_1 (active)
  fontconfig @2.8.0_0 (active)
  freetype @2.4.4_0 (active)
  gettext @0.18.1.1_2 (active)
  gperf @3.0.4_0 (active)
  icu @4.6_0 (active)
  libiconv @1.13.1_0 (active)
  liblzma @5.0.0_0 (active)
  libpng @1.2.44_0 (active)
  lzma @4.63_0 (active)
  lzo2 @2.03_2 (active)
  ncurses @5.7_1 (active)
  ncursesw @5.7_1 (active)
  xz @5.0.0_0 (active)
  zlib @1.2.5_0
  zlib @1.2.5_0+universal (active)
I followed the wiki Guide step by step :/.
User avatar
Wintersoldier
Traffic Manager
Traffic Manager
Posts: 197
Joined: 20 Feb 2010 03:08
Location: The world

Re: [Mac OS X] Problem Compiling OpenTTD

Post by Wintersoldier »

Have you tried compiling lib lzma manually?
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Baidu [Spider], Semrush [Bot] and 1 guest