#910: macport/ installing on OS X
---------------------+------------------------------------------------------
 Reporter:  coke     |       Owner:       
     Type:  todo     |      Status:  new  
 Priority:  normal   |   Milestone:       
Component:  install  |     Version:  trunk
 Severity:  medium   |    Keywords:       
     Lang:           |       Patch:       
 Platform:           |  
---------------------+------------------------------------------------------

Comment(by coke):

 Note that the build of installable_parrot is failing with:

 {_u_charFromName_4_0 referenced from libparrot expected to be defined in
 /opt/local/lib/libicuuc.40.dylib}

 but there is no /opt/local/lib/libicuuc.40.dylib, only

 {{{
 $ ls /opt/local/lib/libicuuc*
 /opt/local/lib/libicuuc.42.1.dylib      /opt/local/lib/libicuuc.dylib
 /opt/local/lib/libicuuc.42.dylib
 }}}

 (here's the failing build command:)

 {{{
 c++ -o installable_parrot \
     src/main.o src/install_config.o \
     -L/Users/coke/bird/lib -L/Users/coke/research/parrot/blib/lib -lparrot
 -lpth
 read -lm   -L/opt/local/lib  -licuuc -licudata  -lpthread -lm    -lm -lgmp
 -lrea
 dline -lintl -undefined dynamic_lookup -L/opt/local/lib
 /usr/bin/ld: warning can't open dynamic library:
 /opt/local/lib/libicuuc.40.dyli
 b referenced from: /Users/coke/bird/lib/libparrot.dylib (checking for
 undefined
 symbols may be affected) (No such file or directory, errno = 2)
 /usr/bin/ld: warning can't open dynamic library:
 /opt/local/lib/libicudata.40.dy
 lib referenced from: /Users/coke/bird/lib/libparrot.dylib (checking for
 undefine
 d symbols may be affected) (No such file or directory, errno = 2)
 }}}

 So why is installable parrot trying to open them? Apparently because there
 was a parrot 1.2.0 built against the 4.0 version of ICU, and this c++
 command is picking up '''that''' dependency. If I move the ~/bird
 directory out of the way, the install works just fine.

 So, this is YA variant on the "installed parrot conflicts with building
 parrot" problem.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/910#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to