Pixel wrote:
> 
> Stefan van der Eijk <[EMAIL PROTECTED]> writes:
> 
> > > > > > INSTALLMAN3DIR = /usr///lib/perl5/man/man3
> > > > > it means the rpm macros are not uptodate for alpha...
> > > > These rpm macro's?
> > > > diff macros /usr/lib/rpm/macros
> > > oups, it must be the perl that is buggy in that case.
> > > try:
> > > eval "`perl -V:installarchlib`"; echo $installarchlib
> 
> [...]
> 
> > Hmmm... looks normal...
> 
> well, i don't get it...

Maybe this is the clue:

perl -V on my intel box:
=================================================
[stefan@stefan OK]$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.16-5mdkmosix, archname=i386-linux
    uname='linux no.mandrakesoft.com 2.2.16-5mdkmosix #1 smp thu jul 6
11:50:34
cest 2000 i686 unknown '
    config_args='-des -Darchname=i386-linux -Dd_dosuid -Ud_csh
-Duseshrplib -Doptimize=-O3 -fomit-frame-pointer -pipe -s -march=pentium
-ffast-math -fexpensive-optimizations -Dprefix=/usr
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3'
    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='-O3 -fomit-frame-pointer -pipe -s -march=pentium
-ffast-math -fexpensive-optimizations', gccversion=2.95.3 19991030
(prerelease)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=/lib/libc-2.1.3.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.6.0/i386-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
 
 
Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Sep  2 2000 20:58:05
  @INC:
    /usr/lib/perl5/5.6.0/i386-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i386-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .
[stefan@stefan OK]$ 
============================================
normal, no? Now on my alpha box:
============================================
[stefan@alpha stefan]$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.15-4mdk, archname=alpha-linux
    uname='linux alpha.eijk.nl 2.2.15-4mdk #1 sun apr 16 00:23:08 cest
2000 alpha unknown '
    config_args='-des -Darchname=alpha-linux -Dd_dosuid -Ud_csh
-Duseshrplib -Doptimize=-O2 -mieee -Dprefix=/usr
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr///lib/perl5/man/man3'
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=define use64bitall=define uselongdouble=undef
usesocks=undef
  Compiler:
    cc='cc', optimize='-O2 -mieee', gccversion=2.95.3 19991030
(prerelease)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=8, ptrsize=8, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.6.0/alpha-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
 
 
Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under linux
  Compiled at Sep  3 2000 15:01:47
  @INC:
    /usr/lib/perl5/5.6.0/alpha-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/alpha-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005/alpha-linux
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .
[stefan@alpha stefan]$    

============================================
You see the -Dman3dir is also screwed up there? Something must have gone
wrong with that build. I've rpm -e perl perl-base perl-devel --nodeps
and installed the same packages (but built this week). Those packages
give a better perl -V output:

[stefan@alpha alpha]$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.15-4mdk, archname=alpha-linux
    uname='linux alpha.eijk.nl 2.2.15-4mdk #1 sun apr 16 00:23:08 cest
2000 alpha unknown '
    config_args='-des -Darchname=alpha-linux -Dd_dosuid -Ud_csh
-Duseshrplib -Doptimize=-O2 -mieee -Dprefix=/usr
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=define use64bitall=define uselongdouble=undef
usesocks=undef
  Compiler:
    cc='cc', optimize='-O2 -mieee', gccversion=2.95.3 19991030
(prerelease)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=8, ptrsize=8, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.6.0/alpha-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
 
 
Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under linux
  Compiled at Sep 11 2000 15:42:07
  @INC:
    /usr/lib/perl5/5.6.0/alpha-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/alpha-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005/alpha-linux
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .
[stefan@alpha alpha]$

Problem solved I guess... ;-) Apache (one of the packages affected) just
succesfuly compiled on my alpha!

Stefan

Reply via email to