pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

phantomjs : errors when trying to upgrade to 1.6



Please help if someone knows how to deal with following class of errors:

webpage.h:49:1: error: expected class-name before '{' token

Portion of file around where above error comes:

 41 class Config;
 42 class CustomPage;
 43 class WebpageCallbacks;
 44 class NetworkAccessManager;
 45 class QWebInspector;
 46 class Phantom;
 47 
 48 class WebPage: public REPLCompletable, public QWebFrame::PrintCallback
 49 {
 50     Q_OBJECT


Complete trace:

libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include
-I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2
-DQ_TRAILING_DIR_SEP -D_REENTRANT -DHAVE_CONFIG_H -DHAVE_FCNTL_H
-DHAVE_STDARG_H -DHAVE_STDINT_H -DHAVE_UNISTD_H -DUSE_UTF8 -DQT_NO_DEBUG
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-I/usr/pkg/qt4/mkspecs/netbsd-g++ -I. -I/usr/pkg/qt4/include/QtCore
-I/usr/pkg/qt4/include/QtNetwork -I/usr/pkg/qt4/include/QtGui
-I/usr/pkg/qt4/include/QtWebKit -I/usr/pkg/qt4/include -Igif -Imongoose
-Ilinenoise/src -I. -I/usr/pkg/include -o phantom.lo phantom.cpp
In file included from phantom.cpp:42:0:
webpage.h:49:1: error: expected class-name before '{' token
phantom.cpp: In member function 'void Phantom::onInitialized()':
phantom.cpp:318:5: error: no matching function for call to
'QWebFrame::evaluateJavaScript(QString, QString)'
/usr/pkgsrc/wip/phantomjs/work/.buildlink/qt4/include/QtWebKit/qwebframe.h:203:14:
note: candidate is: QVariant QWebFrame::evaluateJavaScript(const QString&)
*** [phantom.lo] Error code 1


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index