Boost logo

Boost Users :

Subject: [Boost-users] Struggling to compile encfs, linking with boost library
From: Jean Jordaan (jean.jordaan_at_[hidden])
Date: 2009-03-20 03:53:57


Hi there

I want to use encfs on a box with a Debian distro that doesn't have
recent encfs and boost packages available, so I'm compiling them from
source.

I installed boost like this::

  $ ./configure --prefix=/home/zope/local

It seems to complete fine. This incantation finds the libraries, but
dies shortly thereafter::

  zope_at_iwlearn:/home/zope/src/encfs-1.5$
CPPFLAGS=-I/home/zope/local/include/boost-1_38 ./configure
--with-boost-libdir=/home/zope/local/lib --prefix=/home/zope/local
  [...]
  checking for boostlib >= 1.34... yes
  checking whether the Boost::System library is available... yes
  checking for exit in -lboost_system-gcc41-mt-1_38... yes
  configure: WARNING: BOOST_CPPFLAGS -I/usr/include
  checking whether the Boost::Serialization library is available... yes
  checking for exit in -lboost_serialization-gcc41-mt-1_38... yes
  checking whether the Boost::Filesystem library is available... yes
  checking for exit in -lboost_filesystem-gcc41-mt-1_38... no
  checking for exit in -lboost_filesystem-gcc41-mt-1_38... (cached) no
  checking for exit in -lboost_filesystem-gcc41-mt-1_38... (cached) no
  checking for exit in -lboost_filesystem-gcc41-mt... no
  checking for exit in -lboost_filesystem-gcc41-mt... (cached) no
  configure: error: Could not link against boost_filesystem-gcc41-mt !

I wonder why "checking for exit" works in
-lboost_serialization-gcc41-mt-1_38 and not in
-lboost_filesystem-gcc41-mt-1_38 ..
What does that mean, "checking for exit"? (Googling ..)

-- 
jean                                              . .. .... //\\\oo///\\

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net