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

List:       kde-windows
Subject:    Could not find parser plugin for encoding trig (was: Re: input line too long)
From:       "Thomas Friedrichsmeier" <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2012-12-06 16:07:41
Message-ID: 201212061707.48578.thomas.friedrichsmeier () ruhr-uni-bochum ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi again,

On Thursday 29 November 2012, Ananta Palani wrote:
> There is an emerge patch that will use short dynamic paths during build
> which will be released soon that may fix your problems.

Ananta's patch was _almost_ enough to fix my problems building qt. Thanks 
again!

I had to chop of a few more characters from the compilation commands to get 
all the way through. My patch for that is attached (I'm not confident enough 
in these matters to commit this, myself. If it looks right, somebody else 
please commit).

Now I'm stuck at the next problem while building kdelibs:
...
[ 19%] Generating ndo.h, ndo.cpp
Could not find parser plugin for encoding trig
mingw32-make[2]: *** [nepomuk/ndo.h] Error 1
mingw32-make[1]: *** [nepomuk/CMakeFiles/nepomuk.dir/all] Error 2
mingw32-make: *** [all] Error 2

The message itself stems from the soprano tool "onto2vocabularyclass.exe". 
Rebuidling soprano did not change anything. Any ideas?

Thanks!
Thomas

["qt.diff" (text/x-patch)]

diff --git a/portage/libs/qt/qt-4.8.2.20120321.py \
b/portage/libs/qt/qt-4.8.2.20120321.py index c32b5f0..8b52df8 100644
--- a/portage/libs/qt/qt-4.8.2.20120321.py
+++ b/portage/libs/qt/qt-4.8.2.20120321.py
@@ -7,6 +7,7 @@ import info
 import portage
 import emergePlatform
 import compiler
+import shutil
 
 from Package.QMakePackageBase import *
 
@@ -183,17 +184,15 @@ class Package(PackageBase, GitSource, QMakeBuildSystem, \
KDEWinPackager):  os.environ[ "USERIN" ] = "y"
         userin = "y"
 
-        incdirs = " -I \"" + os.path.join( self.dbus.installDir(), "include" ) + \
                "\""
-        libdirs = " -L \"" + os.path.join( self.dbus.installDir(), "lib" ) + "\""
-        incdirs += " -I \"" + os.path.join( self.openssl.installDir(), "include" ) + \
                "\""
-        libdirs += " -L \"" + os.path.join( self.openssl.installDir(), "lib" ) + \
"\"" +        libflags = ""
+        uselibs = dict()
+        uselibs['dbus'] = self.dbus.installDir()
+        uselibs['openssl'] = self.openssl.installDir()
         if self.isTargetBuild():
-            incdirs += " -I \"" + os.path.join( self.wcecompat.installDir(), \
                "include" ) + "\""
-            libdirs += " -L \"" + os.path.join( self.wcecompat.installDir(), "lib" ) \
+ "\"" +            uselibs['wcecompat'] = self.wcecompat.installDir()
         if not emergePlatform.isCrossCompilingEnabled():
-            incdirs += " -I \"" + os.path.join( self.mysql_server.installDir(), \
                "include" ) + "\""
-            libdirs += " -L \"" + os.path.join( self.mysql_server.installDir(), \
                "lib" ) + "\""
-            libdirs += " -l libmysql "
+            uselibs['mysql'] = self.mysql_server.installDir()
+            libflags += " -l libmysql "
         else:
             utils.copyFile( os.path.join( self.packageDir(), "sources", \
                "qconfig-kde-wince.h" ),
                     os.path.join( self.sourceDir(), "src", "corelib" , "global", \
"qconfig-kde-wince.h" ) ) @@ -204,6 +203,17 @@ class Package(PackageBase, GitSource, \
                QMakeBuildSystem, KDEWinPackager):
             utils.copyFile( os.path.join( self.packageDir(), "sources", \
                "gpglogger_wince.h" ),
                     os.path.join( self.sourceDir(), "src", "corelib" , "global", \
"gpglogger_wince.h" ) )  
+        for lib, libdir in uselibs.items():
+            tdir = os.path.join( self.sourceDir(), "cl", lib ) # 'cl' for copied \
libs. Need to keep paths short +            tincdir = os.path.join( tdir, "include" )
+            tlibdir = os.path.join( tdir, "lib" )
+            shutil.rmtree( tincdir, True )
+            shutil.rmtree( tlibdir, True )
+            shutil.copytree( os.path.join( libdir, "include" ), tincdir )
+            shutil.copytree( os.path.join( libdir, "lib" ), tlibdir )
+            libflags += " -I \"" + tincdir + "\""
+            libflags += " -L \"" + tlibdir + "\""
+
         configure = os.path.join( self.sourceDir(), "configure.exe" ).replace( "/", \
                "\\" )
         command = r"echo %s | %s -opensource -prefix %s -platform %s " % ( userin, \
configure, self.installDir(), self.platform )  if \
emergePlatform.isCrossCompilingEnabled(): @@ -231,7 +241,7 @@ class \
Package(PackageBase, GitSource, QMakeBuildSystem, KDEWinPackager):  command += \
"-qdbus -dbus-linked -openssl-linked "  command += "-no-fast -no-vcproj -no-dsp "
         command += "-nomake demos -nomake examples "
-        command += "%s %s" % ( incdirs, libdirs )
+        command += "%s" % ( libflags )
 
         if self.buildType() == "Debug":
           command += " -debug "


["signature.asc" (application/pgp-signature)]

_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows


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

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