#3872: [with patch and spkg; needs work] calculus -- incorporate ginac into Sage
----------------------+-----------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.3
Component: calculus | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by mabshoff):
A couple remarks:
* pynac runs autoheader:
{{{
make all-recursive
make[1]: Entering directory `/scratch/mabshoff/release-
cycle/review/pynac-0.1/src'
Making all in ginac
}}}
* CPPFLAGS and potentially LDFLAGS need to be set so we pick up Sage's
Python:
{{{
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I/scratch/mabshoff/release-cycle/sage-3.1.2.rc5/local/include/python2.5/
-I/scratch/mabshoff/release-cycle/sage-3.1.2.rc5/local/include/python2.5
-g -O2 -MT ex.lo -MD -MP -MF .deps/ex.Tpo -c -o ex.lo ex.cpp
}}}
* spkg-install needs some cleanup, i.e. delete the PolyBoRi references,
switch to #!/usr/bin/env bash, etc
* SPKG.txt should explain which patches/changes were made to make Ginac
work with Python types/remove the CLN dependency. That patch should be
somewhere in a repo since at some point we will rebase on upstream
* Ginac depends on dlopen, so this is a portability issue that needs to
be taken into consideration and should be mentioned in SPKG.txt
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3872#comment:24>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---