Finally fixed using instructions at https://sagemanifolds.obspm.fr/install_ubuntu.html after a complete uninstall no longer attempted to build giac but used a system copy.
On Friday 1 November 2024 at 11:58:19 am UTC+10 davidco...@gmail.com wrote: > Examining the giac-1.9.0.15po log file, the only error report occur when > there is a attempt to load icas.o in line 4735. > > There are a large number of warnings (~528 of 546 warnings) about > deprecated pointer to a binary functions, typically > > monomial.h:680:25: warning: 'template<class _Arg1, class _Arg2, class > _Result> class std::pointer_to_binary_function' is deprecated > [-Wdeprecated-declarations] > [spkg-install] 680 | const std::pointer_to_binary_function > < const monomial<T> &, const monomial<T> &, bool> m_is_strictly_greater > [spkg-install] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > > There are configure warnings line 37 and 38 suggest use of --build, --host > and --target switches and the presence of an unrecognized switch > ----disable-maintainer-mode. > At line 317 config.status: WARNING: 'intl/Makefile.in' seems to ignore > the --datarootdir setting > At line 319 config.status: WARNING: 'po/Makefile.in.in' seems to ignore > the --datarootdir setting > > aroundline 3246 and again line 3580 there are a number of warnings like > > global.cc: In function 'char* numworks_gettar(size_t&)': > [spkg-install] global.cc:1411:8: warning: ignoring return value of 'size_t > fread(void*, size_t, size_t, FILE*)' declared with attribute > 'warn_unused_result' [-Wunused-result] > [spkg-install] 1411 | fread(buffer,numworks_maxtarsize,1,f); > > line3828 a few like > pari.cc: In function 'giac::gen giac::in_pari(const gen&, const context*)': > [spkg-install] pari.cc:836:26: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > [spkg-install] 836 | argvec[k]= (GEN) v[j].val; > [spkg-install] | ^~~~~~~~~~~~~~ > > line 4736 > [spkg-install] > /opt/sage/sage-10.4/var/tmp/sage/build/giac-1.9.0.15p0/src/src/icas.cc:500:(.text+0x3925): > > warning: the use of `tmpnam' is dangerous, better use `mkstemp' > > I wouldn't have expected the deprecation warnings to hva produced the > proble. Unfortunately I am totally unfamiliar with the Sagemath and giac > code > > the config.log files have some errors re gcc which may be pertinent or may > simply be checks > > Lines 96-129 > gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) > ... rest of stderr output deleted ... > configure:6858: $? = 0 > configure:6847: gcc -V >&5 > gcc: error: unrecognized command-line option '-V' > gcc: fatal error: no input files > compilation terminated. > configure:6858: $? = 1 > configure:6847: gcc -qversion >&5 > gcc: error: unrecognized command-line option '-qversion'; did you mean > '--version'? > gcc: fatal error: no input files > compilation terminated. > configure:6858: $? = 1 > configure:6847: gcc -version >&5 > gcc: error: unrecognized command-line option '-version' > gcc: fatal error: no input files > compilation terminated. > configure:6858: $? = 1 > configure:6878: checking whether the C compiler works > configure:6900: gcc conftest.c >&5 > configure:6904: $? = 0 > configure:6954: result: yes > configure:6957: checking for C compiler default output file name > configure:6959: result: a.out > configure:6965: checking for suffix of executables > configure:6972: gcc -o conftest conftest.c >&5 > configure:6976: $? = 0 > configure:6999: result: > configure:7021: checking whether we are cross compiling > configure:7029: gcc -o conftest conftest.c >&5 > configure:7033: $? = 0 > configure:7040: ./conftest > configure:7044: $? = 0 > configure:7059: result: no > > I don't see anything in the abovethat would have caused the load failure. > ANy help appreciated. > On Friday 25 October 2024 at 9:16:08 am UTC+10 davidco...@gmail.com wrote: > >> I recently installed Linux Mint 22 (Wilma) on my desktop (Dell Optiplex >> 7050 16GB RAM) and have attempted to build and install Sagemath 10.4. I >> hd previoulsy successfullybuilt Sagmath 10.4 on Linux Mint 21.3 >> (Virginia) on the same computer. The package giac-1.9.0.15p0 is not >> building. gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU Make 4.3. >> David Cousens >> > -- 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 view this discussion visit https://groups.google.com/d/msgid/sage-devel/b4a45263-8c33-4b2f-84a8-267205bbbeabn%40googlegroups.com.