boost/config.hpp: No such file or directory in 1.32
With boost 1.32, but not 1.31, I get the following errors g++ -I /home/ross/peter/R/mspath/src -I/usr/lib/R/include -std=c++98 -Wall -I/usr/lib/R/include -MMD -MF /home/ross/peter/R/mspath/src/depends/ConstrainedCoefficients.d -MP -g -O2 -c -o ConstrainedCoefficients.o /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.cc In file included from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map_adapter.hpp:22, from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map.hpp:23, from /home/ross/peter/R/mspath/src/trueSrc/ScratchPad.h:7, from /home/ross/peter/R/mspath/src/trueSrc/ScratchDataProducer.h:5, from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.h:9, from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.cc:2: /home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:22:28: warning: boost/config.hpp: No such file or directory /home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:23:31: warning: boost/operators.hpp: No such file or directory In file included from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map_adapter.hpp:22, from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map.hpp:23, from /home/ross/peter/R/mspath/src/trueSrc/ScratchPad.h:7, from /home/ross/peter/R/mspath/src/trueSrc/ScratchDataProducer.h:5, from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.h:9, from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.cc:2: /home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:34: error: parse error before `<' token /home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:39: error: syntax error before `;' token etc. This is using a pre-release version of the smart container (now indirect iterator, I think) library. 1.31 was current at the time of the pre-release. I've searched the list other places, but haven't found any clues to what's going on. Does anyone have any ideas? This is on Debian; is it possible these files have been inadvertently deleted? My /usr/include/boost/ directory does not have operators.hpp, though it is in some subdirectories (e.g., lambda/detail/). -- Ross Boylan wk: (415) 502-4031 530 Parnassus Avenue (Library) rm 115-4 ross@biostat.ucsf.edu Dept of Epidemiology and Biostatistics fax: (415) 476-9856 University of California, San Francisco San Francisco, CA 94143-0840 hm: (415) 550-1062
Ross Boylan wrote:
I've searched the list other places, but haven't found any clues to what's going on. Does anyone have any ideas? This is on Debian; is it possible these files have been inadvertently deleted? My /usr/include/boost/ directory does not have operators.hpp, though it is in some subdirectories (e.g., lambda/detail/).
/usr/include/boost/config.hpp is part of the libboost-dev package. But this might have something to do with: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290340 Apparently some file were disappearing after upgrades. But I don't use the debian packages nowadays, so I'm not not sure.
On Fri, Mar 25, 2005 at 11:54:55AM +0000, Daniel James wrote:
Ross Boylan wrote:
I've searched the list other places, but haven't found any clues to what's going on. Does anyone have any ideas? This is on Debian; is it possible these files have been inadvertently deleted? My /usr/include/boost/ directory does not have operators.hpp, though it is in some subdirectories (e.g., lambda/detail/).
/usr/include/boost/config.hpp is part of the libboost-dev package.
But this might have something to do with:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290340
Apparently some file were disappearing after upgrades. But I don't use the debian packages nowadays, so I'm not not sure.
It certainly seems files are disappearing. The claim is the 290340 was actually a file moving between packages, but that definitely wasn't the case for me. dpkg -L confirmed the file was part of the package, even though the file wasn't installed! I filed another Debian bug. Fortunately, doing another upgrade solved the problem. Next question: does boost define any macros I can use to test the version, and compile conditionally? Failing that, is their some autconf magic I can use? At least in the short term I have 1.31 on some machines and 1.32 on others. Additionally, I'd like for others to be able to use the stuff I'm working on with as little trouble as possible.
Ross Boylan wrote:
Next question: does boost define any macros I can use to test the version, and compile conditionally?
Look at the boost/version.hpp header. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
participants (4)
-
Daniel James
-
John Maddock
-
Rene Rivera
-
Ross Boylan