leif wrote: > leif wrote: >> Simon Brandhorst wrote: >>> Thank you leif. Sorry for taking so long to answer. I did not bring my >>> laptop to work - so I could not get the log until now. >> >> Never mind. Please post / attach >> /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/config.log > > Ok, that doesn't tell much, but at least a bit... > > Compilation seems to work, but running the conftest supposed to print > sizeof(long) presumably fails, I guess due to a runtime linker error. > (You seem to have libomalloc installed system-wide; unfortunately stderr > is redirected to /dev/null.)
Yep. From the new config.log: configure:2313: checking size of long configure:2332: gcc -o conftest -O2 -g -fPIC -I/home/simon/sage/local/include -I/home/simon/sage/local/include -L/home/simon/sage/local/lib -L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib conftest.c -lomalloc -lgmp -lnsl -lm 1>&5 configure:2323:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ configure: In function 'main': configure:2326:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (!f) exit(1); ^~~~ configure:2326:11: warning: incompatible implicit declaration of built-in function 'exit' configure:2326:11: note: include '<stdlib.h>' or provide a declaration of 'exit' configure:2328:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ configure:2328:3: note: include '<stdlib.h>' or provide a declaration of 'exit' ./conftest: error while loading shared libraries: libomalloc-0.9.6.so: cannot open shared object file: No such file or directory -leif > Looking closer at Singular's top-level 'configure', it's quite > surprising that test (and others) didn't fail before, AFAIK. > > >>> A workaround would be great. Then I can get started. >> >> I can't tell before I've seen the log above, but I guess it won't be >> hard to at least get you past /that/ error... ;-) > > I made a patch that may enlighten us regarding the error, and should > bring you past the error with sizeof(long)!=sizeof(void*) at least. > > Copy the attached patch into build/pkgs/singular/patches/, then do > > ../sage -i -s singular > > Even if that succeeded, please first again make a copy of the newly > generated config.log from the temporary Singular build directory as > before (and post it) before proceeding. > > In case installing the Singular package now worked, you can continue > building Sage by simply typing 'make' again (or 'make -jN` with N being > the number of threads/jobs, but you'll presumably know). > > > Good luck! > > > -leif -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.