Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2009 20:26:47 +1300
From:      Glenn and Sheryal <g.todd@internet.co.nz>
To:        freebsd-ports@freebsd.org
Subject:   gscan2pdf Perl errors
Message-ID:  <1257751607.1255.18.camel@localhost>

next in thread | raw e-mail | index | archive | help
I am getting the following error when I attempt to run gscan2pdf on a
newly built system.  The port was installed using portinstall.  

Can't locate Sys/SigAction.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at /usr/local/lib/perl5/site_perl/5.8.9/mach/forks/signals.pm line 10.
BEGIN failed--compilation aborted
at /usr/local/lib/perl5/site_perl/5.8.9/mach/forks/signals.pm line 10.
Compilation failed in require
at /usr/local/lib/perl5/site_perl/5.8.9/mach/forks.pm line 83.
BEGIN failed--compilation aborted
at /usr/local/lib/perl5/site_perl/5.8.9/mach/forks.pm line 84.
Compilation failed in require at /usr/local/bin/gscan2pdf line 105.
BEGIN failed--compilation aborted at /usr/local/bin/gscan2pdf line 105.
Undefined subroutine &threads::_END called at (eval 1) line 1.
END failed--call queue aborted.

So I tried to portinstall devel/p5-Sys-SigAction and although it
reported that it was looking good it failed to compile.  What am I doing
wrong?  

Glenn

--->  Installing 'p5-Sys-SigAction-0.11' from a port
(devel/p5-Sys-SigAction)
--->  Building '/usr/ports/devel/p5-Sys-SigAction'
===>  Cleaning for p5-Sys-SigAction-0.11
===>  Vulnerability check disabled, database not found
===>  Extracting for p5-Sys-SigAction-0.11
=> MD5 Checksum OK for Sys-SigAction-0.11.tar.gz.
=> SHA256 Checksum OK for Sys-SigAction-0.11.tar.gz.
===>   p5-Sys-SigAction-0.11 depends on file: /usr/local/bin/perl5.8.9 -
found
===>  Patching for p5-Sys-SigAction-0.11
===>   p5-Sys-SigAction-0.11 depends on file: /usr/local/bin/perl5.8.9 -
found
===>   p5-Sys-SigAction-0.11 depends on
file: /usr/local/lib/perl5/site_perl/5.8.9/Test/More.pm - found
===>   p5-Sys-SigAction-0.11 depends on file: /usr/local/bin/perl5.8.9 -
found
===>  Configuring for p5-Sys-SigAction-0.11
Checking for Microsoft Windows... (not supported)
Checking for multi-threaded Perl... (warning)
Checking support for signals... (required)
Checking support for POSIX::sigaction... (required)
Checking for armv5tejl... (not supported)
Checking if your kit is complete...
Looks good
** Command failed [exit code 1]: /usr/bin/script
-qa /tmp/portinstall20091109-2598-15qs214-0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! devel/p5-Sys-SigAction	(unknown build error)

Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
  Platform:
    osname=freebsd, osvers=7.2-release-p4, archname=i386-freebsd-64int
    uname='freebsd hawk 7.2-release-p4 freebsd 7.2-release-p4 #0: fri
oct 2 12:21:39 utc 2009
root@i386-builder.daemonology.net:usrobjusrsrcsysgeneric i386 '
    config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.9/mach
-Dprivlib=/usr/local/lib/perl5/5.8.9
-Dman3dir=/usr/local/lib/perl5/5.8.9/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.9/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.9
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.9/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"
-Doptimize=-O2 -fno-strict-aliasing -pipe -Ud_dosuid -Ui_gdbm
-Dusethreads=n -Dusemymalloc=y -Duse64bitint'
    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=y, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include',
    optimize='-O2 -fno-strict-aliasing -pipe',
    cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070719  [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=-lgdbm -lm -lcrypt -lutil
    perllibs=-lm -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.8.9/mach/CORE'
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT
                        USE_FAST_STDIO USE_LARGE_FILES USE_PERLIO
  Locally applied patches:
	defined-or
  Built under freebsd
  Compiled at Nov  8 2009 21:31:57
  @INC:
    /usr/local/lib/perl5/5.8.9/BSDPAN
    /usr/local/lib/perl5/site_perl/5.8.9/mach
    /usr/local/lib/perl5/site_perl/5.8.9
    /usr/local/lib/perl5/5.8.9/mach
    /usr/local/lib/perl5/5.8.9




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1257751607.1255.18.camel>