|
From: Bent A. S. <ben...@in...> - 2003-04-11 09:12:53
|
Hi again, > Hello Bent Andr=E9, >=20 > > My name is Bent Andr=E9 Solheim, and I am trying to build PyX 0.3.1 > > under Windows 2000 using Python 2.2 Visual C++ 6.0. >=20 >=20 > > First of all, let me say that I have had troubles get a > working copy > > of kpathsea with kpathsea.lib and the headerfiles, but I currently > > have all the files required to build the library on my system,=20 > > collected from different sources; the headerfiles comes=20 > from the teTex > > distribution that comes with CygWin, the kpathsea.lib comes from a > > binary distribution of some latex-tools. So the combination=20 > of these > > may cause the problem... But the error message that comes > when I try > > to build is this; >=20 > I also wonder whether your Python 2.2 (compiled with Visual > C++ 6.0) is compatible is compatible with the libraries from > cygwin (which are presumably compiled with gcc). I would > suggest using either MikTeX=20 > or a CygWin version of Python. >=20 Of course you are right. I tried downloading and using the python distribution that comes with CygWin for the build, and it compiles smoothly. The reason; the compiler used is not cl.exe (Visual C++ 6.0), but gcc. The environment used is identified by distutils as CygWin, so another compiler is used. One problem still remains, though. It is my opionion that it should be possible to build using Visual C++ aswell, so the users of PyX on Windows do not have to use CygWin. It's a great library, and I know of several LaTeX users on Windows that would enjoy it. However the overhead of installing and using CygWin-Python would not be considered "worth the effort" for most of them (qualified quess). MikTex does not come with kpathsea-header and library files in a standard installation (to my knowledge); only when downloading the source from cvs, and then you have to build the library. Would it be possible to supply, for VC++ users and python users using the Python.org distribution, the kpathsea library, as part of the PyX distribution? My compilation and build experience is limited, so I didn't manage to build the MikTex libraries propperly within a reasonable amount of time (I gave up). > > I was wondering how you guys build the library under=20 > Windows, and if=20 > > you had any guidelines for how I should do it; including=20 > where to get=20 > > a working copy of the kpathsea-library and which compiler=20 > works best. >=20 > I think, we have never built these modules under Windows=20 > (Andr=E9 W., please correct me, if I'm wrong). In fact, we have=20 > tried to ensure that PyX also works without them, if=20 > - you your kpsewhich works correctly (which then replaces the > _pykpathsea module) The kpsewhich command works correctly, but it doesn't impact the VC++ build process. > - and you don't mind having all glyps of a font included=20 > (this happens, > if you haven't compiled the t1strip module) >=20 > > Hope you can help me with this problem, as your library is really=20 > > interesting and usefull (I buildt it without problems on my=20 > Linux at=20 > > work), and I would really like to use it on my Windows Laptop=20 > > aswell... >=20 > Let's try to get it work. >=20 > J=F6rg > Thanks for all help! /Bent=20 |