From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E3QSn-0006Jp-MB for garchives@archives.gentoo.org; Fri, 12 Aug 2005 03:44:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7C3gYbQ021180; Fri, 12 Aug 2005 03:42:34 GMT Received: from tiger.gg3.net (m006052.ppp.asahi-net.or.jp [219.121.6.52]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7C3etnE029442 for <gentoo-dev@lists.gentoo.org>; Fri, 12 Aug 2005 03:40:56 GMT Received: (qmail 18037 invoked by uid 89); 12 Aug 2005 03:41:51 -0000 Received: from lion.gg3.net (HELO lion) (10.0.0.2) by 0 with SMTP; 12 Aug 2005 03:41:51 -0000 Received: by lion (sSMTP sendmail emulation); Fri, 12 Aug 2005 12:41:51 +0900 Date: Fri, 12 Aug 2005 12:41:51 +0900 From: Georgi Georgiev <chutz@gg3.net> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Modular X plans Message-ID: <20050812034150.GB121195@lion.gg3.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <42EE92BA.9070903@gentoo.org> <20050801224419.5745f1c0@snowdrop.home> <42EE99FC.7050004@gentoo.org> <20050801231112.4a77a421@snowdrop.home> <42EEA3FA.2030208@gentoo.org> <42F96E29.3080304@gentoo.org> <42FB9FD7.3030801@gentoo.org> <20050811194119.GB113861@lion.gg3.net> <42FBC070.4080100@gentoo.org> <42FBD99E.3050509@gentoo.org> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <42FBD99E.3050509@gentoo.org> User-Agent: Mutt/1.5.8i X-Archives-Salt: 4c46d20a-7d1b-4e7b-a1c6-89795b1bdb19 X-Archives-Hash: 8f83c077f662e93d2ec531043b0a323d --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline maillog: 11/08/2005-16:05:02(-0700): Donnie Berkholz types > Donnie Berkholz wrote: > > Attached an update to incorporate this and your other grep comments. > > Here's a new one. It prints some useful information while it's > searching, like OK or Not found!. Also fixes a little more ugly output > (double/single quotes and pipes showing up as parts of lib names) and > makes an attempt to use rpm if equery isn't around, and just prints the > lib paths otherwise. Looks better and better. A couple more comments: - I tried the script on the output of gvim, and it erroneously tried to find libatk-1.0.a. The problem was in this line: x86_64-pc-linux-gnu-gcc -L/usr/lib64 -L/usr/lib64 -rdynamic -L/usr/local/lib -o gvim <snip object files> -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lXt -lncurses -lacl -lgpm -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.6/x86_64-linux/CORE -lperl -lutil -lc -L/usr/lib/python2.4/config -lpython2.4 -L/usr/lib64 -lz -lutil -lm -Xlinker -export-dynamic static As you can see, it's the "static" in the end of the line. Maybe you should grep for "-static" instead. - I'm sure I've seen makefiles that use tabs instead of spaces to separate the -l arguments. Maybe you should replace the space with a [:space:] or something? - To avoid eventual problems with similarly named libraries (libpam and libpam_misc for example; grepping for -lpam would also match -lpam_misc) you could grep for "\<-l${libname}\>" instead. This would also solve the space-or-tab problem. -- / Georgi Georgiev / We must know, we will know. -- David / \ chutz@gg3.net \ Hilbert \ / +81(90)2877-8845 / / --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC/Bp+fXO2NUT1EmYRAracAJwO41zkfIXg9zc7D2827dq2It8KkACgttU0 zPKejJAHa/0WUrpAcbs+j7A= =96O3 -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- -- gentoo-dev@gentoo.org mailing list