<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>50904</bug_id>
          
          <creation_ts>2004-05-13 00:29 0000</creation_ts>
          <short_desc>Text-ChaSen is unsable</short_desc>
          <delta_ts>2004-07-22 07:58:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>knok@daionet.gr.jp</reporter>
          <assigned_to>cjk@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>knok@daionet.gr.jp</who>
            <bug_when>2004-05-13 00:29:16 0000</bug_when>
            <thetext>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&apos;t load
&apos;/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/auto/Text/ChaSen/ChaSen.so&apos; 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 &lt; ${DISTDIR}/ChaSen.pm-1.03-pod-fix.diff
+       sed -e &apos;5a&quot;LD&quot; =&gt; &quot;g++&quot;,&apos; Makefile.PL &gt; MP.tmp
+       mv MP.tmp Makefile.PL
 }</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jstubbs@gentoo.org</who>
            <bug_when>2004-07-07 09:22:23 0000</bug_when>
            <thetext>Had the same problem and this patch fixed it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matsuu@gentoo.org</who>
            <bug_when>2004-07-22 07:58:48 0000</bug_when>
            <thetext>in cvs.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>