project-navigation
Personal tools

Author Topic: Question re. compiling 2.3.1 for PPC/OSX 10.5  (Read 9069 times)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Question re. compiling 2.3.1 for PPC/OSX 10.5
« Reply #15 on: March 10, 2011, 06:14:10 pm »
I am around at the weekend and will have some time. Please join the irc for faster communication on saturday or sunday.

Offline blue_cephalopod

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Question re. compiling 2.3.1 for PPC/OSX 10.5
« Reply #16 on: April 05, 2011, 08:53:57 pm »
I have the exact same problem with those same missing files :

Setting custom data directory
Setting custom library directory
Could not find xvid.h
Could not find theora/theora.h
Found execinfo.h
Could not find bfd.h
Found sys/utsname.h
Could not find link.h
Could not find CUnit/Basic.h

Everything else seems to work

I have tried to /.configure as universal, non-universal and without radiant.

Haven´t got a successful /.configure so far. I´m going through each port uninstalling and installing as +uninversal. Perhaps there are some missing dependencies for these ports to work properly?

I´m trying to compile in any form on Tiger 10.4 Intel Imac

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Question re. compiling 2.3.1 for PPC/OSX 10.5
« Reply #17 on: April 06, 2011, 08:26:50 am »
Export the cflags and ldflags to point to the macports include and lib dirs

did curl work for you as universal?

Offline blue_cephalopod

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Question re. compiling 2.3.1 for PPC/OSX 10.5
« Reply #18 on: April 07, 2011, 01:57:00 pm »
Hi thanks for the reply.

I put the code you suggested to dp:

export CFLAGS=-I/path/to/macports/includes
export LDFLAGS=-l/path/to/macports/lib

in my ./profile and it comes up in env now.

curl installed as +universal and most ports work as universal apart from gtk2 and those dependant.
gtk2 might now work as universal, there are a lot of updates and patches, but so far as I can find not for tiger.
jpeg installs as universal now as   jpeg @8c_0+universal

I just want to build a working game , with either universal or non universal binaries.