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

cygwin: gd doesn't correctly link in libpng with sage-4.4.3. #9146

Closed
williamstein opened this issue Jun 5, 2010 · 10 comments
Closed

cygwin: gd doesn't correctly link in libpng with sage-4.4.3. #9146

williamstein opened this issue Jun 5, 2010 · 10 comments

Comments

@williamstein
Copy link
Contributor

The fix involves copying over $SAGE_LOCAL/bin/cygpng12-0.dll to $SAGE_LOCAL/lib/

Component: porting: Cygwin

Author: Mike Hansen

Reviewer: William Stein

Merged: sage-4.4.4.alpha0

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

@mwhansen
Copy link
Contributor

mwhansen commented Jun 5, 2010

comment:1

There is an spkg at http://sage.math.washington.edu/home/mhansen/libpng-1.2.35.p2.spkg

@mwhansen
Copy link
Contributor

mwhansen commented Jun 5, 2010

Author: Mike Hansen

@williamstein
Copy link
Contributor Author

comment:2

I tried installing on linux and:


make[2]: Leaving directory `/mnt/usb1/scratch/wstein/build/sage-4.4.3.rc0/spkg/build/libpng-1.2.35.p2/src'
make[1]: Leaving directory `/mnt/usb1/scratch/wstein/build/sage-4.4.3.rc0/spkg/build/libpng-1.2.35.p2/src'
./spkg-install: line 55: syntax error near unexpected token `fi'
./spkg-install: line 55: `fi'

@williamstein
Copy link
Contributor Author

@williamstein
Copy link
Contributor Author

comment:5

It doesn't work yet on Cygwin itself (on a clean install):


make[2]: Leaving directory `/home/wstein/sage-4.4.3/spkg/build/libpng-1.2.35.p2/src'
cp: cannot stat `/home/wstein/sage-4.4.3/local/bin/cygpng12-0.dll': No such file or directory
Error installing libpng

real    6m25.233s
user    1m28.601s
sys     4m59.953s

@williamstein
Copy link
Contributor Author

comment:6

The above failure report is on cygwin upgraded to the latest version as of june 4, 2010.

@mwhansen
Copy link
Contributor

mwhansen commented Jun 5, 2010

comment:7

The build completes successfully once "file" is installed in winxp3. If "file" is not installed, then Cygwin has a difficult time making shared libraries. This is why this wasn't an issue initially with my sage-4.3.5 install in winxp2.

We need to make "file" a preqreq.

@williamstein
Copy link
Contributor Author

comment:8

Yes, winxp3 is missing a lot of prerequisites. MPIR also fails to build there.

@mwhansen
Copy link
Contributor

mwhansen commented Jun 6, 2010

Reviewer: William Stein

@mwhansen
Copy link
Contributor

mwhansen commented Jun 6, 2010

Merged: sage-4.4.4.alpha0

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

2 participants