develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH: perl@11238] dynixptx updates for osvers='4.5.2'

Thread Next
Peter Prymmer
July 10, 2001 15:28
[PATCH: perl@11238] dynixptx updates for osvers='4.5.2'
Message ID:


I am not too sure about what has become of DYNIX/ptx since IBM bought
out Sequent, but I found the following patch necessary to get
perl@11238 to build on `uname -v`=V4.5.2 at least.

Files affected:

    MANIFEST                          # add new ext hint file
    ext/Time/HiRes/hints/  # hint similar to
    hints/                 # expand osvers matching to 4.5.x

I note that this latter hints tweak does result in a "WHOA THERE!!!"
while running `sh Configure -des` like so:

 <sys/types.h> found.
 Hmm... You don't have Berkeley networking in libc.a...
 ...but you seem to believe that you have sockets.
 socketpair() NOT found.
 *** WHOA THERE!!! ***
     The recommended value for $d_sockpair on this machine was "define"!
     Keep the recommended value? [y]
 Checking the availability of certain socket constants...

But at least the compile can get through pp_sys.c now (indeed I found only
a single test "failure" in t/op/grent.t test #1 which I suppose is most
likely a problem with our local NIS/local group config peculiarities,
hence I do not propose to do anything about it in this patch).

diff -ruN perl_11238/MANIFEST perl/MANIFEST
--- perl_11238/MANIFEST	Mon Jul  9 07:09:38 2001
+++ perl/MANIFEST	Tue Jul 10 15:12:30 2001
@@ -542,6 +542,7 @@
 ext/Thread/unsync3.tx		Test thread implicit synchronisation
 ext/Thread/unsync4.tx		Test thread implicit synchronisation
 ext/Time/HiRes/Changes		Time::HiRes extension
+ext/Time/HiRes/hints/	Hint for Time::HiRes for named architecture
 ext/Time/HiRes/hints/	Hints for Time::HiRes for named architecture
 ext/Time/HiRes/		Time::HiRes extension
 ext/Time/HiRes/HiRes.t		Test for Time::HiRes
diff -ruN perl_11238/ext/Time/HiRes/hints/ perl/ext/Time/HiRes/hints/
--- perl_11238/ext/Time/HiRes/hints/	Wed Dec 31 16:00:00 1969
+++ perl/ext/Time/HiRes/hints/	Tue Jul 10 15:09:24 2001
@@ -0,0 +1,5 @@
+# uname -v
+# V4.5.2
+# needs to explicitly link against libc to pull in usleep
+$self->{LIBS} = ['-lc'];
diff -ruN perl_11238/hints/ perl/hints/
--- perl_11238/hints/	Mon Jul  9 07:10:19 2001
+++ perl/hints/	Tue Jul 10 15:15:31 2001
@@ -44,7 +44,7 @@
 # Jarkko Hietaniemi November 1998
 case "$osvers" in
-4.4*) # configure doesn't find sockets, as they're in libsocket, not libc
+4.[45]*) # configure doesn't find sockets, as they're in libsocket, not libc
End of Patch.

Peter Prymmer

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About