RE: Building 1.3.1 - problems with TOCProtocolHand ler.cpp
John Ross Hunt <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
> Hi, > > Well, I now have Mozilla 1.2.x built with GTK2 installed, the mozilla > prefix is /opt/mozilla, with the libdir and includesir being > /opt/mozilla/lib and /opt/mozilla/include > > When I try to build Galeon 1.3.1 against it, it dies with this error: > > TOCProtocolHandler.cpp:29: algorithm: No such file or directory > TOCProtocolHandler.cpp:39: directory `/opt/mozilla/include/string' > specified in #include > TOCProtocolHandler.cpp:50: list: No such file or directory > > I'm building with GCC 2.95.3, Mozilla is also built with that > version of > GCC > > Can anyone help? Here's what I did. It's not pretty, but it works. --- mozilla/TOCProtocolHandler.cpp.orig 2002-09-04 19:41:48.000000000 -0500 +++ mozilla/TOCProtocolHandler.cpp 2002-11-12 11:13:19.000000000 -0600 @@ -33,7 +33,8 @@ #if (__GNUC__ < 3) #ifndef STRING_HEADER -#define STRING_HEADER <string> +/* HACK! Butt-ugly SuSE 8.1/GCC 2.95.3 workaround */ +#define STRING_HEADER </opt/gcc295/include/g++/string> #endif #include STRING_HEADER Good luck, -jrh ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/