Skip to content

#163 duneproject script needs fix

Metadata

Property Value
Reported by Sreejith Pulloor Kuttanikkad (sreejith@hal.iwr.uni-heidelberg.de)
Reported at Jul 28, 2006 08:21
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Sreejith Pulloor Kuttanikkad (sreejith@hal.iwr.uni-heidelberg.de)
Last edited at Jul 28, 2006 08:40
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Jul 30, 2006 19:36
Closed in version Unknown
Resolution Fixed
Comment automake got confused by dashes in variable names. Now the cc file name gets converted to make automake happy.

Description

when using the module name as project name say (dune-test) when building the module it fails saying

--- calling all for dune-test --- ----- loading default flags $AUTOGEN_FLAGS from /afs/iwr.uni-heidelberg.de/home/sreejith/dune-home/my.opts ----- Forcing autoconf version uffff2.50uffff Forcing automake version uffff-1.8uffff --> libtoolize... Remember to add AC_PROG_LIBTOOL' to configure.ac'. --> aclocal... --> autoheader... --> linking dune-common/am... --> automake... Makefile.am:9: bad characters in variable name dune-test_SOURCES' Makefile.am:11: bad characters in variable name dune-test_CXXFLAGS' Makefile.am:12: bad characters in variable name dune-test_LDADD' Makefile.am:12: use dune_test_LDADD', not dune-test_LDADD' Makefile.am:9: use dune_test_SOURCES', not dune-test_SOURCES' Makefile.am:12: unused variable: dune-test_LDADD' Makefile.am:9: unused variable: `dune-test_SOURCES' --- Failed to build dune_test --- Execution terminated due to errors!

also when creating a new project New Project name?(a directory with this name will be created, eg: dune-grid): dune-test Modules this module depends on (separated by spaces). Available modules are dune_dd dune_tutorial dune_grid dune_common dgstokes dune_istl dune_disc : dune_disc dune_istl dune_grid ./dune-common/bin/duneproject: line 30: [: too many arguments

msg saying too many arguments coming..