incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <arie...@apache.org>
Subject Re: [BUILD]solaris build failed again.
Date Wed, 01 Feb 2012 21:29:49 GMT
Hi Nicolas,

On Wed, Feb 01, 2012 at 08:01:06PM +0100, Nicolas Christener wrote:
> Hi,
> 
> On Tue, 2012-01-17 at 07:41 -0300, Ariel Constenla-Haile wrote:
> > Hi L'oiseau de mer,
> > 
> > On Mon, Jan 16, 2012 at 09:29:33AM +0800, L'oiseau de mer wrote:
> > > This is my content in SolarisX86Env.Set.sh:
> > > 
> > > GTK_CFLAGS="-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk
> > > -1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/s
> > > fw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  "
> > > GTK_LIBS="-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0
-lpa
> > > ngo-1.0 -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lmlib -lgobject-2.0 -lgmodul
> > > e-2.0 -lglib-2.0  "
> > > GTHREAD_CFLAGS="-mt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  "
> > > GTHREAD_LIBS="-mt -lgthread-2.0 -lglib-2.0  "
> 
> We had the same problem building AOO on OpenSolaris. It seems, that
> adding "-lgthread-2.0 -lpthread -lthread" to GTK_LIBS fixed this problem
> in our setup (maybe "-lgthread-2.0" is enough).
> However this does not seem to be the "right" solution ;)

you were in the right way to the solution. Rev. 1230097
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/Library_vclplug_gtk.mk?r1=1229815&r2=1230097&diff_format=h
accidentally removed GTHREAD_LIBS


> Could someone who knows the build system a bit better take a look at
> this?
> 
> I have some other build related "fixes" (or workarounds) for AOO on
> Solaris/SPARC. Is someone interested to look at them?

Nice :) Please post them here, tag your message with [BUILD] and maybe
starting the subject with "Solaris SPARC" will help find then later.

> In the end I got a working build on that platform - so if someone is
> interested in this, I'd be glad to share the stuff I found out.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Mime
View raw message