#5396: Wrapping lcalc library
-----------------------------+----------------------------------------------
Reporter: rishi | Owner: Rishi
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.3.1
Component: number theory | Keywords: lcalc
Work_issues: | Author: rishi, ylchapuy
Upstream: N/A | Reviewer: John Cremona
Merged: |
-----------------------------+----------------------------------------------
Changes (by cremona):
* status: needs_review => needs_work
Comment:
rishi, I could not install this version of lcalc. I'll paste in below the
error message I got. Before that, two comments: (1) the spkg should
contain more than it does (an install script and the src directory). See
http://www.sagemath.org/doc/developer/producing_spkgs.html: there should
be a file SPKG.txt, and there should be mercurial files, and an check
script.... (2) When you make new versions of the spkg it's helpful for the
name to change sp people can tell them apart: here you could have called
the first version lcalc-1.23.spkg, then lcalc-1.23.p1.spkg, etc. The
changes in each version should be docuemtned in SPKG.txt.
Here's the error I got installing it:
{{{
...
g++ -Wa,-W -O3 -Wno-deprecated -ffast-math -fPIC -I../include
-I/usr/local/include/pari -DINCLUDE_PARI -c Lcommandline_elliptic.cc
Lcommandline_elliptic.cc: In function ‘void data_E(char*, char*, char*,
char*, char*, int, Double*)’:
Lcommandline_elliptic.cc:124: error: ‘lgeti’ was not declared in this
scope
make[1]: *** [Lcommandline_elliptic.o] Error 1
make[1]: Leaving directory
`/home/john/sage-4.3.1.alpha1/spkg/build/lcalc-1.23/src/src'
make: *** [all] Error 2
Error building lcalc
cp: cannot stat `lcalc': No such file or directory
real 0m17.528s
user 0m16.449s
sys 0m0.564s
sage: An error occurred while installing lcalc-1.23
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/john/sage-4.3.1.alpha1/install.log. Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/john/sage-4.3.1.alpha1/spkg/build/lcalc-1.23 and type 'make check'
or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/john/sage-4.3.1.alpha1/spkg/build/lcalc-1.23' &&
'/home/john/sage-4.3.1.alpha1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5396#comment:42>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.