First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50904
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: NOKUBI Takatsugu <knok@daionet.gr.jp>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50904 depends on: Show dependency tree
Show dependency graph
Bug 50904 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-13 00:29 0000
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 From Jason Stubbs (RETIRED) 2004-07-07 09:22:23 0000 -------
Had the same problem and this patch fixed it.

------- Comment #2 From MATSUU Takuto 2004-07-22 07:58:48 0000 -------
in cvs.

First Last Prev Next    No search results available      Search page      Enter new bug