Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I am working on a Mandrake 9.2 linux system and I have some trouble
with kpathsea as I try to install PyX: I am using a TeXLive
distribution as TeX system and I have none of the required kpathsea/*.h
files. I tried with all the files I could find here:
and that I put in /usr/include/kpathsea/.
The things became better but not perfect : I get the following error
/usr/include/kpathsea/tex-file.h:24:32: kpathsea/init-path.h: No such
file or directory
So, could you please let me know where I could find all the needed
From: Michael Schindler <michael.schindler@ph...> - 2004-01-15 11:29:24
> I am using a TeXLive distribution as TeX system and I have none of
> the required kpathsea/*.h files.
> So, could you please let me know where I could find all the needed
First of all, there is a workaround for so that you do not need to
compile anything and will not need the header files.
Probably, you are using PyX 0.4.1. If not, please use this version,
for the PyX in cvs is not fully functioning at the moment.
Before installing PyX, please have a look into "setup.py" in the pyx
directory and change the ext_modules entry to
ext_modules = [Extension("pyx.t1strip._t1strip",
This will compile only the t1strip module, and not the kpathsea
If you really do not want to use the fallback solution and want to
compile the kpathsea-module, you should get the header-files _and_
libraries for your TeXLive system. You can get the sources for TeXLive
from (19 MB)
after unpacking, you will find some header files in the directory
<where you unpacked>/source/TeX/texk/kpathsea
maybe, these will do. If the installation process cannot find the
kpathsea library, you will have to build the whole TeXLive system with
the appropriate paths. See the documentation in the source-tarball of
TeXLive for this.
"A mathematician is a device for turning coffee into theorems"
Le Thu, 15 Jan 2004 12:29:11 +0100
Michael Schindler <michael.schindler@...> a =E9crit:
> Before installing PyX, please have a look into "setup.py" in the pyx
> directory and change the ext_modules entry to
> ext_modules =3D [Extension("pyx.t1strip._t1strip",
> sources=3D["pyx/t1strip/t1strip.c", "pyx/t1strip/writet1.c"])]
> This will compile only the t1strip module, and not the kpathsea
It does the job perfectly, thanks and, first of all, thanks for such
nice piece of software!