New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

X fails to build on Darwin


Post Reply New Thread Subscribe

 
Thread Tools
prushik

 
Member Since: Jun 14, 2009
Posts: 14
prushik is on a distinguished road

prushik is offline
freetype version 1 doesn't recognize my Darwin, it asks me to specify my host. So I say ./configure --host=i386-apple-darwin8.0.1 and it says darwin unrecognized. So I just say i386-apple and it thinks I'm using a mac, but configures, however, the build fails. Version 2 recognizes my operating system, but still fails to compile.
QUOTE Thanks
prushik

 
Member Since: Jun 14, 2009
Posts: 14
prushik is on a distinguished road

prushik is offline
I haven't found much yet, however, I did find a macports bug report stating that freetype requires a newer gnu make to compile:
#18107 (freetype 2.3.8 fails on 10.3.9) – MacPorts

I don't know which gnu make I have, and to me it seems unlikely, but I'll give it a shot.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,767
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Quote:
Originally Posted by prushik View Post
I don't know which gnu make I have, and to me it seems unlikely, but I'll give it a shot.
Execute "make -version" - that should give you the version number.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
prushik

 
Member Since: Jun 14, 2009
Posts: 14
prushik is on a distinguished road

prushik is offline
I can't right now (I'm working), I plan to though. But I came across a mail archive: Re: Several Darwin quartz objects not being built when using GNU make-3.
Haven't really read it because I'm supposed to be writing an automated testing application, but I did quickly glance at it, looks like the make that comes with Darwin is a special apple modified make that has addition obj-c rules which cause some things to fail, including quartz. So I think with the proper make, XFree86 may build correctly. Seems a shame to do that though, go back to the beginning now that I've put all this work into it. So I'll install gnu make and continue building X11R7, then fall back to XFree86 if that fails.
QUOTE Thanks
prushik

 
Member Since: Jun 14, 2009
Posts: 14
prushik is on a distinguished road

prushik is offline
Well it still fails. The built in make is version 3.80-apple if I remember correctly.
I've got one more thing to try: #1653 (freetype 2.1.7 failes to build on Darwin 7.0.0) – MacPorts
It describes the error I have been getting and gives a patch to fix it. I won't go through the trouble of downloading the patch though, I'll just edit the configure script manually, its just a single line change.
QUOTE Thanks
prushik

 
Member Since: Jun 14, 2009
Posts: 14
prushik is on a distinguished road

prushik is offline
I got freetype to build, libxfont had another dep, fontconfig, which had another dep, libxml2. I installed both of those successfully, but libxfont fails to build. In a fit or rage I reformated in ufs, ufs fails to boot, so I went back to hfs+. So now I'm back at square one, but I have some experience now, so I'm a little better off. I have some ideas I can try out, im running Darwin in qemu so I can mess with it while I'm running linux at work. I've been looking at the GNU/Darwin project, and while I'm not interesting in running GNU/Darwin, they provide source for the packages installed on GNU/Darwin, including X11. So I'll try to install that. Also, according to wikipedia, portage has been ported to Darwin. I really like portage, so I'm going to look into that.
QUOTE Thanks

Post Reply New Thread Subscribe


« mbtowc and extended/high ASCII | Issue with GAMS conopt libraries »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
new macbook pro system log normal? micho.mad OS X - Operating System 3 04-24-2009 03:13 PM
Burning & Installing Darwin Alexstre OS X - Development and Darwin 2 01-21-2009 10:29 PM
XCode build hangs? robin OS X - Development and Darwin 3 01-12-2004 01:42 AM
Darwin 6.7 and 6.8 source code posted Murlyn OS X - Development and Darwin 0 09-23-2003 01:07 PM
Apple Darwin OS 6.6 released Graphite OS X - Development and Darwin 0 05-14-2003 07:35 PM

All times are GMT -4. The time now is 07:34 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?