I'd be glad to try to debug it for you. Perhaps we have access to a system
just like yours, or perhaps you could make an account for us on your system and
let us try it. What type of system is it? Does it have libgc already
installed? are you experienced with using a debugger to locate faults? If so,
you could compile the debug version (reconfigure it with --enable-debug) and
symbol tables and debugging information would be left in the binaries (such as
scc1) for proper debugging.
--
Daniel R. Grayson, Professor (retired, Emeritus)
Department of Mathematics
University of Illinois at Urbana-Champaign
www: http://www.math.uiuc.edu/~dan/
email: d...@math.uiuc.edu
us mail: 2409 S. Vine St., Urbana, IL 61801, USA
cell: +49-151-1072-7319 ( "+" -> your international dialing code )
phone: 217-367-6384 home (88.20224W, 40.08541N)
clock: my clock is CET = EST+6 = CST+7 = PST+9
> Date: Sat, 5 Jan 2008 16:10:07 -0800 (PST)
> Subject: [Macaulay2] Prolem building Macaulay2 1.0
> From: gri6507 <gri...@gmail.com>
> To: Macaulay2 <maca...@googlegroups.com>
> Reply-To: maca...@googlegroups.com
>
>
> I got the 1.0 version of Macaulay2 from SVN and am currenty trying to
> build it. Unfortunately, I am running into problems building it up. I
> get a seg fault at some point in during the make process (see below).
> I'm not sure which other information I need to provide. Can someone
> please suggest a possible solution or workaround?
...
> ../c/scc1 -dep -J. ../../../../Macaulay2/d/C.d
> make[2]: *** [C.dep] Segmentation fault (core dumped)
> make[2]: Leaving directory `/home/gri6507/src/rpm/BUILD/macaulay2/d'
...
Is there something wrong with the RPM's we provide on the web site?
I propose we collaborate on automating, at this end, the production of a source
RPM. Then anyone who checks out our source code can create the source RPM, at
any time in the future.
=============================================================================
> Date: Sun, 6 Jan 2008 16:18:45 -0800 (PST)
> Subject: [Macaulay2] Re: Prolem building Macaulay2 1.0
> From: gri6507 <gri...@gmail.com>
> To: Macaulay2 <maca...@googlegroups.com>
> Reply-To: maca...@googlegroups.com
>
>
> Date: Mon, 7 Jan 2008 06:37:12 -0800 (PST)
> Subject: [Macaulay2] Re: Prolem building Macaulay2 1.0
> From: gri6507 <gri...@gmail.com>
> To: Macaulay2 <maca...@googlegroups.com>
> Reply-To: maca...@googlegroups.com
>
>
Nowadays we have code that automatically compiles the libraries, if they aren't
found, so if you want to see the options we really currently compile gc with,
look in libraries/gc.
To figure out this one:
../../../../Macaulay2/m2/debugging.m2:4:17:(0):[10]: 1 error(s) occurred running example files
you must look further up in the output for the error that occurred. It doesn't
stop the make process immediately, because often we are able to fix more than
one such bug at a time. You will find the output and the input for the example
in files.
At the top of the build directory "make help" will show you how to append an
option to continue even if there is an error in an example file, but of course,
we try to avoid that.
I'm not sure the "redirect-malloc" option below is a great idea, but I suppose
it can't hurt. Does it matter for you?
> Date: Mon, 7 Jan 2008 19:23:39 -0800 (PST)
> Subject: [Macaulay2] Re: Prolem building Macaulay2 1.0
> From: gri6507 <gri...@gmail.com>
> To: Macaulay2 <maca...@googlegroups.com>
> Reply-To: maca...@googlegroups.com
>
>
...
...
> P.P.S. One more question. When configure runs it checks for the
> presence of factory.h and then another check for factoryconf.h. The
> latter check tries to validate that SW_USE_NTL is defined in
> factoryconf.h. In fact, in v3.0.2 and 3.0.3 it is defined in
> factory.h. I'm not sure what is the best way to address this in your
> configure.ac. For now, I simply commented that check out.
I guess it's been a while since I've run the configure script in an environment
where all the libraries are already installed. To test the configure script in
such an environment, I should run it after all the libraries are built with
M2/BUILD/u123/normal/libraries/final/usr/lib/Macaulay2/Core/lib/
M2/BUILD/u123/normal/libraries/final/usr/lib/Macaulay2/Core/include/
visible!
I'll add that test as part of "make check".
Thanks!
> Date: Sun, 6 Jan 2008 08:55:09 -0800 (PST)
> Subject: [Macaulay2] Re: Prolem building Macaulay2 1.0
> From: gri6507 <gri...@gmail.com>
> To: Macaulay2 <maca...@googlegroups.com>
> Reply-To: maca...@googlegroups.com
>
>
> Unfortunately, that was a bit of a red herring. It's not a prototype
> issue. So, I ran valgrind on scc1. Here's the output.
...
Thanks!
> Date: Tue, 11 Mar 2008 11:57:42 -0400
> From: "Paul Grinberg" <gri...@gmail.com>