Opened 10 years ago

Last modified 3 years ago

#42991 closed defect

boost @1.55.0_2: 'bits/c++config.h' file not found — at Version 2

Reported by: twilsonco@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: boost

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Have followed migration instructions wiki:Migration, and most packages now build.

Log attached. Big log... Some errors like

/opt/local/include/cstddef:43:10: fatal error: 'bits/c++config.h' file not found

make me think my compiler's are messed up. Been using gcc 4.6.4 from MacPorts. Seems to compile fine, but I don't know.

Change History (3)

Changed 10 years ago by twilsonco@…

Attachment: main.log added

boost install log file

comment:1 Changed 10 years ago by twilsonco@…

Meant to say "my GCC compiles other stuff fine, so I don't know why it would give problems with boost, since I use cstdlib frequently and it never complains."

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: boost 10.9.2 removed
Port: boost added
Summary: boost @1.55.0_2 won't build in OS X 10.9.2boost @1.55.0_2: 'bits/c++config.h' file not found

Note that boost is compiling with clang, like it should. You're welcome to use gcc46 for your own purposes, but ports will build with a compiler that MacPorts chooses based on your Xcode version.

The file should be located in /usr/include/c++/4.2.1/bits/c++config.h. Is it? If not, have you installed the command line tools by running xcode-select --install?

Note: See TracTickets for help on using tickets.