Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 4685
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: garee [...] hp.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.21
Fixed in: (no value)



Subject: Module::Build link failures on HP-UX
I've had several failures when installing Modules which use Module::Build. What I've found is ccflags is included from Config.pm, but cccdlflags (cflags for compiling dynamic libs) is not included. Perl on HP-UX sets cccdlflags to "+Z" for producing relocatable code when building objects for shared libraries. My current fix is to expand ccflags to include both $ccflags and $cccdlflags from Config.pm: my @ccflags = ($self->split_like_shell($cf->{ccflags}), $self->split_like_shell($cf->{cccdlflags})); Your call if you'd rather have an independent config variable.
From: garee [...] hp.com
[guest - Mon Dec 15 16:53:30 2003]: I guess it would have been useful to include the error produced during compilation. Here it is. Note it can be for whatever Module/file is being installed, not just for Module::Build. 1036 DP relative code in file XXXXX - shared library must be position independent. Use +z or +Z to recompile.
Fixed in release 0.21_01