CompilingForMac (r1.1 vs. r1.2)

Webs: Faemalia -:- Greatprawn -:- Playground -:- Technical -:- Tweak
Technical Web Sections: Register -:- Users -:- Changes -:- Index -:- Search -:- Statistics

 <<O>>  Difference Topic CompilingForMac (r1.2 - 11 Mar 2005 - Faemalia.guest)

META TOPICPARENT DiaEditor
After some attempts at compiling for Mac OS X, I'm going to gather up my knowledge. Other OS X users are more than welcome to add things based on actual successes. These notes so far are from a Linux user venturing into unknown BSD territory.
Line: 16 to 16

Stuck for now, going to bed.

Added:
>
>
More solutions from mails on the unix-porting list:

Make sure you're running ./libtool rather than the built-in libtool. ./autogen.sh runs libtool and using ./libtool in there helps, but may break other systems, so not putting in CVS yet.

Run ./ltconfig ltmain.sh

Run ./configure with --build=powerpc-apple-bsd --host=powerpc-apple-bsd --target=powerpc-apple-bsd to force skipping broken target determination.

Now stranded on GTK 2.4 not being in Fink.


--
LarsClausen - 02 Oct 2004
Added:
>
>

 <<O>>  Difference Topic CompilingForMac (r1.1 - 02 Oct 2004 - LarsClausen)
Line: 1 to 1
Added:
>
>
META TOPICPARENT DiaEditor
After some attempts at compiling for Mac OS X, I'm going to gather up my knowledge. Other OS X users are more than welcome to add things based on actual successes. These notes so far are from a Linux user venturing into unknown BSD territory.

Problems with autogen.sh: Assumes Gnu libtool, but finds BSD libtool which doesn't understand --version.

Solution: Make sure your $PATH begins with /sw/bin:/sw/usr/bin or equivalent. Adding the similar bits to LD_LIBRARY_PATH may or may not be required.

Problem AM_* missing:

Solution: Make sure you have a Gnu automake installed, there's also a BSD one. Oh, and Dia 0.94 requires automake 1.7 to do distcheck, at least on Linux.

Problem: ltconfig: You must specify a host type if you use "--no-verify".

Solution: No clue. Updating config.guess and config.sub didn't work, neither did libtool1.5. These ideas from discussion at Expat ML.

Stuck for now, going to bed.

--
LarsClausen - 02 Oct 2004


View -:- Diffs | r1.2 | > | r1.1 -:- More

Revision r1.1 - 02 Oct 2004 - 21:31 - LarsClausen
Revision r1.2 - 11 Mar 2005 - 22:18 - Faemalia.guest
Copyright © 2002 by the Author of the article. All material on this collaboration tool is the property of the contributing authors.