Error building v.label.sa in Grass 6.5

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error building v.label.sa in Grass 6.5

Eric Patton
I'm running into an error building v.label.sa using today's svn checkout
of Grass 6.5, rev 37569.

Changing directory to grass6_devel/vector/v.label.sa and running make
clean then make results in:

$ make
test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu
gcc -I/usr/local/grass6_devel/dist.x86_64-unknown-linux-gnu/include  -g -O2    -I/usr/local/include -I/usr/local/include   -DPACKAGE=\""grassmods"\"   -I/usr/local/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/annealing.o -c annealing.c
In file included from labels.h:20,
                 from annealing.c:15:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from annealing.c:15:
labels.h:21:10: error: #include expects "FILENAME" or <FILENAME>
labels.h:22:10: error: #include expects "FILENAME" or <FILENAME>
make: *** [OBJ.x86_64-unknown-linux-gnu/annealing.o] Error 1

--
Eric Patton
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Error building v.label.sa in Grass 6.5

Markus Neteler
On Thu, May 28, 2009 at 3:19 PM, Eric Patton <[hidden email]> wrote:

> I'm running into an error building v.label.sa using today's svn checkout
> of Grass 6.5, rev 37569.
>
> Changing directory to grass6_devel/vector/v.label.sa and running make
> clean then make results in:
>
> $ make
> test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu
> gcc -I/usr/local/grass6_devel/dist.x86_64-unknown-linux-gnu/include  -g -O2    -I/usr/local/include -I/usr/local/include   -DPACKAGE=\""grassmods"\"   -I/usr/local/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/annealing.o -c annealing.c
> In file included from labels.h:20,
>                 from annealing.c:15:
> /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory

To make the header visible to GRASS on my system, I have to configure:

./configure [...]   --with-freetype
--with-freetype-includes=/usr/include/freetype2

Markus
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Error building v.label.sa in Grass 6.5

Wolf Bergenheim
I fiexed the vector makefile to only build v.label.sa if freetype is
enabled in develbranch_6.

--Wolf

On 05/28/2009 05:29 PM, Markus Neteler wrote:

> On Thu, May 28, 2009 at 3:19 PM, Eric Patton <[hidden email]> wrote:
>> I'm running into an error building v.label.sa using today's svn checkout
>> of Grass 6.5, rev 37569.
>>
>> Changing directory to grass6_devel/vector/v.label.sa and running make
>> clean then make results in:
>>
>> $ make
>> test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu
>> gcc -I/usr/local/grass6_devel/dist.x86_64-unknown-linux-gnu/include  -g -O2    -I/usr/local/include -I/usr/local/include   -DPACKAGE=\""grassmods"\"   -I/usr/local/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/annealing.o -c annealing.c
>> In file included from labels.h:20,
>>                 from annealing.c:15:
>> /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
>
> To make the header visible to GRASS on my system, I have to configure:
>
> ./configure [...]   --with-freetype
> --with-freetype-includes=/usr/include/freetype2
>
> Markus
> _______________________________________________
> grass-user mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-user

--

Wolf Bergenheim ([hidden email])

_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user