FAQ
Hello,

I have an Intel Solaris 9 machine with 5.6.1 package that came w/ Solaris. I
would like to build 5.8.0, this is what I receive when trying to make:

make: Warning: Both `makefile' and `Makefile' exist
`sh cflags "optimize='-O'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perl.o` perl.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" gv.o` gv.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" toke.o` toke.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perly.o` perly.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" op.o` op.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" regcomp.o` regcomp.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" dump.o` dump.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" util.o` util.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" mg.o` mg.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" reentr.o` reentr.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" hv.o` hv.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" av.o` av.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" run.o` run.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_hot.o` pp_hot.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" sv.o` sv.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp.o` pp.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" scope.o` scope.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_ctl.o` pp_ctl.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_sys.o` pp_sys.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
pp_sys.c: In function `Perl_pp_readdir':
pp_sys.c:3799: warning: implicit declaration of function `readdir_r'
pp_sys.c: In function `Perl_pp_gmtime':
pp_sys.c:4436: warning: implicit declaration of function `localtime_r'
pp_sys.c:4438: warning: implicit declaration of function `gmtime_r'
pp_sys.c: In function `Perl_pp_getlogin':
pp_sys.c:5515: warning: implicit declaration of function `getlogin_r'
`sh cflags "optimize='-O'" doop.o` doop.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" doio.o` doio.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" regexec.o` regexec.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" utf8.o` utf8.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" taint.o` taint.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" deb.o` deb.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" universal.o` universal.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" xsutils.o` xsutils.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" globals.o` globals.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perlio.o` perlio.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perlapi.o` perlapi.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" numeric.o` numeric.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" locale.o` locale.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_pack.o` pp_pack.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_sort.o` pp_sort.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
rm -f libperl.a
/usr/ccs/bin/ar rcu libperl.a perl.o gv.o toke.o perly.o op.o regcomp.o
dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o
pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o
xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o
pp_sort.o
rm -f opmini.c
cp op.c opmini.c
`sh cflags "optimize='-O'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
rm -f opmini.c
gcc -L/usr/local/lib -o miniperl \
miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lrt -lpthread
-lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
*** Error code 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
sh mv-if-diff configpm.tmp lib/Config.pm
File lib/Config.pm not changed.
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*/*.pm
make lib/re.pm
make: Warning: Both `makefile' and `Makefile' exist
Current working directory /opt/perl/perl-5.8.0
cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm
./miniperl minimod.pl > minimod.tmp
sh mv-if-diff minimod.tmp lib/ExtUtils/Miniperl.pm
File lib/ExtUtils/Miniperl.pm not changed.
touch lib/ExtUtils/Miniperl.pm
sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp
sh mv-if-diff writemain.tmp perlmain.c
`sh cflags "optimize='-O'" perlmain.o` perlmain.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall

Making DynaLoader (static)
Writing Makefile for DynaLoader
../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
DynaLoader_pm.PL DynaLoader.pm
../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
XSLoader_pm.PL XSLoader.pm
Skip ../../lib/XSLoader.pm (unchanged)
Skip ../../lib/DynaLoader.pm (unchanged)
gcc -o perl -L/usr/local/lib perlmain.o lib/auto/DynaLoader/DynaLoader.a
libperl.a `cat ext.libs` -lsocket -lnsl -ldl -lm -lrt -lpthread -lc
gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `perl'

I have gcc 3.3, myconfig:


Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.9, archname=i86pc-solaris-thread-multi
uname='sunos machinename 5.9 generic_112234-03 i86pc i386 i86pc '
config_args='-des -Dusethreads'
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 ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='3.3', gccosandvers='solaris2.9'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Help appreciated.

Thanks in advance,

Jim

_________________________________________________________________
Get MSN 8 Dial-up Internet Service FREE for one month. Limited time offer--
sign up now! http://join.msn.com/?page=dept/dialup

Search Discussions

  • Dave Mitchell at Sep 24, 2003 at 8:46 am

    On Wed, Sep 24, 2003 at 08:41:54AM +0000, jim page wrote:
    Hello,

    I have an Intel Solaris 9 machine with 5.6.1 package that came w/ Solaris.
    I would like to build 5.8.0, this is what I receive when trying to make:
    Just a guess, but lots of Solaris/gcc problems go away if you include
    -Dcc=gcc on the Configure command line.

    --
    In my day, we used to edit the inodes by hand. With magnets.
  • Jim page at Sep 24, 2003 at 11:23 am
    Thanks Dave, build works fine now. (used -Dcc='gcc -B/usr/ccs/bin/' though)

    From: Dave Mitchell <davem@fdgroup.com>
    To: jim page <jim2z@hotmail.com>
    CC: perl5-porters@perl.org
    Subject: Re: Problems building perl 5.8.0 on Solaris 9 x86
    Date: Wed, 24 Sep 2003 09:46:47 +0100
    On Wed, Sep 24, 2003 at 08:41:54AM +0000, jim page wrote:
    Hello,

    I have an Intel Solaris 9 machine with 5.6.1 package that came w/ Solaris.
    I would like to build 5.8.0, this is what I receive when trying to make:
    Just a guess, but lots of Solaris/gcc problems go away if you include
    -Dcc=gcc on the Configure command line.

    --
    In my day, we used to edit the inodes by hand. With magnets.
    _________________________________________________________________
    Get MSN 8 Dial-up Internet Service FREE for one month. Limited time offer--
    sign up now! http://join.msn.com/?page=dept/dialup

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedSep 24, '03 at 8:42a
activeSep 24, '03 at 11:23a
posts3
users2
websiteperl.org

2 users in discussion

Jim page: 2 posts Dave Mitchell: 1 post

People

Translate

site design / logo © 2021 Grokbase