Opened 16 years ago

Closed 9 years ago

#2608 closed defect (fixed)

In MSYS GDAL_ROOT can't contain "/c/.." for ld

Reported by: Ari Jolma Owned by: warmerdam
Priority: normal Milestone:
Component: ConfigBuild Version: unspecified
Severity: normal Keywords: msys
Cc: dron

Description

In the MSYS environment $GDAL_ROOT from GDALmake.opt is typically something like "/c/dev/gdal", which confuses ld, which is a regular DOS program. This causes "make" to fail in last stages. A fix is to remove $GDAL_ROOT/ from top-level GNUMakefile. However, $GDAL_ROOT is in there for a purpose, thus a some kind of MSYS detection and would be needed. I haven't tested simply setting $GDAL_ROOT="." in GDALmake.opt.

Change History (3)

comment:1 by warmerdam, 15 years ago

Cc: dron added
Keywords: msys added

This is not something I'm likely to address. Would you be interested Andrey?

comment:2 by Ari Jolma, 15 years ago

$GDAL_ROOT="." in GDALmake.opt does not work. I found out this when setting up the buildbot.

comment:3 by Jukka Rahkonen, 9 years ago

Resolution: fixed
Status: newclosed

There are step-by-step notes about building GDAL 1.9.1 on MinGW/msys as an attachment to ticket #4624.

Note: See TracTickets for help on using tickets.