From owner-freebsd-ports@FreeBSD.ORG Thu Oct 30 10:02:03 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE6FD16A4CE for ; Thu, 30 Oct 2003 10:02:03 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02BA543FCB for ; Thu, 30 Oct 2003 10:01:59 -0800 (PST) (envelope-from freebsd-ports@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFH7N-0007gr-00 for ; Thu, 30 Oct 2003 19:01:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFH7L-0007gf-00 for ; Thu, 30 Oct 2003 19:01:55 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AFH7L-00066q-00 for ; Thu, 30 Oct 2003 19:01:55 +0100 From: Jesse Guardiani Date: Thu, 30 Oct 2003 13:01:55 -0500 Organization: WingNET Lines: 94 Message-ID: References: <20031030040009.GA25467@rot13.obsecurity.org> <3FA0E685.1040101@web.de> <20031030102245.GA27971@rot13.obsecurity.org> <20031030170334.GS96543@toxic.magnesium.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: Re: grip-3.1.2 still broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 18:02:04 -0000 Adam Weinberger wrote: >>> (10.30.2003 @ 1130 PST): Jesse Guardiani said, in 1.7K: << >> Well, I take it back, I'm NOT going to contact the grip developers later >> today because I no longer think it's a problem with the grip package >> at all. I just built, installed, and successfully ran the grip-3.1.2 >> source tarball on my 5.1-RELEASE box. Here's EXACTLY what I did: >> >> cd /usr/local/src >> wget http://www.nostatic.org/grip/grip-3.1.2.tar.gz >> tar -xvzf grip-3.1.2.tar.gz >> cd grip-3.1.2/ >> setenv CPPFLAGS -I/usr/local/include >> ./configure >> gmake >> gmake install >> >> And it works beautifully. >> >> Note: I use tcsh as my shell. You'll have to modify the 'setenv' line >> if you run /bin/sh or something similar. >> >> I then ran `gmake uninstall` and installed the FreeBSD grip port >> yet again, just to be sure, and it faithfully core dumped. >> >> My money is on a linking issue of some kind. Unfortunately, I'm not >> well versed in FreeBSD port creation, so I'm not sure where to start >> looking. >>> end of "Re: grip-3.1.2 still broken" from Jesse Guardiani << > > With the FreeBSD port installed, what's the output of "ldd > /usr/X11R6/bin/grip"? # Grab port's ldd output ldd /usr/X11R6/bin/grip > ~jesse/tmp/grip-src-ldd-output.txt # Grab src tarball's ldd output ldd /usr/local/bin/grip > ~jesse/tmp/grip-src-ldd-output.txt # Sort outputs, removing (0xXXXXX) addressing with sed sort < ~jesse/tmp/grip-port-ldd-output.txt | sed -e 's/([[:alnum:]]*)$//' > ~jesse/tmp/grip-sorted-port-ldd-output.txt sort < ~jesse/tmp/grip-src-ldd-output.txt | sed -e 's/([[:alnum:]]*)$//' > ~jesse/tmp/grip-sorted-src-ldd-output.txt # diff diff --unified ~jesse/tmp/grip-sorted-src-ldd-output.txt ~jesse/tmp/grip-sorted-port-ldd-output.txt ------ Begin diff output ------ --- /home/jesse/tmp/grip-sorted-src-ldd-output.txt Thu Oct 30 12:53:31 2003 +++ /home/jesse/tmp/grip-sorted-port-ldd-output.txt Thu Oct 30 12:53:13 2003 @@ -16,9 +16,6 @@ libbonoboui-2.so.0 => /usr/X11R6/lib/libbonoboui-2.so.0 libc.so.5 => /usr/lib/libc.so.5 libc_r.so.5 => /usr/lib/libc_r.so.5 - libcam.so.2 => /usr/lib/libcam.so.2 - libcdda_interface.so.0 => /usr/local/lib/libcdda_interface.so.0 - libcdda_paranoia.so.0 => /usr/local/lib/libcdda_paranoia.so.0 libesd.so.2 => /usr/local/lib/libesd.so.2 libexpat.so.4 => /usr/local/lib/libexpat.so.4 libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 @@ -48,10 +45,9 @@ libpangox-1.0.so.200 => /usr/X11R6/lib/libpangox-1.0.so.200 libpangoxft-1.0.so.200 => /usr/X11R6/lib/libpangoxft-1.0.so.200 libpopt.so.0 => /usr/local/lib/libpopt.so.0 - libsbuf.so.2 => /usr/lib/libsbuf.so.2 libstdc++.so.4 => /usr/lib/libstdc++.so.4 libstlport_gcc.so => /usr/local/lib/libstlport_gcc.so libvte.so.5 => /usr/X11R6/lib/libvte.so.5 libxml2.so.5 => /usr/local/lib/libxml2.so.5 libz.so.2 => /usr/lib/libz.so.2 -/usr/local/bin/grip: +/usr/X11R6/bin/grip: Exit 1 ------ End diff output ------ I think the grip port configures with --disable-cdpar for some reason, so we can ignore: - libcdda_paranoia.so.0 => /usr/local/lib/libcdda_paranoia.so.0 Which leaves: - libcam.so.2 => /usr/lib/libcam.so.2 - libcdda_interface.so.0 => /usr/local/lib/libcdda_interface.so.0 - libsbuf.so.2 => /usr/lib/libsbuf.so.2 And I'm not too sure what those do. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net