From owner-freebsd-gnome@FreeBSD.ORG Mon Jun 2 16:09:42 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB3D01065674 for ; Mon, 2 Jun 2008 16:09:42 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id B59788FC15 for ; Mon, 2 Jun 2008 16:09:42 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080602160941.UJFI7964.eastrmmtao104.cox.net@eastrmimpo03.cox.net>; Mon, 2 Jun 2008 12:09:41 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo03.cox.net with bizsmtp id Z49h1Z0034iy4EG0249hT2; Mon, 02 Jun 2008 12:09:41 -0400 Date: Mon, 02 Jun 2008 11:12:01 -0500 To: "Pietro Cerutti" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <48440239.4020608@FreeBSD.org> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <48440239.4020608@FreeBSD.org> User-Agent: Opera Mail/9.27 (Linux) Cc: freebsd-gnome@freebsd.org Subject: Re: dependency problem on sparc64 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 16:09:43 -0000 On Mon, 02 Jun 2008 09:22:49 -0500, Pietro Cerutti = wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi list, > > I found that glib20 isn't recognized as should be on sparc64 = > (7.0-RELEASE) > > I can solve the problem with: > > - --- bsd.gnome.mk 24 Mar 2008 15:59:55 -0000 1.146 > +++ bsd.gnome.mk 2 Jun 2008 14:20:31 -0000 > @@ -251,7 +251,7 @@ > ~ pygnome_RUN_DEPENDS=3D = > ${pygnome_DETECT}:${PORTSDIR}/x11-toolkits/py-gnome > ~ pygnome_USE_GNOME_IMPL=3D gtkhtml pygtk > > - -_glib20_LIB_DEPENDS=3D glib-2.0.0:${PORTSDIR}/devel/glib20 > +_glib20_LIB_DEPENDS=3D glib-2.0:${PORTSDIR}/devel/glib20 > ~ _glib20_DETECT=3D = > ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc > ~ _glib20_USE_GNOME_IMPL=3D gnometarget pkgconfig > > > > Here's some output: > > | pkg_info glib\* > Information for glib-2.16.3: > > Comment: > Some useful routines of C programming (current stable version) > > Description: > GLib provides a simple, abstract, and highly portable set of C support= > routines such as lists, trees, hashes, memory allocation, and much, mu= ch > more. It is a foundation for writing portable applications. > > WWW: http://www.gtk.org/ > > | cat Makefile > PORTNAME=3D test > USE_GNOME=3D glib20 > .include > > | make depends > =3D=3D=3D> test- depends on shared library: glib-2.0.0 - not found > =3D=3D=3D> Verifying install for glib-2.0.0 in /usr/ports/devel/glib20= > =3D=3D=3D> Returning to build of test- > Error: shared library "glib-2.0.0" does not exist > *** Error code 1 > Stop in /home/gahr. > > | d /usr/local/lib/libglib-2.0.* > - -rw-r--r-- 1 root wheel 1.5M Jun 2 15:53 /usr/local/lib/libglib-2.0.= a > - -rwxr-xr-x 1 root wheel 939B Jun 2 15:53 /usr/local/lib/libglib-2.0.= la > lrwxr-xr-x 1 root wheel 19B Jun 2 15:53 /usr/local/lib/libglib-2.0.so = -> > libglib-2.0.so.1600 > - -rwxr-xr-x 1 root wheel 904K Jun 2 15:53 = > /usr/local/lib/libglib-2.0.so.1600 This is busted. How old is your bsd.gnome.mk? Or maybe something (libtoo= l) = that doesn't work correct for sparc64? See mine: ---------------------------------------- # ls -l /usr/local/lib/libglib-2.0.* -rw-r--r-- 1 root wheel 2280800 Apr 16 03:33 = /usr/local/lib/libglib-2.0.a -rwxr-xr-x 1 root wheel 933 Apr 16 03:33 = /usr/local/lib/libglib-2.0.la* lrwxr-xr-x 1 root wheel 16 Apr 16 03:33 = /usr/local/lib/libglib-2.0.so@ -> libglib-2.0.so.0 -rwxr-xr-x 1 root wheel 1658013 Apr 16 03:33 = /usr/local/lib/libglib-2.0.so.0* ---------------------------------------- We have a hack called ltverhack in bsd.gnome.mk to force any library to = = get correct ABI version that way it won't get bump until ABI change. For= = example, ltverhack gets our glib20 to have libglib-2.0.so.0 instead of = like your for libglib-2.0.so.1600. If that ltverhack doesn't work for = sparc64, then it will need to be figure out why. Cheers, Mezz > Thanks, > > - -- > Pietro Cerutti > gahr@FreeBSD.org > > PGP Public Key: > http://gahr.ch/pgp > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > > iEYEAREKAAYFAkhEAgAACgkQwMJqmJVx945cdACg400ql+oUDZ/N41dfUOZ9ERTI > qgoAoNQGt8KgHqcE/NDwXi07onWdQpwK > =3DQvDo > -----END PGP SIGNATURE----- -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org