Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

HPUX

The native (bundled) compiler for HPUX currently will not work, because it is not a full ANSI C compiler. The optional ANSI C compiler should work as long as you give it the -Ae flag (i.e. ./configure CC='cc -Ae'). This is equivalent to ./configure CC='c89 -D_HPUX_SOURCE', which was the previous recommendation. This has only been tested recently for HPUX 10.20.

You will need to configure with --disable-shared --enable-static, because as of 1.4 we don't have support for HPUX shared library finalization routines, nor the option (yet) to ignore that lack of support (which means repeated dlopen/dlclose cycles on the Kerberos libraries may not be safe) and build the shared libraries anyways.

You will also need to configure the build tree with --disable-thread-support if you are on HPUX 10 and do not have the DCE development package installed, because that's where the pthread.h header file is found. (We don't know if our code will work with such a package installed, because according to some HP documentation, their pthread.h has to be included before any other header files, and our code doesn't do that.)

If you use GCC, it may work, but some versions of GCC have omitted certain important preprocessor defines, like __STDC_EXT__ and __hpux.


 
 
  © 1985-2006 by the Massachusetts Institute of Technology - Reproduced with permission. Design by Interspire