Opened 9 years ago

Closed 9 years ago

#48846 closed defect (fixed)

plplot510 build failure

Reported by: Schamschula (Marius Schamschula) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc:
Port: plplot510

Description

plplot510 @5.10.0_4 +aquaterm +x11 fails to build under Yosemite.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_plplot510/plplot510/work/plplot-5.10.0/src/plmap.c:48:10: fatal error: 'shapefil.h' file not found
:info:build #include <shapefil.h>
:info:build          ^
:info:build 1 error generated.

The missing file is provided by the osmium library: http://wiki.openstreetmap.org/wiki/Osmium

I could not find an existing port @ MacPorts.

Attachments (2)

main.log.gz (11.1 KB) - added by Schamschula (Marius Schamschula) 9 years ago.
Portfile-plplot510.diff (312 bytes) - added by Schamschula (Marius Schamschula) 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: main.log.gz added

comment:1 Changed 9 years ago by gnw3

plplot @5.11.1_1 depends on shapelib:

$ port contents shapelib
Port shapelib contains:
  /opt/local/include/shapefil.h
  /opt/local/lib/libshp.1.3.0.dylib
  /opt/local/lib/libshp.1.dylib
  /opt/local/lib/libshp.dylib

comment:2 Changed 9 years ago by Schamschula (Marius Schamschula)

Confirmed. plplot510 depends on shapelib. Patch file attached.

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-plplot510.diff added

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Owner: changed from macports-tickets@… to takeshi@…

In the future, please Cc the port maintainers (port info --maintainers plplot510), if any.

comment:4 Changed 9 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Done in r140256. Thanks.

Note: See TracTickets for help on using tickets.