← Back to team overview

dolfin team mailing list archive

[Bug 582297] Re: configure fails on linking for Arch Linux

 

** Changed in: dolfin
       Status: Fix Committed => Fix Released

-- 
configure fails on linking for Arch Linux
https://bugs.launchpad.net/bugs/582297
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: Fix Released

Bug description:
On Arch Linux, dolfin-0.9.7 or trunk, configure fails because of the order in which things are put in the linking test.

$ scons configure
scons: Reading SConscript files ...
/home/myles/fenics/dolfin/scons/simula-scons
Checking for pkg-config... yes
Checking for boost... yes
Checking for boost_filesystem... yes
Checking for boost_program_options... yes
Checking for cgal... yes
Checking for cholmod... yes
Checking for lapack... yes
Checking for libxml-2.0... yes
Checking for mtl4... yes
Checking for numpy-1... yes
Checking for parmetis... yes
Checking for petsc... yes
Checking for python-2... yes
Checking for scotch... yes
Checking for slepc... yes
Checking for trilinos... yes
Checking for ufc-1... yes
Checking for umfpack... yes
Checking for zlib... yes
Resolving compiler... The Python site-packages directory for Trilinos is not 
in your PYTHONPATH, consider adding one of
['/home/myles/fenics/trilinos-10.2.0/lib/python2.6/site-packages', '/home/myles/fenics/trilinos-10.2.0/lib/python2.6/dist-packages'] 
to PYTHONPATH in your environment. You will probably need to adjust
LD_LIBRARY_PATH/DYLD_LIBRARY_PATH as well.

done
Error: Unknown dependency package: boost

After applying the attached patch :

$ scons configure
scons: Reading SConscript files ...
/home/myles/fenics/dolfin/scons/simula-scons
Checking for pkg-config... yes
Checking for boost... yes
Checking for boost_filesystem... yes
Checking for boost_program_options... yes
Checking for cgal... yes
Checking for cholmod... yes
Checking for lapack... yes
Checking for libxml-2.0... yes
Checking for mtl4... yes
Checking for numpy-1... yes
Checking for parmetis... yes
Checking for petsc... yes
Checking for python-2... yes
Checking for scotch... yes
Checking for slepc... yes
Checking for trilinos... yes
Checking for ufc-1... yes
Checking for umfpack... yes
Checking for zlib... yes
Resolving compiler... The Python site-packages directory for Trilinos is not 
in your PYTHONPATH, consider adding one of
['/home/myles/fenics/trilinos-10.2.0/lib/python2.6/site-packages', '/home/myles/fenics/trilinos-10.2.0/lib/python2.6/dist-packages'] 
to PYTHONPATH in your environment. You will probably need to adjust
LD_LIBRARY_PATH/DYLD_LIBRARY_PATH as well.

done
Found optional package: trilinos (version >= 4.0.0)
Found optional package: slepc (version >= 3.0.0)
Found optional package: zlib (version >= 1.2.3)
Found optional package: petsc (version >= 3.0.0)
Unable to find optional package: cgal (version >= 3.5.1)
Unable to find optional package: umfpack (version >= 5.2.0)
Unable to find optional package: cholmod (version >= 1.6.0)
Unable to find optional package: parmetis (version >= 3.1)
Unable to find optional package: lapack (version >= 3.0)
Unable to find optional package: mtl4 (version >= 4)
Unable to find optional package: scotch (version >= 5.0)
Enabling compilation of Python wrappers
---------------------------------------------------------
Configuration of DOLFIN finished. Now run

    scons

to build DOLFIN. To see available configure options, run

    scons configure --help or -h

For a list of general SCons options, run

    scons --help-options or -H

---------------------------------------------------------


  -- Myles





References