Problems building on SuSE 10.0
Loeffler, David
david.loeffler at imperial.ac.uk
Tue May 30 17:03:35 BST 2006
OK, it's working now. Thanks for the help.
(In case anyone is interested: I downloaded the wx 2.6 source RPM, compiled it, and finally got Aven to compile and run, but at this point found I'd broken something else which needed a Unicode version of wx. Fortunately, someone told me how to build Survex statically linked to the non-Unicode wx while also having the Unicode version installed, which I hadn't realised I could do.)
Perhaps there should be a warning in the installation instructions about this whole Unicode/non-Unicode wx versions thing? Or maybe the configure script could be made to check whether or not the installed wx library is a Unicode one?
David
--
David Loeffler
Mathematics Department
Imperial College, London
-----Original Message-----
From: Olly Betts [mailto:olly at survex.com]
Sent: Sat 27/05/2006 13:29
To: Loeffler, David
Cc: survex at survex.com
Subject: Re: Problems building on SuSE 10.0
On Sat, May 27, 2006 at 06:04:34PM +0100, Loeffler, David wrote:
> I'm unsure of what the difference is between "C++ ABI 102" and "C++
> ABI 1002" or whether it is important; but assuming it is, and that it
> means that the build of wx I downloaded was incompatible with my
> compiler version, I tried downloading the source RPM.
Yeah, the C++ ABI versions must be the same for you to be able to be
able to use two compile C++ objects together. The GCC C++ ABI changed
several times in the 3.X series, so this has been a bit of a minefield
in recent times (thankfully it seems to have stabilised now!)
102 was used by GCC 3.2.x and 3.3.x; 1002 by GCC 3.4.x, 4.0.x, and
4.1.x.
If you have a "g++-3.3" or "g++33" or similar, or can install one from
a package, you could just compile aven using that - configure survex
like so:
./configure CXX=g++-3.3
> Then I found that wouldn't build either, bombing out with an error
> about being unable to find wx/clntdata.h.
Hmm, I guess the wx source RPM is incomplete.
The first thing I'd suggest is trying wx 2.6.3. The binary RPMs are
likely to be built with a newer compiler, and the source RPMs are more
likely to work.
Cheers,
Olly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/pipermail/survex/attachments/20060530/2aab0cbe/attachment.htm
More information about the Survex
mailing list