Skip Menu |
 

Download (untitled) / with headers
text/plain 1.9KiB
From peterm@ken-kevlar.telstra.net Sun Aug 25 23:39:05 2002
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by krbdev.mit.edu (8.9.3) with ESMTP
id XAA08344; Sun, 25 Aug 2002 23:39:04 -0400 (EDT)
Received: from ken-kevlar.telstra.net (ken-kevlar.telstra.net [203.50.4.50])
by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id XAA02171
for <krb5-bugs@mit.edu>; Sun, 25 Aug 2002 23:39:03 -0400 (EDT)
Received: (from root@localhost)
by ken-kevlar.telstra.net (8.12.3/8.11.6) id g7Q3cxha017576;
Mon, 26 Aug 2002 13:38:59 +1000 (EST)
(envelope-from peterm)
Date: Mon, 26 Aug 2002 13:38:59 +1000 (EST)
Message-Id: <200208260338.g7Q3cxha017576@ken-kevlar.telstra.net>
To: krb5-bugs@mit.edu
Subject: krb5-build util/db2/Makfile
From: peterm@telstra.net
Reply-To: peterm@telstra.net
X-send-pr-version: 3.99


Show quoted text
>Submitter-Id: net
>Originator: Peter Marrinon (TID)
>Organization:
Telstra Corporation
Show quoted text
>Confidential: no
>Synopsis: util/db2/Makefile fails
>Severity: serious
>Priority: medium
>Category: krb5-build
>Class: sw-bug
>Release: krb5-1.2.5
>Environment:

System: FreeBSD ken-kevlar.telstra.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Aug 23 01:03:58 EST 2002 peterm@ken-kevlar:/usr/obj/usr/src/sys/SR2X00 i386


Show quoted text
>Description:
make fails while processing util/db2/Makefile. The obj directory does exist and can be cd'd to.
Error messages:

making all in util/db2...
for i in obj; do (cd $i; make all) || exit 1; done
cd: can't cd to obj
*** Error code 1

Stop in /usr/local/src/krb5-1.2.5/src/util/db2.
*** Error code 1

Stop in /usr/local/src/krb5-1.2.5/src/util.
*** Error code 1

Stop in /usr/local/src/krb5-1.2.5/src.


Show quoted text
>How-To-Repeat:
./configure (with no options)
make
Show quoted text
>Fix:
Can workaround problem by changing Makefile line to have absolute path in cd.
-- for i in ${SUBDIRS}: do (cd $$i; ${MAKE} $@) || exit 1; done
++ for i in ${SUBDIRS}; do (cd /usr/local/src/krb5-1.2.5/src/util/db2/$$i; ${MAKE} $@) || exit 1; done
To: peterm@telstra.net
Cc: rt@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu: #1159] util/db2/Makfile fails
From: Tom Yu <tlyu@mit.edu>
Date: Mon, 09 Sep 2002 17:51:39 -0400
Show quoted text
>>>>> "peterm" == peterm <peterm@telstra.net> writes:

Show quoted text
peterm> System: FreeBSD ken-kevlar.telstra.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Aug 23 01:03:58 EST 2002 peterm@ken-kevlar:/usr/obj/usr/src/sys/SR2X00 i386

Show quoted text
>> Description:
Show quoted text
peterm> make fails while processing util/db2/Makefile. The obj directory does exist and can be cd'd to.
peterm> Error messages:

Show quoted text
peterm> making all in util/db2...
peterm> for i in obj; do (cd $i; make all) || exit 1; done
peterm> cd: can't cd to obj
peterm> *** Error code 1

I believe this is a known misfeature of the BSD pmake; it treats
directories named "obj" specially. Please try gmake instead.

---Tom