Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63189 - x11-libs/pango-1.4.1-r1 installs on macos
Summary: x11-libs/pango-1.4.1-r1 installs on macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
: 84727 85492 87059 (view as bug list)
Depends on: 59307 60580
Blocks:
  Show dependency tree
 
Reported: 2004-09-07 23:24 UTC by Rendhalver
Modified: 2007-06-12 17:44 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rendhalver 2004-09-07 23:24:34 UTC
i had to do freeky shit to get glib installed but this installs nicely.
Comment 1 phaidros 2004-12-05 22:12:57 UTC
not for me : (

[snip]
then mv -f ".deps/module-defs-fc.Tpo" ".deps/module-defs-fc.Plo"; \
else rm -f ".deps/module-defs-fc.Tpo"; exit 1; \
fi
pangoft2.c: In function `pango_ft2_font_get_face':
pangoft2.c:203: error: `FC_HINT_STYLE' undeclared (first use in this function)
pangoft2.c:203: error: (Each undeclared identifier is reported only once
pangoft2.c:203: error: for each function it appears in.)
pangoft2.c:204: error: `FC_HINT_FULL' undeclared (first use in this function)
pangoft2.c:206: error: `FC_HINT_NONE' undeclared (first use in this function)
pangoft2.c:210: error: `FC_HINT_SLIGHT' undeclared (first use in this function)
pangoft2.c:211: error: `FC_HINT_MEDIUM' undeclared (first use in this function)
pangoft2.c:212: error: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function)
pangoft2.c:215: error: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function)
make[4]: *** [pangoft2.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthreads -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I.. -O2 -pipe -Wall -MT module-defs-fc.lo -MD -MP -MF .deps/module-defs-fc.Tpo -c module-defs-fc.c  -fno-common -DPIC -o .libs/module-defs-fc.o
gcc: unrecognized option `-pthreads'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


emerge info:
Portage 2.0.51-r8 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.6.0 Power Macintosh)
=================================================================
System uname: 7.6.0 Power Macintosh powerpc
macos-20040726
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  [Not Present]
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks keepwork userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos crypt festival fluidsynth gstreamer readline xvid"
Comment 2 phaidros 2004-12-05 22:13:45 UTC
not for me : (

[snip]
then mv -f ".deps/module-defs-fc.Tpo" ".deps/module-defs-fc.Plo"; \
else rm -f ".deps/module-defs-fc.Tpo"; exit 1; \
fi
pangoft2.c: In function `pango_ft2_font_get_face':
pangoft2.c:203: error: `FC_HINT_STYLE' undeclared (first use in this function)
pangoft2.c:203: error: (Each undeclared identifier is reported only once
pangoft2.c:203: error: for each function it appears in.)
pangoft2.c:204: error: `FC_HINT_FULL' undeclared (first use in this function)
pangoft2.c:206: error: `FC_HINT_NONE' undeclared (first use in this function)
pangoft2.c:210: error: `FC_HINT_SLIGHT' undeclared (first use in this function)
pangoft2.c:211: error: `FC_HINT_MEDIUM' undeclared (first use in this function)
pangoft2.c:212: error: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function)
pangoft2.c:215: error: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function)
make[4]: *** [pangoft2.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthreads -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I.. -O2 -pipe -Wall -MT module-defs-fc.lo -MD -MP -MF .deps/module-defs-fc.Tpo -c module-defs-fc.c  -fno-common -DPIC -o .libs/module-defs-fc.o
gcc: unrecognized option `-pthreads'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


emerge info:
Portage 2.0.51-r8 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.6.0 Power Macintosh)
=================================================================
System uname: 7.6.0 Power Macintosh powerpc
macos-20040726
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  [Not Present]
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks keepwork userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos crypt festival fluidsynth gstreamer readline xvid"
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-05 22:36:37 UTC
default-macos-{10.3,10.4} is not supported anymore.
Please use default-darwin/macos/{10.3,10.4}.
Comment 4 phaidros 2004-12-05 22:49:51 UTC
changing profile doesn't give a different result : (
Comment 5 John Shaw 2005-01-21 12:07:22 UTC
I'm getting an error that seams to imply X_LIBS isn't setup correctly in the Makefile however it is setup correctly... which is what is driving my crazy.

gcc -dynamiclib -undefined dynamic_lookup -o .libs/libpangoxft-1.0.0.400.1  .libs/pangoxft-font.o .libs/pangoxft-fontmap.o  /usr/lib/libc.dylib /usr/lib/libiconv.dylib /usr/lib//libintl.dylib /usr/lib//libglib-2.0.dylib /usr/lib//libgmodule-2.0.dylib /usr/lib//libgobject-2.0.dylib -L/usr/X11R6/lib -L/usr/lib /var/tmp/portage/pango-1.4.1-r1/work/pango-1.4.1/pango/.libs/libpango-1.0 ./.libs/libpangoft2-1.0 ./.libs/libpango-1.0 -lXft -lfreetype -lXrender -lfontconfig /usr/lib/libgobject-2.0.dylib /usr/lib/libgmodule-2.0.dylib /usr/lib/libglib-2.0.dylib /usr/lib/libintl.dylib -mcpu=7450 -install_name  /usr/lib/libpangoxft-1.0.0 -compatibility_version 401 -current_version 401.1
ld: .libs/pangoxft-fontmap.o illegal reference to symbol: _XAddExtension defined in indirectly referenced dynamic library /usr/X11R6/lib/libX11.6.dylib

The cause of this error is real simple, there is no -lX11 flag and there needs to be.  Problem is if I look at the Makefile all the environmental variables seam to suggest that there should be an -lX11.  I'm stumped.

Portage 2.0.51-r14 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  2.13, 2.57, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.4
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -fast -fPIC -mcpu=7450 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -fast -fPIC -mcpu=7450 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc nls png ppc-macos"
Unset:  LDFLAGS, PORTDIR_OVERLAY
Comment 6 John Shaw 2005-01-22 11:13:52 UTC
Ok.. I figured out what my problem was.  The libpangoxft_1_0_la_LIBADD variable doesn't have X_LIBS in it.  I'm trying to track down the reason for this.. though I'm making the assumption it is probably because on Linux the linker isn't as picky as it is on MacOS.
Comment 7 Hasan Khalil (RETIRED) gentoo-dev 2005-03-18 05:57:49 UTC
I get the same error as phaidros. John, how did you get around that error, or are you erroring before you even get to pangoft2.lo?
Comment 8 kevin 2005-05-30 18:52:31 UTC
I got the same problem as phaidros did, when using the 1.4.1 ebuild, but 1.4.1-r1 emerged for me (tiger, 
using gcc 3.3, and the ppc-macos USE flag)
Comment 9 kevin 2005-05-31 08:16:40 UTC
although pango-1.4.1-r1 compiled and merged, the shared libraries don't have the .dylib extension on 
the end. so the configure script for gtk+ couldn't find them! for now I just made symbolic links in /usr/lib 
with the .dylib extension.
Comment 10 Kito (RETIRED) gentoo-dev 2005-07-19 13:13:08 UTC
*** Bug 87059 has been marked as a duplicate of this bug. ***
Comment 11 Kito (RETIRED) gentoo-dev 2005-07-19 13:14:57 UTC
*** Bug 85492 has been marked as a duplicate of this bug. ***
Comment 12 Lina Pezzella (RETIRED) gentoo-dev 2005-08-14 17:32:07 UTC
*** Bug 84727 has been marked as a duplicate of this bug. ***
Comment 13 Markus Ullmann (RETIRED) gentoo-dev 2007-06-12 17:44:11 UTC
already ported
see you in prefix :)