Re: New version
This all seems rather obsolete now. Distributions are now (June 2005) shipping a version 3.0.9, but I cannot seem to find a primary source for that version, or the source for it, on the web. rmpfind turns up a binary rpm, which _lists_ a src.rpm as the corresponding source, but I don't see the src.rpm on rpmfind and had difficulty turning it up anyplace.
So, where is this version 3.0.9 coming from? Who is maintaining it? If the binary-packaged version just dumps core on my (Ubuntu) system, where can I get the source in order to compile it myself?
I eventually tracked down a src.rpm here:
And another one here:
These, however, do not compile on my system, complaining about header-inclusion order, and not being a C programmer I really can't get anywhere with that. I can't find the source in a package format other than rpm anywhere. Synaptic doesn't show a "devel" or "source" package for ttmkfdir, for instance; sourceforge has never heard of it; Google is little help, either. Can someone tell me where to get a version of this that will compile?
Users might want to note to run ttmkfdir from the directory with the TTF fonts, using the -o commandline option to specify the destination file
Re: compiling with gcc 3.2, glibc 2.2.5 and Python 2.2.2
> For gcc 3.2 use the upper hint. But
> there was
> another compile error: When make stops
> with an
> error about different exception
> difinitions in isatty,
> change in parser.cpp at lin3 1505 to
> extern int isatty
> YY_PROTO((int)) throw ();
I had the same problem, but fixed it upgrading flex to the version from RedHat Raw Hide (ftp://rawhide.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/), which includes some patches. I was using the one from Slackware. parser.cpp is autogenerated. BTW, you don't need Python. I compiled without it.
Anyway, I don't know if this ttmkfdir version is that better, but seems the most up do date, and I wanted to avoid installing FreeType 1.x.
compiling with gcc 3.2, glibc 2.2.5 and Python 2.2.2
For gcc 3.2 use the upper hint. But there was
another compile error: When make stops with an
error about different exception difinitions in isatty,
change in parser.cpp at lin3 1505 to extern int isatty
YY_PROTO((int)) throw ();
I found a new unofficial (I really doubt there will be any official) version (dated April 17) here (http://people.redhat.com/yshao/). I compiled it with GCC 3.2 and FreeType 2.1.2 (the old requires FreeType 1.x).
I had to add the following to ttf.h, after #include "encoding.h": using namespace std;
An open, cross-platform journaling program.
A scientific plotting package.