Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make flint.spkg depend on python #1282

Closed
sagetrac-mabshoff mannequin opened this issue Nov 26, 2007 · 2 comments
Closed

make flint.spkg depend on python #1282

sagetrac-mabshoff mannequin opened this issue Nov 26, 2007 · 2 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Nov 26, 2007

The thing to do is to change the sage build process so that building
FLINT depends on
having already built Python.    Then python-2.5.1 -- built by sage -- will get
used if you put
  #!/usr/bin/env python
at the top of a script or whatever.  I.e., it will be in your path.

I hadn't realized that building flint required Python, so we didn't
put that as a dependency
in the overall Sage makefile.

william

Cheers,

Michael

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/1282

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.8.15 milestone Nov 26, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Nov 26, 2007
@pdenapo
Copy link
Mannequin

pdenapo mannequin commented Dec 3, 2007

comment:2

Script started on Mon Dec 3 14:08:30 2007
When trying to build sage-2.8.15 under Slackware Linux, the build broke with the following messages:

/sage/sage-2.8.14/spkg/build/flint-0.9-r1075.p1/src
bash-3.1# make
python make-profile-tables.py fmpz_poly
/usr/bin/python: /usr/bin/python: cannot execute binary file
make: *** [fmpz_poly-profile-tables.o] Error 126
bash-3.1# exit
exit

Actually, I had a broken symlink /usr/bin/python (to python2.4) , but no python was
really installed the system.

It seems that flint tries to use python from the system, instead of the version
included in Sage.

@williamstein
Copy link
Contributor

comment:3

I made the 10 character change...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant