Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3900396BD for ; Wed, 1 Feb 2012 23:33:25 +0000 (UTC) Received: (qmail 12059 invoked by uid 500); 1 Feb 2012 23:33:24 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 11764 invoked by uid 500); 1 Feb 2012 23:33:24 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 11756 invoked by uid 99); 1 Feb 2012 23:33:24 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 23:33:24 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 23:33:23 +0000 Date: Wed, 1 Feb 2012 20:33:20 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: Re: [BUILD]solaris build failed again. Message-ID: <20120201233320.GE10740@localhost> References: <20120117104151.GB8196@localhost> <1328122866.16161.76.camel@oipunk> <20120201212949.GA10740@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3yNHWXBV/QO9xKNm" Content-Disposition: inline In-Reply-To: <20120201212949.GA10740@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) --3yNHWXBV/QO9xKNm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 01, 2012 at 06:29:49PM -0300, Ariel Constenla-Haile wrote: > > > > GTK_CFLAGS=3D"-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/inc= lude -I/usr/s > > > > fw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/in= clude " > > > > GTK_LIBS=3D"-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -l= pangox-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=3D"-mt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/i= nclude " > > > > GTHREAD_LIBS=3D"-mt -lgthread-2.0 -lglib-2.0 " > >=20 > > 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 ;) >=20 > 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=3D1229815&r2=3D1230097&diff_format=3Dh > accidentally removed GTHREAD_LIBS =20 for the record, the build didn't break on Linux/Ubuntu because GTK_LIBS includes GTHREAD_LIBS: GTK_LIBS=3D"-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpang= oft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgdk= _pixbuf_xlib-2.0 -lgmodule-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0= -lrt -lglib-2.0 " GTHREAD_LIBS=3D"-pthread -lgthread-2.0 -lrt -lglib-2.0 " all libraries listed in GTHREAD_LIBS are already present in GTK_LIBS; but this is not the case on Solaris. Regards --=20 Ariel Constenla-Haile La Plata, Argentina --3yNHWXBV/QO9xKNm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPKcvAAAoJEMjP1bm45QNW40sP+wc/b8QvjLOeroxWI0nzhFcx aP2xqhR7mMvkcnYYOr2owL4ynQCNj6szrCG3zI3MvHaAmQSiuAXR7uA1PAmkqUjZ gvLKVOhSB10WOD7M10reqkuPTnCKwSU6pWnkGfBb3k/Vq8VzUBJrTtb6nmEKffc/ UY/0A49C3pwzZ8+n/320wcoDhJhkgHdxFi9lXMNoIp/z5WnFET72R6eEhfZFTxE9 /kK23FVi1iKY4rXVqX4q2QAAuX2XCMbQUExw1tWx0G0FSaajoUMdO6qZDCs3kxt6 fhEMFDz7GclCcuWcgeEc02PdxHDo8Qj01GSSrH3cbhldcuRs7f4noEsK65+HiVpo gh0aOSyMjYCWDzbSQn2smbZA6De24Rdp3Z7imBWeJmi7rqcmNRlCVoW1QKuQF41b shReAGnLz82ZFeDzzfaBJI5k8Y8e9TpPOdz7iGbGFTbQ6TBBOHfW1fUyZW5IUSTO e+wUmZon1fVoyjLfVfg0gKSKV7z5lYRuyVIqHsA6ZUps3ACqC7eGu4lhwnTALbpZ aeLOiyW7pjhrJRoBbg39aOjVomIU2tAUcLaZQiXb6f9GWHuBB8a3I2UILPN7wRGa EBeo4pjswXNFs1OsD+1RE57S2TNzUgDMidTwdzF4OrwO7yDFqRw3r28EjYPeZXpA dF3tHbXhB2WipuVZmdEj =l6xC -----END PGP SIGNATURE----- --3yNHWXBV/QO9xKNm--