Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7337 closed defect (fixed)

PolyBoRi fails to build on cygwin

Reported by: mhansen Owned by: tbd
Priority: major Milestone: sage-4.4.3
Component: porting: Cygwin Keywords:
Cc: was Merged in: sage-4.4.3.alpha1
Authors: Mike Hansen Reviewers: William Stein
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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.

Change History (5)

comment:1 Changed 11 years ago by mhansen

  • Milestone set to sage-duplicate/invalid/wontfix
  • Report Upstream set to N/A
  • Resolution set to invalid
  • Status changed from new to closed

This no longer fails with Cygwin 1.7.

comment:2 Changed 11 years ago by mhansen

  • Resolution invalid deleted
  • Status changed from closed to new

So, it turns out this is still an issue.

comment:3 Changed 11 years ago by mhansen

  • Authors set to Mike Hansen
  • Status changed from new to needs_review

comment:4 Changed 11 years ago by was

  • Merged in set to 4.4.3.alpha1
  • Resolution set to fixed
  • Reviewers set to wstein
  • Status changed from needs_review to closed

looks good

comment:5 Changed 11 years ago by mvngu

  • Merged in changed from 4.4.3.alpha1 to sage-4.4.3.alpha1
  • Milestone changed from sage-duplicate/invalid/wontfix to sage-4.4.3
  • Reviewers changed from wstein to William Stein
Note: See TracTickets for help on using tickets.