[Bug 229927] Review Request: mecab - Yet Another Part-of-Speech and Morphological Analyzer

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 26 14:39:59 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: mecab - Yet Another Part-of-Speech and Morphological Analyzer


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229927





------- Additional Comments From j.w.r.degoede at hhs.nl  2007-02-26 09:39 EST -------
(In reply to comment #3)
> (In reply to comment #2)
> > The lack of rpath however will cause %check to fail, this can be fixed by
> > adding: "export LD_LIBRARY_PATH=`pwd`/src/.libs" between %check and cd tests
> 
> Actually removing rpath completely simply breaks the test because
> the binary (not installed) actually requres rpath, and your fix
> (also seemingly recommended on Fedora) seems just a workaround.
> 
> Rather, does the following work for you?
> -----------------------------------------------------
> %configure
> %{__sed} -i -e '/dlsearch/s|\(/[a-z/]*\)lib\([a-z/]*\)|\1lib\2 \1lib64\2|g'
libtool
> 
> %{__make} %{?_smp_mflags}
> -----------------------------------------------------
> 

Yes that works too, notice that you should replace the lib64 in there with
%{_lib}, you could also use %ifarch, but that becomes ugly soon as you will need
atleast x86_64 and ppc64 there then and in the future maybe others.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list