[Dune] Installationsproblem auf Sun

Christian Engwer christi at uni-hd.de
Mon Nov 27 11:55:37 CET 2006


Dear Matthias,

could you please try the attached patch?

Cheers Christian

On Mon, Nov 27, 2006 at 11:28:38AM +0100, Matthias Läuter wrote:
> Dear developpers,
> 
> I have successfully installed dune on a Linux-machine.
> With the same dune I have failed to install on a solaris 9-machine.
> 
> The packages automake, autoconf and libtool are present with permitted
> versions. The call
> ./dune-common/bin/dunecontrol all
> fails with the last output-lines listed below. Do you have an idea for
> the error?
> 
> Best,
> Matthias Laeuter
> 
> ....
> 
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating bin/Makefile
> config.status: creating common/Makefile
> config.status: creating common/test/Makefile
> config.status: creating common/exprtmpl/Makefile
> config.status: creating doc/Makefile
> config.status: creating doc/devel/Makefile
> config.status: creating doc/layout/Makefile
> config.status: creating doc/doxygen/Makefile
> config.status: creating doc/buildsystem/Makefile
> config.status: creating m4/Makefile
> config.status: creating am/Makefile
> config.status: creating bin/wmlwrap
> config.status: creating bin/check-log-store
> config.status: creating dune-common.pc
> config.status: creating config.h
> config.status: executing depfiles commands
> make
> make  all-recursive
> make[1]: Entering directory `/data/model2/mlaeuter/sundune/dune-common'
> Making all in lib
> make[2]: Entering directory `/data/model2/mlaeuter/sundune/dune-common/lib'
> make -C $(dirname ../common/libcommon.la) $(basename ../common/libcommon.la)
> make[3]: Entering directory 
> `/data/model2/mlaeuter/sundune/dune-common/common'
> if /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. 
> -I. -I..  -I.. -I../..   -g -O2 -MT stdstreams.lo -MD -MP -MF 
> ".deps/stdstreams.Tpo" -c -o stdstreams.lo stdstreams.cc; \
> then mv -f ".deps/stdstreams.Tpo" ".deps/stdstreams.Plo"; else rm -f 
> ".deps/stdstreams.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../.. -g -O2 -MT stdstreams.lo 
> -MD -MP -MF .deps/stdstreams.Tpo -c stdstreams.cc -o stdstreams.o
> if /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. 
> -I. -I..  -I.. -I../..   -g -O2 -MT configparser.lo -MD -MP -MF 
> ".deps/configparser.Tpo" -c -o configparser.lo configparser.cc; \
> then mv -f ".deps/configparser.Tpo" ".deps/configparser.Plo"; else rm -f 
> ".deps/configparser.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../.. -g -O2 -MT 
> configparser.lo -MD -MP -MF .deps/configparser.Tpo -c configparser.cc -o 
> configparser.o
> /bin/bash ../libtool --mode=link --tag=CXX g++  -g -O2   -o 
> libcommon.la    stdstreams.lo configparser.lo   -lm
> mkdir .libs
> ar cru .libs/libcommon.a  stdstreams.o configparser.o
> ranlib .libs/libcommon.a
> creating libcommon.la
> (cd .libs && rm -f libcommon.la && ln -s ../libcommon.la libcommon.la)
> make[3]: Leaving directory 
> `/data/model2/mlaeuter/sundune/dune-common/common'
> /bin/bash ../libtool --mode=link --tag=CC gcc  -g -O2   -o 
> libdunecommon.la -rpath /usr/local/lib   ../common/libcommon.la -lm
> mkdir .libs
> rm -fr .libs/libdunecommon.lax
> mkdir .libs/libdunecommon.lax
> rm -fr .libs/libdunecommon.lax/libcommon.a
> mkdir .libs/libdunecommon.lax/libcommon.a
> (cd .libs/libdunecommon.lax/libcommon.a && ar x 
> /home/mlaeuter/model2/sundune/dune-common/lib/../common/.libs/libcommon.a)
> ar cru .libs/libdunecommon.a   
> .libs/libdunecommon.lax/libcommon.a/stdstreams.o 
> .libs/libdunecommon.lax/libcommon.a/configparser.o
> ranlib .libs/libdunecommon.a
> rm -fr .libs/libdunecommon.lax
> creating libdunecommon.la
> (cd .libs && rm -f libdunecommon.la && ln -s ../libdunecommon.la 
> libdunecommon.la)
> make[2]: Leaving directory `/data/model2/mlaeuter/sundune/dune-common/lib'
> Making all in common
> make[2]: Entering directory 
> `/data/model2/mlaeuter/sundune/dune-common/common'
> Making all in .
> make[3]: Entering directory 
> `/data/model2/mlaeuter/sundune/dune-common/common'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory 
> `/data/model2/mlaeuter/sundune/dune-common/common'
> Making all in test
> make[3]: Entering directory 
> `/data/model2/mlaeuter/sundune/dune-common/common/test'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory 
> `/data/model2/mlaeuter/sundune/dune-common/common/test'
> Making all in exprtmpl
> make[3]: Entering directory 
> `/data/model2/mlaeuter/sundune/dune-common/common/exprtmpl'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory 
> `/data/model2/mlaeuter/sundune/dune-common/common/exprtmpl'
> make[2]: Leaving directory 
> `/data/model2/mlaeuter/sundune/dune-common/common'
> Making all in doc
> make[2]: Entering directory `/data/model2/mlaeuter/sundune/dune-common/doc'
> Making all in devel
> make[3]: Entering directory 
> `/data/model2/mlaeuter/sundune/dune-common/doc/devel'
> sh ../../bin/wmlwrap -I . codingstyle.wml -o codingstyle.html
> ../../bin/wmlwrap: test: argument expected
> make[3]: *** [codingstyle.html] Error 1
> make[3]: Leaving directory 
> `/data/model2/mlaeuter/sundune/dune-common/doc/devel'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/data/model2/mlaeuter/sundune/dune-common/doc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/data/model2/mlaeuter/sundune/dune-common'
> make: *** [all] Error 2
> --- Failed to build dune_common ---
> Execution terminated due to errors!
> 
> 
-------------- next part --------------
Index: bin/wmlwrap.in
===================================================================
--- bin/wmlwrap.in      (Revision 4798)
+++ bin/wmlwrap.in      (Arbeitskopie)
@@ -23,7 +23,9 @@
 done

 # check if DUNEWEBDIR seems correct
-if test -d $DUNEWEBDIR && test -r $DUNEWEBDIR/layout/default.wml ; then
+if test x != x$DUNEWEBDIR &&
+   test -d $DUNEWEBDIR &&
+   test -r $DUNEWEBDIR/layout/default.wml ; then
     # call wml from within dune-web
     # --nocd lets wml use the .wmlrc from dune-web
     ( cd $DUNEWEBDIR && @WML@ --nocd -DROOT=$BASEDIR $ARGS )


More information about the Dune mailing list