configure fails on linking for Arch Linux

Bug #582297 reported by Myles English
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Undecided
Unassigned

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

Related branches

Revision history for this message
Myles English (mylesenglish) wrote :
Revision history for this message
Myles English (mylesenglish) wrote :
Johannes Ring (johannr)
Changed in dolfin:
status: New → Fix Committed
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.