#1309: perl Configure.pl finds icu but doesn't set it up
-----------------------+----------------------------------------------------
 Reporter:  getpsimon  |        Type:  bug   
   Status:  new        |    Priority:  normal
Milestone:             |   Component:  build 
  Version:  1.8.0      |    Severity:  medium
 Keywords:             |        Lang:        
    Patch:             |    Platform:  linux 
-----------------------+----------------------------------------------------

Comment(by doughera):

 Replying to [comment:6 getpsimon]:

 > I followed Andy's suggestion, apt-get install libicu-dev, and parrot
 installed flawlessly. However, parrot won't install if I build ICU from
 source unless I add /usr/local/lib to LD_LIBRARY_PATH.

 Ah ha  -- that was the missing piece.  I didn't know you were trying to
 build from a locally-installed version.

 There's enough blame here for everyone to share some.  icu-config should
 perhaps have given more helpful flags (like including the approriate
 -rpath incantations).  If you want parrot to use libraries from a location
 not normally searched by ld.so, then perhaps you should be expected to
 make appropriate local adjustments (either by setting LD_LIBRARY_PATH or
 running ldconfig or whatever is appropriate on your system).  And finally,
 even if parrot doesn't automatically add the appropriate flags, it should
 at least warn you earlier in a more helpful way what is going on.

 I see two easy possibilities for things parrot could do better:

 1.  Parrot's icu test could actually try linking a program against -licu
 and running the program before deciding that the user actually has a
 useful icu library.

 2.  Towards the end of the configuration process, Configure.pl could run a
 quick sanity check to make sure all the flags and libraries will work
 together, and print a helpful error message if there is any problem. (More
 details on how to do such a check are in RT #41168.)

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