LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2015, 10:18 PM   #1
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Rep: Reputation: Disabled
Installing boost for pov issues


I was installing Boost, and I got these errors while installing:
(Have fun reading through this)
Code:
/usr/include/features.h:18:2: error: invalid preprocessing directive #ifndef
 #ifndef _FEATURES_H
  ^
/usr/include/features.h:130:2: error: invalid preprocessing directive #ifndef
 #ifndef _LOOSE_KERNEL_NAMES
  ^
/usr/include/features.h:132:2: error: #endif without #if
 #endif
  ^
/usr/include/features.h:372:2: error: invalid preprocessing directive #ifndef
 #ifndef __ASSEMBLER__
  ^
/usr/include/features.h:373:3: error: invalid preprocessing directive #ifndef
 # ifndef _SYS_CDEFS_H
   ^
In file included from /usr/include/features.h:374:0,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/math.h:26,
                 from ./boost/math/tr1.hpp:14,
                 from libs/math/build/../src/tr1/assoc_laguerre.cpp:10:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:18:2: error: invalid preprocessing directive #ifndef
 #ifndef _SYS_CDEFS_H
  ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:22:2: error: invalid preprocessing directive #ifndef
 #ifndef _FEATURES_H
  ^
In file included from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23:0,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/x86_64-linux-gnu/sys/cdefs.h:23,
                 from /usr/include/features.h:374,
                 from /usr/include/math.h:26,
                 from ./boost/math/tr1.hpp:14,
                 from libs/math/build/../src/tr1/assoc_laguerre.cpp:10:
Any way to fix these? This goes on in an infinite loop. I had to use ctr+c to stop it.

Thanks
 
Old 10-21-2015, 03:25 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Installing boost ( in all versions of Ubuntu, Mint, Debian ) :

$ sudo apt-get update && sudo apt-get install libboost-all-dev


If you want answers for a manual build, then the boost version and the OS version must be specified:
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html


-
 
Old 10-21-2015, 04:59 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? Povray ?

How about $ sudo apt-get install povray
 
Old 10-22-2015, 08:00 PM   #4
techdude
Member
 
Registered: Oct 2013
Distribution: Linux Mint
Posts: 66

Original Poster
Rep: Reputation: Disabled
Thanks, although I had to manually download all 99 .debs to install it, it worked. Thanks again.
 
  


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
Accidentally installed conflicting versions of C++ Boost library - CMake issues..... datahead8888 Ubuntu 1 05-24-2014 01:41 PM
Error installing due to boost lib cecillord Linux - Newbie 6 10-02-2013 11:24 AM
[SOLVED] Problem with installing Boost on RHEL 5.2 sd9 Linux - Software 1 11-09-2010 03:29 AM
Problems in installing boost and quantlib mariav Linux - Software 3 07-14-2008 09:20 AM
Installing Boost for Kahakai chutsu Linux - Software 3 11-09-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:20 AM.

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