Re: Configure problems with octave4.2.1 on redhat7

Markus Mützel <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-51787162-a664-4ce1-af69-736dca17a4b4-1606316544114@3c-app-gmx-bs42>
Am 25. November 2020 um 15:32 Uhr schrieb "Grunow, Ingo (EXTERN: ARkentec)":
> > -----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
> > 
> > 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

I just tried with Octave 4.2.1 that I installed on Windows 10.
It has the following g++:
>> system('g++ -v')

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/octave/octave~2.1/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.4/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: /scratch/jwe/mxe-octave/4.2.1/w64-32/tmp-native-gcc/gcc-4.9.4/configure --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --build=x86_64-unknown-linux-gnu --prefix=/scratch/jwe/mxe-octave/4.2.1/w64-32/usr/x86_64-w64-mingw32 --enable-languages=c,c++,fortran --disable-libsanitizer --
enable-version-specific-runtime-libs --disable-nls --without-x --disable-win32-registry --with-native-system-header-dir=/scratch/jwe/mxe-octave/4.2.1/w64-32/usr/x86_64-w64-mingw32/include --enable-threads=win32 --enable-multilib --enable-64bit --disable-shared --disable-libgomp --with-cloog=/scratch/jw
e/mxe-octave/4.2.1/w64-32/usr/x86_64-w64-mingw32 --with-gmp=/scratch/jwe/mxe-octave/4.2.1/w64-32/usr/x86_64-w64-mingw32 --with-isl=/scratch/jwe/mxe-octave/4.2.1/w64-32/usr/x86_64-w64-mingw32 --with-mpc=/scratch/jwe/mxe-octave/4.2.1/w64-32/usr/x86_64-w64-mingw32 --with-mpfr=/scratch/jwe/mxe-octave/4.2.1
/w64-32/usr/x86_64-w64-mingw32
Thread model: win32
gcc version 4.9.4 (GCC)
ans = 0

That is slightly newer (but not by much) than yours.
The struct package installed without any errors.

If the package doesn't compile for you, maybe you could use a pre-compiled package from your distribution?
 
Przemek Klosowski wrote the following:
> On RedHat/Fedora, Octave uses system packaging, in a series of packages named octave-*. You probably need to do
> yum install octave*
> 
> to get a full-featured installation. What does
> yum list octave*
> report on yhour system?

Did you try that?

Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.