Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50904 - Text-ChaSen is unsable
Summary: Text-ChaSen is unsable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-13 00:29 UTC by NOKUBI Takatsugu
Modified: 2004-07-22 07:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NOKUBI Takatsugu 2004-05-13 00:29:16 UTC
Latest libchasen uses C++ library, but MakeMaker was not considerd about it.
So you need to change Makefile.Pl a little bit.


Reproducible: Always
Steps to Reproduce:
1. ebuild Text-ChaSen
2. perl -e 1 -MText::ChaSen

Actual Results:  
# perl -e 1 -MText::ChaSen
Can't load
'/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/auto/Text/ChaSen/ChaSen.so' for
module Text::ChaSen: /usr/lib/libchasen.so.0: undefined symbol:
__gxx_personality_v0 at /usr/lib/perl5/5.8.2/i686-linux/DynaLoader.pm line 229.
 at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.


Expected Results:  
# perl -e 1 -MText::ChaSen
# echo $?
0


I made a patch for it.

--- Text-ChaSen-1.03.ebuild     2004-05-13 07:21:40.000000000 +0000
+++ Text-ChaSen-1.03.ebuild.new 2004-05-13 07:24:28.000000000 +0000
@@ -21,4 +21,6 @@
        unpack ${A}
        cd ${S}
        patch -p0 < ${DISTDIR}/ChaSen.pm-1.03-pod-fix.diff
+       sed -e '5a"LD" => "g++",' Makefile.PL > MP.tmp
+       mv MP.tmp Makefile.PL
 }
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-07-07 09:22:23 UTC
Had the same problem and this patch fixed it.
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2004-07-22 07:58:48 UTC
in cvs.