Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 1997 15:28:13 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Fernando P. Schapachnik" <fschapac@dc.uba.ar>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Problems compiling DDD 2.1.1 from the ports.
Message-ID:  <19970904152813.49047@lemis.com>
In-Reply-To: <3.0.2.16.19970903224500.222758a2@milagro.dc.uba.ar>; from Fernando P. Schapachnik on Wed, Sep 03, 1997 at 10:45:00PM -0300
References:  <3.0.2.16.19970903224500.222758a2@milagro.dc.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 03, 1997 at 10:45:00PM -0300, Fernando P. Schapachnik wrote:
> (Please reply to me, and I'll sumarize: I'm not in the list.)

By default, I reply both to the original sender and the list.  I
recommend that others do so as well.

> Hello:
> 	I'm having problems compiling ddd-2.1.1 from the ports. I'm using FBSD
> 2.1.7.1,

That's your problem.  There are several ways to solve it, but
upgrading to a more recent version (2.2.2 or 3.0-current) is the best
way to do so.

> and LessTif 0.8.
> 	When I 'make' ddd I obtain:
> Script started on Sun Aug 31 00:26:07 1997
> Recabarren# make
>>> Checksum OK for ddd-2.1.1.tar.gz.
> ===>  Extracting for ddd-2.1.1
> ===>  ddd-2.1.1 depends on executable: gmake - found
> ===>  Patching for ddd-2.1.1
> ===>  Applying FreeBSD patches for ddd-2.1.1
> ===>  Configuring for ddd-2.1.1
> [...]
> creating Ddd
> creating ddd.man
> creating config.h
> configure: configuration is done.
> Please check the settings in the files generated by `configure' -
> that is, `ddd/Makefile' and `ddd/config.h'.  Then run `make'.
> echo "LIBXM = -L/usr/X11R6/lib -lXm" >>
> /home/fpscha/ddd/work/ddd-2.1.1/ddd/Makefile
> ===>  Building for ddd-2.1.1
> ld.so: warning: /usr/lib/libutil.so.2.1: minor version 1 older than
> expected 2, using it anyway
> ld.so failed: Can't find shared library "libc.so.3.0"
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> Recabarren# find / -name "libc.so.*" -print
> /usr/lib/libc.so.2.2
> Recabarren# exit
>
> 	I have compiled gcc 2.7.2.2, could it be that 'make' is using includes or
> libraries from that version gcc? 

No, libc.so is the standard C library, which is supplied with the
system.  Version 3.0 is standard with 2.2.2 and 3.0.

> I've tried also using gcc 2.6.3, but I'm afraid 'make' is using the
> new includes anyway. 

make doesn't use header files.

> Does it make sense? How can I restore the 'old' environment?

I don't see that you've changed anything yet.  Try installing 2.2.2,
and you shouldn't have *these* problems any more.

Greg



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