[fdo-internals] CMake build fixes (Re: FDO 3.7 beta2 timeframe)

Johan Van de Wauw johan.vandewauw at gmail.com
Wed Oct 31 14:58:19 PDT 2012


Jackie,

I have some more time now.

Xalan and xerces do need a newer version indeed. I once packaged a version
of xalan which should do the trick, when I was trying to get mapguide
packaged for the osgeo livedvd. You can install it next to other versions
in ubuntu. I rebuilt the package a few days ago [1].

For gdal the problem is that it relies also on xerces (optionally, it can
also use expat): you can not link to two different versions of the same
library (perhaps it is with some tricks, as was done for libtiff), so you
can not use the debian/ubuntu version.

The best solution would be that upstream (xalan/xerces) releases a version.
Then that can be brought debian/ubuntu, so also gdal would use that. It
seems they are finally working on a release (e.g. [2]). If we ever want
fdo/mapguide in the official archives, this will probably have to happen
first.

Anyway, I'm now preparing packages of fdo for ubuntu based on the cmake
build. I'm using the current svn version for this. I'm also trying to set
up a bazaar branch of the fdo code at launchpad. That will enable nightly
builds for ubuntu of the current svn head if it manages to do the import
(it failed last time I tried).

Johan

[1] https://launchpad.net/~johanvdw/+archive/mapguide
[2 ]
http://mail-archives.apache.org/mod_mbox/xml-xalan-dev/201207.mbox/browser
[3] https://code.launchpad.net/osgeo-fdo

On Mon, Oct 15, 2012 at 11:06 AM, Jackie Ng <jumpinjackie at gmail.com> wrote:

> The original build system was (and still is) automake.
>
> CMake was introduced as an alternate build system
> (http://trac.osgeo.org/fdo/wiki/FDORfc21), but I guess nobody actually
> ever
> put out working binaries via CMake as all the official builds since its
> introduction were all still done through automake (I believe).
>
> I only recently got CMake builds working in Ubuntu just in time for the
> MapGuide 2.4 release timeframe (The key was to always use internal
> GDAL/xalan/xerces, as Ubuntu hosted versions were too old or incompatible.
> Everything else worked with system-sourced libraries), but issues like this
> SONAME problem in particular prevented its use for the linux builds of
> MapGuide 2.4.
>
> I like the CMake build system. It's much faster and you get nice build
> progress, but it still does not produce binaries that can be easily
> consumed
> by MapGuide, which is the ultimate deal-breaker.
>
> - Jackie
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/FDO-3-7-beta2-timeframe-tp4898809p5008651.html
> Sent from the FDO Internals mailing list archive at Nabble.com.
> _______________________________________________
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-internals
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fdo-internals/attachments/20121031/9957c404/attachment.html>


More information about the fdo-internals mailing list