From: Bruce P. Schuck Date: Fri, 5 Sep 1997 00:00:00 +0000 (+0000) Subject: Dynixptx hints X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ebb5e036b06bdbdf80d13d81c589d66a1818c276;p=p5sagit%2Fp5-mst-13.2.git Dynixptx hints Before I say anything else, let me say that the O'Reilly Perl Conference was super! In compiling Perl5.004_1 on our Sequent boxes running DYNIX/ptx 4.0 V4.2.1 we found that we had to add the following ccflags and cppflags to get the sockets io to work. cppflags='-Wc,+abi-socket -I/usr/local/include' ccflags='-Wc,+abi-socket -I/usr/local/include' This also could have been set by setting an environment variable _SEQUENT_CC_=-Wc,+abi-socket before compiling. I have attached an snippet of the socket(3N) man pages as well. This also must be noted when compiling and adding other modules as well. p5p-msgid: Pine.PTX.3.95.971002104651.12112G-200000@lancelot.aps.org --- diff --git a/hints/dynixptx.sh b/hints/dynixptx.sh index 55824f6..78a45e4 100644 --- a/hints/dynixptx.sh +++ b/hints/dynixptx.sh @@ -15,3 +15,10 @@ libswanted=`echo $libswanted | sed -e 's/ inet / /'` # Configure defaults to usenm='y', which doesn't work very well usenm='n' +# Reported by bruce@aps.org ("Bruce P. Schuck") as needed for +# DYNIX/ptx 4.0 V4.2.1 to get socket i/o to work +# Not defined by default in case they break other versions. +# These probably need to be worked into a piece of code that +# checks for the need for this setting. +# cppflags='-Wc,+abi-socket -I/usr/local/include' +# ccflags='-Wc,+abi-socket -I/usr/local/include'