Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 1997 09:58:11 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Fernando P. Schapachnik" <fschapac@dc.uba.ar>
Cc:        obrien@nuxi.com, questions@freebsd.org
Subject:   Re: Problems compiling DDD 2.1.1 from the ports.
Message-ID:  <19970908095811.31781@lemis.com>
In-Reply-To: <3.0.2.16.19970907153446.12f7c068@milagro.dc.uba.ar>; from Fernando P. Schapachnik on Sun, Sep 07, 1997 at 03:34:46PM -0300
References:  <m0x6u9g-000iyOC@milagro.dc.uba.ar> <19970905085908.54129@lemis.com> <m0x6u9g-000iyOC@milagro.dc.uba.ar> <19970906103503.22086@lemis.com> <3.0.2.16.19970907153446.12f7c068@milagro.dc.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 07, 1997 at 03:34:46PM -0300, Fernando P. Schapachnik wrote:
> At 10:35 6/09/97 +0930, you wrote:
>> On Fri, Sep 05, 1997 at 11:54:16AM +0300, Fernando Pablo Schapachnik wrote:
>>>>
>>>>> And why is it searching for *that* version instead of using the one
>>>>> installed in my system?.
>>>>
>>>> Good question.  What's in the Makefile?  Where did you install ld
>>>> from?
>>>
>>> From scratch, it came whith FBSD 2.1.7.1.
>>
>> I seem to recall you saying something about rebuilding gcc.  I wonder
>> if you got the ld from there, but it's rather unlikely.
>>
>>> What files can I search for?
>>
>> Look in the Makefiles below /usr/src/ports/devel/ddd.
>
> I don't have /usr/src/ports. I only have /usr/ports/distfiles.

I'd be curious as to how you built the port, then.  This might be your
problem.  You *should* have a directory /usr/src/ports/devel/ddd with
some files in it.  If you have the CD-ROM, you can extract it from
ports/ports.tgz and then build it like this:

# mkdir /usr/src
# cd /usr/src
# tar xzvf /cdrom/ports/ports.tgz devel/ddd
# cd devel/ddd
# make all install 

> By downloading the libc.so.3.0 you offered me I was able to compile, but
> ddd hanged at startup.
> Then I 'ln' libc.so.3.0 to libc.so.2.2, and it worked! 

This is dangerous.  You may stop other critical parts of your system
from working.  If that happens, you may have to reboot in single user
mode and perform some deep magic in order to recover it.  You should
replace your libc.so.2.2 as quickly as possible.

> The only problem is that ddd hangs when I want to display
> derreferenced pointers. Do you guys have the same problem or it's
> just my strange mixture :) ?

Well, I don't use ddd.  I tried it and found it too cumbersome.  But I
can recall gdb (which runs in the background) running into some
serious CPU usage at times like these.  Is ddd really hanging, or is
it waiting on a looping gdb?

> I think 'make' should look some file to know which libraries (especially
> libc.so.*) to use in order to compile the port. This have to do with each
> port, or it's a system setting?

Well, make does what its Makefile tells it.  I suspect that your
problem is that you haven't been using the FreeBSD port.

Greg



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