[GRASSLIST:10142] Re: make: *** No targets specified and no makefile found.

sisma66 at tiscali.it sisma66 at tiscali.it
Fri Feb 3 09:47:51 EST 2006


I tried to use a different source code from a different mirror site and the 
configure It semms worked but on make command I find an error in all this 
modules...


cp 
-f /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/bin.i686-pc-li
nux-gnu/grass61 /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/dist
.i686-pc-linux-gnu/grass61.tmp
build_html_index.sh
cp: impossibile creare il file normale 
`../dist.i686-pc-linux-gnu/docs/html/../n
viz/grassdocs.css': No such file or directory
cp: impossibile creare il file normale 
`../dist.i686-pc-linux-gnu/docs/html/../n
viz/grass.smlogo.gif': No such file or directory
Generating HTML manual pages index (help system)...
Generated HTML docs in ../dist.i686-pc-linux-gnu/docs/html/index.html
----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
g.pnmcomp
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: ven feb  3 15:32:03 CET 2006
--
Errors in:
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/proj
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/vector/diglib
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/vector/Vlib
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/sites
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/rst/interp_float
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/ogsf
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/db/drivers/ogr
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.extend
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.grid
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.path
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.vect
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.vect.chart
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.what.vect
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.where
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.zoom
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/general/g.proj
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/general/g.region/cmd
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/general/manage/lib
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/general/manage/cmd
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/general/manage/liste
r
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/imagery/i.vpoints
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/ps/ps.map
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.carve
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.contour
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.cost
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.drain
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.flow
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.le/r.le.set
up
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.proj
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.random
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.region
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.resamp.rst
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.sun
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.sunmask
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.to.vect
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.volume
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.walk
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/simwe/simlib
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/simwe/r.sim.w
ater
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/simwe/r.sim.s
ediment
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/raster/r.in.gdal
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.buffer
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.build
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.build.polyl
ines
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.category
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.clean
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.convert
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.db.connect
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.db.select
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.digit
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.distance
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.drape
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.extract
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.extrude
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.hull
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.info
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.in.ascii
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.in.db
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.in.region
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.in.sites
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.kcv
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.kernel
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.label
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.proj
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.mkgrid
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.neighbors
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.net
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.net.alloc
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.net.iso
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.net.path
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.net.salesma
n
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.net.steiner
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.normal
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.out.ascii
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.out.dxf
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.out.pov
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.overlay
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.parallel
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.patch
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.perturb
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.split
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.qcount
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.random
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.reclass
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.sample
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.segment
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.select
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.surf.idw
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.surf.rst
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.transform
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.to.db
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.to.points
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.to.rast
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.to.rast3
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.type
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.univar
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.voronoi
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.what.rast
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.vol.rst
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.out.ogr
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.in.ogr
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.external
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/visualization/nviz
--
Finished compilation: ven feb  3 15:38:15 CET 2006
(In case of errors please change into the directory with error and run 'make')


                so if I go into a directory (for example v.db.connect) I have:


[root at uni v.db.connect]# make
gcc -I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include 
-I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/dist.i686-pc-linux-gnu/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/var/tmp/gdal-1.3.1-3mdk2006-root//usr/include     
-DPACKAGE=\""grassmods"\"  
-I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include 
-I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/dist.i686-pc-linux-gnu/include/grass 
\
        -o OBJ.i686-pc-linux-gnu/main.o -c main.c
In file included 
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/digit.h:3,
                 
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/Vect.h:4,
                 from main.c:28:
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:22:21: 
error: ogr_api.h: No such file or directory
In file included 
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/digit.h:3,
                 
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/Vect.h:4,
                 from main.c:28:
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:170: 
error: syntax error before 'OGRDataSourceH'
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:170: 
warning: no semicolon at end of struct or union
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:171: 
warning: data definition has no type or storage class
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:186: 
error: syntax error before 'feature_cache'
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:186: 
warning: data definition has no type or storage class
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:209: 
error: syntax error before '}' token
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:213: 
error: field 'ogr' has incomplete type
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1


CAN ANYONE HELP ME???
Thanks to all

Pierluigi


Alle 15:27, venerdì 3 febbraio 2006, hai scritto:
> Dear Grass users,
>
> How you can see from the subject, I'm tring to install GRASS61 on my
> machine (OS mandriva 2006).
> After configure command I have this rows:
>
>
>
> creating ./config.status
> creating include/Make/Grass.make
> creating include/Make/Platform.make
> creating include/version.h
> creating include/winname.h
> mkdir: cannot create directory `swig/perl': No such file or directory
> creating swig/perl/Makefile.PL
> sed: can't read ./swig/perl/Makefile.PL.in: No such file or directory
> ./config.status: line 250: swig/perl/Makefile.PL: No such file or directory
> creating grass.pc
> creating include/config.h
> include/config.h is unchanged
> Copying config.status to config.status.i686-pc-linux-gnu
>
> GRASS is now configured for:  i686-pc-linux-gnu
>
>  Source
> directory:           
> /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30 Build
> directory:            
> /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30 Installation
> directory:      /usr/local/grass-6.1.cvs
>  Startup script in directory: ${exec_prefix}/bin
>  C compiler:                  gcc -g -O2
>  C++ compiler:
>  FORTRAN compiler:
>  Building shared libraries:   yes
>  64bit support:               no
>
>   NVIZ:                       yes
>
>   BLAS support:               no
>   C++ support:                no
>   DWG support:                no
>   FFMPEG support:             no
>   FFTW support:               yes
>   FreeType support:           no
>   GDAL support:               yes
>   GLw support:                no
>   JPEG support:               yes
>   LAPACK support:             no
>   Large File Support (LFS):   no
>   Motif support:              no
>   MySQL support:              no
>   NLS support:                no
>   ODBC support:               no
>   OGR support:                yes
>   OpenGL(R) support:          yes
>   PNG support:                yes
>   PostgreSQL support:         yes
>   Readline support:           no
>   SQLite support:             no
>   Tcl/Tk support:             yes
>   TIFF support:               yes
>   X11 support:                yes
>
>
> but I doesn't create makefile so on make I have:
> make: *** No targets specified and no makefile found.
>
> Can anyone help me??
> Thanks
>
> Pierluigi




More information about the grass-user mailing list