Fri, Feb 8 2002
17:19:57
|
|
Request created by guest
|
|
Subject: freetype support
Platform: Linux/Intel
Linux distro: Debian
linux cpu: Intel (i486, i586, pentium ...)
Xwindows version: Xfree 4.0.x
Xwindows manager: many
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc
This is Debian testing/unstable on a dual PPro-200. Trying to compile
--with-blas --with-lapack --with-tcltk (and --with-freetype).
Your code looks for ft2build.h (which I think is in libfreetype6-dev.deb)
and installs into /usr/include. That file looks to:
#include <freetype/config/ftheader.h>
and there is a note saying that "/usr/local/include/freetype2" must be
in include path. On Debian, that should be changed to /usr/include/freetype2.
Anyway, the 2 absolute paths in question are:
/usr/include/ft2build.h
/usr/include/freetype2/freetype/config/ftheader.h
I can't find anyway to get configure to find both files, it dies on
one or the other.
The remainder of this report is NOT a bug. I just thought others might
find it of interest. It possibly points out shortcomings in the configure
script, but I have yet to figure that process out enough to see what is
"wrong".
I had gcc-3.0 installed, and with-blas kept dying on finding the library.
The problem was libg2c (from g77-3.0) wasn't installed. I have ordinary
BLAS and Atlas installed. I pointed it at the Atlas BLAS library.
I have Tcl/Tk 8.2 and 8.3 installed. By default it couldn't find any
tcl.h file. Explicitly pointed at /usr/include/tcl8.3
I guess PostgreSQL isn't standard enough yet, configure couldn't find
/usr/include/postgresql by itself for libpq-fe.h (I think that's what it
looks for).
|
|
Fri, Feb 8 2002
18:05:03
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15460.1105.404004.233856@cerise.nosuchdomain.co.uk>
|
Date |
Fri, 8 Feb 2002 17:01:05 +0000
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #914] (grass) freetype support
|
In-Reply-To |
<20020208161957.C6E32139CA@lists.intevation.de>
|
References |
<20020208161957.C6E32139CA@lists.intevation.de>
|
X-Mailer |
VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
|
X-Spam-Status |
No, hits=0 required=5 tests= |
Request Tracker wrote:
> Subject: freetype support
> Your code looks for ft2build.h (which I think is in libfreetype6-dev.deb)
> and installs into /usr/include. That file looks to:
> #include <freetype/config/ftheader.h>
> and there is a note saying that "/usr/local/include/freetype2" must be
> in include path. On Debian, that should be changed to /usr/include/freetype2.
> Anyway, the 2 absolute paths in question are:
> /usr/include/ft2build.h
> /usr/include/freetype2/freetype/config/ftheader.h
> I can't find anyway to get configure to find both files, it dies on
> one or the other.
This is a bug in the Debian package; ft2build.h installs into the
wrong place relative to the other freetype headers.
Move ft2build.h to /usr/include/freetype2, then use:
./configure --with-freetype-includes=/usr/include/freetype2
> The remainder of this report is NOT a bug. I just thought others might
> find it of interest. It possibly points out shortcomings in the configure
> script, but I have yet to figure that process out enough to see what is
> "wrong".
>
> I had gcc-3.0 installed, and with-blas kept dying on finding the library.
> The problem was libg2c (from g77-3.0) wasn't installed. I have ordinary
> BLAS and Atlas installed. I pointed it at the Atlas BLAS library.
So you have a version of libblas which *doesn't* need libf2c/libg2c?
> I have Tcl/Tk 8.2 and 8.3 installed. By default it couldn't find any
> tcl.h file. Explicitly pointed at /usr/include/tcl8.3
>
> I guess PostgreSQL isn't standard enough yet, configure couldn't find
> /usr/include/postgresql by itself for libpq-fe.h (I think that's what it
> looks for).
configure deliberately does *not* attempt to guess directories. Any
include/library directories which aren't in the compiler's/linker's
default path have to be explicitly specified using --with-*-includes
and --with-*-libs.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Fri, Feb 8 2002
18:46:02
|
|
Mail sent by gordon.haverland@gov.ab.ca
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
+0100 (CET)
|
|
(CET)
|
|
<20020208170449.MRIZ5529.mta6-svc.virgin.net@cerise.nosuchdomain.co.uk>; Fri, 8 Feb 2002 17 |
04:49 +0000
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15460.1105.404004.233856@cerise.nosuchdomain.co.uk>
|
Date |
Fri, 8 Feb 2002 17:01:05 +0000
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #914] (grass) freetype support
|
In-Reply-To |
<20020208161957.C6E32139CA@lists.intevation.de>
|
References |
<20020208161957.C6E32139CA@lists.intevation.de>
|
X-Mailer |
VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate
|
#1)" XEmacs Lucid
|
|
X-Spam-Status |
No, hits=0 required=5 tests= -------------------------------------------- Managed by Request Tracker --- Headers Follow --- >From gordon.haverland@gov.ab.ca Fri Feb 8 18:45:50 2002
|
Return-Path |
<gordon.haverland@gov.ab.ca>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
gordon.haverland@gov.ab.ca
|
X-Lotus-FromDomain |
AAFRD
|
To |
Glynn Clements via RT <grass-bugs@intevation.de>
|
Message-ID |
<87256B5A.00617839.00@agnotes_smtp01.agric.gov.ab.ca>
|
Date |
Fri, 8 Feb 2002 10:45:35 -0700
|
Subject |
Re: [bug #914] (grass) freetype support
|
Mime-Version |
1.0
|
Content-type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
X-Spam-Status |
No, hits=1 required=5 tests=NO_REAL_NAME |
Does Debian know their file is going in the wrong place?
I think I've used up my karma for the week with bug reports
(an ORBZ conflict).
No, my blas needs the g2c library. However, I have both
2.95 and 3.0 installed. I figured I might was well try compiling
and running GRASS with iit compiled by the new 3.0 compiler.
If nothing else, to try and find problems in it. I hand compiled
a test case to find out the the problem was not what configure
pointed out, but rather the fact that libg2c was missing.
Configure/autoconf seems to work nicely, but sometimes the
error messages are not very helpful. In the case of tcl.h, the
message was that it couldn't find tcl.h. Yet, if I do a locate tcl.h
I find many of them. I don't know how much tuning of messgaes
you guys can (or would want to) do.
Gord
|--------+-------------------------->
| | Glynn Clements |
| | via RT |
| | <grass-bugs@inte|
| | vation.de> |
| | |
| | 02/08/2002 10:05|
| | AM |
| | Please respond |
| | to Glynn |
| | Clements via RT |
| | |
|--------+-------------------------->
>--------------------------------------------------|
| |
| To: Gordon Haverland/AAFRD@AAFRD |
| cc: |
| Subject: [bug #914] (grass) freetype |
| support |
>--------------------------------------------------|
Request Tracker wrote:
> Subject: freetype support
> Your code looks for ft2build.h (which I think is in libfreetype6-dev.deb)
> and installs into /usr/include. That file looks to:
> #include <freetype/config/ftheader.h>
> and there is a note saying that "/usr/local/include/freetype2" must be
> in include path. On Debian, that should be changed to
/usr/include/freetype2.
> Anyway, the 2 absolute paths in question are:
> /usr/include/ft2build.h
> /usr/include/freetype2/freetype/config/ftheader.h
> I can't find anyway to get configure to find both files, it dies on
> one or the other.
This is a bug in the Debian package; ft2build.h installs into the
wrong place relative to the other freetype headers.
Move ft2build.h to /usr/include/freetype2, then use:
./configure --with-freetype-includes=/usr/include/freetype2
> The remainder of this report is NOT a bug. I just thought others might
> find it of interest. It possibly points out shortcomings in the configure
> script, but I have yet to figure that process out enough to see what is
> "wrong".
>
> I had gcc-3.0 installed, and with-blas kept dying on finding the library.
> The problem was libg2c (from g77-3.0) wasn't installed. I have ordinary
> BLAS and Atlas installed. I pointed it at the Atlas BLAS library.
So you have a version of libblas which *doesn't* need libf2c/libg2c?
> I have Tcl/Tk 8.2 and 8.3 installed. By default it couldn't find any
> tcl.h file. Explicitly pointed at /usr/include/tcl8.3
>
> I guess PostgreSQL isn't standard enough yet, configure couldn't find
> /usr/include/postgresql by itself for libpq-fe.h (I think that's what it
> looks for).
configure deliberately does *not* attempt to guess directories. Any
include/library directories which aren't in the compiler's/linker's
default path have to be explicitly specified using --with-*-includes
and --with-*-libs.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Tue, Feb 19 2002
09:05:56
|
|
Mail sent by guest
|
|
FYI - the following gets pretty much everthing config'd in for me with the
current (feb 2002) Debian Woody. Any packages I already had installed, well
add them too- but I don't know what they are. I have not shifted any files or
set up any special links that I can think of.
Some of these may not really be needed..
.deb Package Provides..
---------------------------------
libncurses5-dev curses.h
zlib1g-dev zip fn's
libjpegb2-dev \
libtiff3g-dev |- graphics
libpng2-dev /
task-tcltk-dev Tcl/Tk widgets 8.3
fftw-dev FFT Libraries
libgd-dev gif/png support
postgresql-dev PostgreSQL
libsqlxx-dev ODBC ?
libgdbmg1-dev DBM
unixodbc-dev ODBC
libfreetype6-dev Freetype
libmotif-dev Motif
blas-dev BLAS
lapack-dev LAPACK
g77-3.0 for BLAS as per this thread (& lapack as well?)
f2c for BLAS (libf2c) as per this thread..
and I use the following config line:
./configure --with-tcltk-includes=/usr/include/tcl8.3/
--with-postgres-includes=/usr/include/postgresql/ --with-motif
--with-motif-includes=/usr/X11R6/include --with-freetype
--with-freetype-includes=/usr/include/freetype2/ --with-blas
--with-blas-libs=/usr/lib/gcc-lib/i386-linux/3.0.3/ --with-lapack 2>&1 | tee
config_log.txt
---
Once there was a Grass/Debian howto page, although it wasn't working when I
needed it last. Should this info belong somewhere more find-able?
Also look for the pre-.deb'd version of grass some noble person is trying to
put together.
|
|
Thu, Jun 6 2002
18:14:56
|
|
Comments added by guest
|
|
|
Tue, Oct 8 2002
09:58:34
|
|
Mail sent by mneteler
|
|
GRASS' configure was fixed to find the freetype headers.
Markus |
|
Tue, Oct 8 2002
09:58:40
|
|
Status changed to resolved by mneteler
|
|