Package: libstlport4.5-common Version: 4.5.3beta20030119-1 Severity: grave Tags: upstream patch When compiling OpenOffice.org with g++ 3.3 (which is now default in sid), I get a build error because the header iostream cannot be found. See http.//people.debian.org/~rene/stlport/stlport_include_error I looked where the includes there from stlport (that is the files used here) are imported - config/stl_gcc.h is the problem here. In there, I see: [...] # define _STLP_HAS_NO_EXCEPTIONS 1 # endif # if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) # define _STLP_NATIVE_INCLUDE_PATH /usr/include/c++/3.2 # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH /usr/include/c++/3.2/backward # elif (__GNUC__ == 3) && (__GNUC_MINOR__ == 1) # define _STLP_NATIVE_INCLUDE_PATH /usr/include/c++/3.1 # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH /usr/include/c++/3.1/backward [...] ok, no g++ 3.3 mentioned there and it seems so that it is then fell back to some non-working standard value. Anyhow: The following patch adds the include path; with it OpenOffice.org builds (till its stops on an other place, but that is not stlport's fault ;-) ) --- stl_gcc.h-old 2003-05-20 05:52:30.000000000 +0200 +++ stl_gcc.h 2003-05-20 05:54:06.000000000 +0200 @@ -252,7 +252,12 @@ # define _STLP_HAS_NO_EXCEPTIONS 1 # endif -# if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) +# if (__GNUC__ == 3) && (__GNUC_MINOR__ == 3) + +# define _STLP_NATIVE_INCLUDE_PATH /usr/include/c++/3.3 +# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH /usr/include/c++/3.3/backward + +# elif (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) # define _STLP_NATIVE_INCLUDE_PATH /usr/include/c++/3.2 # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH /usr/include/c++/3.2/backward I tried to backport the patch which is applied to OOo 1.1beta2 to make that dynamic but failed till now. If I get it working, I'll post a followup ;-) Regards, René -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux frodo 2.4.20-apm-rene #1 Sat May 10 00:47:56 CEST 2003 i686 Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro -- no debconf information
Attachment:
pgpBaLIfr_G3j.pgp
Description: PGP signature