PACKAGE NAME ------------ neko_perl SOURCE/VERSION -------------- perl-5.24.0 / 5 IRIX/MIPSPRO VERSION -------------------- 6.5.22m / 7.4.4m ENVIRONMENT VARIABLES --------------------- none - Q&A-style configure script instead CONFIGURE FLAGS --------------- I'll generously quote from Jason's previous entry :) : sh Configure -Dcc='cc -n32 -mips3' This kicks off the 100000 questions game. Luckily the defaults for almost all questions are correct. I'll list the ones that need amending/attention, in order. PS: You'll probably want to open this file in a real GUI text editor to make copy & paste easier and safer for long lines. 8< ---------------------------------------------------------------------------- Installation prefix to use? (~name ok) [/usr/local] /usr/nekoware Directories to use for library searches? [/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib /usr/lib64] /usr/nekoware/lib /usr/local/lib /usr/lib32 /lib32 /lib /usr/lib /usr/lib64 What libraries to use? [-lcl -lpthread -ldb -lm -lc] -lpthread -ldb -lm -lc What optimizer/debugger flag should be used? [-O3 -OPT:Olimit=0:space=ON] -O2 -OPT:Olimit=0 Any additional ld flags (NOT including libraries)? [ -Wl,-woff,84 -L/usr/local/lib] -Wl,-woff,84 -L/usr/nekoware/lib What is your architecture name [IP22-irix] irix-n32 Directory for the main Perl5 html pages? (~name ok) [none] /usr/nekoware/share/doc/perl Directory for the Perl5 module html pages? (~name ok) [none] /usr/nekoware/share/doc/perl/modules Where do the main Perl5 manual pages (source) go? (~name ok) [none] /usr/nekoware/share/man/man1 Where do the perl5 library man pages (source) go? (~name ok) [none] /usr/nekoware/share/man/man3 Pathname where the site-specific html pages should be installed? (~name ok) [/usr/nekoware/share/doc/perl] /usr/nekoware/doc/perl Pathname where the site-specific library html pages should be installed? (~name ok) [/usr/nekoware/share/doc/perl/modules] /usr/nekoware/doc/perl/modules Pathname where the site-specific manual pages should be installed? (~name ok) [/usr/nekoware/share/man/man1] /usr/nekoware/man/man1 Pathname where the site-specific library manual pages should be installed? (~name ok) [/usr/nekoware/share/man/man3] /usr/nekoware/man/man3 8< ---------------------------------------------------------------------------- Note: There is a question about socket struct size type. Previously, this file recommended changing the type to socklen_t: What is the type for socket address structure sizes? [int] socklen_t But the type parameter of the struct size is actually an integer as seen in 'man connect(3n)': #include connect(int s, caddr_t name, int namelen); ... Use the structure appropriate to the address family; cast the structure address to a generic caddr_t in the call to connect() and pass the size of the structure in the length argument. So my recommendation is to keep the default 'int' Then it's all ready to roll for compilation, testing and installation: gmake gmake test gmake install gmake install.html # move the HTML docs to a more IRIX-typical place mkdir -p /usr/nekoware/share/doc/perl rm -rf /usr/nekoware/share/doc/perl/html mv /usr/nekoware/lib/perl5/5.24.0/html /usr/nekoware/share/doc/perl # move the threaded executable to thrperl mv /usr/nekoware/bin/perl /usr/nekoware/bin/thrperl rm /usr/nekoware/bin/perl5.24.0 ln -s /usr/nekoware/bin/thrperl /usr/nekoware/bin/thrperl5.24.0 mv /usr/nekoware/bin/perlivp /usr/nekoware/bin/thrperlivp # now do it all again without threads gmake distclean ... do it all again, starting from Configure ... and enjoy it this time ;-) Oh, btw, tests went fine, but on my Challenge S two caused problems. This has probably something to do with building it on an NFS filesystem. Running the tests outside the make environment proved successful: cyane:/home/frank/src/perl-5.24.0/t> ./perl harness op/stat.t op/stat.t .. ok All tests successful. Files=1, Tests=118, 6 wallclock secs ( 0.98 usr 0.08 sys + 1.91 cusr 0.42 csys = 3.39 CPU) Result: PASS cyane:/home/frank/src/perl-5.24.0/t> ./perl harness re/speed.t re/speed.t .. ok All tests successful. Files=1, Tests=58, 71 wallclock secs ( 1.05 usr 0.10 sys + 57.70 cusr 7.99 csys = 66.84 CPU) Result: PASS If the package supports split mips3/mips4 builds (which this version does) pay attention to five scripts which are also ARCH dependent: /usr/nekoware/bin/cppstdin /usr/nekoware/lib/perl5/5.24.0/irix-n32/Config.pm /usr/nekoware/lib/perl5/5.24.0/irix-n32/Config_heavy.pl /usr/nekoware/lib/perl5/5.24.0/irix-n32-thread-multi/Config.pm /usr/nekoware/lib/perl5/5.24.0/irix-n32-thread-multi/Config_heavy.pl ... since they contain mips3/mips4 strings. KNOWN DEPENDENCIES ------------------ none ERRORS/MISCELLANEOUS -------------------- - Version 2 of this tardist had the XML::Parser module included. I've not added that to this tardist since modules should be in their own packages. - Previous comment from Jason: "Future versions of Perl are unlikely to be well supported on IRIX as it's clearly not a platform the main developers work with anymore. Perl 5.10.0 doesn't compile cleanly, and Perl 5.10.1 compiles but fails one of its tests." I think it is still being maintained by Jarkko Hietaniemi and apart from the fixable two tests in non-threaded Perl (the threaded Perl passes without errors) everything seems to be fine. Note that you should build with -O2 several test fail when compiling with -O3 2 5.8.4 Frank Everdij 3 5.8.8 Steffen M. Boelaars 4 5.8.9 Jason Patterson (jason@lighterra.com) 5 5.24.0 Frank Everdij (dexter1)