From saptarshi.guha at gmail.com Wed May 14 05:05:55 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Tue, 13 May 2014 20:05:55 -0700 Subject: [RQt-devel] Compiling on 10.9.2 and QT 5.3 Message-ID: Hello, I am trying to compile qtbase (using R CMD INSTALL) and while building kdebindings i got this error [ 66%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_15.cpp.o /Users/sguha/tmp/kdebindings/bld/smoke/qt/x_15.cpp:13038:48: error: read-only variable is not assignable QSslConfiguration::NextProtocolSpdy3_0 = (const char*)x[1].s_class; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/sguha/tmp/kdebindings/bld/smoke/qt/x_15.cpp:13046:48: error: read-only variable is not assignable QSslConfiguration::NextProtocolHttp1_1 = (const char*)x[1].s_class; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 errors generated. make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_15.cpp.o] Error 1 make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 make: *** [all] Error 2 Cheers Saptarshi OS X: 10.9.2 From saptarshi.guha at gmail.com Wed May 14 06:05:16 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Tue, 13 May 2014 21:05:16 -0700 Subject: [RQt-devel] Compiling on 10.9.2 and QT 5.3 In-Reply-To: References: Message-ID: Hello, So i commented out those lines and everything build but at the end ... ** testing if installed package can be loaded Error : .onLoad failed in loadNamespace() for 'qtbase', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so Expected in: flat namespace in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so Error: loading failed On Tue, May 13, 2014 at 8:05 PM, Saptarshi Guha wrote: > Hello, > > I am trying to compile qtbase (using R CMD INSTALL) and while building > kdebindings i got this error > > [ 66%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_15.cpp.o > /Users/sguha/tmp/kdebindings/bld/smoke/qt/x_15.cpp:13038:48: error: > read-only variable is not assignable > QSslConfiguration::NextProtocolSpdy3_0 = (const char*)x[1].s_class; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > /Users/sguha/tmp/kdebindings/bld/smoke/qt/x_15.cpp:13046:48: error: > read-only variable is not assignable > QSslConfiguration::NextProtocolHttp1_1 = (const char*)x[1].s_class; > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > 2 errors generated. > make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_15.cpp.o] Error 1 > make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 > make: *** [all] Error 2 > > Cheers > Saptarshi > OS X: 10.9.2 From lawrence.michael at gene.com Wed May 14 06:34:58 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Tue, 13 May 2014 21:34:58 -0700 Subject: [RQt-devel] Compiling on 10.9.2 and QT 5.3 In-Reply-To: References: Message-ID: Hi, I just pushed some updates to ignore those undocumented symbols. Not sure if the regexs are right though, but please test. Michael On Tue, May 13, 2014 at 9:05 PM, Saptarshi Guha wrote: > Hello, > So i commented out those lines and everything build but at the end ... > > > ** testing if installed package can be loaded > Error : .onLoad failed in loadNamespace() for 'qtbase', details: > call: dyn.load(file, DLLpath = DLLpath, ...) > error: unable to load shared object > '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': > dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not > found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject > Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > Expected in: flat namespace > in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > Error: loading failed > > > > > On Tue, May 13, 2014 at 8:05 PM, Saptarshi Guha > wrote: > > Hello, > > > > I am trying to compile qtbase (using R CMD INSTALL) and while building > > kdebindings i got this error > > > > [ 66%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_15.cpp.o > > /Users/sguha/tmp/kdebindings/bld/smoke/qt/x_15.cpp:13038:48: error: > > read-only variable is not assignable > > QSslConfiguration::NextProtocolSpdy3_0 = (const > char*)x[1].s_class; > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > > /Users/sguha/tmp/kdebindings/bld/smoke/qt/x_15.cpp:13046:48: error: > > read-only variable is not assignable > > QSslConfiguration::NextProtocolHttp1_1 = (const > char*)x[1].s_class; > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > > 2 errors generated. > > make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_15.cpp.o] Error 1 > > make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 > > make: *** [all] Error 2 > > > > Cheers > > Saptarshi > > OS X: 10.9.2 > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From saptarshi.guha at gmail.com Wed May 21 00:06:22 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Tue, 20 May 2014 15:06:22 -0700 Subject: [RQt-devel] Error trying to install qtbase library Message-ID: Hello, I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got this error after R CMD INSTALL Error : .onLoad failed in loadNamespace() for 'qtbase', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so Expected in: flat namespace in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so Error: loading failed Execution halted ERROR: loading failed * removing ?/Users/sguha/R_LIBS/qtbase? however, all linked libraries can be found: bhimrul:qtbase sguha$ otool -L /Users/sguha/tmp/qtbase/src/./qtbase.so /Users/sguha/tmp/qtbase/src/./qtbase.so: qtbase.so (compatibility version 0.0.0, current version 0.0.0) /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.3.0, current version 5.3.0) /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp (compatibility version 5.3.0, current version 5.3.0) ..... I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to /Users/sguha/qt/53a/lib/ but i still get that error ... Any ideas? (This is on OSX and R3...) Cheers Saptarshi I'm using QT 5.3 From lawrence.michael at gene.com Wed May 21 07:55:50 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Tue, 20 May 2014 22:55:50 -0700 Subject: [RQt-devel] Error trying to install qtbase library In-Reply-To: References: Message-ID: This looks like a bug in QtNetwork 5.3.0. They forgot to implement a declared constructor. I've reported it to Qt. For now, you could just use Qt 5.2.x. On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha wrote: > Hello, > > I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got this > error after R CMD INSTALL > > > Error : .onLoad failed in loadNamespace() for 'qtbase', details: > call: dyn.load(file, DLLpath = DLLpath, ...) > error: unable to load shared object > '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': > dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not > found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject > Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > Expected in: flat namespace > in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > Error: loading failed > Execution halted > ERROR: loading failed > * removing ?/Users/sguha/R_LIBS/qtbase? > > > however, all linked libraries can be found: > > > bhimrul:qtbase sguha$ otool -L /Users/sguha/tmp/qtbase/src/./qtbase.so > /Users/sguha/tmp/qtbase/src/./qtbase.so: > qtbase.so (compatibility version 0.0.0, current version 0.0.0) > /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia > (compatibility version 5.3.0, current version 5.3.0) > > /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest > (compatibility version 5.3.0, current version 5.3.0) > > /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg > (compatibility version 5.3.0, current version 5.3.0) > > /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns > (compatibility version 5.3.0, current version 5.3.0) > > /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport > (compatibility version 5.3.0, current version 5.3.0) > /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp > (compatibility version 5.3.0, current version 5.3.0) > ..... > > > I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to > /Users/sguha/qt/53a/lib/ but i still get that error ... > > Any ideas? (This is on OSX and R3...) > > Cheers > Saptarshi > I'm using QT 5.3 > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From saptarshi.guha at gmail.com Wed May 21 17:29:52 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Wed, 21 May 2014 08:29:52 -0700 Subject: [RQt-devel] Error trying to install qtbase library In-Reply-To: References: Message-ID: Is it possible to turn of QtNetwork support in 5.3? Regards Saptarshi On Tue, May 20, 2014 at 10:55 PM, Michael Lawrence wrote: > This looks like a bug in QtNetwork 5.3.0. They forgot to implement a > declared constructor. I've reported it to Qt. For now, you could just use Qt > 5.2.x. > > > On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha > wrote: >> >> Hello, >> >> I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got this >> error after R CMD INSTALL >> >> >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: >> call: dyn.load(file, DLLpath = DLLpath, ...) >> error: unable to load shared object >> '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': >> dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not >> found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject >> Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so >> Expected in: flat namespace >> in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so >> Error: loading failed >> Execution halted >> ERROR: loading failed >> * removing ?/Users/sguha/R_LIBS/qtbase? >> >> >> however, all linked libraries can be found: >> >> >> bhimrul:qtbase sguha$ otool -L /Users/sguha/tmp/qtbase/src/./qtbase.so >> /Users/sguha/tmp/qtbase/src/./qtbase.so: >> qtbase.so (compatibility version 0.0.0, current version 0.0.0) >> /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport >> (compatibility version 5.3.0, current version 5.3.0) >> /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp >> (compatibility version 5.3.0, current version 5.3.0) >> ..... >> >> >> I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to >> /Users/sguha/qt/53a/lib/ but i still get that error ... >> >> Any ideas? (This is on OSX and R3...) >> >> Cheers >> Saptarshi >> I'm using QT 5.3 >> _______________________________________________ >> Qtinterfaces-devel mailing list >> Qtinterfaces-devel at lists.r-forge.r-project.org >> >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > > From lawrence.michael at gene.com Wed May 21 17:35:43 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Wed, 21 May 2014 08:35:43 -0700 Subject: [RQt-devel] Error trying to install qtbase library In-Reply-To: References: Message-ID: You could just remove the occurrences of QtNetwork in the CMakeLists.txt files (there are multiple such files in the package). Or you could add the offending constructor signature to the ignore list in smokeconfig.xml. On Wed, May 21, 2014 at 8:29 AM, Saptarshi Guha wrote: > Is it possible to turn of QtNetwork support in 5.3? > Regards > Saptarshi > > > On Tue, May 20, 2014 at 10:55 PM, Michael Lawrence > wrote: > > This looks like a bug in QtNetwork 5.3.0. They forgot to implement a > > declared constructor. I've reported it to Qt. For now, you could just > use Qt > > 5.2.x. > > > > > > On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha < > saptarshi.guha at gmail.com> > > wrote: > >> > >> Hello, > >> > >> I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got this > >> error after R CMD INSTALL > >> > >> > >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: > >> call: dyn.load(file, DLLpath = DLLpath, ...) > >> error: unable to load shared object > >> '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': > >> dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not > >> found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject > >> Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > >> Expected in: flat namespace > >> in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > >> Error: loading failed > >> Execution halted > >> ERROR: loading failed > >> * removing ?/Users/sguha/R_LIBS/qtbase? > >> > >> > >> however, all linked libraries can be found: > >> > >> > >> bhimrul:qtbase sguha$ otool -L /Users/sguha/tmp/qtbase/src/./qtbase.so > >> /Users/sguha/tmp/qtbase/src/./qtbase.so: > >> qtbase.so (compatibility version 0.0.0, current version 0.0.0) > >> /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets > >> (compatibility version 5.3.0, current version 5.3.0) > >> > /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia > >> (compatibility version 5.3.0, current version 5.3.0) > >> > >> > /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest > >> (compatibility version 5.3.0, current version 5.3.0) > >> > >> > /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg > >> (compatibility version 5.3.0, current version 5.3.0) > >> > >> /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns > >> (compatibility version 5.3.0, current version 5.3.0) > >> > >> > /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport > >> (compatibility version 5.3.0, current version 5.3.0) > >> /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp > >> (compatibility version 5.3.0, current version 5.3.0) > >> ..... > >> > >> > >> I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to > >> /Users/sguha/qt/53a/lib/ but i still get that error ... > >> > >> Any ideas? (This is on OSX and R3...) > >> > >> Cheers > >> Saptarshi > >> I'm using QT 5.3 > >> _______________________________________________ > >> Qtinterfaces-devel mailing list > >> Qtinterfaces-devel at lists.r-forge.r-project.org > >> > >> > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From saptarshi.guha at gmail.com Wed May 21 17:59:11 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Wed, 21 May 2014 08:59:11 -0700 Subject: [RQt-devel] Error trying to install qtbase library In-Reply-To: References: Message-ID: Hmm, I think in your last commit, you did comment it .*QDnsLookup::QDnsLookup\(QDnsLookup::Type, QString const&, QHostAddress const&, QObject\*\).* But I get the same error. On Wed, May 21, 2014 at 8:35 AM, Michael Lawrence wrote: > You could just remove the occurrences of QtNetwork in the CMakeLists.txt > files (there are multiple such files in the package). Or you could add the > offending constructor signature to the ignore list in smokeconfig.xml. > > > On Wed, May 21, 2014 at 8:29 AM, Saptarshi Guha > wrote: >> >> Is it possible to turn of QtNetwork support in 5.3? >> Regards >> Saptarshi >> >> >> On Tue, May 20, 2014 at 10:55 PM, Michael Lawrence >> wrote: >> > This looks like a bug in QtNetwork 5.3.0. They forgot to implement a >> > declared constructor. I've reported it to Qt. For now, you could just >> > use Qt >> > 5.2.x. >> > >> > >> > On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha >> > >> > wrote: >> >> >> >> Hello, >> >> >> >> I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got this >> >> error after R CMD INSTALL >> >> >> >> >> >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: >> >> call: dyn.load(file, DLLpath = DLLpath, ...) >> >> error: unable to load shared object >> >> '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': >> >> dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not >> >> found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject >> >> Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so >> >> Expected in: flat namespace >> >> in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so >> >> Error: loading failed >> >> Execution halted >> >> ERROR: loading failed >> >> * removing ?/Users/sguha/R_LIBS/qtbase? >> >> >> >> >> >> however, all linked libraries can be found: >> >> >> >> >> >> bhimrul:qtbase sguha$ otool -L /Users/sguha/tmp/qtbase/src/./qtbase.so >> >> /Users/sguha/tmp/qtbase/src/./qtbase.so: >> >> qtbase.so (compatibility version 0.0.0, current version 0.0.0) >> >> /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> ..... >> >> >> >> >> >> I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to >> >> /Users/sguha/qt/53a/lib/ but i still get that error ... >> >> >> >> Any ideas? (This is on OSX and R3...) >> >> >> >> Cheers >> >> Saptarshi >> >> I'm using QT 5.3 >> >> _______________________________________________ >> >> Qtinterfaces-devel mailing list >> >> Qtinterfaces-devel at lists.r-forge.r-project.org >> >> >> >> >> >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel >> > >> > > > From lawrence.michael at gene.com Wed May 21 20:39:45 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Wed, 21 May 2014 11:39:45 -0700 Subject: [RQt-devel] Error trying to install qtbase library In-Reply-To: References: Message-ID: I just pushed another attempt at excluding it; would you please try again? On Wed, May 21, 2014 at 8:59 AM, Saptarshi Guha wrote: > Hmm, > I think in your last commit, you did comment it > > > .*QDnsLookup::QDnsLookup\(QDnsLookup::Type, QString > const&, QHostAddress const&, QObject\*\).* > > > But I get the same error. > > > On Wed, May 21, 2014 at 8:35 AM, Michael Lawrence > wrote: > > You could just remove the occurrences of QtNetwork in the CMakeLists.txt > > files (there are multiple such files in the package). Or you could add > the > > offending constructor signature to the ignore list in smokeconfig.xml. > > > > > > On Wed, May 21, 2014 at 8:29 AM, Saptarshi Guha < > saptarshi.guha at gmail.com> > > wrote: > >> > >> Is it possible to turn of QtNetwork support in 5.3? > >> Regards > >> Saptarshi > >> > >> > >> On Tue, May 20, 2014 at 10:55 PM, Michael Lawrence > >> wrote: > >> > This looks like a bug in QtNetwork 5.3.0. They forgot to implement a > >> > declared constructor. I've reported it to Qt. For now, you could just > >> > use Qt > >> > 5.2.x. > >> > > >> > > >> > On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha > >> > > >> > wrote: > >> >> > >> >> Hello, > >> >> > >> >> I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got > this > >> >> error after R CMD INSTALL > >> >> > >> >> > >> >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: > >> >> call: dyn.load(file, DLLpath = DLLpath, ...) > >> >> error: unable to load shared object > >> >> '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': > >> >> dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not > >> >> found: > __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject > >> >> Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > >> >> Expected in: flat namespace > >> >> in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so > >> >> Error: loading failed > >> >> Execution halted > >> >> ERROR: loading failed > >> >> * removing ?/Users/sguha/R_LIBS/qtbase? > >> >> > >> >> > >> >> however, all linked libraries can be found: > >> >> > >> >> > >> >> bhimrul:qtbase sguha$ otool -L > /Users/sguha/tmp/qtbase/src/./qtbase.so > >> >> /Users/sguha/tmp/qtbase/src/./qtbase.so: > >> >> qtbase.so (compatibility version 0.0.0, current version 0.0.0) > >> >> /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> > >> >> > /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> > >> >> > >> >> > /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> > >> >> > >> >> > /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> > >> >> > >> >> > /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> > >> >> > >> >> > /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp > >> >> (compatibility version 5.3.0, current version 5.3.0) > >> >> ..... > >> >> > >> >> > >> >> I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to > >> >> /Users/sguha/qt/53a/lib/ but i still get that error ... > >> >> > >> >> Any ideas? (This is on OSX and R3...) > >> >> > >> >> Cheers > >> >> Saptarshi > >> >> I'm using QT 5.3 > >> >> _______________________________________________ > >> >> Qtinterfaces-devel mailing list > >> >> Qtinterfaces-devel at lists.r-forge.r-project.org > >> >> > >> >> > >> >> > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > >> > > >> > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From saptarshi.guha at gmail.com Wed May 21 20:53:05 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Wed, 21 May 2014 11:53:05 -0700 Subject: [RQt-devel] Error trying to install qtbase library In-Reply-To: References: Message-ID: Yes, 1. COmpiling against 5.2 worked great (no need to remove QDnsLookup) 2. Pulling your new commit from github worked with 5.3 (removing the QDnsLookup) Thanks! Saptarshi On Wed, May 21, 2014 at 11:39 AM, Michael Lawrence wrote: > I just pushed another attempt at excluding it; would you please try again? > > > On Wed, May 21, 2014 at 8:59 AM, Saptarshi Guha > wrote: >> >> Hmm, >> I think in your last commit, you did comment it >> >> >> .*QDnsLookup::QDnsLookup\(QDnsLookup::Type, QString >> const&, QHostAddress const&, QObject\*\).* >> >> >> But I get the same error. >> >> >> On Wed, May 21, 2014 at 8:35 AM, Michael Lawrence >> wrote: >> > You could just remove the occurrences of QtNetwork in the CMakeLists.txt >> > files (there are multiple such files in the package). Or you could add >> > the >> > offending constructor signature to the ignore list in smokeconfig.xml. >> > >> > >> > On Wed, May 21, 2014 at 8:29 AM, Saptarshi Guha >> > >> > wrote: >> >> >> >> Is it possible to turn of QtNetwork support in 5.3? >> >> Regards >> >> Saptarshi >> >> >> >> >> >> On Tue, May 20, 2014 at 10:55 PM, Michael Lawrence >> >> wrote: >> >> > This looks like a bug in QtNetwork 5.3.0. They forgot to implement a >> >> > declared constructor. I've reported it to Qt. For now, you could just >> >> > use Qt >> >> > 5.2.x. >> >> > >> >> > >> >> > On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha >> >> > >> >> > wrote: >> >> >> >> >> >> Hello, >> >> >> >> >> >> I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got >> >> >> this >> >> >> error after R CMD INSTALL >> >> >> >> >> >> >> >> >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: >> >> >> call: dyn.load(file, DLLpath = DLLpath, ...) >> >> >> error: unable to load shared object >> >> >> '/Users/sguha/R_LIBS/qtbase/libs/qtbase.so': >> >> >> dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not >> >> >> found: >> >> >> __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject >> >> >> Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so >> >> >> Expected in: flat namespace >> >> >> in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so >> >> >> Error: loading failed >> >> >> Execution halted >> >> >> ERROR: loading failed >> >> >> * removing ?/Users/sguha/R_LIBS/qtbase? >> >> >> >> >> >> >> >> >> however, all linked libraries can be found: >> >> >> >> >> >> >> >> >> bhimrul:qtbase sguha$ otool -L >> >> >> /Users/sguha/tmp/qtbase/src/./qtbase.so >> >> >> /Users/sguha/tmp/qtbase/src/./qtbase.so: >> >> >> qtbase.so (compatibility version 0.0.0, current version 0.0.0) >> >> >> /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> >> >> >> >> >> >> >> >> >> /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp >> >> >> (compatibility version 5.3.0, current version 5.3.0) >> >> >> ..... >> >> >> >> >> >> >> >> >> I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to >> >> >> /Users/sguha/qt/53a/lib/ but i still get that error ... >> >> >> >> >> >> Any ideas? (This is on OSX and R3...) >> >> >> >> >> >> Cheers >> >> >> Saptarshi >> >> >> I'm using QT 5.3 >> >> >> _______________________________________________ >> >> >> Qtinterfaces-devel mailing list >> >> >> Qtinterfaces-devel at lists.r-forge.r-project.org >> >> >> >> >> >> >> >> >> >> >> >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel >> >> > >> >> > >> > >> > > > From saptarshi.guha at gmail.com Fri May 23 21:16:10 2014 From: saptarshi.guha at gmail.com (Saptarshi Guha) Date: Fri, 23 May 2014 12:16:10 -0700 Subject: [RQt-devel] Compiling on RedHat: missing type: in method QLatin1Cha and sudo vs non sudo Message-ID: Hello Again,with Qt 5.3 and cmake 2.8.9, g++, i got Generating SMOKE sources... preparing SMOKE data [qt] writing out smokedata.cpp [qt] missing type: in method QLatin1Char::ch(c) (while writing out methods table) /bin/sh: line 1: 27485 Aborted (core dumped) /home/sguha/tmp/qtbase/kdebindings-build/generator/bin/smokegen -config /home/sguha/tmp/qtbase/kdebindings-build/smoke/qt/config.xml -smokeconfig /home/sguha/tmp/qtbase/kdebindings/smoke/qt/smokeconfig.xml -d /home/sguha/tmp/qtbase/kdebindings-build/smoke/qt/../qtdefines -- /home/sguha/tmp/qtbase/kdebindings/smoke/qt/qt_includes.h make[3]: *** [smoke/qt/smokedata.cpp] Error 134 Interestingly, if i did R CMD INSTALL . (inside qtbase/) cd ../kdebindings-build; \ cmake ../kdebindings -DR_CXX="g++" -DCMAKE_CXX_FLAGS=" " -DCMAKE_SHARED_LINKER_FLAGS=" -L/usr/local/lib64 -shared" \ -DCMAKE_INSTALL_PREFIX=../inst/local \ -DCMAKE_EXE_LINKER_FLAGS=" -L/usr/local/lib64" \ -DCMAKE_MODULE_LINKER_FLAGS=" -L/usr/local/lib64"; \ LD_LIBRARY_PATH=../../generator/bin make install CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message): The imported target "Qt5::Core" references the file "/usr/local//mkspecs/linux-g++" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake" but not all the files it references. Call Stack (most recent call first): /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists) /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:128 (include) CMakeLists.txt:9 (find_package) but if i do sudo R CMD INSTALL . i dont get the above cmake related error. Possibly this and the initial issue (top of email) are related? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawrence.michael at gene.com Fri May 23 22:15:13 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Fri, 23 May 2014 13:15:13 -0700 Subject: [RQt-devel] Compiling on RedHat: missing type: in method QLatin1Cha and sudo vs non sudo In-Reply-To: References: Message-ID: I doubt they're related. The sudo issue sounds related to permissions. Curiously, the first error is the same thing we get reliably on Windows, with 5.2. No solution found yet, but it's good news if we can now reproduce it on Linux. Thanks, Michael On Fri, May 23, 2014 at 12:16 PM, Saptarshi Guha wrote: > Hello > > Again,with Qt 5.3 and cmake 2.8.9, g++, i got > > Generating SMOKE sources... > preparing SMOKE data [qt] > writing out smokedata.cpp [qt] > missing type: in method QLatin1Char::ch(c) (while writing out methods > table) > /bin/sh: line 1: 27485 Aborted (core dumped) > /home/sguha/tmp/qtbase/kdebindings-build/generator/bin/smokegen -config > /home/sguha/tmp/qtbase/kdebindings-build/smoke/qt/config.xml -smokeconfig > /home/sguha/tmp/qtbase/kdebindings/smoke/qt/smokeconfig.xml -d > /home/sguha/tmp/qtbase/kdebindings-build/smoke/qt/../qtdefines -- > /home/sguha/tmp/qtbase/kdebindings/smoke/qt/qt_includes.h > make[3]: *** [smoke/qt/smokedata.cpp] Error 134 > > Interestingly, if i did > > R CMD INSTALL . (inside qtbase/) > > cd ../kdebindings-build; \ > cmake ../kdebindings -DR_CXX="g++" -DCMAKE_CXX_FLAGS=" " > -DCMAKE_SHARED_LINKER_FLAGS=" -L/usr/local/lib64 -shared" \ > -DCMAKE_INSTALL_PREFIX=../inst/local \ > -DCMAKE_EXE_LINKER_FLAGS=" -L/usr/local/lib64" \ > -DCMAKE_MODULE_LINKER_FLAGS=" -L/usr/local/lib64"; \ > LD_LIBRARY_PATH=../../generator/bin make install > CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 > (message): > The imported target "Qt5::Core" references the file > > "/usr/local//mkspecs/linux-g++" > > but this file does not exist. Possible reasons include: > > * The file was deleted, renamed, or moved to another location. > > * An install or uninstall procedure did not complete successfully. > > * The installation package was faulty and contained > > "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake" > > but not all the files it references. > > Call Stack (most recent call first): > /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 > (_qt5_Core_check_file_exists) > /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:128 (include) > CMakeLists.txt:9 (find_package) > > > but if i do sudo R CMD INSTALL . i dont get the above cmake related error. > > Possibly this and the initial issue (top of email) are related? > > > > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: