Re: [perl #41064] [BUG]: Not-so-new 'make' failures on Darwin
by Will Coleda other posts by this author
Dec 10 2006 4:17PM messages near this date
Re: [perl #41064] [BUG]: Not-so-new 'make' failures on Darwin
|
Re: [perl #41064] [BUG]: Not-so-new 'make' failures on Darwin
On Dec 10, 2006, at 6:50 PM, James E Keenan wrote:
> Will Coleda wrote:
>
> > On Dec 10, 2006, at 10:51 AM, James Keenan wrote:
> >>
> >> On Dec 10, 2006, at 10:04 AM, Will Coleda via RT wrote:
> >>
> >>>
> >>> On Dec 9, 2006, at 10:26 PM, James Keenan (via RT) wrote:
> >>>
> >>>> # New Ticket Created by James Keenan
> >>>> # Please include the string: [perl #41064]
> >>>> # in the subject line of all future correspondence about this
> >>>> issue.
> >>>> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41064 >
> >>>>
> >>>>
> >>>> Once again I am unable to successfully 'make' Parrot on Darwin. I
> >>>> getting the same errors I was getting when I first tried at the
> >>>> Chicago hackathon on Nov 11 -- nothwithstanding (a) having
> >>>> succeeded
> >>>> with 'make' since then several times; and (b) applying all the
> >>>> hack
> >>>> workarounds suggested at the hackathon.
> >>>
> >>>
> >>> <SNIP>
> >>>
> >>>> 60,95d58
> >>>> < ops2c.pl: Cannot open source file 'src/ops/core_ops_cgp.c.temp'
> >>>> for writing: Permission denied!
> >>>
> >>>
> >>> AOOGA.
> >>>
> >>>> < make: *** [src/ops/core_ops_cgp.c] Error 13
> >>>> < [parrot] 523 $ ls -l src/ops/core_ops_cgp.c.temp
> >>>> < -rw-r--r-- 1 root jimk 0 Dec 7 20:59 src/ops/
> >>>> core_ops_cgp.c.temp
> >>>> < [parrot] 524 $ ls -l src/ops/
> >>>> < total 3536
> >>>> < -rw-r--r-- 1 jimk jimk 7046 Nov 12 08:08 bit.ops
> >>>> < -rw-r--r-- 1 jimk jimk 22308 Nov 12 08:08 cmp.ops
> >>>> < -rw-r--r-- 1 jimk jimk 28238 Nov 12 08:08 core.ops
> >>>> < -rw-r--r-- 1 jimk jimk 838227 Dec 9 21:32 core_ops.c
> >>>> < -rw-r--r-- 1 jimk jimk 317139 Dec 9 21:32 core_ops_cg.c
> >>>> < -rw-r--r-- 1 root jimk 0 Dec 7 20:59
> >>>> core_ops_cgp.c.temp
> >>>
> >>>
> >>> Looks like you ran 'make' as root at one point, and are now running
> >>> it as jimk. The temp file that was left out there is owned by root,
> >>> not deletable by your normal account. This would explain why things
> >>> seem to fail only on your box.
> >>>
> >>
> >> I'm not sure how that temp file owned by root got there, but I
> >> deleted it, did make realclean and attempted to remake. But I
> >> failed again, as documented in the second of 3 attachments
> >> submitted yesterday.
> > Ok. Few questions:
> > What arguments did you pass to configure?
>
> As mentioned in OP, I made two attempts. The first was to call
> perl Configure.pl with no arguments. The second:
>
> perl Configure.pl --without-gmp --cc=gcc --ccflags=-DAN
> # options suggested as workarounds at hackathon
> # -DAN was suggested by Chip as a dummy option to get around some
> problem
I'd just use the no option version.
> > What version of the compiler are you using?
>
> gcc 3.81: the latest
> Parrot: svn 16056 (see myconfig attached)
3.8.1 ?? odd. I have 4.0.1. and 3.3. Is this a gcc that came with the
OS, or is it a hand-built or otherwise non-Xcode version?
> > What chip architecture (you said darwin, I'm assuming OS X here:
> > if so, what does sw_vers say?)
>
> [parrot] 624 $ sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.4.8
> BuildVersion: 8L127
Identical to mine...
> ... plus see perl_V attached
>
> > Have you ever installed parrot before?
> 'make install'? No, but I was told that developers probably
> shouldn't go that far. My first exposure to Parrot was at the
> Chicago Perl hackathon, where I experience problems very similar to
> those I'm reporting in this thread. Chip, chromatic, particle and
> others suggested workarounds (described in previous threads) which
> got me to the point where I could start writing tests of the build
> tools. I went through the make realclean/Configure.pl/make cycle
> quite a few times over the past month, succeeding to the point
> where I've been able to run 'make test' and file reports on failing
> tests.
>
> But in the last couple of days I cannot 'make' successfully, as
> reported earlier in this thread.
>
> kid51
> Summary of my parrot 0.4.7 (r16056) configuration:
> configdate='Sat Dec 9 21:57:06 2006'
> Platform:
> osname=darwin, archname=darwin-2level
> jitcapable=1, jitarchname=ppc-darwin,
> jitosname=DARWIN, jitcpuarch=ppc
> execcapable=1
> perl=perl
> Compiler:
> cc='gcc', ccflags='-DAN',
> Linker and Libraries:
> ld='c++', ldflags=' -L/usr/local/lib -L/Users/jimk/work/parrot/
> blib/lib -flat_namespace ',
> cc_ldflags='',
> libs='-lm'
> Dynamic Linking:
> share_ext='.dylib', ld_share_flags='-dynamiclib -undefined
> suppress',
> load_ext='.bundle', ld_load_flags='-bundle -undefined suppress'
> Types:
> iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
> ptrsize=4, ptr_alignment=1 byteorder=4321,
> nv=double, numvalsize=8, doublesize=8
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=darwin, osvers=8.7.0, archname=darwin-2level
> uname='darwin macintosh.local 8.7.0 darwin kernel version
> 8.7.0: fri may 26 15:20:53 pdt 2006;
> root:xnu-792.6.76.obj~1release_ppc power macintosh powerpc '
> config_args='-de'
> 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=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -
> fno-strict-aliasing -pipe -I/usr/local/include',
> optimize='-O3',
> cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-
> precomp -fno-strict-aliasing -pipe -I/usr/local/include'
> ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc.
> build 1495)', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
> ivtype='long', ivsize=4, nvtype='double', nvsize=8,
> Off_t='off_t', lseeksize=8
> alignbytes=8, prototype=define
> Linker and Libraries:
> ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/
> local/lib'
> libpth=/usr/local/lib /usr/lib
> libs=-ldbm -ldl -lm -lc
> perllibs=-ldl -lm -lc
> libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false,
> libperl=libperl.a
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -
> L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
> Built under darwin
> Compiled at Sep 13 2006 20:15:49
> @INC:
> /usr/local/lib/perl5/5.8.8/darwin-2level
> /usr/local/lib/perl5/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level
> /usr/local/lib/perl5/site_perl/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level
> /usr/local/lib/perl5/site_perl/5.8.7
> /usr/local/lib/perl5/site_perl/5.8.4/darwin-2level
> /usr/local/lib/perl5/site_perl/5.8.4
> /usr/local/lib/perl5/site_perl
> .
--
Will "Coke" Coleda
will@coleda.com
Thread:
James Keenan via RT
James Keenan
Will Coleda
James E Keenan
Will Coleda
James E Keenan
James E Keenan
Jerry Gay
Chromatic
Will Coleda
Will Coleda
Will Coleda
James E Keenan
|