View previous topic :: View next topic |
Author |
Message |
tsuraan2 n00b
Joined: 22 Nov 2004 Posts: 44
|
Posted: Mon Nov 22, 2004 10:50 pm Post subject: libpng troubles? |
|
|
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 |
|
|
Taeyoung n00b
Joined: 16 Oct 2004 Posts: 14 Location: Seoul, Korea
|
Posted: Tue Nov 23, 2004 7:09 am Post subject: |
|
|
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 |
|
|
tsuraan2 n00b
Joined: 22 Nov 2004 Posts: 44
|
Posted: Tue Nov 23, 2004 2:03 pm Post subject: Scary |
|
|
Well, the docs say not to set that flag manually, but setting it does the trick. Thanks! |
|
Back to top |
|
|
|