← Back to team overview

dolfin team mailing list archive

Scons cannot find boost libraries on ubuntu

 

Hi!

When trying to install Dolfin on my ubuntu machine I get the following (even
though boost/scotch/umfpack and trilinos are installed as packages):

$ sudo scons
scons: Reading SConscript files ...
Using options from scons/options.cache
Checking for pkg-config... yes
Checking for numpy-1... yes
Checking for scotch... no (pkg-config file not found)
 Trying to generate pkg-config file for scotch... failed
Checking for trilinos... no (pkg-config file not found)
 Trying to generate pkg-config file for trilinos... failed
Checking for ufc-1... yes
Checking for umfpack... no (pkg-config file not found)
 Trying to generate pkg-config file for umfpack... failed
Checking for mtl4... no (pkg-config file not found)
 Trying to generate pkg-config file for mtl4... failed
Checking for petsc... yes
Checking for gts... yes
Checking for boost... no (pkg-config file not found)
 Trying to generate pkg-config file for boost... failed
Checking for cholmod... no (pkg-config file not found)
 Trying to generate pkg-config file for cholmod... failed
Checking for parmetis... no (pkg-config file not found)
 Trying to generate pkg-config file for parmetis... failed
Checking for python-2... yes

Checking for slepc... no (pkg-config file not found)
 Trying to generate pkg-config file for slepc... failed
Checking for libxml-2.0... yes
Resolving compiler... done
Warning: Unknown dependency package: boost
Enabling compilation of PyDOLFIN
scons: done reading SConscript files.
scons: *** No targets specified and no Default() targets found.  Stop.

Using withBoostDir=/usr/include/boost does not help. What should I do to fix
this?

Best regards,
Jesper

Follow ups