[mlpack] Need some help when installing mlpack1.0.8
cuphrody
cuphrody at gmail.com
Mon Apr 7 03:01:46 EDT 2014
Thank you guys, I've figure it out. Actually, I didn't have a directory named "/usr/lib/lib" and I dont know why that occurs, I first remove the boost-devel library using "yum erase boost-devel",
then I download the full boost 1.55 from boost official website and install it manually. I found in CentOS, if just use yum to install the boost package, the libboost_program_options.so.5 file can't be found , actually when I have boost-devel and boost together, the CMAKE script act wired as Ryan said. After all, appreciate for your responses. :)
Best Regards
Cuphrody
------------------ Original ------------------
From: "Ryan Curtin";<gth671b at mail.gatech.edu>;
Date: Sun, Apr 6, 2014 11:42 PM
To: "Anand Soni"<anand.92.soni at gmail.com>;
Cc: "cuphrody"<cuphrody at gmail.com>; "mlpack"<mlpack at cc.gatech.edu>;
Subject: Re: [mlpack] Need some help when installing mlpack1.0.8
On Sun, Apr 06, 2014 at 04:26:59PM +0530, Anand Soni wrote:
> Hi,
>
> It seems like you have messed up in one of the following possible ways :
>
> a) You have the mentioned .so file in more than one locations.
>
> b) You have another directory named 'lib' inside /usr/lib (and hence the
> error : No rule to make target '*/usr/lib/lib/*libboost_
> program_options-mt.so.5)
>
> c) If none of the above is the case try to find the library through the
> find_* command of cmake. Follow the links below if you need help :
>
> http://www.cmake.org/cmake/help/v2.8.10/cmake.html#command%3afind_library
> http://stackoverflow.com/questions/12075371/cmake-find-library-custom-library-location
>
> One of these should fix your problem.
In this case, because you're on CentOS, I think that adding
-D Boost_NO_BOOST_CMAKE=1 should fix your issue. The Boost CMake
scripts on RHEL6 (or CentOS) act weirdly, but adding that argument to
the CMake command line should fix it.
If it doesn't, Anand's suggestions are good next places to look.
Thanks,
Ryan
--
Ryan Curtin | "Do I sound like I'm ordering a pizza?"
ryan at ratml.org | - John McClane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack/attachments/20140407/5e3f883b/attachment.html>
More information about the mlpack
mailing list