> On Mar 11, 2016, at 9:25 AM, H.Merijn Brand via RT <r...@openssl.org> wrote: > > https://github.com/openssl/openssl/issues/806 > > Let me take HP-UX 11.11/PA2 as an example. > Up to and including 1.0.1r, I just unpacked from the > distributes .tar.gz and ran > > $ ./Configure zlib zlib-dynamic no-asm hpux64-parisc2-cc > $ perl -pi -e's/\+O3/+O2 +Z -AC99/‘ Makefile
Yeah, don’t do this. Instead, install HP’s ANSI C/C++ compiler (or whatever they’re calling it these days). You can often (but not always) obtain it for free. HP also makes pre-compiled binaries for GCC available (and if not — sometimes they disappear), you can find a GCC package for your version of HP-UX at http://hpux.connect.org.uk/ I think they only have packages for HP-UX 11.11 and newer, though. Likewise, HP is unlikely to be providing binaries for anything older than that. > $ make > $ make test > $ make install > > And all went well. > As of 1.0.1s, a new tool is required that is not available in HP-UX > land: makedepend > > $ ./Configure zlib zlib-dynamic no-asm hpux64-parisc2-cc > ⋮ > make[1]: Leaving directory `/pro/3gl/openssl-1.0.1s/test' > > Configured for hpux64-parisc2-cc. > > *** Because of configuration changes, you MUST do the following before > *** building: > > make depend > $ make depend > making depend in crypto... > make[1]: Entering directory `/pro/3gl/openssl-1.0.1s/crypto' > ../util/domd[30]: makedepend: not found. > mv: Makefile.new: cannot access: No such file or directory > make[1]: *** [local_depend] Error 127 > make[1]: Leaving directory `/pro/3gl/openssl-1.0.1s/crypto' > make: *** [depend] Error 1 > > The makedepend tool is very hard to build from scratch on HP-UX, as it > depends on a plethora of (recent) GNU tools that are obviously also not > available on HP-UX. I build a lot of OpenSource projects on HP-UX, and > this is the first that needs makedepend. Building makedepend requires > pkg-config, which also fails to build. > > For 11.11, makedepend is available in HP's imake package (imake-6.00 > from 2002), if I install that, I do have makedepend, but it might not > do what is expected: I have no way to tell. That is _exactly_ what you want, if you really want to use makedepend, which you probably don't. Don’t try to build the GNU makedepend; it’ll work, but it has a lot of dependencies, as you’ve noticed. > $ perl -pi -e's/\+O3/+O2 +Z -AC99/' Makefile > $ make depend > ⋮ > $ make > ⋮ > $ make test > ⋮ > rc4-40 > rc4-40 base64 > seed > seed base64 > seed-cbc > seed-cbc base64 > seed-cfb > seed-cfb base64 > seed-ecb > seed-ecb base64 > seed-ofb > seed-ofb base64 > zlib > 9223376434892769432:error:25066067:DSO support routines:DLFCN_LOAD:could not > load the shared library:dso_dlfcn.c:187:filename(libz.so): Unable to find > library 'libz.so'. > 9223376434892769432:error:25070067:DSO support routines:DSO_load:could not > load the shared library:dso_lib.c:232: > 9223376434892769432:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not > supported:c_zlib.c:463: > 9223376434892769432:error:25066067:DSO support routines:DLFCN_LOAD:could not > load the shared library:dso_dlfcn.c:187:filename(libz.so): Unable to find > library 'libz.so'. > 9223376434892769432:error:25070067:DSO support routines:DSO_load:could not > load the shared library:dso_lib.c:232: > 9223376434892769432:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not > supported:c_zlib.c:463: > cmp: EOF on ./p.zlib.clear > make[1]: *** [test_enc] Error 1 > make[1]: Leaving directory `/pro/3gl/openssl-1.0.1s/test' > make: *** [tests] Error 2 > > That used to pass. The problem in above fail is that something is told > to look for libz.so, where on HP-UX/PA the naming convention for shared > libraries is libz.sl I did not spot an obvious location in the build > procedure to fix that > > So > > Where does the sudden need for makedepend come from and can it please > be removed? (as there are no packages available anywhere that make > makedepend available for HP-UX 11.00 and older, they are ruled out > forgood by this change) If you use HP’s ANSI C compiler, or GCC, you won’t need makedepend. If you’re using HP-UX prior to 11.11 (well, I’m not sure about prior to 9.0), the imake package (and makedepend) are part of the base install; just run swinstall and point it to the original HP-UX media, and you should be able to install it. For HP-UX 11.23, IIRC, the imake package will work, but I might be mis-remembering (it’s been a long time). > Where should I look for having PA-RISC search for .sl instead of .so > > (Note that AIX only has .a, and it is shared by default) > > -- > H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ > using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE > http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ > http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/ > > -- > Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4416 > Please log in as guest with password guest if prompted > > <Mail Attachment>-- > openssl-dev mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev