Forum: Cfengine Help Subject: Re: HP-UX 11.31 PA-RISC - openssl libraries not linking? Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,18011,18016#msg-18016
You can download cfengine 3.0.5p1 binaries for PA-RISC and ia64 from the HP-UX Porting and Archive Center at http://hpux.connect.org.uk/hppd/hpux/Sysadmin/cfengine-3.0.5p1/ Be sure to get all of the prerequisite packages including bison, flex, gettext, libiconv, m4, openldap, pcre, popt and termcap. If you want to compile your own you should compile with the HP C/C++ compiler (B9007AA) because the code will be optimized for PA-RISC. If you don't have it you can download a 60-day trial version. To successfully compile cfengine 3.0.5p1 add the following lines into the configure script. These can be added after the “Installation directory options” section: if [ "`uname -s`" = "HP-UX" ] then export prefix="/usr/local" export PATH="$prefix/bin:$PATH" if [ "`uname -m`" = "ia64" ] then export libdir="$prefix/lib/hpux32" fi export CC="cc" export CFLAGS="-O -I$prefix/include -I/usr/contrib/X11R6/include" export CXX="/opt/aCC/bin/aCC" export CPPFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS" export LDFLAGS="-Wl,+b -Wl,$libdir -L$libdir -L/usr/contrib/X11R6/lib" export F77="/bin/true" export RANLIB="/bin/true" export enable_shared="yes" export enable_static="yes" fi You will still need all of the prerequisites mentioned above from the Porting and Archive Center. I have successfully compiled cfengine3 on HP-UX 11i v3 using the above. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine