Hi, Frederik! Good to hear you keep going .. :)
On Sunday 18 February 2001 20:38, Frederik Vanrenterghem wrote: > I tried this (now with 4.0.2-3), but the error seems to remain the > same: What I did was: > debian/rules source.make > cd /xc/programs/Xserver/hw/xfree86/drivers > mv mga mga_old > tar xvzf mga-1_01_05beta.tgz (to replace mga with the matrox drivers > from Matrox) > cd /xc/config/cf > cp xf86site.def host.def > I've edited host.def to include #define HaveMatroxHal YES, and also, > I removed some of the drivers I will not be needing. > After all this, I did make World, followed by touch > debian/stampdir/build and debian/rules binary > > This is the error message I got: > > In file included from xftint.h:30, > from xftcfg.c:28: > XftFreetype.h:34: parse error before `_XftFTlibrary' > XftFreetype.h:34: warning: type defaults to `int' in declaration of > `_XftFTlibrary' > XftFreetype.h:34: ANSI C forbids data definition with no type or > storage class > XftFreetype.h:37: parse error before `FT_Face' > XftFreetype.h:37: warning: no semicolon at end of struct or union > XftFreetype.h:53: parse error before `}' > XftFreetype.h:53: warning: ANSI C does not allow extra `;' outside of > a function > make[4]: *** [xftcfg.o] Error 1 > make[4]: Leaving directory > `/usr/src/xfree86-4.0.2/build-tree/xc/lib/Xft' make[3]: *** [install] > Error 2 > make[3]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib' > make[2]: *** [install] Error 2 > make[2]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc' > make: *** [debian/stampdir/install] Error 2 > > Any more ideas, I'd appreciate them :-) > (I'm pretty sure I could just copy the generated mga drivers over the > standard apt-installed drivers to get a working X 4.0.2, but I would > rather compile the whole thing myself... Understand. Me too. Just it was a while ago - don't remember the details. May be i ran into the same problem. Do you have freetype2-dev installed. The headers are required at least. I also installed my own host.def. But if you do that and still want to build debian binary packages, you have to disable/modify some checks in the debian dir. At the end of rules target install is a cmp with a MANIFEST file. Comment that line out. As i've also taken out files from the server, i had to grep the debian/*.files.i386 files for the relevant modules and delete them there. Keep going ..., greetings, martin