Stunnel 5.17 builds, 5.18 does not - AIX 6.1 - pod2man does not accept "-v"

Michal, I was able to build Stunnel 5.17 on AIX 6.1 using the "build" command, after completely removing the entire section for "-fstack-protector" in "configure" (my "stunnel-5.17.patch" file below). I used the following commands: mkdir $HOME/stunnel-bin-5.17 gzip -dc stunnel-5.17.tar.gz | tar xvf - patch -p0 <stunnel-5.17.patch cd stunnel-5.17 chmod 755 configure; ./configure --prefix=$HOME/stunnel-bin-5.17 make; make install However, for 5.18, those same commands (and patch file) no longer result in a successful compile due to AIX 6.1 not accepting the "-u" (Unicode) for pod2man. I looked into 5.17 and it looks like the same Makefiles are used in both (doc/Makefile.in and doc/Makefile.am) so perhaps the top-level Makefile for 5.18 adds the ".pod.8" file to the build process. Removing the "-u" in both files enables the build to complete. I just tested against Stunnel 5.19 but it looks like the step that ran "pod2html" was skipped by default (i.e., just "make") so I am able to compile stunnel correctly. Thanks for fixing this in Stunnel 5.19! For those that need the .pod.8 man pages on AIX 6.1, you'll need to remove the "-u" in the pod2man command. Regards, -Rob

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Rob, Thank you for sharing your thoughts. I provide pre-built .8.in and .html.in files to prevent the required tools from becoming mandatory build prerequisites. As you noticed, this also helps with dealing with different syntax of different versions of those tools. I guess your AIX GCC package maintainer might want to either provide the required runtime library for the stack protector feature, or to disable the feature completely. Leaving it broken is not a good idea. Mike On 17.06.2015 00:27, Rob Lockhart wrote:
Michal,
I was able to build Stunnel 5.17 on AIX 6.1 using the "build" command, after completely removing the entire section for "-fstack-protector" in "configure" (my "stunnel-5.17.patch" file below). I used the following commands:
mkdir $HOME/stunnel-bin-5.17 gzip -dc stunnel-5.17.tar.gz | tar xvf - patch -p0 <stunnel-5.17.patch cd stunnel-5.17 chmod 755 configure; ./configure --prefix=$HOME/stunnel-bin-5.17 make; make install
However, for 5.18, those same commands (and patch file) no longer result in a successful compile due to AIX 6.1 not accepting the "-u" (Unicode) for pod2man. I looked into 5.17 and it looks like the same Makefiles are used in both (doc/Makefile.in and doc/Makefile.am) so perhaps the top-level Makefile for 5.18 adds the ".pod.8" file to the build process. Removing the "-u" in both files enables the build to complete.
I just tested against Stunnel 5.19 but it looks like the step that ran "pod2html" was skipped by default (i.e., just "make") so I am able to compile stunnel correctly. Thanks for fixing this in Stunnel 5.19! For those that need the .pod.8 man pages on AIX 6.1, you'll need to remove the "-u" in the pod2man command.
Regards, -Rob
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVgSe6AAoJEC78f/DUFuAUsikP/0lUOdOOhS6wlsqkgLYLiZiV Jhz+J2jfyKIQekJdUMoibkbzhzIU7ipptR93vDIvpvRXFjDMrs8I1Jh4YWHsmZG6 lAxO1E/P8ymtH1oGjovX0xYU/skT4Fu+ueoN7ePnBhVUjimTGH2nCQUwrwZbqbcD Z+OPX3tMrDu7TFbBOHaV9AW9LrD9C7tqOy0OFuEl2YISeOP8XAdqBbaJfGTu6Isa 1SHHkSuWUDM8xII0IPATXItCY/xP6POJ6DHvuD2CAe6q+ieB2hGD1XEcnc1R8dT8 WC+5uQYzUlLIdBYOCjW0ZkylGoH/pBrXsS5joLCBj6KWj4TTUdR9YKKTN7s7CLvs uQR6KfKfTLdKXFRFxO5MnLmIafUazzx1/Q8d41kF8LnZ/8JvJ9SMtwejmWeZKgOo 1ffB39fN1fNBe+GtJgDj4sElN8fHzyih43Fax5LAUuEZK0d8HinQVVqvoMi0TTx9 ak/AtvRihF51pzGEnQ2o4lPOpaRcdK0EySX/deEzx9OZS05Zm8/jP4s3NfbWRVks H27qKSWO4bEZzOsq/B9IRGnSPLTDrTY92PXf8db7h5a0FQ7fy67QwTu5g/We8C6F 0WJNyN94eg3Ip/wUTfLvUawHOZDXmd5/vA9ph81qJScM6Ueq8cm2jgNr1cQUXFn2 nh0fHehT/GoFSN2haBmG =gDjp -----END PGP SIGNATURE-----
participants (2)
-
Michal Trojnara
-
Rob Lockhart