[Persistentperl-users] Problem with getting PersistentPerl 2.21 working on HP/UX using GCC
Brought to you by:
samh
From: Martin H. <mho...@de...> - 2003-02-20 09:09:49
|
I am trying to build PersistenPerl 2.21 against perl 5.8.0 on a HP/UX 11.0 machine (PARISC 1.1 CPU). The C compiler I am using is gcc version 3.2 for PARISC (32 bit version). At first I had the same problem as Jess with the '-Wl,-E' linker options. However I solved this not by deleting them but by tracking down in src/PersistentMake.pl line 337 $remove_libs \$(LD) -o ${my_name_val} \$(OBJECT) $ldopts I made into $remove_libs \$(CC) -o ${my_name_val} \$(OBJECT) $ldopts As the C compiler knows to strip the '-Wl' off the front of the argument before passing the -E to the linker. This one tweak means that PersistentPerl builds and links. However I get semi random failures in the test suite. I have already raised a bug in sourceforge about this - see http://sourceforge.net/tracker/index.php?func=detail&aid=681085&group_id=62848&atid=502016 In short I get "temp file corrupt" messages and some of the tests fail, but not the same ones each time, which leads me to believe the problem is something more deep rooted than what the tests are testing for. Has anyone managed to get PersistentPerl working using the HP Ansi C compiler? I would like to know if the problem I am seeing is just because I am using GCC rather than the 'official' (but expensive) compiler. -- Martin Houston Linux Consultant mho...@de... Phone: 07970 850961 |