Hi all,

I posted this to comp.lang.perl.misc and was given a link to this list. Hopefully this 
is appropriate for the list.

I just installed the PAR-0.75 package from CPAN and while all tests passed OK I'm 
having a few problems.

It seems the 'parl' script that gets installed with it is munged. When I run the 
following:

mdb:~/temp> pp -e 'print "HELLO!\n"' -o hello

I get:

/usr/local/bin/parl: FILE837fb41f/PAR.pmH#line: not found
/usr/local/bin/parl: 80: Syntax error: ";" unexpected

I checked the parl script and the first two lines were some kind of garbage. I removed 
them and added '#!/usr/local/bin/perl' and now I get:

Unrecognized character \x15 at /usr/local/bin/parl line 436.

Line 436 is in the middle of a comment.

I just tried the previous version (0.74) and got the same problem.

I looked further into the parl script and found more lines that had garbage like:

[EMAIL PROTECTED]@^U4c1372fb/PAR/[EMAIL PROTECTED]@N2#line 1 "../blib/lib/PAR/Heavy.pm"

(or something similar - the file names change)

Commenting out these lines results in:

Global symbol "%DLCache" requires explicit package name at /usr/local/bin/parl line 43.
Global symbol "%DLCache" requires explicit package name at /usr/local/bin/parl line 43.
Global symbol "%DLCache" requires explicit package name at /usr/local/bin/parl line 70.
Global symbol "%DLCache" requires explicit package name at /usr/local/bin/parl line 74.
Global symbol "%DLCache" requires explicit package name at /usr/local/bin/parl line 85.
Global symbol "%FullCache" requires explicit package name at /usr/local/bin/parl line 
94.
Global symbol "%DLCache" requires explicit package name at /usr/local/bin/parl line 95.
Global symbol "%FullCache" requires explicit package name at /usr/local/bin/parl line 
95.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/parl line 175

In case its important, perl -V gives:

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=freebsd, osvers=4.8-release, archname=i386-freebsd-64int
    uname='freebsd app 4.8-release freebsd 4.8-release #1: thu may 1 12:03:49 est 2003 
[EMAIL PROTECTED]:usrobjusrsrcsysapp i386 '
    config_args='-Accflags=-DAPPLLIB_EXP=\"/usr/local/lib/perl-local\"'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-DAPPLLIB_EXP="/usr/local/lib/perl-local" -fno-strict-aliasing -I/usr/local/include',
    optimize='-O',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-DAPPLLIB_EXP="/usr/local/lib/perl-local" -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Built under freebsd
  Compiled at Oct 15 2003 16:59:35
  @INC:
    /usr/local/lib/perl-local
    /usr/local/lib/perl5/5.8.1/i386-freebsd-64int
    /usr/local/lib/perl5/5.8.1
    /usr/local/lib/perl5/site_perl/5.8.1/i386-freebsd-64int
    /usr/local/lib/perl5/site_perl/5.8.1
    /usr/local/lib/perl5/site_perl
    . 

The strange things is that a previous install of PAR on perl 5.8.0 worked fine. Is 
there something about perl 5.8.1 or 64bit ints that may be causing a problem?

MB

Reply via email to