Build failure on Mac OS X 10.4/Intel (libiconv)

Josh Juran jjuran at gmail.com
Thu Oct 4 21:30:01 UTC 2012


The first failure point is that /Developer/SDKs/MacOSX10.4u.sdk/opt  
doesn't exist.  I suggest that Configure.pl should check for this and  
either work around it or fail with a recipe for repair.

Josh

Wintermute:~/var/git/parrot/parrot jjuran$ uname -a
Darwin Wintermute.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct  
10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386

Wintermute:~/var/git/parrot/parrot jjuran$ git branch -v
* has-thread 5f6ffbc config/auto/thread:  Correct "has thread" grammar
   master     8632cf0 [cage] silence @noinline@ warning on unknown  
compilers

Wintermute:~/var/git/parrot/parrot jjuran$ perl Configure.pl Parrot  
Version 4.8.0 Configure 2.0
Copyright (C) 2001-2012, Parrot Foundation.

Hello, I'm Configure. My job is to poke and prod your system to  
figure out
how to build Parrot. The process is completely automated, unless you  
passed in
the `--ask' flag on the command line, in which case I'll prompt you  
for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be  
pulling
some defaults from its configuration.

init::manifest -      Check  
MANIFEST.....................................done.
init::defaults -      Set Configure's default  
values.....................done.
init::install -       Set up installation  
paths..........................done.
init::hints -         Load platform and local hints  
files................done.
inter::progs -        Determine what C compiler and linker to  
use........done.
inter::make -         Is make  
installed...................................yes.
inter::lex -          Is lex  
installed................................skipped.
inter::yacc -         Is yacc  
installed...............................skipped.
auto::gcc -           Is your C compiler actually  
gcc................yes, 4.0.
auto::glibc -         Is GNU libc  
installed................................no.
auto::backtrace -     Does libc have the backtrace*  
functions..............no.
auto::msvc -          Is your C compiler actually Visual C+ 
+..........skipped.
auto::attributes -    Detect compiler  
attributes.........................done.
auto::warnings -      Detect supported compiler  
warnings.................done.
auto::arch -          Determine CPU architecture and  
OS..................done.
auto::cpu -           Generate CPU specific  
stuff........................done.
init::optimize -      Enable  
optimization..................................no.
inter::shlibs -       Determine flags for building shared  
libraries......done.
inter::libparrot -    Should parrot link against a shared  
library.........yes.
inter::types -        What types should Parrot  
use.......................done.
auto::ops -           Which opcode files should be compiled  
in...........done.
auto::pmc -           Which pmc files should be compiled  
in..............done.
auto::headers -       Probe for C  
headers................................done.
auto::sizes -         Determine some  
sizes...............................done.
auto::byteorder -     Compute native byteorder for  
wordsize.....little-endian.
auto::va_ptr -        Test the type of  
va_ptr...........................stack.
auto::format -        What formats should be used for  
sprintf............done.
auto::isreg -         Does your C library have a working  
S_ISREG..........yes.
auto::llvm -          Is minimum version of LLVM installed......not  
requested.
auto::inline -        Does your compiler support  
inline...................yes.
auto::gc -            Determine allocator to  
use..........................gms.
auto::memalign -      Does your C library support  
memalign........already set.
auto::signal -        Determine some signal  
stuff........................done.
auto::socklen_t -     Determine whether there is  
socklen_t................yes.
auto::stat -          Detect stat  
type....................................bsd.
auto::neg_0 -         Determine whether negative zero can be  
printed......yes.
auto::env -           Does your C library have setenv /  
unsetenv.........both.
auto::timespec -      Does your system has  
timespec.......................yes.
auto::infnan -        Is standard C Inf/NaN handling  
present..............yes.
auto::thread -        Does your system have  
threads.......................yes.
auto::gmp -           Does your platform support  
GMP.......................no.
auto::readline -      Does your platform support readline...dyld:  
lazy symbol binding failed: Symbol not found: _rl_get_keymap
   Referenced from: /Users/jjuran/var/git/parrot/parrot/./test_18339
   Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
   Referenced from: /Users/jjuran/var/git/parrot/parrot/./test_18339
   Expected in: dynamic lookup

...............no.
auto::pcre -          Does your platform support  
pcre......................no.
auto::opengl -        Does your platform support  
OpenGL....................no.
auto::zlib -          Does your platform support  
zlib.....................yes.
auto::gettext -       Does your configuration include  
gettext.............yes.
auto::snprintf -      Test  
snprintf......................................done.
auto::perldoc -       Is perldoc  
installed................................yes.
auto::coverage -      Are coverage analysis tools installed...lacking  
cover gcov2perl.
auto::pod2man -       Is pod2man  
installed................................yes.
auto::ctags -         Is (exuberant) ctags  
installed.......................no.
auto::revision -      Determine Parrot's  
revision...........................1.
auto::icu -           Is ICU installed..........................no  
icu-config.
auto::libffi -        Is libffi installed.....................lack  
pkg-config.
auto::ipv6 -          Determine IPV6  
capabilities.........................yes.
auto::platform -      Generate a list of platform object  
files...........done.
auto::alignof -       Determine offsetof values for our  
types.........skipped.
gen::config_h -       Generate C  
headers.................................done.
gen::core_pmcs -      Generate core pmc  
list.............................done.
gen::opengl -         Generating OpenGL  
bindings......................skipped.
gen::makefiles -      Generate makefiles and other build  
files...........done.
gen::config_pm -      Record configuration data for later  
retrieval......done.
Okay, we're done!

You can now use `gmake' to build your Parrot.
After that, you can use `gmake test' to run the test suite.

Happy Hacking,
         The Parrot Team


Wintermute:~/var/git/parrot/parrot jjuran$ make > /dev/null 2>&1

Wintermute:~/var/git/parrot/parrot jjuran$ make
perl -MExtUtils::Command -e mkpath blib/lib
c++ -dynamiclib -undefined dynamic_lookup -Wl,-search_paths_first - 
Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version- 
min=10.4 -L"/Users/jjuran/var/git/parrot/parrot/blib/lib" -L/opt/ 
local/lib  -o blib/lib/libparrot.4.8.0.dylib -install_name "/usr/ 
local/lib/libparrot.dylib" \
         src/string/api.o src/ops/core_ops.o src/core_pmcs.o src/ 
datatypes.o src/debug.o src/disassemble.o src/dynext.o src/embed/ 
api.o src/embed/bytecode.o src/embed/strings.o src/embed/pmc.o src/ 
string/encoding.o src/exceptions.o src/exit.o src/extend.o src/ 
extend_vtable.o src/alarm.o src/gc/alloc_memory.o src/gc/ 
alloc_resources.o src/gc/api.o src/gc/gc_ms.o src/gc/gc_inf.o src/gc/ 
gc_ms2.o src/gc/gc_gms.o src/gc/mark_sweep.o src/gc/system.o src/gc/ 
fixed_allocator.o src/gc/variable_size_pool.o src/gc/string_gc.o src/ 
global_setup.o src/hash.o src/hll.o src/call/pcc.o src/call/args.o  
src/interp/inter_cb.o src/interp/api.o src/call/ops.o src/call/ 
context.o src/call/context_accessors.o src/key.o src/library.o src/ 
list.o src/pointer_array.o src/string/sprintf.o src/multidispatch.o  
src/namespace.o src/nci/api.o src/nci/signatures.o src/nci/ 
core_thunks.o src/nci/extra_thunks.o src/oo.o src/packfile/ 
object_serialization.o src/pmc.o src/runcore/main.o src/runcore/ 
cores.o src/runcore/profiling.o src/runcore/subprof.o src/scheduler.o  
src/events.o src/string/spf_render.o src/string/spf_vtable.o src/ 
sub.o src/runcore/trace.o src/utils.o src/vtables.o src/warnings.o  
src/packfile/api.o src/packfile/output.o src/packfile/pf_items.o src/ 
packfile/segments.o src/longopt.o src/platform/generic/io.o src/ 
platform/generic/socket.o src/platform/generic/file.o src/platform/ 
generic/time.o src/platform/generic/encoding.o src/platform/generic/ 
env.o src/platform/generic/cpu_type.o src/platform/generic/dl.o src/ 
platform/generic/math.o src/platform/generic/itimer.o src/platform/ 
generic/exec.o src/platform/generic/misc.o src/platform/darwin/ 
hires_timer.o src/platform/darwin/sysmem.o src/platform/generic/uid.o  
src/platform/generic/error.o src/platform/generic/entropy.o  src/io/ 
api.o src/io/buffer.o src/io/filehandle.o src/io/socket.o src/io/ 
stringhandle.o src/io/pipe.o src/io/userhandle.o src/io/utilities.o   
src/pmc/default.o src/pmc/null.o src/pmc/env.o src/pmc/key.o src/pmc/ 
unmanagedstruct.o src/pmc/managedstruct.o src/pmc/exception.o src/pmc/ 
parrotlibrary.o src/pmc/parrotinterpreter.o src/pmc/lexpad.o src/pmc/ 
timer.o src/pmc/pointer.o src/pmc/sub.o src/pmc/continuation.o src/ 
pmc/coroutine.o src/pmc/eval.o src/pmc/nci.o src/pmc/float.o src/pmc/ 
integer.o src/pmc/bigint.o src/pmc/bignum.o src/pmc/complex.o src/pmc/ 
string.o src/pmc/boolean.o src/pmc/fixedintegerarray.o src/pmc/ 
iterator.o src/pmc/fixedstringarray.o src/pmc/hash.o src/pmc/ 
orderedhash.o src/pmc/oplib.o src/pmc/opcode.o src/pmc/addrregistry.o  
src/pmc/alarm.o src/pmc/arrayiterator.o src/pmc/bytebuffer.o src/pmc/ 
callback.o src/pmc/callcontext.o src/pmc/capture.o src/pmc/class.o  
src/pmc/eventhandler.o src/pmc/exceptionhandler.o src/pmc/exporter.o  
src/pmc/filehandle.o src/pmc/fixedbooleanarray.o src/pmc/ 
fixedfloatarray.o src/pmc/fixedpmcarray.o src/pmc/handle.o src/pmc/ 
hashiterator.o src/pmc/hashiteratorkey.o src/pmc/imageiofreeze.o src/ 
pmc/imageiosize.o src/pmc/imageiostrings.o src/pmc/imageiothaw.o src/ 
pmc/imccompiler.o src/pmc/lexinfo.o src/pmc/mappedbytearray.o src/pmc/ 
multisub.o src/pmc/namespace.o src/pmc/nativepccmethod.o src/pmc/ 
object.o src/pmc/orderedhashiterator.o src/pmc/os.o src/pmc/ 
packfile.o src/pmc/packfileannotation.o src/pmc/packfileannotations.o  
src/pmc/packfilebytecodesegment.o src/pmc/packfileconstanttable.o src/ 
pmc/packfiledebug.o src/pmc/packfiledirectory.o src/pmc/ 
packfileopmap.o src/pmc/packfilerawsegment.o src/pmc/ 
packfilesegment.o src/pmc/packfileview.o src/pmc/pmclist.o src/pmc/ 
pmcproxy.o src/pmc/ptr.o src/pmc/ptrbuf.o src/pmc/ptrobj.o src/pmc/ 
resizablebooleanarray.o src/pmc/resizablefloatarray.o src/pmc/ 
resizableintegerarray.o src/pmc/resizablepmcarray.o src/pmc/ 
resizablestringarray.o src/pmc/role.o src/pmc/scalar.o src/pmc/ 
scheduler.o src/pmc/schedulermessage.o src/pmc/sockaddr.o src/pmc/ 
socket.o src/pmc/stringbuilder.o src/pmc/stringhandle.o src/pmc/ 
stringiterator.o src/pmc/structview.o src/pmc/task.o src/pmc/undef.o  
src/string/encoding/shared.o src/string/encoding/tables.o src/string/ 
encoding/null.o src/string/encoding/ascii.o src/string/encoding/ 
latin1.o src/string/encoding/binary.o src/string/encoding/utf8.o src/ 
string/encoding/utf16.o src/string/encoding/ucs2.o src/string/ 
encoding/ucs4.o compilers/imcc/imcparser.o compilers/imcc/imclexer.o  
compilers/imcc/imc.o compilers/imcc/main.o compilers/imcc/symreg.o  
compilers/imcc/instructions.o compilers/imcc/cfg.o compilers/imcc/ 
reg_alloc.o compilers/imcc/sets.o compilers/imcc/debug.o compilers/ 
imcc/optimizer.o compilers/imcc/pbc.o compilers/imcc/parser_util.o  
compilers/imcc/pcc.o compilers/imcc/api.o -lm -lreadline -lintl
ld: warning can't open dynamic library: /Developer/SDKs/ 
MacOSX10.4u.sdk/opt/local/lib/libiconv.2.dylib referenced from: /opt/ 
local/lib/libintl.dylib (checking for undefined symbols may be  
affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_libiconv referenced from libintl expected to be defined in /opt/ 
local/lib/libiconv.2.dylib
_libiconv_open referenced from libintl expected to be defined in /opt/ 
local/lib/libiconv.2.dylib
_libiconv_set_relocation_prefix referenced from libintl expected to  
be defined in /opt/local/lib/libiconv.2.dylib
/usr/bin/libtool: internal link edit command failed
make: *** [blib/lib/libparrot.4.8.0.dylib] Error 1




More information about the parrot-dev mailing list