Opened 15 years ago

Closed 15 years ago

#3149 closed defect (fixed)

Error when building the gdal 1.6.2 for Linux

Reported by: bluesea007 Owned by: warmerdam
Priority: normal Milestone: 1.6.3
Component: ConfigBuild Version: 1.6.2
Severity: normal Keywords:
Cc:

Description (last modified by warmerdam)

Dear sir,

I want to build gdal-1.6.2 in Linux so I used to take the following steps:

1)./configure --prefix=/home/xjp/usr/local --with-static-proj4=/home/xjp/usr/local --with-libz=internal --with-libtiff=internal
2)make all install

**********************************************************
The error is as follwing:
....
make -C sqlite
make[3] Entering directory `/home/xjp/setup/gdal-1.6.2/ogr/ogrsf_frmts/sqlite'
make[3] Nothing to be done for `default'.
make[3] Leaving diretory `/home/xjp/setup/gdal-1.6.2/ogr/ogrsf_frmts/sqlite' 
make[2] Leaving diretory `/home/xjp/setup/gdal-1.6.2/ogr/ogrsf_frmts'
make[1] *** No rule to make target `apps',needed by `all'. Stop.
make[1] Leaving directory `/home/xjp/setup/gdal-1.6.2/ogr'
make: *** [ogr-all] Error 2.
*************************************************************

I tried to build gdal-1.6.0 with the same means of the above steps, but the errors are same.

Could you give me some suggestions?

Regards, David 2009/9/23

Attachments (1)

make-output (762.4 KB ) - added by bluesea007 15 years ago.
Detail the output of making

Download all attachments as: .zip

Change History (3)

by bluesea007, 15 years ago

Attachment: make-output added

Detail the output of making

comment:1 by warmerdam, 15 years ago

Component: defaultConfigBuild
Description: modified (diff)
Status: newassigned
Version: unspecified1.6.2

It seems there is a problem with "make all".

Instead try:

  make 
  make install

I will correct the all target which is not normally used.

comment:2 by warmerdam, 15 years ago

Milestone: 1.6.3
Resolution: fixed
Status: assignedclosed

make all target corrected in trunk (r17668) and 1.6 branch (r17669).

Note: See TracTickets for help on using tickets.