Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 1997 18:02:29 -0400 (EDT)
From:      "Mark J. Taylor" <mtaylor@cybernet.com>
To:        hackers@freebsd.org
Subject:   make world for 2.2.2 with DESTDIR fails
Message-ID:  <XFMail.970802180229.mtaylor@cybernet.com>

next in thread | raw e-mail | index | archive | help

Hello all-

Firstly: I've done searches on FreeBSD's WWW site.  I've also
looked in the Handbook and FAQ.  I've also looked in the
-current mailing list.  There is no references that I've found
to this problem, except a note somewhere that having a "DESTDIR"
when 'make'ing world can cause linking problems.  I've never
tried to make world before, so please please excuse me if I
ask stupid questions.

I've been trying to do a 'make world' with DESTDIR set to
/home/freebsd.  It seems to fail in two places, 1) on making
contrib/libgmp gmp.info: says it doesn't know how to make the
target gmp.info; and 2) libncurses, shared (version 3.0) dies
complaining about crt0.o and missing _main.

I 'fixed' (1) by hacking Makefile.in and making a target for
gmp.info.  That lets me compile to the point of (2).
I don't know how to get around (2).  Why is it trying to link in
crt0.o to a shared library?

The systems that I've tried compiling on are FreeBSD 2.2.1 and 2.2.2.
I've tried makeing world (with DESTDIR set to /home/freebsd) for
2.1.7.1 as well, and it falls over somewhere else.

What I really want is to build a complete 2.2.2 system and NOT have
it installed over the currently running system.  I'd like to use it
as a place to store a complete binary system where I can do upgrades
from.

If there is some work that needs to be done to use the DESTDIR option,
then I'd be glad to do it and send diffs.  First, though, I have to
identify if I am at fault (from lack of knowledge), or if there is
actually a problem here.



Please respond via email as well as via the mailing list, as I am
not currently (directly) subscribed.


--------------------------------------------------------------------
Mark J. Taylor                                  Network R&D Manager
Cybernet Systems                                mtaylor@cybernet.com
727 Airport Blvd.                               PHONE (313) 668-2567
Ann Arbor, MI  48108                            FAX   (313) 668-8780
--------------------------------------------------------------------



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