Subject: | Install issues |
Date: | Fri, 27 Jul 2018 15:48:41 -0400 |
To: | bug-Tk-TableMatrix [...] rt.cpan.org |
From: | Timothe Litt <tlhackque [...] cpan.org> |
Subject: | Install issues |
To: | bug-Tk-TableMatrix [...] rt.cpan.org |
From: | Timothe Litt <tlhackque [...] cpan.org> |
Install fails on Perl 5.28.0, Linux:
cc -c
-I/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int/Tk
-I/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int/Tk/pTk
-I. -Ibitmaps -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2
-DVERSION=\"1.23\" -DXS_VERSION=\"0.9\" -fPIC
"-I/root/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.0/i686-linux-thread-multi-64int/CORE"
-Wall -Wno-implicit-int -Wno-comment -Wno-unused
-D__USE_FIXED_PROTOTYPES__ tkTable.c
{standard input}: Assembler messages:
{standard input}:4269: Error: symbol `pread64' is already defined
make[1]: *** [tkTable.o] Error 1
Below: cc version, perl -V & the full build log:
cc --version
cc (GCC) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
perl -V
Summary of my perl5 (revision 5 version 28 subversion 0) configuration:
Platform:
osname=linux
osvers=2.6.22.14-100
archname=i686-linux-thread-multi-64int
uname='linux overkill 2.6.22.14-100 #1 smp wed apr 8 18:07:54 edt
2015 i686 i686 i386 gnulinux '
config_args='-de -Dprefix=/root/perl5/perlbrew/perls/perl-5.28.0
-Dusethreads -Duse64bitint
-Aeval:scriptdir=/root/perl5/perlbrew/perls/perl-5.28.0/bin'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=undef
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
ccversion=''
gccversion='4.1.2 20070626 (Red Hat 4.1.2-13)'
gccosandvers=''
intsize=4
longsize=4
ptrsize=4
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=12
longdblkind=3
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 =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.5.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
Devel::PatchPerl 1.38
Built under linux
Compiled at Jul 17 2018 08:56:59
%ENV:
PERLBREW_BASHRC_VERSION="0.74"
PERLBREW_HOME="/root/.perlbrew"
PERLBREW_MANPATH="/root/perl5/perlbrew/perls/perl-5.28.0/man"
PERLBREW_PATH="/root/perl5/perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.28.0/bin"
PERLBREW_PERL="perl-5.28.0"
PERLBREW_ROOT="/root/perl5/perlbrew"
PERLBREW_VERSION="0.74"
@INC:
/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int
/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0
/root/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.0/i686-linux-thread-multi-64int
/root/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.0
===============
cpan install Tk::TableMatrix
CPAN: CPAN::SQLite loaded ok (v0.211)
CPAN: LWP::UserAgent loaded ok (v6.35)
Fetching with LWP:
http://mirrors.rit.edu/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v1.26)
Fetching with LWP:
http://mirrors.rit.edu/CPAN/modules/02packages.details.txt.gz
Fetching with LWP:
http://mirrors.rit.edu/CPAN/modules/03modlist.data.gz
Database was generated on Thu, 26 Jul 2018 17:56:41 GMT
Updating database file ...
Done!
Running install for module 'Tk::TableMatrix'
Fetching with LWP:
http://mirrors.rit.edu/CPAN/authors/id/C/CE/CERNEY/Tk-TableMatrix-1.23.tar.gz
CPAN: Digest::SHA loaded ok (v6.02)
Fetching with LWP:
http://mirrors.rit.edu/CPAN/authors/id/C/CE/CERNEY/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.074)
Checksum for
/root/.cpan/sources/authors/id/C/CE/CERNEY/Tk-TableMatrix-1.23.tar.gz ok
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: CPAN::Meta loaded ok (v2.150010)
Configuring C/CE/CERNEY/Tk-TableMatrix-1.23.tar.gz with Makefile.PL
### Note: 'Building Outside of Tk itself' Messages are Expected Here ####
/root/perl5/perlbrew/perls/perl-5.28.0/bin/perl is installed in
/root/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.0/i686-linux-thread-multi-64int
okay
PPM for perl5.028000
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0
Using -I/usr/include to find /usr/include/X11/Xlib.h
/root/.cpan/build/Tk-TableMatrix-1.23-0 does not start with
/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int
i.e. building outside Tk itself
/root/.cpan/build/Tk-TableMatrix-1.23-0/pTk does not start with
/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int
i.e. building outside Tk itself
Generating Dependencies for linux, win_arch=x
Test Compiling config/Hstrtoul.c
Test Compiling config/Hstrdup.c
Test Compiling config/Hstrcasecmp.c
Extracting mm.h
Extracting tkTable.c
Extracting tkTable.h
Extracting tkTableCell.c
Extracting tkTableCellSort.c
Extracting tkTableCmds.c
Extracting tkTableEdit.c
Extracting tkTableTag.c
Extracting tkTableUtil.c
Extracting tkTableWin.c
Extracting tkTableversion.h
Extracting version.h
Finding dependencies for tkTable.c
Finding dependencies for tkTableCell.c
Finding dependencies for tkTableCellSort.c
Finding dependencies for tkTableCmds.c
Finding dependencies for tkTableEdit.c
Finding dependencies for tkTableTag.c
Finding dependencies for tkTableUtil.c
Finding dependencies for tkTableWin.c
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Finding dependencies for TableMatrix.xs
Generating a Unix-style Makefile
Writing Makefile for Tk::TableMatrix
Writing MYMETA.yml and MYMETA.json
CERNEY/Tk-TableMatrix-1.23.tar.gz
/root/perl5/perlbrew/perls/perl-5.28.0/bin/perl Makefile.PL -- OK
Running make for C/CE/CERNEY/Tk-TableMatrix-1.23.tar.gz
CPAN: Module::CoreList loaded ok (v5.20180622)
cp TableMatrix/Spreadsheet.pm blib/lib/Tk/TableMatrix/Spreadsheet.pm
cp TableMatrix/SpreadsheetHideRows.pm
blib/lib/Tk/TableMatrix/SpreadsheetHideRows.pm
cp TableMatrix.pm blib/lib/Tk/TableMatrix.pm
AutoSplitting blib/lib/Tk/TableMatrix.pm (blib/lib/auto/Tk/TableMatrix)
cd pTk && make
make[1]: Entering directory `/root/.cpan/build/Tk-TableMatrix-1.23-0/pTk'
cp mm.h ../blib/arch/Tk/pTk/mm.h
cp tkTableversion.h ../blib/arch/Tk/pTk/tkTableversion.h
cp tkTable.h ../blib/arch/Tk/pTk/tkTable.h
cp version.h ../blib/arch/Tk/pTk/version.h
cc -c
-I/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int/Tk
-I/root/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/i686-linux-thread-multi-64int/Tk/pTk
-I. -Ibitmaps -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2
-DVERSION=\"1.23\" -DXS_VERSION=\"0.9\" -fPIC
"-I/root/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.0/i686-linux-thread-multi-64int/CORE"
-Wall -Wno-implicit-int -Wno-comment -Wno-unused
-D__USE_FIXED_PROTOTYPES__ tkTable.c
{standard input}: Assembler messages:
{standard input}:4269: Error: symbol `pread64' is already defined
make[1]: *** [tkTable.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/Tk-TableMatrix-1.23-0/pTk'
make: *** [pTk/libpTk.a] Error 2
CERNEY/Tk-TableMatrix-1.23.tar.gz
/usr/bin/make -- NOT OK
Message body not shown because it is not plain text.