LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-30-2015, 05:51 AM   #1
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Incorrect info in eigen3.pc (-current)


/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)

chris
Attached Files
File Type: txt include_path.diff.txt (315 Bytes, 21 views)
 
Old 11-30-2015, 04:00 PM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Original Poster
Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
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
 
1 members found this post helpful.
Old 12-03-2015, 04:54 AM   #3
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
chris.willing deserves credit for this recent change to Slackware current not comet.berkeley...

http://www.slackware.com/changelog/c...php?cpu=x86_64

It should read:

Thu Dec 3 07:28:30 UTC 2015
...
l/eigen3-3.2.7-x86_64-2.txz: Rebuilt.
Fixed eigen3.pc include directory. Thanks to chris.willing

Last edited by aaazen; 12-03-2015 at 05:07 AM. Reason: add link to changelog
 
Old 12-03-2015, 06:18 AM   #4
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Original Poster
Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by comet.berkeley View Post
chris.willing deserves credit for this recent change to Slackware current not comet.berkeley...

http://www.slackware.com/changelog/c...php?cpu=x86_64

It should read:

Thu Dec 3 07:28:30 UTC 2015
...
l/eigen3-3.2.7-x86_64-2.txz: Rebuilt.
Fixed eigen3.pc include directory. Thanks to chris.willing
Thanks for mentioning it - main thing is its fixed.

chris
 
1 members found this post helpful.
Old 12-03-2015, 01:12 PM   #5
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,498

Rep: Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450Reputation: 8450
Ooops, sorry! Thanks to chris.willing for that fix. I guess I got the cxxxx.xxxxxxx usernames mixed up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] nagios show incorrect info hesisaboury Linux - Server 2 11-16-2013 05:17 AM
uptime, top, w and who: incorrect users info pdi Slackware 5 07-11-2008 09:22 PM
How can I get info re. current active connections? rickh Linux - Security 4 01-16-2006 08:18 AM
Current Package INfo apocolpse Linux - Newbie 3 10-09-2004 07:54 PM
df -h vs cfdisk info, incorrect size of new drive csDraco_ Linux - Hardware 2 09-21-2003 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration