[Speedycgi-users] SpeedyCGI on HPUX 10.20
Brought to you by:
samh
|
From: <rcp...@ya...> - 2002-07-30 15:57:20
|
Dear all,
I am having a problem installing SpeedyCGI on HPUX
10.20. I don't have root access, so I am currently
trying to install it under my home directory, e.g.
perl Makefile.PL prefix=$HOME
which works fine. However, when I try to do a 'make',
the compilation continues until the object files are
about to be linked together. I get the following
error:
ld -o speedy_backend speedy_backend_main.o
speedy_perl.o speedy_util.o speedy_sig.o
speedy_frontend.o speedy_backend.o speedy_file.o
speedy_slot.o speedy_poll.o speedy_ipc.o
speedy_group.o speedy_script.o speedy_opt.o
speedy_optdefs.o xsinit.o -Wl,-E -Wl,-B,deferred
-L/usr/local/lib
/opt/perl5/lib/5.6.0/PA-RISC1.1/auto/DynaLoader/DynaLoader.a
-L/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -lperl -lnsl_s
-lndbm -ldld -lm -lc -lndir -lcrypt -lsec
ld: Unrecognized argument: -Wl,-E
ld: Usage: ld flags... files...
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
It looks like the ld command does not like the -Wl,-E
option (and presumably the -Wl,-B,deferred option
too). The output of perl -V is:
Summary of my perl5 (revision 5.0 version 6 subversion
0) configuration:
Platform:
osname=hpux, osvers=10.20, archname=PA-RISC1.1
uname='hp-ux fdhp b.10.20 c 9000831 2002997242
32-user license '
config_args='-de'
hint=recommended, useposix=true,
d_sigaction=define
usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef
uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_HPUX_SOURCE -Aa'
ccflags =' -D_HPUX_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Ae'
stdchar='unsigned char', d_stdstdio=define,
usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
-lsec
libc=/lib/libc.sl, so=sl, useshrplib=false,
libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef,
ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+z', lddlflags='-b +vnocompatwarnings
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Apr 26 2000 16:12:40
@INC:
/opt/perl5/lib/5.6.0/PA-RISC1.1
/opt/perl5/lib/5.6.0
/opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1
/opt/perl5/lib/site_perl/5.6.0
/opt/perl5/lib/site_perl
.
The documentation doesn't seem to suggest that it
won't compile on HPUX - though the OSs listed doesn't
include HPUX.
Has something gone wrong when perl was installed that
somehow mangled the 'ccdlflags' setting of Config.pm?
Or am I barking up the wrong tree?
Any clues how I might fix this?
Thanks,
Rajesh Parmar
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
|