Well, I made a clean install of the distro and built perl as user.
/opt was empty and
/opt/perl-5.26.3/bin/perl -V|grep archname
gave
Code:
--------------------
ronnie@shuttle:~$ /opt/perl-5.26.3/bin/perl -V|grep archname
-bash: /opt/perl-5.26.3/bin/perl: No such file or directory
--------------------
I cd into perl-5.26.3
Code:
--------------------
ronnie@shuttle:~$ ls
Desktop Documents Downloads Music perl-5.26.3 perl-5.26.3.tar.gz
Pictures Public Templates Videos
ronnie@shuttle:~$ cd perl-5.26.3
ronnie@shuttle:~/perl-5.26.3$ /opt/perl-5.26.3/bin/perl -V|grep archname
-bash: /opt/perl-5.26.3/bin/perl: No such file or directory
--------------------
decide to build as root, removed the previously built, download and
untarred files from the home directory, did a sudo su and away we go.
The files built as root and are in /opt
Code:
--------------------
ronnie@shuttle:~$ cd /opt
ronnie@shuttle:/opt$ ls
perl-5.26.3-LMS
ronnie@shuttle:/opt$ cd perl-5.26.3-LMS
ronnie@shuttle:/opt/perl-5.26.3-LMS$ ls
bin lib man
--------------------
Code:
--------------------
ronnie@shuttle:~$ /opt/perl-5.26.3-LMS/bin/perl -V|grep archname
archname=i386-linux-thread-multi-64int
config_args='-des -Dprefix=/opt/perl-5.26.3-LMS -Dusethreads -Duse64bitint
-Darchname=i386-linux'
ronnie@shuttle:~$
--------------------
I must have copied and pasted the different ./Config instruction !
:o:o:(:rolleyes:
I have not yet installed LMS
ronnie.
and here is the output for /opt/perl-5.26.3-LMS/bin/perl -V
Code:
--------------------
login as: ronnie
[email protected]'s password:
Linux shuttle 4.19.0-6-686 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Dec 27 13:31:12 2019 from 192.168.1.11
ronnie@shuttle:~$ /opt/perl-5.26.3-LMS/bin/perl -V
Summary of my perl5 (revision 5 version 26 subversion 3) configuration:
Platform:
osname=linux
osvers=4.19.0-6-686
archname=i386-linux-thread-multi-64int
uname='linux shuttle 4.19.0-6-686 #1 smp debian 4.19.67-2+deb10u2
(2019-11-11) i686 gnulinux '
config_args='-des -Dprefix=/opt/perl-5.26.3-LMS -Dusethreads -Duse64bitint
-Darchname=i386-linux'
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 -fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
optimize='-O2'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe
-fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='8.3.0'
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-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/i686-linux-gnu/8/include-fixed
/usr/include/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib/../lib
/usr/lib/i386-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.28.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.28'
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-strong'
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
Built under linux
Compiled at Dec 27 2019 13:42:40
@INC:
/opt/perl-5.26.3-LMS/lib/site_perl/5.26.3/i386-linux-thread-multi-64int
/opt/perl-5.26.3-LMS/lib/site_perl/5.26.3
/opt/perl-5.26.3-LMS/lib/5.26.3/i386-linux-thread-multi-64int
/opt/perl-5.26.3-LMS/lib/5.26.3
ronnie@shuttle:~$
--------------------
------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=111348
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix