[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: ./configure --prefix fails
- From: Tobias Oetiker <nospam@thanx>
- Date: Thu, 5 Aug 1999 23:32:52 +0200 (MET DST)
Today you sent me mail regarding Re: ./configure --prefix fails:
*> On Fri, 30 Jul 1999, Tobias Oetiker wrote:
*>
*> > Folks,
*> >
*> > I just tried to compile wml (latest SNAP) on several systems here at SDSC and found that
*> > there are still problems with the --prefix for systems where siteperl is not
*> > installed in a standard location ... there seem to be some issues with
*> > MakeMaker in connection with regexp maching on the site-perl path ...
*> >
*> > Anyhow, I suggest to add some apropriate perl -0777 -p -e 's|....|ddd|g' code
*> > to fix the output of Maefile.PL to make sure the modules actually get
*> > installed within the the wml install tree and not in the site-perl directory
*> > ..
*>
*> Hi tobias,
*>
*> could you send me more infos on those systems, e.g. the Config.pm and the
*> location of your perl system?
for example this one:
> perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='freebsd freefall.freebsd.org 4.0-current freebsd 4.0-current #0:
$Date: 1999/05/
05 19:42:40 $'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='undef', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2
release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E'
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.3
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-shared'
Characteristics of this binary (from libperl):
Built under freebsd
Compiled at May 18 1999 02:56:17
@INC:
/usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
.
------------------------------------
the problem is somewhere in perl/5.00503/ExtUtils/MM_Unix.pm
this module tries to handle the PREFIX argument in MakeMaker it does this by
regexp matching to the @INC contents (I thing) unfortunately it fails
sometimes and the modules will endup in the site_perl dir instead of below
PREFIX ...
cheers
tobi
*> Denis
*>
*>
*> ______________________________________________________________________
*> Website META Language (WML) www.engelschall.com/sw/wml/
*> Official Support Mailing List sw-wml@engelschall.com
*> Automated List Manager majordomo@engelschall.com
*>
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker@ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com