[gdal-dev] Something is broken on Win install

2010-11-13 Thread Joaquim Luis

Hi,

After compiling everything in trunk with no problems the "devinstall" 
step stops with


...

C:\programs\GDALtrunk\gdal\frmts>cd ecw && nmake /nologo /f makefile.vc 
plugin && cd ..   || exit 1

cd ..
cd apps
nmake /nologo /f makefile.vc
cd ..
mkdir ..\WIN64\bin
mkdir "C:\programs\GDALtrunk\gdal\compileds\VC10_64"\data
A subdirectory or file C:\programs\GDALtrunk\gdal\compileds\VC10_64\data 
already exists.

xcopy /y /r /d /f gdal17.dll ..\WIN64\bin
C:\programs\GDALtrunk\gdal\gdal17.dll -> 
C:\programs\GDALtrunk\WIN64\bin\gdal17.dll

1 File(s) copied
cd frmts
nmake /nologo /f makefile.vc plugins-install
for %d in (  ecw ) do  cd %d && nmake /nologo /f makefile.vc 
plugin-install && cd ..  || exit 1


C:\programs\GDALtrunk\gdal\frmts>cd ecw && nmake /nologo /f makefile.vc 
plugin-install && cd ..   || exit 1

mkdir ..\WIN64\bin\gdalplugins
A subdirectory or file ..\WIN64\bin\gdalplugins already exists.
xcopy /y /r /d /f gdal_ECW_JP2ECW.dll ..\WIN64\bin\gdalplugins
0 File(s) copied
cd ..\apps
nmake /nologo /f makefile.vc install
copy *.exe ..\WIN64\bin
gdaladdo.exe
The system cannot find the path specified.
0 file(s) copied.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
Stop.


The problem seams to be that it's trying to put things in

..\WIN64\bin

which I never told it to do. My nmake.opt has

!IFDEF WIN64
GDAL_HOME = "C:\programs\GDALtrunk\gdal\compileds\VC10_64"
!ELSE
!IF $(MSVC_VER) >= 1600
GDAL_HOME = "C:\programs\GDALtrunk\gdal\compileds\VC10_32"
...

So everything should go inside 
C:\programs\GDALtrunk\gdal\compileds\VC10_64\...

as they used to do until today.


Joaquim
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Something is broken on Win install

2010-11-13 Thread Frank Warmerdam

Joaquim Luis wrote:

cd ..\apps
nmake /nologo /f makefile.vc install
copy *.exe ..\WIN64\bin
gdaladdo.exe
The system cannot find the path specified.
0 file(s) copied.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
Stop.


The problem seams to be that it's trying to put things in

..\WIN64\bin

which I never told it to do. My nmake.opt has

!IFDEF WIN64
GDAL_HOME = "C:\programs\GDALtrunk\gdal\compileds\VC10_64"
!ELSE
!IF $(MSVC_VER) >= 1600
GDAL_HOME = "C:\programs\GDALtrunk\gdal\compileds\VC10_32"
...


Joaquim,

I don't know why this is happening in your case. I tried a clean
build and install on windows (32 bit) from trunk and had no problem.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Something is broken on Win install

2010-11-13 Thread Joaquim Luis

On 13-11-2010 18:02, Frank Warmerdam wrote:

Joaquim Luis wrote:

cd ..\apps
nmake /nologo /f makefile.vc install
copy *.exe ..\WIN64\bin
gdaladdo.exe
The system cannot find the path specified.
0 file(s) copied.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
Stop.


The problem seams to be that it's trying to put things in

..\WIN64\bin

which I never told it to do. My nmake.opt has

!IFDEF WIN64
GDAL_HOME = "C:\programs\GDALtrunk\gdal\compileds\VC10_64"
!ELSE
!IF $(MSVC_VER) >= 1600
GDAL_HOME = "C:\programs\GDALtrunk\gdal\compileds\VC10_32"
...


Joaquim,

I don't know why this is happening in your case. I tried a clean
build and install on windows (32 bit) from trunk and had no problem.

Best regards,


Frank,

I found it. I had just rebuild GMT on the same command window and it 
looks that I had a variablr name contamination from the GMT build.

Starting with a new command window worked fine again.
Sorry for the noise.

Joaquim


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev