[Dune] configure does not find UG

Andre Massing massing at zib.de
Mon Apr 2 17:03:14 CEST 2007


Dear DUNE developers,

at the moment I am struggling with making UG known to dune. Both has been 
updated today and I installed UG to /usr/local/ug-3.9.x. (not sure about the 
next release number) und configure failed to recognize UG because of some 
missing (only for parallel computing essential?) libraries 
(UG was configured without parallel support):

configure:24551: checking UG libraries (parallel)
configure:24577: ./libtool --tag=CXX --mode=link 
g++ -g -O2  -L/usr/local/ug-3.9.x/lib -o 
conftest -g -O2 -I/usr/local/ug-3.9.x/include -DModelP -D_2  -L/usr/local/ug-3.9.x/lib 
conftest.cpp -lugS2 -lugS3 -ldevS  >&5
mkdir .libs
g++ -g -O2 -o conftest -g -O2 -I/usr/local/ug-3.9.x/include -DModelP -D_2 
conftest.cpp  -L/usr/local/ug-3.9.x/lib -lugS2 -lugS3 /usr/local/ug-3.9.x/lib/libdevS.a -lm
/usr/bin/ld: cannot find -lugS2
collect2: ld returned 1 exit status

configure:24583: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "dune-common"
| #define PACKAGE_TARNAME "dune-common"
| #define PACKAGE_VERSION "0.0"
| #define PACKAGE_STRING "dune-common 0.0"
| #define PACKAGE_BUGREPORT "dune at dune-project.org"
| #define PACKAGE "dune-common"
| #define VERSION "0.0"
| #define DUNE_DEPRECATED __attribute__((deprecated))
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define DUNE_MINIMAL_DEBUG_LEVEL 4
| #define HAVE_RPC_RPC_H 1
| #define HAVE_PTHREAD 1
| #define ALBERTA_DIM 2
| #define ALBERTA_WORLD_DIM 2
| #define HAVE_ALBERTA 1
| /* end confdefs.h.  */
| #include "initug.h"
|                #include "parallel.h"
| int
| main ()
| {
| int i = UG::D2::InitDDD()
|   ;
|   return 0;
| }
configure:24601: result: no


So any idea how to resolve this? 
TIA for any help.

Andre
-- 
Andre Massing			    phone:  + 49 30 84185-343
Zuse Institute Berlin		    fax:    + 49 30 84185-107
Numerical Analysis and Modelling    mail:   massing at zib.de
Takustrasse 7
D-14195 Berlin-Dahlem



More information about the Dune mailing list