Dear Enrique,
I cc to sage-support, as it is an appropriate venue for such requests.

On 16-Jun-2011, at 3:28 PM, Enrique Artal Bartolo wrote:

> Dear Dimitri,
> I am not sure if your are the good correspondant for this mail. I am a gap 
> user and now
> I started to use sage. I appreciate a lot your work but I have a small 
> problem.
> I installed the optional spkg with additional packages for gap; there are some
> packages which I use with gap (outside sage) which are not included. I tried
> to compile them in the sage tree but sage-gap does not recognize them. I guess
> that it is impossible to have a spkg with all gap packages and I have two 
> questions:
> 
> What is needed to change in some conf file for a package to be recognized if 
> installed
> in gap inside sage?

if the GAP packages in question do not need to be compiled,
all you need to do is to put your GAP packages in 
$SAGE_ROOT/local/lib/gap-4.4.12/pkg/

to see exactly what needs to be done in the more complex cases, have a look in 
gap_packages spkg
(spkg files are just bzip2-compressed tar archives, so you can easily see (in 
spkg-install file) what needs to be done to do proper 
configuring/compiling)

If I recall right, you just have to start sage -sh, cd into 
SAGE_ROOT/local/lib/gap-4.4.12/pkg/<your-package>,
and do the usual for <your-package> sequence of ./configure and make

Please let us know if you still have problems with this setup.


> 
> Is there a way to replace the gap tree in sage with the system gap tree?
> 

I don't recall what exactly makes this tricky, but it is not 100% trivial.



> Sincerely, Enrique Artal. 

Best,
Dmitrii

-- 
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-support
URL: http://www.sagemath.org

Reply via email to