1 Oct 2002 08:08
Compilation of wxWindows / wxGTK
<rmunn <at> pobox.com>
2002-10-01 06:08:42 GMT
2002-10-01 06:08:42 GMT
If you ever include wxWindows (http://www.wxwindows.org) or wxGTK (the GTK binding of wxWindows) in the BLFS book, here's what I had to do to get it to compile. I was using wxGTK version 2.2.9, the latest stable-release version as of September 26, 2002 (when I downloaded it). I have not tested the most current version of wxGTK, version 2.3.3, to discover if it has the same issues or not -- but a straightforward "./configure --prefix=/usr ; make ; make install" did not work. The compile failed on file src/common/fs_zip.cpp with the following error message: In file included from ./src/common/fs_zip.cpp:34: src/common/unzip.h:121: syntax error before `(' . . . src/common/unzip.h:262: syntax error before `(' The vertical ellipses elide about a dozen or so copies of the same error, with only line numbers changing. Doing a little research, I found the following discussion thread was probably relevant: http://psi.sourceforge.net/thread.php?forum=help&tid=33 What appears to be going on is that src/common/unzip.h (from the wxGTK distribution) is #including <zlib.h>, which itself #includes <zconf.h>. The CFLAGS and CXXFLAGS wxGTK's main Makefile specify /usr/X11R6/include in the include search path, and so that's where gcc was picking up zlib.h and zconf.h -- from the include files provided with XFree86 version 4.2.1. Those include files are for zlib version 1.0.8 (look for(Continue reading)
12:42 < <at> HIghoS> I know. But ffile and hfile..is..well.
12:42 < <at> markh> yeah
12:42 < <at> markh> ok
12:42 < <at> HIghoS> Not very descriptive :P
12:42 < <at> markh> But I'll have to play with it all again when I redo the layouts
12:42 * HIghoS chuckles.
12:42 < <at> markh> which is next on my list
12:43 < <at> markh> this htmltidy thing was first, it's bugged me for a while
12:43 * HIghoS nods.
12:43 < <at> HIghoS> markh: You are going to change this thou, right? (the ffile/hfile? :)
12:43 < <at> markh> yeah, when I sorts out the layout
RSS Feed