From owner-freebsd-hackers Sat Aug 2 15:03:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA17024 for hackers-outgoing; Sat, 2 Aug 1997 15:03:33 -0700 (PDT) Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA17004 for ; Sat, 2 Aug 1997 15:03:24 -0700 (PDT) Received: from spiffy.cybernet.com (spiffy.cybernet.com [192.245.33.55]) by gateway.cybernet.com (8.7.6/8.7.3) with SMTP id SAA01269 for ; Sat, 2 Aug 1997 18:07:22 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.2-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 02 Aug 1997 18:02:29 -0400 (EDT) Organization: Cybernet Systems From: "Mark J. Taylor" To: hackers@freebsd.org Subject: make world for 2.2.2 with DESTDIR fails Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 --------------------------------------------------------------------