Skip Menu |
 

Subject: help: issue on compiling the MIT krb5-1.8.5 for Sun Solaris 10
To: krb5-bugs@mit.edu
From: Kevin See <see@ca.ibm.com>
Date: Fri, 30 Dec 2011 13:56:36 -0500
CC: Mayooran Velayuthampillai <mayooran@ca.ibm.com>, Kevin See <see@ca.ibm.com>, Fredy Fredy <ffredy@ca.ibm.com>
Download (untitled) / with headers
text/plain 2.8KiB

Hello,

I am not sure if there is other newsgroup I can posted the question, but I found this email from the config.log file, so I email you to see if I can find some help on my compile problem for the package on sun solaris 10.

We are trying to compile the MIT krb5-1.8.5, we untar the tar file following the instruction and following the ./configure and make step..

But everytime, I do a make, I got the following error output:

building static ss library
set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} };
$e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.ST` && false cq
libss.a $objlist
*** Error code 255
*** Error code 1
The following command caused the error:
case "`echo 'x'|sed -e 's/^x//' -e 's/ --.*$//'`" \
in *[ik]*) e="status=1" ;; *) e="exit 1";; esac; \
do_subdirs="support et ss profile send-pr" ; \
status=0; \
if test -n "$do_subdirs" && test -z ""; then \
for i in $do_subdirs ; do \
if test -d $i && test -r $i/Makefile ; then \
case $i in .);; *) \
target=`echo all-recurse|sed s/-recurse//`; \
echo "making $target in util/$i..."; \
if (cd $i ; make \
CURRENT_DIR=util/$i/ $target) then :; \
else eval $e; fi; \
;; \
esac; \
else \
echo "Skipping missing directory util/$i" ; \
fi; \
done; \
else :; \
fi;\
exit $status

I have try to manually issue make on the util/ss directory and still have the same issue... This issue also happen on src/lib/apputils subdirectory. I am not sure how many subdirectory are getting this if I were to manually issue make on each subdirectory because I did not get to finish all of them yet.

What should I do to fix it?

I try different variant of the configure statement I used before the make (each time use a newly unpacked source file)
./configure CC='cc -m64'
./configure
./configure CC='cc' CFLAGS='-m64'

The make comes from:

Show quoted text
# which make
/usr/bin/make

I have even try setting PATH and LD_LIBRARY_PATH on /etc/profile with:
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
PATH = /opt/sunstudio12.1/bin:/usr/sbin:/usr/bin

I am running out of idea.

Any help will be greatly appreciated.

Thanks in advance.

Cheers,
Kevin
====================================================================

Kevin Yeung-Kuen See, CISSP®
Phone: (905) 413-4320 Fax: (905) 413-4849

IBM developerWorks Contributing Author

Co-author for the book
"Understanding DB2 9 Security"
Certified Information Systems Security Professional (ISC2)
IBM Certified Specialist - Rational AppScan Standard Edition

IBM Certified Solutions Developer - XML and Related Technologies

IBM Certified Application Developer - DB2 9
IBM Certified Database Administrator - DB2 9
IBM Certified Advanced Database Administrator - DB2 9
IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for OS/390

The problem is that the "ar" program, which is used to create static
libraries, wasn't found at configure time in your environment. I don't
know why this is.
To: rt@krbdev.MIT.EDU
Subject: Re: [krbdev.mit.edu #7059] help: issue on compiling the MIT krb5-1.8.5 for Sun Solaris 10
From: Tom Yu <tlyu@MIT.EDU>
Date: Sat, 31 Dec 2011 17:46:46 -0500
RT-Send-Cc:
"Greg Hudson via RT" <rt-comment@krbdev.mit.edu> writes:

Show quoted text
> The problem is that the "ar" program, which is used to create static
> libraries, wasn't found at configure time in your environment. I don't
> know why this is.

The "ar" program is often in /usr/ccs/bin on Solaris hosts, which
might not be in a user's default $PATH.
Subject: Re: [krbdev.mit.edu #7059] help: issue on compiling the MIT krb5-1.8.5 for Sun Solaris 10
To: rt-comment@krbdev.mit.edu
From: Kevin See <see@ca.ibm.com>
Date: Tue, 3 Jan 2012 13:05:05 -0500
RT-Send-Cc:
Download graycol.gif
image/gif 105B
graycol.gif
Download ecblank.gif
image/gif 45B
ecblank.gif
Download (untitled) / with headers
text/plain 1.6KiB

Thanks, Greg, Tom. It is exactly the problem.

Cheers,
Kevin
====================================================================

Kevin Yeung-Kuen See, CISSP®
Phone: (905) 413-4320 Fax: (905) 413-4849

IBM developerWorks Contributing Author

Co-author for the book
"Understanding DB2 9 Security"
Certified Information Systems Security Professional (ISC2)
IBM Certified Specialist - Rational AppScan Standard Edition

IBM Certified Solutions Developer - XML and Related Technologies

IBM Certified Application Developer - DB2 9
IBM Certified Database Administrator - DB2 9
IBM Certified Advanced Database Administrator - DB2 9
IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for OS/390


Inactive hide details for "Tom Yu via RT" ---12/31/2011 05:47:18 PM---"Greg Hudson via RT" <rt-comment@krbdev.mit.edu> writes: "Tom Yu via RT" ---12/31/2011 05:47:18 PM---"Greg Hudson via RT" <rt-comment@krbdev.mit.edu> writes: > The problem is that the "ar" program, whi


From:

"Tom Yu via RT" <rt-comment@krbdev.mit.edu>

To:

Kevin See/Toronto/IBM@IBMCA

Date:

12/31/2011 05:47 PM

Subject:

Re: [krbdev.mit.edu #7059] help: issue on compiling the MIT krb5-1.8.5 for Sun Solaris 10





"Greg Hudson via RT" <rt-comment@krbdev.mit.edu> writes:

> The problem is that the "ar" program, which is used to create static
> libraries, wasn't found at configure time in your environment.  I don't
> know why this is.

The "ar" program is often in /usr/ccs/bin on Solaris hosts, which
might not be in a user's default $PATH.