Re: problem with compiling under linux

Shaw Terwilliger (sterwill@postman.abisource.com)
Wed, 26 May 1999 09:44:03 -0500


On Wed, May 26, 1999 at 07:57:54AM -0400, Larry Kollar wrote:
> Ah, I had the same trouble under PPC Linux. The AbiWord_d binary links
> up OK, but I get linking errors for the static version (something along
> the lines of "in libstdc++ (filebuf.o): undefined reference to
> __get_eh_context").

Yeah, building a static binary pretty much requires you have all the
static library archives laying around your system for libc, X libs,
glib, gtk, libpng, zlib--which probably only happens if you installed
them all through source packages.

> Man, when it got to the canonical part, it raised all sorts of holy hell.
> Part of it was not finding the unixfonts directory where it was expecting
> to find it -- I'd moved it to /opt/AbiSuite/fonts, thinking that it would
> be a good place to keep a rapidly changing AbiSuite until things settle
> down a bit -- but some of the error messages seem to imply other problems.

Here's how I do it:

cd sometmpdir
cvs co abi expat unixfonts abidistfiles
cd abi
make
[wait, this part should trigger the canonical at the end]

Things should then be in abi/src/[youroperatingsystemhere]/bin
You might have to check out libpng or zlib if you don't have them
installed.

-- 
Shaw Terwilliger


This archive was generated by hypermail 1.03b2.