Opened 7 years ago

Closed 7 years ago

#56231 closed defect (fixed)

ncarg failed to build

Reported by: GeneralDuke9 Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: ncarg

Description

The ncarg port failed to build. There was one fatal error concerning a missing header file proj_api.h in TransformCoordinate.c, and there were several incorrectly included libraries. Find main.log attached.

Attachments (1)

main.log (3.4 MB) - added by GeneralDuke9 7 years ago.
main.log from <code>sudo port install ncarg</code>

Change History (6)

Changed 7 years ago by GeneralDuke9

Attachment: main.log added

main.log from <code>sudo port install ncarg</code>

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: tenomoto removed
Owner: set to tenomoto
Status: newassigned

comment:2 Changed 7 years ago by tenomoto (Takeshi Enomoto)

The build failure is due to the missing symbols undefined in libdf.dylib (hdf4) and defined in libjpeg.dylib (jpeg).

$ otool -L /opt/local/lib/libdf.dylib 
/opt/local/lib/libdf.dylib:
	/opt/local/lib/libdf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libjpeg.9.dylib (compatibility version 12.0.0, current version 12.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
$ nm /opt/local/lib/libdf.dylib | grep jpeg_CreateCompress
                 U _jpeg_CreateCompress
$ nm /opt/local/lib/libjpeg.9.dylib | grep jpeg_CreateCompress

comment:3 Changed 7 years ago by tenomoto (Takeshi Enomoto)

I will close the ticket if [e6e4ffb231b8e9c10fb9f9eebb672da8bd1ba997/macports-ports] fixes the problem.

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 7 years ago by GeneralDuke9

Yes, e6e4ffb seems to solve the issue. Compilation and installation has succeeded.

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.