Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libpng troubles?
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
tsuraan2
n00b
n00b


Joined: 22 Nov 2004
Posts: 44

PostPosted: Mon Nov 22, 2004 10:50 pm    Post subject: libpng troubles? Reply with quote

When emerging libpng, I get various build issues. The first one was that there was no rule to build -lz, since for some reason the Makefile had -lz as a dependency for a rule. Deleting -lz gave me the issue that I can't resolve: it's trying to build the library with the typical -Wl,soname... stuff, which isn't supported under osx (?). Does anything interesting have to be done to make libpng emerge under osx?
Back to top
View user's profile Send private message
Taeyoung
n00b
n00b


Joined: 16 Oct 2004
Posts: 14
Location: Seoul, Korea

PostPosted: Tue Nov 23, 2004 7:09 am    Post subject: Reply with quote

add ppc-macos in your USE flag..

libpng-1.2.7-r1.ebuild wrote:
if use ppc-macos ; then
epatch "${FILESDIR}/macos.patch" # implements strnlen
sed \
-e "s:ZLIBLIB=.*:ZLIBLIB=/usr/$(get_libdir):" \
-e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \
-e "s:-O3:${CFLAGS}:" \
-e "s:prefix=/usr/local:prefix=/usr:" \
scripts/makefile.darwin > Makefile
else



may be without that flag.. jpeg & libungif won't be compiled :)
_________________
It is only with the heart that one can see rightly; what is essential is invisible to the eye.
Back to top
View user's profile Send private message
tsuraan2
n00b
n00b


Joined: 22 Nov 2004
Posts: 44

PostPosted: Tue Nov 23, 2004 2:03 pm    Post subject: Scary Reply with quote

Well, the docs say not to set that flag manually, but setting it does the trick. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum