Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #30188] Fix build on OS X

3 views
Skip to first unread message

Nicholas Clark

unread,
Jun 10, 2004, 5:26:58 AM6/10/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Nicholas Clark
# Please include the string: [perl #30188]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30188 >


---
osname= darwin
osvers= 7.0
arch= darwin-thread-multi-2level
cc= cc
---
Flags:
category=core
severity=high
ack=no
---
Parrot has been broken on OS X for over a month now. The problem is that
the libnci test requires the libnci dynamic library to be built, and the
top level Makefile only has rules to generate libnci.so and libnci.dll.
On OS X this library is named libnci.dylib, so the build fails because
there is no rule to make this file.

The attached patch solves this. I can't test it on Win32.

Nicholas Clark
---
Summary of my parrot 0.1.0 configuration:
configdate='Thu Jun 10 09:31:26 2004'
Platform:
osname=darwin, archname=darwin-2level
jitcapable=1, jitarchname=ppc-darwin,
jitosname=DARWIN, jitcpuarch=ppc
execcapable=1
perl=/Users/nick/Reference/5.8.4/bin/perl5.8.4-32
Compiler:
cc='ccache gcc', ccflags='-pipe -fno-common -no-cpp-precomp -pipe -fno-common -Wno-long-double ',
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags=' -flat_namespace ',
cc_ldflags='',
libs='-lm'
Dynamic Linking:
so='.dylib', ld_shared=' -bundle -undefined dynamic_lookup',
ld_shared_flags=''
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=4 byteorder=4321,
nv=double, numvalsize=8, doublesize=8

---
Environment:
DYLD_LIBRARY_PATH HOME LANG LANGUAGE LD_LIBRARY_PATH LOGDIR PATH PERL5LIB SHELL

ncidylib.patch

Dan Sugalski

unread,
Jun 10, 2004, 10:56:55 AM6/10/04
to perl6-i...@perl.org, bugs-bi...@rt.perl.org, Nicholas Clark
At 2:26 AM -0700 6/10/04, Nicholas Clark (via RT) wrote:
>Parrot has been broken on OS X for over a month now. The problem is that
>the libnci test requires the libnci dynamic library to be built, and the
>top level Makefile only has rules to generate libnci.so and libnci.dll.
>On OS X this library is named libnci.dylib, so the build fails because
>there is no rule to make this file.

Got cranky with me as I don't have a /usr/local/lib, but otherwise
works fine. Applied, thanks.
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages