Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on Mac OS X #1275

Closed
p6rt opened this issue Sep 8, 2009 · 6 comments
Closed

Build error on Mac OS X #1275

p6rt opened this issue Sep 8, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Sep 8, 2009

Migrated from rt.perl.org#69052 (status was 'resolved')

Searchable as RT69052$

@p6rt
Copy link
Author

p6rt commented Sep 8, 2009

From sorhed@gmail.com

I tried to build today's Git version on Mac OS X Snow Leopard, and
here is what I got​:

mbp​:rakudo atemerev$ perl Configure.pl --gen-parrot
<...>
src/packout.c
src/pic_jit.c
src/pic.c
src/platform.c
config/gen/platform/generic/hires_timer.c​: In function Parrot_hires_get_time :
config/gen/platform/generic/hires_timer.c​:41​: warning​: implicit
declaration of function clock_gettime
config/gen/platform/generic/hires_timer.c​:41​: warning​: nested extern
declaration of clock_gettime
config/gen/platform/generic/hires_timer.c​:41​: error​: CLOCK_PROF
undeclared (first use in this function)
config/gen/platform/generic/hires_timer.c​:41​: error​: (Each undeclared
identifier is reported only once
config/gen/platform/generic/hires_timer.c​:41​: error​: for each function
it appears in.)
make​: *** [src/platform.o] Error 1

Reading configuration information from parrot_config ...
===SORRY!===
Parrot revision r41083 required (currently r0)

To automatically checkout (svn) and build a copy of parrot r41083,
try re-running Configure.pl with the '--gen-parrot' option.
Or, use the '--parrot-config' option to explicitly specify
the location of parrot_config to be used to build Rakudo Perl.

===

mbp​:rakudo atemerev$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration​:
  Platform​:
  osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level
  uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8​:
tue may 5 19​:29​:59 pdt 2009; root​:xnu-1437.2~2release_i386 i386 '
  config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none
-Dcc=gcc-4.2'
  hint=recommended, useposix=true, d_sigaction=define
  useithreads=define, usemultiplicity=define
  useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
  use64bitint=define, use64bitall=define, uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include',
  optimize='-Os',
  cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include'
  ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers=''
  intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64
-arch i386 -arch ppc -L/usr/local/lib'
  libpth=/usr/local/lib /usr/lib
  libs=-ldbm -ldl -lm -lutil -lc
  perllibs=-ldl -lm -lutil -lc
  libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc
-bundle -undefined dynamic_lookup -L/usr/local/lib'

Characteristics of this binary (from libperl)​:
  Compile-time options​: MULTIPLICITY PERL_DONT_CREATE_GVSV
  PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
  USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
  USE_PERLIO USE_REENTRANT_API
  Locally applied patches​:
  /Library/Perl/Updates/<version> comes before system perl directories
  installprivlib and installarchlib points to the Updates directory
  Built under darwin
  Compiled at Jun 24 2009 00​:35​:27
  @​INC​:
  /Library/Perl/Updates/5.10.0
  /System/Library/Perl/5.10.0/darwin-thread-multi-2level
  /System/Library/Perl/5.10.0
  /Library/Perl/5.10.0/darwin-thread-multi-2level
  /Library/Perl/5.10.0
  /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
  /Network/Library/Perl/5.10.0
  /Network/Library/Perl
  /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
  /System/Library/Perl/Extras/5.10.0
  .
mbp​:rakudo atemerev$

  Cheers,
  Alexander Temerev

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

From @coke

On Tue Sep 08 04​:32​:07 2009, sorhed@​gmail.com wrote​:

I tried to build today's Git version on Mac OS X Snow Leopard, and
here is what I got​:

mbp​:rakudo atemerev$ perl Configure.pl --gen-parrot
<...>
src/packout.c
src/pic_jit.c
src/pic.c
src/platform.c
config/gen/platform/generic/hires_timer.c​: In function
‘Parrot_hires_get_time’​:
config/gen/platform/generic/hires_timer.c​:41​: warning​: implicit
declaration of function ‘clock_gettime’
config/gen/platform/generic/hires_timer.c​:41​: warning​: nested extern
declaration of ‘clock_gettime’
config/gen/platform/generic/hires_timer.c​:41​: error​: ‘CLOCK_PROF’
undeclared (first use in this function)
config/gen/platform/generic/hires_timer.c​:41​: error​: (Each undeclared
identifier is reported only once
config/gen/platform/generic/hires_timer.c​:41​: error​: for each function
it appears in.)
make​: *** [src/platform.o] Error 1

Reading configuration information from parrot_config ...
===SORRY!===
Parrot revision r41083 required (currently r0)

To automatically checkout (svn) and build a copy of parrot r41083,
try re-running Configure.pl with the '--gen-parrot' option.
Or, use the '--parrot-config' option to explicitly specify
the location of parrot_config to be used to build Rakudo Perl.

