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.)

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.
--- a/latest/configure
+++ b/latest/configure
@@ -2328,14 +2328,14 @@ main()
   exit(0);
 }
 EOF
-if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5
 then
   ac_cv_sizeof_long=`cat conftestval`
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
   rm -fr conftest*
-  ac_cv_sizeof_long=0
+  ac_cv_sizeof_long=8 # crude hack just to get you past the later error
 fi
 rm -fr conftest*
 fi

Reply via email to