Author Topic: Looking for mac/intel user with building experience  (Read 5823 times)

ikir

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #15 on: May 14, 2007, 03:12:00 pm »
Any news? We want UB version :-P

Good work guys.

Shadallark

  • Traveller
  • *
  • Posts: 22
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #16 on: May 30, 2007, 01:37:47 pm »
We'll get there. I have a working pssetup.app, and updater.app. Unfortunately I still have some issues with getting psclient.app to compile cleanly. :(

Hey there Birk, how is this progressing?  Any way that I can help?

Shadallark

Trymm

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #17 on: June 06, 2007, 08:50:58 am »
Intel binaries seens to work nicely for the .018 client. I am unable to get sound working on my MacBook, though. However, for the time being, this is a small prize to pay I think. I am not sure if it is worth making them available for download. However, I am hoping that we can do something for the .019 client. Only time will tell if it will become a reality. ;)

Shadallark

  • Traveller
  • *
  • Posts: 22
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #18 on: June 13, 2007, 12:21:57 am »
Greetings one and all!

I have been working my way through the static build guide available on Induane's website but have run into a glitch when attempting one of the larger linking lines.  Has anyone managed to follow all the way through the guide and get it all to compile correctly?  If so, and if you have time in the next few weeks maybe you could give me some help!

Thanks in advance.

Shadallark

P.S. Here is where I am at:
I get to the point on the page where we are applying the patch to CEL and the page says: Yes, this next command should be very long.

When I copy and paste that command and try to run it I get the error:
Quote
/usr/bin/ld: can't locate file for: -lpng12
collect2: ld returned 1 exit status

If I remove the -lpng12 from the command and run it I get a similar error but this time for -lcal3d.

Do you have any ideas what I might be doing wrong to get these errors?

Trymm

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #19 on: June 13, 2007, 01:26:16 pm »
I tailored the linker command for a particular installation. If you happened to place the png-libs somewhere else, installed a different version, or failed to install them, then it will not work. Linking of the static libraries fails due to a weakness in the build system of CS. You can start with the offending linker statement that jam prints out for you, and edit that to fit your installation.

However, if you care to test an alternate solution -- which will be included in the build guide when it is updated for the next client, then you can try to issue the following command in the directory where you compile CS:

Code: [Select]
sed 's/ -framework / -Wl,-framework,/g' out/macosxx86/optimize/libs/crystalspace_staticplugins.jam >tmp.txt && cp tmp.txt out/macosxx86/optimize/libs/crystalspace_staticplugins.jam
with the obvious modification of "optimize" to "debug" if you are building with debug information.

As a test, you can then try to compile celtst_static. That displays the same linker problems as PS does. Hence, if you successfully can build that one, then you should also be able to build static PS. Note that with this solution you should *disregard* the tailored linker statements in the mac build guide. This is still a work-around, but a much cleaner one than my previous attempt. ;)


-Trymm.

wmiler

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #20 on: June 19, 2007, 09:47:22 pm »
Anybody succeeded yet?

Shadallark

  • Traveller
  • *
  • Posts: 22
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #21 on: June 22, 2007, 02:39:46 pm »
Greetings;

Nope, no luck yet!  Going to go back and try it once again from the start using the exact same directory structure as is listed in the document.

Shadallark

Trymm

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #22 on: June 22, 2007, 03:23:45 pm »
Anybody succeeded yet?


Yes. PS compiles and runs nicely on intel-based macs. Both the current client (.018) and the next client (.019) work fine -- with the exception of sound.

simonpe

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #23 on: June 29, 2007, 07:03:53 pm »
Can you please share the binaries? Or post your ./configure outputs so i can have a look what prerequisites i am missing?

Trymm

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #24 on: July 01, 2007, 05:49:21 pm »
Unofficial 0.3.018 binaries for intel-based mac:

http://www.faramann.byethost18.com/

You may experience problems, as these binaries have not been tested on any other system but my own MacBook. :) If you try them and find problems, please do NOT spam the forum, but let me know about it so that I can improve the build process.


Edit: The client has now been updated for 0.3.019.
« Last Edit: July 24, 2007, 02:38:49 am by Trymm »

tuxx

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #25 on: July 04, 2007, 12:27:51 am »
Ok, the binary didn't work at first. But i checked the output via terminal
( run /Applications/Planeshift/psclientTV.app/Contents/MacOS/psclient_static in your terminal). So it said it couldn't find Cg.framework. Well, solution: DOWNLAOD IT! xD

Link: http://www.nvidia.com/object/cg_toolkit.html#downloads

Next up, it said that libvorbis was found missing, so with a little help from my 'port' application (http://finkproject.org/) i installed libvorbis and vorbis-tools . (sudo port install libvorbis vorbis-tools).

I forgot to say that psclient_static searches for its libs in /sw/lib , but it wasnt there on my system. So i made a symlink from /opt/local/lib to /sw/lib.


New binary, so problems should be fixed.
« Last Edit: July 05, 2007, 11:07:13 am by tuxx »

Trymm

  • Hydlaa Resident
  • *
  • Posts: 65
    • View Profile
Re: Looking for mac/intel user with building experience
« Reply #26 on: July 04, 2007, 09:05:16 pm »
Thanks tuxx, for pointing this out to me. The depencency issues should now be resolved. Furthermore, I included configuration files which disables texture compression. Texture compression is known to cause problems on some intel-mac machines.