Skip to content

#268 dune-grid configuration fails for global installation of dune-common

Metadata

Property Value
Reported by Thimo Neubauer (thimo@macht.org)
Reported at Mar 14, 2007 11:57
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Mar 21, 2007 10:40
Closed in version 1.0
Resolution Fixed
Comment Fixed in revision 4868 in the release

Description

I've installed dune-common beta2 with the usual "./configure && make && make install" and that went fine. Then I unpacked dune-grid and tried the same. First problem:

[...] checking for dune-common installation or source tree... failed configure: could not search for module dune-common configure: error: pkg-config is required for using installed modules Exit 1

Strangely enough the environment variable PKG_CONFIG isn't set in ./configure so setting it in the shell to "pkg-config" got me a bit further:

[...] checking for dune-common installation or source tree... global installation in /usr/local checking dune/common/stdstreams.hh usability... yes checking dune/common/stdstreams.hh presence... yes checking for dune/common/stdstreams.hh... yes checking for libdunecommon... no configure: error: global installation does not seem to contain a valid dune-common (failed to link with libdunecommon.la)

config.log says:

configure:31439: ./libtool --tag=CXX --mode=link g++ -g -O2 -o conftest -g -O2 -I/usr/local/include / usr/local/lib conftest.cpp -ldunecommon >&5 mkdir .libs g++ -g -O2 -o conftest -g -O2 -I/usr/local/include /usr/local/lib conftest.cpp -ldunecommon conftest.cpp:39:1: warning: "DUNE_MINIMAL_DEBUG_LEVEL" redefined conftest.cpp:23:1: warning: this is the location of the previous definition /usr/bin/ld: /usr/local/lib: No such file: File format not recognized collect2: ld returned 1 exit status

Somehow the "-L" is missing in front of /usr/local/lib.

Attachments