[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Heimdal 0.4e and Cygwin

./configure --prefix=/usr/local --disable-otp ; make

Works, well, almost works.

The only serious problems appear to be:

 - Cygwin defines iruserok() in unistd.h but does not provide an
   implementation, therefore ./configure detects that iruserok() is
   missing and lib/roken/iruserok.c fails to compile because it
   redefines iruserok()!

   Cygwin needs a fix, if anything, but I'm not sure how to workaround
   this.  I worked around it by manually editing config.h and
   lib/roken/Makefile... The only thing that fails to build then is

 - The same klist.exe binary in /tmp/heimdal-0.4e/kuser/klist.exe works,
   but, the *same* binary, located in /usr/local/bin/. Then again, if I
   copy klist.exe to /usr/bin/ it works.

   Cygwin is slowly making me crazy. Time to dig through the FAQs or the
   Cygwin lists... and I'm not finding anything.

   Is there something magical about /usr/local/ on Cygwin that prevents
   binaries I compile from working?

 - When I try to link a simple conftest program to check for
   gss_init_sec_context() gcc/ld fail to link, listing lots of OpenSSL
   symbols as being undefined - adding -lssl to the gcc command line
   does not fix the problem. This is probably something to do with the
   above klist.exe problem.

I'm running make check now. Most checks are passing.

If only I can figure out exactly how to install Heimdal so things link
and run correctly. Perhaps I have to ./configure with --prefix=/usr,
since manually installing Heimdal binaries to /usr/bin seems to work...

Help, please...

-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.