Opened 13 years ago

Last modified 10 years ago

#30092 new defect

libkml @ 1.2.0 configure does not detect SWIG correctly

Reported by: pnav Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: philip.dutoit@…, cooljeanius (Eric Gallager)
Port: libkml

Description

The configure for libkml 1.2.0 is broken, as it does not correctly detect SWIG 2.x. A patch to the configure.ac file has been posted to the libkml site, but has not yet been included in the port.

http://code.google.com/p/libkml/issues/detail?id=163

A manual patch of the configure.ac, running autoreconf, then port install libmkl generated a correct install.

Change History (4)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: libkml swig removed
Owner: changed from macports-tickets@… to ryandesign@…

Please remember to Cc the port's maintainer (me, in this case).

libkml does not use swig; its portfile contains the line "configure.args-append --disable-swig". libkml 1.2.0 builds fine for me even with swig 2.0.4 installed, and shows no signs of using swig, just as intended. If you see something different (a build failure), attach the main.log please.

comment:2 Changed 13 years ago by pnav

Thanks for the quick reply. The original libkml supports SWIG by default, so I was surprised that you had expressly disabled it. It would be helpful to update the autoconf to help others who would like to use libkml with SWIG support, so we don't have to build a separate one outside of macports.

comment:3 Changed 13 years ago by philip.dutoit@…

Cc: philip.dutoit@… added

Cc Me!

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.