Re: Pango wont compile
- From: "Patrik Jansson" <paake telia com>
- To: <gtk-list gnome org>
- Subject: Re: Pango wont compile
- Date: Wed, 13 Oct 2004 18:36:42 +0200
Ehm, might be a stupied question but are we talking about installing libX11
now is this LDFLAGS just for pango?
Because it didnt work for pango which gives the same errors.
-Patrik
From: "James Williamson" <james nameonthe net>
> Patrik Jansson wrote:
>
> >Do you know how to do that, when installing from port?
> >Im not that familiar with special case compiling.
> >
> >
> Yes, you need to define the LDFLAGS env variable before running the
> install command, i.e. bash syntax:
>
> export LDFLAGS=-lpthread
>
> or you can just do this:
>
> bash$ LDFLAGS=-lpthread <install-port-command>
>
> James
>
> >Thanks!
> >-Patrik
> >
> >
> >
> >
> >>----- Original Message -----
> >>From: "James Williamson" <james nameonthe net>
> >>To: "Patrik Jansson" <paake telia com>
> >>Cc: <gtk-list gnome org>
> >>Sent: Wednesday, October 13, 2004 5:37 PM
> >>Subject: Re: Pango wont compile
> >>
> >>
> >>
> >>
> >>>Hi Patrik,
> >>>
> >>>It's because you need to link against the thread library, you should
> >>>really be seeing a -lthread switch.
> >>>
> >>>James
> >>>
> >>>
> >>>
> >>>>Im having problems with Pango and also problems on where I should turn
> >>>>myself to get some help with this. Pangos own website doesnt say much
> >>>>but it directs me to gtk and hopefully there is someone here who might
> >>>>help me out.
> >>>>Running FreeBSD and trying to install pango from port but it fails
> >>>>saying this:
> >>>>
> >>>>cc -O -pipe -Wall -o .libs/pango-querymodules querymodules.o
> >>>>-L/usr/local/lib -L/usr/X11R6/lib ./.libs/libpangox-1.0.so
> >>>>./.libs/libpangoxft-1.0.so
> >>>>
> >>>>
> >>>>
>
>/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango/.libs/libpangoft2-1.0.
s
> >
> >
> >>o
> >>
> >>
> >>>>-lXft /usr/X11R6/lib/libXrender.so /usr/X11R6/lib/libX11.so
> >>>>/usr/X11R6/lib/libXau.so /usr/X11R6/lib/libXdmcp.so
> >>>>./.libs/libpangoft2-1.0.so
> >>>>
> >>>>
> >>>>
>
>>/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango/.libs/libpango-1.0.so
> >>
> >>
> >>>>-lfontconfig -lfreetype -lz ./.libs/libpango-1.0.so -lgobject-2.0
> >>>>-lgmodule-2.0 -lglib-2.0 -liconv -Wl,--rpath -Wl,/usr/X11R6/lib
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_signal'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to
> >>>>
> >>>>
> >>`pthread_cond_broadcast'
> >>
> >>
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_init'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `getpwuid_r'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to
> >>>>
> >>>>
> >`pthread_mutex_unlock'
> >
> >
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `getpwnam_r'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `pthread_self'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to
> >>>>
> >>>>
> >`pthread_mutex_destroy'
> >
> >
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_lock'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_wait'
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to
> >>>>
> >>>>
> >`pthread_cond_destroy'
> >
> >
> >>>>/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_init'
> >>>>gmake[4]: *** [pango-querymodules] Error 1
> >>>>gmake[4]: Leaving directory
> >>>>`/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango'
> >>>>gmake[3]: *** [all-recursive] Error 1
> >>>>gmake[3]: Leaving directory
> >>>>`/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango'
> >>>>gmake[2]: *** [all] Error 2
> >>>>gmake[2]: Leaving directory
> >>>>`/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango'
> >>>>gmake[1]: *** [all-recursive] Error 1
> >>>>gmake[1]: Leaving directory
> >>>>`/usr/ports/x11-toolkits/pango/work/pango-1.4.0'
> >>>>gmake: *** [all] Error 2
> >>>>*** Error code 2
> >>>>
> >>>>Stop in /usr/ports/x11-toolkits/pango.
> >>>>*** Error code 1
> >>>>
> >>>>Stop in /usr/ports/net/ethereal.
> >>>>What might be the problem here? And how do I solve it? If im in the
> >>>>complete wrong place, is there someone who knows another mailing-list
> >>>>which maybe could help me out?
> >>>>
> >>>>Best Regards,
> >>>>Patrik Jansson
> >>>>
> >>>>
> >>>>
> >>------------------------------------------------------------------------
> >>
> >>
> >>>>_______________________________________________
> >>>>gtk-list mailing list
> >>>>gtk-list gnome org
> >>>>http://mail.gnome.org/mailman/listinfo/gtk-list
> >>>>
> >>>>
> >>>>
> >>>>
> >>>--
> >>>James Williamson
> >>>Name On The Net Ltd
> >>>web: http://www.nameonthe.net
> >>>email: james nameonthe net
> >>>phone: +44 (0)870 1657215
> >>>
> >>>
> >>>
> >
> >_______________________________________________
> >gtk-list mailing list
> >gtk-list gnome org
> >http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> >
> >
>
>
> --
> James Williamson
> Name On The Net Ltd
> web: http://www.nameonthe.net
> email: james nameonthe net
> phone: +44 (0)870 1657215
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]