[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: can't compile kdelibs-19990617
From:       Harri Porten <porten () tu-harburg ! de>
Date:       1999-06-20 19:20:07
[Download RAW message or body]

John Mark Walker wrote:
> 
> All you have to do is edit $KDEDIR/include/openparts.h and
> $KDEDIR/include/openparts_ui.h so that there are no relative paths in the
> #include's.  For example, where it has <../kom/kom.h> just change it to
> <kom.h>  This is what I have done every day for the past 3 days.  It's
> such a simple fix that I figured it would be corrected rather shortly.

Mmmh. This is already the third list I'm posting this to. It's a bug in
mico's idl compiler. Apply this workaround patch with "patch <
name_of_patch", cd into the idl dir and make & make install.

Harri.

--- idl/params.cc.bak   Thu Jun 17 22:23:00 1999
+++ idl/params.cc       Thu Jun 17 22:42:26 1999
@@ -138,6 +138,8 @@
     if (arg == "-I") {
       cpp_options += " ";
       cpp_options += arg + val;
+      if ( val[ 0 ] == '.' && val[ 1 ] == '/' )
+        val = val.substr( 2 );
       inc_paths.push_back (val);
     } else if (arg == "-D") {
       cpp_options += " ";

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic