moria.org.uk

Fri, 13 Jan 2006

Errors compiling g-wrap based programs on Debian or Ubuntu

If you get errors due to <g-wrap-wct.h> being missing, this is due to this file being incorrectly dropped from the Debian package of g-wrap (and the mistake copied in Ubuntu's universe repository). The file is in fact trivial, because it's only there as a compatibility bridge for old programs that have not updated to use the newer header:

/* Provided for compatibility with G-Wrap 1.3.4 */

#include <g-wrap/guile-wct.h>

So you could just edit the offending file to use the new header. I didn't realise this until I had done the long-winded solution: adding /usr/include/g-wrap-wct.h to debian/guile-g-wrap.install and rebuilding the Debian package.

[16:54] | [/computers/code] | #

Colin Phipps.
Archives
January 2007
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
Web Sites
zsync
PrBoom
About Kye
Credits
Blosxom
Powered by
Blogs that link here
[Valid Atom]