Newbie - Already enamoured with prima.

From: Andrew Bramble <andrewb_at_omnilab.com.au>
Date: 19 Oct 2003 21:17:08 +1000
To: prima_at_prima.eu.org

Hello,

My congratulations to the developers of prima. I have sucessfully built
prima 1.12 on rh7.3 , abut I am having difficulty with make on
yellowdog.

During make, the build exits with

/usr/lib/perl5/5.8.0/ppc-linux-thread-multi/CORE/reentr.h:602: field
`_crypt_struct' has incomplete type
In file included from
/usr/lib/perl5/5.8.0/ppc-linux-thread-multi/CORE/perl.h:3368,
                 from include/apricot.h:86,
                 from include/img.h:34,
                 from img/codec_Xpm.c:45:

My next step is recompile perl from source instead of 'yum install perl'
which gives me 5.8.0.

Should I downgrade to 5.6.1 or try building 5.8.1 from source?

-Andrew.

perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.20-5asmp, archname=ppc-linux-thread-multi
    uname='linux skyfox.terraplex.com 2.4.20-5asmp #1 smp sun feb 2
00:59:35 est 2003 ppc ppc ppc gnulinux '
    config_args='-des -Doptimize=-O2 -fsigned-char
-Dmyhostname=localhost -Dperladmin=root_at_localhost -Dcc=gcc -Dcf_by=Terra
Soft Solutions, Inc. -Dinstallprefix=/usr -Dprefix=/usr
-Darchname=ppc-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib
-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -fsigned-char',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-I/usr/include/gdbm'
    ccversion='', gccversion='3.2.1 20021207 (Red Hat Linux 8.0
3.2.1-2)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/ppc-linux-thread-multi/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Feb 16 2003 19:33:02
  @INC:
    /usr/lib/perl5/5.8.0/ppc-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/ppc-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/ppc-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
Received on Thu 23 Oct 2003 - 02:00:28 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:05 CET