<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">Sorry, it seems that the libtool versions I got with apt-get were outdated...</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Installing the latest version</div><div> <a href="http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz">http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz</a></div><div>solves the problem.</div><div><br></div><div>Thanks</div><div>Lorenzo</div><div><br></div><div><br></div><div><br></div></div></div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 13, 2012, at 3:53 PM, Iulian Grindeanu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="font-family: 'Times New Roman'; font-size: 12pt; color: rgb(0, 0, 0); ">Hi ,<div>I would suggest doing a very clean build after updating libtool. It seems to be an autotools problem, not moab.</div><div>Can you send the output of autoreconf -fi and the config.log?<br>I did not see this error before, and searching online did not offer any fixes except libtool updates, as you found out too.</div><div><br></div><div>Iulian<br><hr id="zwchr"><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; ">Hi all,<br>sorry to bother you but I have a problem building MOAB on a debian cluster.<br>I've tried different versions of libtool but I always get the same error running make.<br><br>The problem seems to be related with<span class="Apple-converted-space"> </span><br>./libtool: line 835: X--tag=CXX: command not found<br><br>I found different different bug reports related to this command e.g.<br><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526585">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526585</a><br>but I really don't know how to solve it.<span class="Apple-converted-space"> </span><br><br>Thanks in advance.<br>Lorenzo<br><br><br><br><br>botti@frontend:~/src2/moab-4.1.0$ autoreconf -fi<br>configure.ac:33: warning: macro `AM_SILENT_RULES' not found in library<br>configure.ac:35: warning: macro `AM_SILENT_RULES' not found in library<br>You should update your `aclocal.m4' by running aclocal.<br>Putting files in AC_CONFIG_AUX_DIR, `config'.<br>configure.ac:33: warning: macro `AM_SILENT_RULES' not found in library<br>configure.ac:35: warning: macro `AM_SILENT_RULES' not found in library<br>test/parallel/Makefile.am:17: `:='-style assignments are not portable<br><br><br><br>botti@frontend:~/src2/moab-4.1.0$ ./configure --with-szip=/home/botti/src2/szip-2.1/szip/ --with-zlib=/home/botti/src2/zlib-1.2.6/ --with-hdf5=/home/botti/src2/hdf5-1.8.8/ --with-mpi=/home/botti/src2/mpich2-install/ --disable-imesh --with-zoltan=/home/botti/src2/Zoltan_v3.6/build_dir --with-metis=/home/botti/src2/ParMETIS3_1/METISLib/ --with-zoltan-arch=gcc --enable-mbzoltan --with-parmetis=/home/botti/src2/ParMETIS3_1/<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>checking target system type... x86_64-unknown-linux-gnu<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking for sed... sed<br>checking for style of include used by make... GNU<br>checking for gcc... mpicc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables...<span class="Apple-converted-space"> </span><br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether mpicc accepts -g... yes<br>checking for mpicc option to accept ISO C89... none needed<br>checking dependency style of mpicc... gcc3<br>checking how to run the C preprocessor... mpicc -E<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether mpicxx accepts -g... yes<br>checking dependency style of mpicxx... gcc3<br>checking how to run the C++ preprocessor... mpicxx -E<br>checking whether we are using the GNU Fortran compiler... yes<br>checking whether /home/botti/src2/mpich2-install//bin/mpif90 accepts -g... yes<br>checking whether we are using the GNU Fortran 77 compiler... yes<br>checking whether /home/botti/src2/mpich2-install//bin/mpif77 accepts -g... yes<br>checking whether ln -s works... yes<br>checking whether make sets $(MAKE)... (cached) yes<br>checking for a sed that does not truncate output... sed<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for fgrep... /bin/grep -F<br>checking for ld used by mpicc... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>checking the maximum length of command line arguments... 98304<br>checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands "+="... yes<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for objdump... objdump<br>checking how to recognize dependent libraries... pass_all<br>checking for ar... ar<br>checking for strip... strip<br>checking for ranlib... ranlib<br>checking command to parse /usr/bin/nm -B output from mpicc object... ok<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for dlfcn.h... yes<br>checking whether we are using the GNU C++ compiler... (cached) yes<br>checking whether mpicxx accepts -g... (cached) yes<br>checking dependency style of mpicxx... (cached) gcc3<br>checking how to run the C++ preprocessor... mpicxx -E<br>checking whether we are using the GNU Fortran 77 compiler... (cached) yes<br>checking whether /home/botti/src2/mpich2-install//bin/mpif77 accepts -g... (cached) yes<br>checking whether we are using the GNU Fortran compiler... (cached) yes<br>checking whether /home/botti/src2/mpich2-install//bin/mpif90 accepts -g... (cached) yes<br>checking for objdir... .libs<br>checking if mpicc supports -fno-rtti -fno-exceptions... no<br>checking for mpicc option to produce PIC... -fPIC -DPIC<br>checking if mpicc PIC flag -fPIC -DPIC works... yes<br>checking if mpicc static flag -static works... yes<br>checking if mpicc supports -c -o file.o... yes<br>checking if mpicc supports -c -o file.o... (cached) yes<br>checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking for ld used by mpicxx... /usr/bin/ld -m elf_x86_64<br>checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes<br>checking whether the mpicxx linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking for mpicxx option to produce PIC... -fPIC -DPIC<br>checking if mpicxx PIC flag -fPIC -DPIC works... yes<br>checking if mpicxx static flag -static works... yes<br>checking if mpicxx supports -c -o file.o... yes<br>checking if mpicxx supports -c -o file.o... (cached) yes<br>checking whether the mpicxx linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking for /home/botti/src2/mpich2-install//bin/mpif77 option to produce PIC... -fPIC<br>checking if /home/botti/src2/mpich2-install//bin/mpif77 PIC flag -fPIC works... yes<br>checking if /home/botti/src2/mpich2-install//bin/mpif77 static flag -static works... yes<br>checking if /home/botti/src2/mpich2-install//bin/mpif77 supports -c -o file.o... yes<br>checking if /home/botti/src2/mpich2-install//bin/mpif77 supports -c -o file.o... (cached) yes<br>checking whether the /home/botti/src2/mpich2-install//bin/mpif77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking for /home/botti/src2/mpich2-install//bin/mpif90 option to produce PIC... -fPIC<br>checking if /home/botti/src2/mpich2-install//bin/mpif90 PIC flag -fPIC works... yes<br>checking if /home/botti/src2/mpich2-install//bin/mpif90 static flag -static works... yes<br>checking if /home/botti/src2/mpich2-install//bin/mpif90 supports -c -o file.o... yes<br>checking if /home/botti/src2/mpich2-install//bin/mpif90 supports -c -o file.o... (cached) yes<br>checking whether the /home/botti/src2/mpich2-install//bin/mpif90 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking for known C compilers... GNU<br>checking for known compiler/OS combinations... GNU:x86_64<br>checking for known c++ compilers... GNU<br>checking for known compiler/OS combinations... GNU:x86_64<br>checking if platform is IBM BlueGene... no<br>checking for gunzip... gunzip -c<br>checking for gzip... (cached) gunzip -c<br>checking for zcat... (cached) gunzip -c<br>checking if C++ compiler supports template class specialization... yes<br>checking if C++ compiler supports template function specialization... yes<br>checking if mpicxx works... yes<br>checking how to get verbose linking output from /home/botti/src2/mpich2-install//bin/mpif90... -v<br>checking for Fortran libraries of /home/botti/src2/mpich2-install//bin/mpif90... -L/home/botti/src2/mpich2-install/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../.. -lgfortranbegin -lgfortran -lm -lmpichf90 -lmpich -lopa -lmpl -lrt -lpthread<br>checking for dummy main to link with Fortran libraries... none<br>checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore<br>checking for vsnprintf... yes<br>checking if std::vector has templatized insert method... yes<br>checking if std::copy must be old SGI format... no<br>checking for inttypes.h... (cached) yes<br>checking for stdint.h... (cached) yes<br>checking for sys/types.h... (cached) yes<br>checking stddef.h usability... yes<br>checking stddef.h presence... yes<br>checking for stddef.h... yes<br>checking for stdlib.h... (cached) yes<br>checking for void *... yes<br>checking size of void *... 8<br>checking for size_t... yes<br>checking for ptrdiff_t... yes<br>checking size of EntityHandle... 8<br>checking if iMesh support is to be built... no<br>checking if iGeom support is to be built... no<br>configure: creating ./config.lt<br>config.lt: creating libtool<br>./libtool: line 835: X--tag=CXX: command not found<br>./libtool: line 868: libtool: ignoring unknown tag : command not found<br>./libtool: line 835: X--tag=CXX: command not found<br>./libtool: line 868: libtool: ignoring unknown tag : command not found<br>checking ieeefp.h usability... no<br>checking ieeefp.h presence... no<br>checking for ieeefp.h... no<br>checking for C++ unordered_map... std::tr1<br>checking mpi.h usability... yes<br>checking mpi.h presence... yes<br>checking for mpi.h... yes<br>checking If mpi.h conflicts with C headers in C++... no<br>checking for mpiexec... mpiexec<br>checking for deflate in -lz... yes<br>checking for SZ_Decompress in -lsz... yes<br>checking if HDF5 support is enabled... yes<br>checking hdf5.h usability... yes<br>checking hdf5.h presence... yes<br>checking for hdf5.h... yes<br>checking for gpfs_stat in -lgpfs... no<br>checking for H5Fopen in -lhdf5... yes<br>checking for H5Pset_fapl_mpio in -lhdf5... yes<br>checking for H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS... yes<br>checking if CCMIO support is enabled... yes<br>checking if CCMIO support available...<span class="Apple-converted-space"> </span><br>checking ccmio.h usability... no<br>checking ccmio.h presence... no<br>checking for ccmio.h... no<br>checking ccmioutility.h usability... no<br>checking ccmioutility.h presence... no<br>checking for ccmioutility.h... no<br>checking ccmiocore.h usability... no<br>checking ccmiocore.h presence... no<br>checking for ccmiocore.h... no<br>checking unsuccessful, Ccmio support disabled...<span class="Apple-converted-space"> </span><br>checking if NetCDF support is enabled... yes<br>checking netcdf.h usability... no<br>checking netcdf.h presence... no<br>checking for netcdf.h... no<br>configure: WARNING: NetCDF header not found.<br>checking for nc_create in -lnetcdf... no<br>checking for nc_create in -lnetcdf... no<br>checking for nc_create in -lnetcdf... no<br>configure: WARNING: "NetCDF support disabled"<br>checking if Pnetcdf support is enabled... yes<br>checking pnetcdf.h usability... no<br>checking pnetcdf.h presence... no<br>checking for pnetcdf.h... no<br>checking for ncmpi_create in -lpnetcdf... no<br>checking if mbconvert is to be built... yes<br>checking if hexmodops is to be built... yes<br>checking if qvdual is to be built... no<br>checking if vtkMOABReader is to be built... no<br>checking if mbsize is to be built... yes<br>checking if mbskin is to be built... yes<br>checking if mbtagprop is to be built... yes<br>checking if mbmem is to be built... yes<br>checking if mcnpmit is to be built... no<br>checking if mbcoupler is to be built... no<br>checking if spheredecomp is to be built... yes<br>checking if mbsurfplot is to be built... yes<br>checking if mbzoltan is to be built... yes<br>checking if dagmc is to be built... yes<br>checking if gsets is to be built... yes<br>checking if mbdepth is to be built... yes<br>checking if refiner is to be built... no<br>checking if h5mtools is to be built... yes<br>checking for zoltan_cpp.h... yes<br>checking for Zoltan_LB_Partition in -lzoltan... no<br>checking for Zoltan_LB_Partition in -lzoltan... yes<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating moab.make<br>config.status: creating src/Makefile<br>config.status: creating src/io/Makefile<br>config.status: creating src/io/mhdf/Makefile<br>config.status: creating src/parallel/Makefile<br>config.status: creating src/oldinc/Makefile<br>config.status: creating test/Makefile<br>config.status: creating test/h5file/Makefile<br>config.status: creating test/dual/Makefile<br>config.status: creating test/obb/Makefile<br>config.status: creating test/perf/Makefile<br>config.status: creating test/io/Makefile<br>config.status: creating test/parallel/Makefile<br>config.status: creating test/oldinc/Makefile<br>config.status: creating itaps/Makefile<br>config.status: creating itaps/imesh/Makefile<br>config.status: creating itaps/imesh/iMesh-Defs.inc<br>config.status: creating itaps/igeom/Makefile<br>config.status: creating itaps/igeom/iGeom-Defs.inc<br>config.status: creating tools/Makefile<br>config.status: creating tools/refiner/Makefile<br>config.status: creating tools/mbcoupler/Makefile<br>config.status: creating tools/mbzoltan/Config.moab<br>config.status: creating tools/mbzoltan/Makefile<br>config.status: creating tools/mcnpmit/Makefile<br>config.status: creating tools/qvdual/Makefile<br>config.status: creating tools/vtkMOABReader/Makefile<br>config.status: creating tools/dagmc/Makefile<br>config.status: creating doc/Makefile<br>config.status: creating doc/user.dox<br>config.status: creating examples/Makefile<br>config.status: creating examples/examples.make<br>config.status: creating examples/simple/makefile<br>config.status: creating MeshFiles/Makefile<br>config.status: creating MeshFiles/unittest/Makefile<br>config.status: creating MeshFiles/unittest/io/Makefile<br>config.status: creating config.h<br>config.status: config.h is unchanged<br>config.status: creating src/moab/Version.h<br>config.status: src/moab/Version.h is unchanged<br>config.status: creating src/moab/EntityHandle.hpp<br>config.status: src/moab/EntityHandle.hpp is unchanged<br>config.status: creating src/parallel/moab_mpi_config.h<br>config.status: src/parallel/moab_mpi_config.h is unchanged<br>config.status: creating src/FCDefs.h<br>config.status: src/FCDefs.h is unchanged<br>config.status: executing depfiles commands<br>config.status: executing libtool commands<br>config.status: executing src/MOAB_FCDefs.h commands<br>C: mpicc -Wall -pipe -pedantic -Wno-long-long -O2 -DNDEBUG -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map<br>C++: mpicxx -Wall -pipe -pedantic -Wno-long-long -O2 -DNDEBUG -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map<br>Fortran: /home/botti/src2/mpich2-install//bin/mpif90 -g -O2 -O2<br>configure: WARNING:<br>*************************************************************************<br>* MOAB has been configured w/out the NetCDF library.<br>* Support for ExodusII/Genesis and other file formats is disabled!<br>*************************************************************************<br><br><br><br>botti@frontend:~/src2/moab-4.1.0$ make<br>make all-recursive<br>make[1]: Entering directory `/home/botti/src2/moab-4.1.0'<br>Making all in src<br>make[2]: Entering directory `/home/botti/src2/moab-4.1.0/src'<br>cd .. && /bin/sh /home/botti/src2/moab-4.1.0/config/missing --run autoheader<br>rm -f stamp-h5<br>touch FCDefs.h.in<br>cd .. && /bin/sh ./config.status src/FCDefs.h<br>config.status: creating src/FCDefs.h<br>config.status: src/FCDefs.h is unchanged<br>make all-recursive<br>make[3]: Entering directory `/home/botti/src2/moab-4.1.0/src'<br>Making all in parallel<br>make[4]: Entering directory `/home/botti/src2/moab-4.1.0/src/parallel'<br>cd ../.. && /bin/sh /home/botti/src2/moab-4.1.0/config/missing --run autoheader<br>rm -f stamp-h4<br>touch moab_mpi_config.h.in<br>cd ../.. && /bin/sh ./config.status src/parallel/moab_mpi_config.h<br>config.status: creating src/parallel/moab_mpi_config.h<br>config.status: src/parallel/moab_mpi_config.h is unchanged<br>make all-am<br>make[5]: Entering directory `/home/botti/src2/moab-4.1.0/src/parallel'<br>/bin/sh ../../libtool --tag=CXX --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/home/botti/src2/hdf5-1.8.8/ -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -Wall -pipe -pedantic -Wno-long-long -O2 -DNDEBUG -MT ParallelComm.lo -MD -MP -MF .deps/ParallelComm.Tpo -c -o ParallelComm.lo ParallelComm.cpp<br>../../libtool: line 835: X--tag=CXX: command not found<br>../../libtool: line 868: libtool: ignoring unknown tag : command not found<br>../../libtool: line 835: X--mode=compile: command not found<br>../../libtool: line 1002: *** Warning: inferring the mode of operation is deprecated.: command not found<br>../../libtool: line 1003: *** Future versions of Libtool will require --mode=MODE be specified.: command not found<br>../../libtool: line 1033: libtool: warning: cannot infer operation mode from `mpicxx': command not found<br>../../libtool: line 7096: libtool: you must specify a MODE: command not found<br>../../libtool: line 7097: Try `libtool --help' for more information.: command not found<br>make[5]: *** [ParallelComm.lo] Error 1<br>make[5]: Leaving directory `/home/botti/src2/moab-4.1.0/src/parallel'<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory `/home/botti/src2/moab-4.1.0/src/parallel'<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/botti/src2/moab-4.1.0/src'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/home/botti/src2/moab-4.1.0/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/botti/src2/moab-4.1.0'</blockquote></div></div></div></blockquote></div><br></div></blockquote></div><br></body></html>