Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zmat fails to build with octave 7.1 #9

Closed
opoplawski opened this issue May 11, 2022 · 0 comments
Closed

zmat fails to build with octave 7.1 #9

opoplawski opened this issue May 11, 2022 · 0 comments

Comments

@opoplawski
Copy link

When trying to build the Fedora octave-zmat file with octave 7.1, make oct fails with:

CXXFLAGS='-O3' LFLAGS='' LDFLAGS='' mkoctfile zmat.cpp  -o ../zipmat zmatlib.o lz4/lz4.o lz4/lz4hc.o easylzma/compress.o easylzma/decompress.o easylzma/lzma_header.o easylzma/lzip_header.o easylzma/common_internal.o easylzma/pavlov/LzmaEnc.o easylzma/pavlov/LzmaDec.o easylzma/pavlov/LzmaLib.o easylzma/pavlov/LzFind.o easylzma/pavlov/Bra.o easylzma/pavlov/BraIA64.o easylzma/pavlov/Alloc.o easylzma/pavlov/7zCrc.o --mex -I../include -Ieasylzma -Ieasylzma/pavlov -Ilz4 
make: *** [Makefile:148: ../zipmat] Error 127

This is because it appears that mkoctfile-7.1.0 calls $CXX and with CXX=mkoctfile it create and infinite recursive loop. There may be something special about the Fedora rpm build environment that causes the CXX variable to get exported as I can run 'make oct' by hand without any trouble. But I think the zmat makefile needs to handle calling mkoctfile in a different way.

@fangq fangq closed this as completed in af61014 Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant