AW: Configure problems with octave4.2.1 on redhat7
"Grunow, Ingo (EXTERN: ARkentec)" <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <AS8PR05MB77689303EC5B7444C2E7A1CBCBFA0@AS8PR05MB7768.eurprd05.prod.outlook.com> |
> -----Ursprüngliche Nachricht----- > Von: Markus Mützel <[email protected]> > Gesendet: Mittwoch, 25. November 2020 15:27 > An: Grunow, Ingo (EXTERN: ARkentec) <[email protected]> > Cc: [email protected] > Betreff: Re: Configure problems with octave4.2.1 on redhat7 > > Am 25. November 2020 um 14:07 Uhr schrieb "Grunow, Ingo (EXTERN: > ARkentec)" > > mkdir (/tmp/oct-mXl4i6) > > untar > > (/net/hfbf34/Benutzer/wr0itvr/04_Software/GNU_OCTAVE/mypkg/struct- > 1.0. > > 16.tar.gz, /tmp/oct-mXl4i6) checking for mkoctfile... > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/bin/mkoctfile-4.2.1 > > --verbose checking for octave-config... > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/bin/octave-config-4 > > .2.1 checking for a sed that does not truncate output... /bin/sed > > checking whether the C++ compiler works... yes checking for C++ > > compiler default output file name... a.out checking for suffix of > > executables... > > checking whether we are cross compiling... no checking for suffix of > > object files... o checking whether we are using the GNU C++ > > compiler... yes checking whether g++ -m64 -O2 accepts -g... yes > > checking for gcc... gcc -m64 -O2 checking whether we are using the GNU > > C compiler... yes checking whether gcc -m64 -O2 accepts -g... yes > > checking for gcc -m64 -O2 option to accept ISO C89... none needed > > checking how to run the C preprocessor... gcc -m64 -O2 -E checking for > > grep that handles long lines and -e... /bin/grep checking for egrep... > > /bin/grep -E checking for ANSI C header files... yes checking for > > sys/types.h... yes checking for sys/stat.h... yes checking for > > stdlib.h... yes checking for string.h... yes checking for memory.h... > > yes checking for strings.h... yes checking for inttypes.h... yes > > checking for stdint.h... yes checking for unistd.h... yes checking for > > stdbool.h that conforms to C99... yes checking for _Bool... yes > > checking for error_at_line... yes > > checking is_map or isstruct... is_map > > checking octave_vformat or octave::vformat... octave_vformat > > checking octave_execution_exception or octave::execution_exception... > octave_execution_exception > > configure: creating ./config.status > > config.status: creating Makefile > > config.status: creating config.h > > make: Entering directory `/tmp/oct-iDwBT9/struct-1.0.16/src' > > CXXFLAGS=" - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/ext/libopenblas/0.2.18/ > include - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/ext/libreadline/6.3/incl > ude -Wall " > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/bin/mkoctfile-4.2.1 -- > verbose -c error-helpers.cc > > g++ -m64 -O2 -c - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/ext/libopenblas/0.2.18/ > include - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/ext/libreadline/6.3/incl > ude -fPIC - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/.. - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave -I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include - > pthread -fopenmp - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/ext/libopenblas/0.2.18/ > include - > I/appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/ext/libreadline/6.3/incl > ude -Wall error-helpers.cc -o error-helpers.o > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/uint32NDArray.h:44:1: note: in expansion of macro > ‘MARRAY_FORWARD_DEFS’ > > MARRAY_FORWARD_DEFS (MArray, uint32NDArray, octave_uint32) ^ > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/MArray.h:127:12: error: ‘uint8NDArray > operator+=(uint8NDArray&, const octave_uint8&)’ previously defined here > > inline R operator += (R& x, const T& y) \ > > ^ > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/uint8NDArray.h:44:1: note: in expansion of macro > ‘MARRAY_FORWARD_DEFS’ > > MARRAY_FORWARD_DEFS (MArray, uint8NDArray, octave_uint8) ^ > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/uint32NDArray.h: In function ‘uint32NDArray > operator-=(uint32NDArray&, const octave_uint32&)’: > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/MArray.h:131:12: error: redefinition of > ‘uint32NDArray operator-=(uint32NDArray&,const octave_uint32&)’ > > inline R operator -= (R& x, const T& y) \ > > ^ > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/uint32NDArray.h:44:1: note: in expansion of macro > ‘MARRAY_FORWARD_DEFS’ > > MARRAY_FORWARD_DEFS (MArray, uint32NDArray, octave_uint32) ^ > > /appl/opensoft/octave/4.2.1/redhatel7/octave/4.2.1/include/octave- > 4.2.1/octave/../octave/MArray.h:131:12: error: ‘uint8NDArray operator- > =(uint8NDArray&, const octave_uint8&)’ previously defined here > > inline R operator -= (R& x, const T& y) \ > > ^ > [snip] > > Thanks. > It might be that your compiler is not new enough. > What do you see for the following command? > > system('g++ -v') > > Markus Hello Markus That's the result: >> system('g++ -v') Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ans = 0 Ingo