[gdal-dev] build system vs. libtool
William Kyngesburye
woklist at kyngchaos.com
Thu Dec 13 09:39:19 EST 2007
Ah, so someone else is having this problem.
http://trac.osgeo.org/gdal/ticket/1878
I have this problem on OSX 10.5, and it started on 10.4. But others
on 10.4 (ie Mateusz) don't. Very strange.
On Dec 13, 2007, at 2:40 AM, Ivan Shmakov wrote:
> I wonder, how the following is expected to work?
>
> $ nl -ba GDALmake.opt
...
> $
>
> IIUC, when using `libtool', the `.o' files are put into the
> `.libs/' subdirectory, and in the build directory the
> corresponding `.lo' are created instead. Thus, Make ends up
> trying to build each of the `.o' files each time it's run.
>
> Moreover, Make fails to build most of the targets in the `apps'
> subdirectory:
>
> --cut--
...
> --cut--
>
> May I suggest replacing `.o' in all the code with a kind of
> `.$(OBJEXT)' and setting `OBJEXT' to `lo' when Libtool is in
> use?
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
More information about the gdal-dev
mailing list