Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MIT Kerberos 1.4.3

Status
Not open for further replies.

bdw238

MIS
Dec 15, 2005
52
GB
I get the following error when compling MIT Kerberos on Aix 5.3 ML 3, gcc 3.3.2:

gcc option set = -pthread

configure: enabling thread support
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: error: cannot determine options for enabling thread support

Does anyone have any ideas?

Regards

Brian
 
Try grabbing a later release

ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/releases/

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
This fall I was trying to compile MIT's Kerberos on AIX5.2 ... and eventually I figured out that there's a problem with the 1.4 series.
1.3 works fine though.
 
I have discovered the problem. The gcc compiler 3.3.2 that is included with Aix 5.3 media has problems with the new format of the pthread library from IBM (they changed library in Aix 5.2 Mantaince Level at some point, which I had googled and don't have the link anymore), so gcc errors.

To solve this issue, you need to use gcc > 3.4 and above. So I download gcc 4.0.2 from packaged into lpp, installed, and compiled MIT's Kerberos 1.4.3 OK.

So the tip here is to upgraded your gcc compiler to new version, if you use the IBM Aix media gcc version.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top