Doing ports/py-mlpy "make install" seems to work successfully, but when running, it fails. (can't import mlpy-library from python) Since FreeBSD lacks C99 spec's cpow(), some alternative function/library needs to be assigned. Fix: Apply the following patch. I'm not sure if this is a true final solution, but at the least it solves the "cannot import problem". (gsl's function is used instead of the lacking cpow(). GNU gsl is already installed by dependency) How-To-Repeat: As described above, just "import" from python interpreter fails. % python Python 2.6.4 (r264:75706, May 7 2010, 09:17:16) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd8 Type "help", "copyright", "credits" or "license" for more information.
wen 2010-12-21 01:22:30 UTC FreeBSD ports repository Modified files: science/py-mlpy Makefile distinfo Added files: science/py-mlpy/files patch-mlpy-cwt-cwb.c Log: - Fix run error because of lacking cpow() function in FreeBSD. - Remove MD5 PR: ports/153299 Submitted by: Kawaguti Ginga <ginga-freebsd@ginganet.org> Revision Changes Path 1.7 +1 -0 ports/science/py-mlpy/Makefile 1.5 +0 -1 ports/science/py-mlpy/distinfo 1.1 +17 -0 ports/science/py-mlpy/files/patch-mlpy-cwt-cwb.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!