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

PolyBoRi fails to build on cygwin #7337

Closed
mwhansen opened this issue Oct 28, 2009 · 9 comments
Closed

PolyBoRi fails to build on cygwin #7337

mwhansen opened this issue Oct 28, 2009 · 9 comments

Comments

@mwhansen
Copy link
Contributor

It fails with

  /home/mhansen/sage-4.2/spkg/build/gd-2.0.35.p2/src/gd_png.c:70: undefined reference to `_png_get_error_ptr'
  /home/mhansen/sage-4.2/local/lib/libgd.a(gd_png.o): In function `gdPngReadData':
  /home/mhansen/sage-4.2/spkg/build/gd-2.0.35.p2/src/gd_png.c:85: undefined reference to `_png_get_io_ptr'
  /home/mhansen/sage-4.2/spkg/build/gd-2.0.35.p2/src/gd_png.c:87: undefined reference to `_png_error'
  /home/mhansen/sage-4.2/local/lib/libgd.a(gd_png.o): In function `gdPngWriteData':
  /home/mhansen/sage-4.2/spkg/build/gd-2.0.35.p2/src/gd_png.c:94: undefined reference to `_png_get_io_ptr'
  /home/mhansen/sage-4.2/local/lib/libgd.a(gd_png.o): In function `gdImageCreateFromPngCtx':
  /home/mhansen/sage-4.2/spkg/build/gd-2.0.35.p2/src/gd_png.c:152: undefined reference to `_png_check_sig'

This can be fixed by adding png12 and z to the list of libraries needed when gd is present.

I'll post an spkg shortly.

CC: @williamstein

Component: porting: Cygwin

Author: Mike Hansen

Reviewer: William Stein

Merged: sage-4.4.3.alpha1

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

@mwhansen
Copy link
Contributor Author

comment:1

This no longer fails with Cygwin 1.7.

@mwhansen
Copy link
Contributor Author

comment:2

So, it turns out this is still an issue.

@mwhansen mwhansen reopened this May 26, 2010
@mwhansen
Copy link
Contributor Author

comment:3

There's an spkg which should fix this at http://sage.math.washington.edu/home/mhansen/polybori-0.6.4.p1.spkg

@mwhansen
Copy link
Contributor Author

Author: Mike Hansen

@williamstein
Copy link
Contributor

comment:4

looks good

@williamstein
Copy link
Contributor

Reviewer: wstein

@williamstein
Copy link
Contributor

Merged: 4.4.3.alpha1

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented May 27, 2010

Changed merged from 4.4.3.alpha1 to sage-4.4.3.alpha1

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented May 27, 2010

Changed reviewer from wstein to William Stein

@sagetrac-mvngu sagetrac-mvngu mannequin added this to the sage-4.4.3 milestone May 27, 2010
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