<snip>
checking whether to use FreeType... yes
checking for location of FreeType
includes... /usr/include/freetype2/freetype/config/
checking for ft2build.h... no
configure: error: *** Unable to locate FreeType includes.
However, it shows the really missing file is ftheader.h:
maciek@sorbus:~/src/straight/grass6$ tail config.log
configure:12038: checking whether to use FreeType
configure:12057: checking for location of FreeType includes
configure:12083: checking for ft2build.h
configure:12091: gcc -E -I/usr/include/freetype2/freetype/config/
conftest.c >/dev/null 2>conftest.out
In file included from configure:12087:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file
or directory
configure: failed program was: #line 12086 "configure" #include "confdefs.h" #include <ft2build.h>
Which is a strange, because the ftheader.h _is_present_ in the directory
that my --with-freetype-includes is pointing at:
maciek@sorbus:~/src/straight/grass6$ ls
usr/include/freetype2/freetype/config
ftconfig.h ftheader.h ftmodule.h ftoption.h ftstdlib.h
How to proceed?
This my first attempt to install Grass 6.1 cvs on a freshly installed
Ubuntu 5.04 (5.10 was to buggy for my laptop; or maybe the laptop was to
buggy for Ubuntu?). I'm trying to break free from Mandriva :).
Thanks,
Maciek
--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich! http://katalog.epf.pl/
Freetype stumped me on Ubuntu as well...I didn't pursue it yet. So I
would be glad to hear your tweak to get it compiled. The other thing
I am interested in is the debian directory. What do you do to build
the debs? Is there any advantage to the debs over sudo ./make install?
david
On 11/15/05, Maciek Sieczka <werchowyna@epf.pl> wrote:
Hi,
The Freetype includes not being found at configure.
<snip>
checking whether to use FreeType... yes
checking for location of FreeType
includes... /usr/include/freetype2/freetype/config/
checking for ft2build.h... no
configure: error: *** Unable to locate FreeType includes.
However, it shows the really missing file is ftheader.h:
maciek@sorbus:~/src/straight/grass6$ tail config.log
configure:12038: checking whether to use FreeType
configure:12057: checking for location of FreeType includes
configure:12083: checking for ft2build.h
configure:12091: gcc -E -I/usr/include/freetype2/freetype/config/
conftest.c >/dev/null 2>conftest.out
In file included from configure:12087:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file
or directory
configure: failed program was: #line 12086 "configure" #include "confdefs.h" #include <ft2build.h>
Which is a strange, because the ftheader.h _is_present_ in the directory
that my --with-freetype-includes is pointing at:
maciek@sorbus:~/src/straight/grass6$ ls
usr/include/freetype2/freetype/config
ftconfig.h ftheader.h ftmodule.h ftoption.h ftstdlib.h
How to proceed?
This my first attempt to install Grass 6.1 cvs on a freshly installed
Ubuntu 5.04 (5.10 was to buggy for my laptop; or maybe the laptop was to
buggy for Ubuntu?). I'm trying to break free from Mandriva :).
Thanks,
Maciek
--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich! http://katalog.epf.pl/
--
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA 98195-7940
USA
> The Freetype includes not being found at configure.
>
> I receive an error about missing ft2build.h:
>
> maciek@sorbus:~/src/straight/grass6$ ./configure --with-cxx \
just "--with-freetype-includes=/usr/include/freetype2"
Freetype stumped me on Ubuntu as well...I didn't pursue it yet. So I
would be glad to hear your tweak to get it compiled. The other thing
I am interested in is the debian directory. What do you do to build
the debs? Is there any advantage to the debs over sudo ./make install?
I'm not 100% sure on this, but try:
cd /usr/src/grass/grass-6.0.1/
dpkg-buildpackage
you may have to use fakeroot or otherwise run as root.
The debs are useful if you need to install grass the same on several
systems or will be doing a lot of installing/uninstalling.
> > The Freetype includes not being found at configure.
> >
> > I receive an error about missing ft2build.h:
> >
> > maciek@sorbus:~/src/straight/grass6$ ./configure --with-cxx \
..
> > --with-freetype \
> > --with-freetype-includes=/usr/include/freetype2/freetype/config/
just "--with-freetype-includes=/usr/include/freetype2"
Thanks Hamish, that did it!
David wrote:
> What do you do to build
> the debs? Is there any advantage to the debs over sudo ./make install?
I'm not 100% sure on this, but try:
cd /usr/src/grass/grass-6.0.1/
dpkg-buildpackage
you may have to use fakeroot or otherwise run as root.