[Dune] trouble with autoconf

Markus Blatt markus at dr-blatt.de
Thu Oct 25 11:23:11 CEST 2012


Hi,

On Thu, Oct 25, 2012 at 10:36:30AM +0200, Alexander Schlaich wrote:
> I have some trouble with the autotools. I already checked the web, but
> the solutions commonly discussed didn't work for me. Maybe some of you
> already run into the same trouble?
> The pkg-config seems to work for me as only during autogen of pdelab I
> obtain
> 

So all the other modules build fine? That is weired or are you using
the tarballs of them.

Anyway, what version auf autotools are you using? Please check whether
your system satisfies the depenendecies published at
http://www.dune-project.org/doc/installation-notes.html 

Another solution is to use the pdelab release tarballs
http://www.dune-project.org/pdelab/#ToC10 .

Or switch to cmake branch of the dune-modules
http://users.dune-project.org/projects/cmakedune/wiki/Status

Markus

> node342:dune-2.2_svn> dune-common/bin/dunecontrol --opts=config.opts
> [...]
> configure.ac:23: error: possibly undefined macro: AC_SUBST
>       If this token and others are legitimate, please use
> m4_pattern_allow.
>       See the Autoconf documentation.
> configure:42340: error: possibly undefined macro: AS_CASE
> configure:42342: error: possibly undefined macro: AC_CACHE_CHECK
> configure:42358: error: possibly undefined macro: AC_MSG_RESULT
> configure:42372: error: possibly undefined macro: AC_DEFINE
> --- Failed to build dune-pdelab ---
> Terminating dunecontrol due to previous errors!
> 
> whereas
> 
> node342:dune-2.2_svn> cd dune-pdelab/
> node342:dune-2.2_svn> autoconf
> 
> works, but during configure I then obtain
> (...)
> checking whether clock_gettime()'s definition is available... yes
> ./configure: line 42340: syntax error near unexpected token
> `"$dune_cv_defs_posix_clock",'
> ./configure: line 42340: `  AS_CASE("$dune_cv_defs_posix_clock",'
> --- Failed to build dune-pdelab ---
> Terminating dunecontrol due to previous errors!
> 
> I'm using dune-2.2 and pdelab-1.0.
> Versions: 	autoconf 	2.59
> 		pkg-config 	0.21
> 		dune-common 	Rev:6815
> 		dune-geometry	Rev:113
> 		dune-grid 	Rev:8398
> 		dune-istl	Rev:1639
> 		dune-localfunctions 	Rev:1075
> 		dune-pdelab	Rev:2231
> 
> 
> I also tried a never version of autoconf (2.65), but the error message
> was the same. I'd be very grateful if you can provide me a hint as I
> need the software urgently installed.
> 
> Thank you very much for any help!
> 
> Alex
> 
> PS: I also found that pdelab-howto didn't compile on my machine due to
> bechnmarkhelper.hh not being installed. A patch for this is attached.

> Index: dune/pdelab/common/Makefile.am
> ===================================================================
> --- dune/pdelab/common/Makefile.am	(Revision 2277)
> +++ dune/pdelab/common/Makefile.am	(Arbeitskopie)
> @@ -18,7 +18,8 @@
>  	range.hh				\
>  	typetree.hh                             \
>          typetraits.hh                           \
> -	vtkexport.hh
> +	vtkexport.hh 		                 \
> +    benchmarkhelper.hh 
>  
>  noinst_LTLIBRARIES = libpdelabcommon.la
>  libpdelabcommon_la_SOURCES =			\
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune


-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 




More information about the Dune mailing list