#1045: parrot needs a shared library even if configured with 
--parrot_is_shared=0.
-----------------------+----------------------------------------------------
 Reporter:  doughera   |       Owner:       
     Type:  bug        |      Status:  new  
 Priority:  normal     |   Milestone:       
Component:  configure  |     Version:  1.6.0
 Severity:  medium     |    Keywords:       
     Lang:             |       Patch:       
 Platform:             |  
-----------------------+----------------------------------------------------

Comment(by jkeenan):

 Slogging through old tickets, tonight I came upon this one.  On
 Linux/i386, I ran:
 {{{
 perl Configure.pl --test --parrot_is_shared=0 --configure_trace
 }}}
 My setting of `0` on that option was duly recorded:
 {{{
 lib/Parrot/Config/Generated.pm:320:  'parrot_is_shared' => '0',
 config_lib.pir:222:    set $P0["parrot_is_shared"], "0"
 }}}
 When I ran `make`, I got a failure here:
 {{{
 ./miniparrot -Iruntime/parrot/include config_lib.pir >
   runtime/parrot/include/config.fpmc
 ./miniparrot: error while loading shared libraries:
   libparrot.so.2.4.0: cannot open shared object file:
   No such file or directory
 make: *** [runtime/parrot/include/config.fpmc] Error 127
 /usr/local/bin/perl tools/build/parrot_config_c.pl > \
     src/parrot_config.c
 'runtime/parrot/include/config.fpmc' is truncated.
   Remove it and rerun make
 make: *** [src/parrot_config.c] Error 255
 Finished
 }}}
 So this seems to me to be more of a build failure than a configuration
 failure.

 In contrast, when I modified my standard configuration command on
 Darwin/PPC to include this option, I built successfully:
 {{{
 #!/bin/sh
 echo "MACOSX_DEPLOYMENT_TARGET is $MACOSX_DEPLOYMENT_TARGET"
 CC="/usr/bin/gcc"
 CX="/usr/bin/g++"
 /usr/local/bin/perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" \
     --ld="$CX" \
     --parrot_is_shared=0 \
     --configure_trace \
     $@
 }}}
 So there is something OS-specific going on here.

 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1045#comment:2>
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