[3056] in Kerberos-V5-bugs
Re: pending/703: Problem running make
daemon@ATHENA.MIT.EDU (jmcknigh@bindview.com)
Wed Mar 24 09:34:02 1999
From: <jmcknigh@bindview.com>
To: krb5-bugs@MIT.EDU
Cc: krb5-prs@rt-11.MIT.EDU
Date: Wed, 24 Mar 1999 08:23:32 -0600
>I think what is going on here is that configure isn't find the "ar"
>command. Is /usr/ccs/bin in your path? If not, that's probably your
>problem, as there should be an "ar" program in /usr/ccs/bin/ar.
> - Ted
You're right, the path to ar isn't there. Also, is there a way to clean up
what is built by configure or make? Eg, GNU uses a make distclean in
most of its products to clear it up. I added this so that my PATH is now:
/usr/ccs/bin:/usr/ucb:/usr/bin:/usr/local/bin:/bin:/etc:.:/opt/NSCPcom:/expo
rt/home/jknight/bin
I reran ./configure and then, make. The make program is giving the same
error as before. Here
is the debug file of running make -d from the krb5*/src directory:
MAKEFLAGS value:
making all in util...
MAKEFLAGS value: -d
Building all-recurse because it is out of date relative to libupdate
Building /config.status because it is out of date relative to
configure
cd ./ && /bin/sh config.status --recheck
running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
--no-crea
te --no-recursion
loading cache .././config.cache
checking for C compiler... (cached) /usr/local/bin/gcc
checking for gcc... (cached) /usr/local/bin/gcc
checking whether we are using GNU C... (cached) yes
checking whether /usr/local/bin/gcc accepts -g... (cached) yes
LD defaults to /usr/local/bin/gcc
CPPOPTS defaults to
built in krb4 support
checking for working const... (cached) yes
checking for -lsocket... (cached) yes
checking for -lnsl... (cached) yes
checking for ar... (cached) false
checking for ar... (cached) false
creating ./config.status
checking for ar... (cached) false
creating ./config.status
Building Makefile because /config.status does not exist
cd ./ && /bin/sh config.status
creating ./Makefile.tmp
creating ./Makefile
Building makeshlib because it is out of date relative to Makefile
rm -f makeshlib makeshlib.tmp
sed -e 's,@''CC''@,/usr/local/bin/gcc,g' -e
's,@''HOST_TYPE''@,sparc-sun-solaris
2.7,g' -e 's,@''HAVE_GCC''@,yes,g' ./makeshlib.sh >makeshlib.tmp&&chmod a+x
make
shlib.tmp&&mv makeshlib.tmp makeshlib
Building all-recurse because it is out of date relative to makeshlib
making all in util/et...
MAKEFLAGS value: -d
Building all-unix because 0@all-unix does not exist
Building all-unix because it is out of date relative to compile_et
Building includes because it is out of date relative to
../../include/com
_err.h
Target includes rebuilt because dependency 0@includes does not exist
Building all-unix because it is out of date relative to includes
Building all-unix because it is out of date relative to shared
Target all-unix rebuilt because dependency 1@all-unix does not exist
Building libcom_err.a because it is out of date relative to
error_message.
o
rm -f makeshlib makeshlib.tmp
sed -e 's,@''CC''@,/usr/local/bin/gcc,g' -e
's,@''HOST_TYPE''@,sparc-sun-solaris
2.7,g' -e 's,@''HAVE_GCC''@,yes,g' ./makeshlib.sh >makeshlib.tmp&&chmod a+x
make
shlib.tmp&&mv makeshlib.tmp makeshlib
Building all-recurse because it is out of date relative to makeshlib
making all in util/et...
MAKEFLAGS value: -d
Building all-unix because 0@all-unix does not exist
Building all-unix because it is out of date relative to compile_et
Building includes because it is out of date relative to
../../include/com
_err.h
Target includes rebuilt because dependency 0@includes does not exist
Building all-unix because it is out of date relative to includes
Building all-unix because it is out of date relative to shared
Target all-unix rebuilt because dependency 1@all-unix does not exist
Building libcom_err.a because it is out of date relative to
error_message.
o
Building libcom_err.a because it is out of date relative to et_name.o
Building libcom_err.a because it is out of date relative to init_et.o
Building libcom_err.a because it is out of date relative to com_err.o
false libcom_err.a error_message.o et_name.o init_et.o com_err.o
*** Error code 255
*** Error code 1
*** Error code 1
Standard error redirection gave:
make: Fatal error: Command failed for target `libcom_err.a'
Current working directory
/export/home/jknight/dnloads/krb/krb5-1.0.5/src/util/et
make: Fatal error: Command failed for target `all-recurse'
Current working directory
/export/home/jknight/dnloads/krb/krb5-1.0.5/src/util
make: Fatal error: Command failed for target `all-recurse'
Here is just a run of /krb5*/src/make:
nero% make
making all in util...
cd ./ && /bin/sh config.status --recheck
running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.
--no-crea
te --no-recursion
loading cache .././config.cache
checking for C compiler... (cached) /usr/local/bin/gcc
checking for gcc... (cached) /usr/local/bin/gcc
checking whether we are using GNU C... (cached) yes
checking whether /usr/local/bin/gcc accepts -g... (cached) yes
LD defaults to /usr/local/bin/gcc
CPPOPTS defaults to
built in krb4 support
checking for working const... (cached) yes
checking for -lsocket... (cached) yes
checking for -lnsl... (cached) yes
checking for ar... (cached) false
checking for ar... (cached) false
creating ./config.status
cd ./ && /bin/sh config.status
creating ./Makefile.tmp
creating ./Makefile
checking for -lsocket... (cached) yes
checking for -lnsl... (cached) yes
checking for ar... (cached) false
checking for ar... (cached) false
creating ./config.status
cd ./ && /bin/sh config.status
creating ./Makefile.tmp
creating ./Makefile
rm -f makeshlib makeshlib.tmp
sed -e 's,@''CC''@,/usr/local/bin/gcc,g' -e
's,@''HOST_TYPE''@,sparc-sun-solaris
2.7,g' -e 's,@''HAVE_GCC''@,yes,g' ./makeshlib.sh >makeshlib.tmp&&chmod a+x
make
shlib.tmp&&mv makeshlib.tmp makeshlib
making all in util/et...
false libcom_err.a error_message.o et_name.o init_et.o com_err.o
*** Error code 255
make: Fatal error: Command failed for target `libcom_err.a'
Current working directory
/export/home/jknight/dnloads/krb/krb5-1.0.5/src/util/e
t
*** Error code 1
make: Fatal error: Command failed for target `all-recurse'
Current working directory
/export/home/jknight/dnloads/krb/krb5-1.0.5/src/util
*** Error code 1
make: Fatal error: Command failed for target `all-recurse'
nero%
Thanks for the help,
John McKnight
>>Date: Tue, 23 Mar 1999 17:51:54 -0600
>> From: jmcknigh@bindview.com <mailto:jmcknigh@bindview.com>
>> I've got the set of source files for Kerberos from your website. I
>> run ./configure, everything works ok. I then run make and get the
>> following error:
>>
>> false libcom_err.a error_message.o et_name.o init_et.o com_err.o
>> make[2]: *** [libcom_err.a] Error 255
>> I tracked this down to the Makefile in /util/et. Only, I don't know
>> how to fix it or what it's looking for. Here is the attached log file
>> I used for make -df Makefile. What is wrong?