===

mbp​:rakudo atemerev$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0)
configuration​:
Platform​:
osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level
uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8​:
tue may 5 19​:29​:59 pdt 2009; root​:xnu-1437.2~2release_i386 i386 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none
-Dcc=gcc-4.2'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler​:
cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include',
optimize='-Os',
cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries​:
ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64
-arch i386 -arch ppc -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking​:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc
-bundle -undefined dynamic_lookup -L/usr/local/lib'

Characteristics of this binary (from libperl)​:
Compile-time options​: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches​:
/Library/Perl/Updates/<version> comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Jun 24 2009 00​:35​:27
@​INC​:
/Library/Perl/Updates/5.10.0
/System/Library/Perl/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/5.10.0
/Library/Perl/5.10.0/darwin-thread-multi-2level
/Library/Perl/5.10.0
/Network/Library/Perl/5.10.0/darwin-thread-multi-2level
/Network/Library/Perl/5.10.0
/Network/Library/Perl
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.10.0
.
mbp​:rakudo atemerev$

Cheers,
Alexander Temerev

I am unable to duplicate this on​:

$ sw_vers
ProductName​: Mac OS X
ProductVersion​: 10.6.2
BuildVersion​: 10C540

parrot revision is r44781

rakudo revision is aa8c65ed6b9d0b23ba6904b2745f998a83b36c6f

Is this problem still occurring for you?
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

From @moritz

no feedback from reporter after half a year, closing...

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 9, 2010
@p6rt
Copy link
Author

p6rt commented Mar 10, 2010

From sorhed@gmail.com

Well, almost half a year have passed since this bugreport. :)

Now everything works fine indeed, you can close it.

  Cheers,
  Alexander Temerev

On Tue, Mar 9, 2010 at 3​:58 AM, Will Coleda via RT
<perl6-bugs-followup@​perl.org> wrote​:

On Tue Sep 08 04​:32​:07 2009, sorhed@​gmail.com wrote​:

I tried to build today's Git version on Mac OS X Snow Leopard, and
here is what I got​:

mbp​:rakudo atemerev$ perl Configure.pl --gen-parrot
<...>
src/packout.c
src/pic_jit.c
src/pic.c
src/platform.c
config/gen/platform/generic/hires_timer.c​: In function
‘Parrot_hires_get_time’​:
config/gen/platform/generic/hires_timer.c​:41​: warning​: implicit
declaration of function ‘clock_gettime’
config/gen/platform/generic/hires_timer.c​:41​: warning​: nested extern
declaration of ‘clock_gettime’
config/gen/platform/generic/hires_timer.c​:41​: error​: ‘CLOCK_PROF’
undeclared (first use in this function)
config/gen/platform/generic/hires_timer.c​:41​: error​: (Each undeclared
identifier is reported only once
config/gen/platform/generic/hires_timer.c​:41​: error​: for each function
it appears in.)
make​: *** [src/platform.o] Error 1

Reading configuration information from parrot_config ...
===SORRY!===
Parrot revision r41083 required (currently r0)

To automatically checkout (svn) and build a copy of parrot r41083,
try re-running Configure.pl with the '--gen-parrot' option.
Or, use the '--parrot-config' option to explicitly specify
the location of parrot_config to be used to build Rakudo Perl.

===

mbp​:rakudo atemerev$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0)
configuration​:
  Platform​:
    osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level
    uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8​:
tue may 5 19​:29​:59 pdt 2009; root​:xnu-1437.2~2release_i386 i386 '
    config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none
-Dcc=gcc-4.2'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler​:
    cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include',
    optimize='-Os',
    cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)',
gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries​:
    ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64
-arch i386 -arch ppc -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking​:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc
-bundle -undefined dynamic_lookup -L/usr/local/lib'

Characteristics of this binary (from libperl)​:
  Compile-time options​: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
  Locally applied patches​:
      /Library/Perl/Updates/<version> comes before system perl directories
      installprivlib and installarchlib points to the Updates directory
  Built under darwin
  Compiled at Jun 24 2009 00​:35​:27
  @​INC​:
    /Library/Perl/Updates/5.10.0
    /System/Library/Perl/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/5.10.0
    /Library/Perl/5.10.0/darwin-thread-multi-2level
    /Library/Perl/5.10.0
    /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
    /Network/Library/Perl/5.10.0
    /Network/Library/Perl
    /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.10.0
    .
mbp​:rakudo atemerev$

  Cheers,
  Alexander Temerev

I am unable to duplicate this on​:

$ sw_vers
ProductName​:    Mac OS X
ProductVersion​: 10.6.2
BuildVersion​:   10C540

parrot revision is r44781

rakudo revision is aa8c65ed6b9d0b23ba6904b2745f998a83b36c6f

Is this problem still occurring for you?
--
Will "Coke" Coleda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant