Re: [DebianGIS] Re: [GRASSLIST:10072] debian compilation (r.sim.water)
hi friends,
the missing include files seem to be the output of the source configuration.
running autoconf and ./configure before make should help.
those should run automatically in dpkg-buildpackage in a properly made
package.
alex
Moritz Lennert wrote:
> Markus Neteler wrote:
>
>> Paolo Cavallini wrote:
>>
>>
>>> Further details:
>>> cd raster/r.sim.water
>>> make
>>>
>>> mkdir -p
>>> /home/paolo/Desktop/buildpackage/Grass2/grass-6.1.0/bin.i486-pc-linux-gnu
>>>
>>> mkdir ...
>>> gcc -I/home/paolo/Desktop/buildpackage/Grass2/grass-6.1.0/include
>>> -I/home/paolo/Desktop/buildpackage/Grass2/grass-6.1.0/dist.i486-pc-linux-gnu/include/grass
>>> -Wall -g -O2 -Wall -Wconversion -Wno-implicit-int
>>> -I/usr/include -DPACKAGE=\""grassmods"\"
>>> -I/home/paolo/Desktop/buildpackage/Grass2/grass-6.1.0/include
>>> -I/home/paolo/Desktop/buildpackage/Grass2/grass-6.1.0/dist.i486-pc-linux-gnu/include/grass
>>> \
>>> -o OBJ.i486-pc-linux-gnu/main.o -c main.c
>>> main.c:46:20: error: config.h: No such file or directory
>>> main.c:50:17: error: gis.h: No such file or directory
>>> main.c:51:18: error: Vect.h: No such file or directory
>>>
>>>
>>
>>
>> Since these important files aren't there, there must be something gone
>> wrong previously.
>> Here it compiles without problems.
>
>
> Same here (cvs update this morning).
>
> Paolo, could you try launching 'fakeroot dpkg-buildpackage 2>&1 | tee
> make.log", in order to have a complete log of your configure and
> compilation process which might help us find this problem. This really
> seems to be something on your machine, as no one else has had this
> problem...or have you been able to reproduce it elsewhere ?
>
> Also, please remind us of the exact config of your machine (OS, ideally
> version of required packages, etc)
>
>
> Moritz
>
> _______________________________________________
> Pkg-grass-general mailing list
> Pkg-grass-general@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-general
>
Reply to: