SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/usr/share/pkgconfig/eigen3.pc from eigen3 package incorrectly claims "Cflags: -Iinclude/eigen3". This is due to broken CMakeLists.txt which, if EIGEN_INCLUDE_INSTALL_DIR hasn't been set by the user (its not set in the eigen3.SlackBuild), wrongly sets INCLUDE_INSTALL_DIRECTORY to "include/eigen3" (line 304) instead of the correct /usr/include/eigen3 path.
Two possible fixes:
1. add -DEIGEN_INCLUDE_INSTALL_DIR=/usr/include/eigen3 \ to the cmake options in the SlackBuild
2. patch the CMakeLists.txt file with something like attached patch (using -p0)
The problem has been recognized elsewhere and a fix included in a wider ranging pull request to upstream. See: https://bitbucket.org/eigen/eigen/pu...ll_prefix/diff. However, since we know that it is broken & how to fix it quickly, it would be nice not to have to wait for upstream to incorporate that pull request, issue new release etc., etc.
chris
Last edited by chris.willing; 11-30-2015 at 04:12 PM.
Reason: clarification
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.