Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 13:01:55 -0500
From:      Jesse Guardiani <jesse@wingnet.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: grip-3.1.2 still broken
Message-ID:  <bnrjmj$mtv$1@sea.gmane.org>
References:  <bnpt58$4se$1@sea.gmane.org> <20031030040009.GA25467@rot13.obsecurity.org> <3FA0E685.1040101@web.de> <20031030102245.GA27971@rot13.obsecurity.org> <bnrbip$16r$1@sea.gmane.org> <bnrebi$8mf$1@sea.gmane.org> <20031030170334.GS96543@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bnrjmj$mtv$1>