You are not logged in.

#1 2013-04-18 23:51:06

manouchk
Member
Registered: 2008-07-29
Posts: 314

missing lupdate for compiling scidavis

Hi,

When compiling scidavis, I get that lupdate program is missing. Where do I get this program? From what package. I did not found it here.

==> Lancement de build()…
patching file scidavis.pro
patching file scidavis.pro
patching file src/ApplicationWindow.cpp
(Stripping trailing CRs from patch; use --binary to disable.)
patching file python-includepath.py
(Stripping trailing CRs from patch; use --binary to disable.)
patching file python-libs-win.py
(Stripping trailing CRs from patch; use --binary to disable.)
patching file python-sipcmd.py
(Stripping trailing CRs from patch; use --binary to disable.)
patching file python.pri
(Stripping trailing CRs from patch; use --binary to disable.)
patching file python.pri
/tmp/yaourt-tmp-manu/aur-scidavis/./PKGBUILD: ligne34: lupdate : commande introuvable

Offline

#2 2013-04-18 23:56:27

manouchk
Member
Registered: 2008-07-29
Posts: 314

Re: missing lupdate for compiling scidavis

"pacman -Ss lupdate" did not find anything!

Offline

#3 2013-04-19 03:00:58

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: missing lupdate for compiling scidavis

There is no lupdate, however the qt4 package does have a lupdate-qt4. The PKGBUILD probably needs to be updated.

Offline

#4 2013-04-19 05:28:11

manouchk
Member
Registered: 2008-07-29
Posts: 314

Re: missing lupdate for compiling scidavis

Thank you.
A patch is probably needed. The dependency does not indicate qt4 but:
    gsl mesa muparser python2-pyqt qt-assistant-compat qwt5 qwtplot3d shared-mime-info

Maybe qt4 it is a dependency of this package.

Offline

#5 2013-04-22 18:27:39

manouchk
Member
Registered: 2008-07-29
Posts: 314

Re: missing lupdate for compiling scidavis

I made one step by substituting  lupdate, lerelease ad qmake by lupdate-qt4, lerelease-qt4 e qmake-qt4 but there is a problem later when compiling:

g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DDYNAMIC_MANUAL_PATH -DSCRIPTING_MUPARSER -DPYTHON_CONFIG_PATH=\"/etc\" -DPYTHON_UTIL_PATH=\"/usr/share/scidavis\" -DSCRIPTING_PYTHON -DQT_PLUGIN -DTS_PATH=\"/usr/share/scidavis/translations\" -DDOC_PATH=\"/usr/share/doc/scidavis\" -DLEGACY_CODE_0_2_x -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/qwt5 -I/usr/include/qwtplot3d -Isrc -Isrc/future -I/usr/X11R6/include -I/tmp/yaourt-tmp-manu/aur-scidavis/src/scidavis-0.2.4/tmp/scidavis -I. -o ../tmp/scidavis/sipscidavisGraph.o ../tmp/scidavis/sipscidavisGraph.cpp
In file included from /usr/include/python2.7/Python.h:126:0,
                 from /usr/include/python2.7/sip.h:32,
                 from ../tmp/scidavis/sipAPIscidavis.h:11,
                 from ../tmp/scidavis/sipscidavisGraph.cpp:7:
/usr/include/python2.7/modsupport.h:27:97: attention : ‘PyArg_ParseTuple’ is an unrecognized format function type [-Wformat=]
 PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
                                                                                                 ^
src/scidavis.sip: In function ‘PyObject* meth_Graph_curves(PyObject*, PyObject*)’:
src/scidavis.sip:932:35: erreur: passing ‘const Graph’ as ‘this’ argument of ‘int Graph::curves()’ discards qualifiers [-fpermissive]
  for (int i = 0; i<sipCpp->curves(); i++)
                                   ^
src/scidavis.sip:933:33: erreur: passing ‘const Graph’ as ‘this’ argument of ‘QwtPlotCurve* Graph::curve(int)’ discards qualifiers [-fpermissive]
   sipRes->append(sipCpp->curve(i));
                                 ^
src/scidavis.sip: In function ‘PyObject* meth_Graph_pickPoint(PyObject*, PyObject*)’:
src/scidavis.sip:1003:40: erreur: invalid conversion from ‘const Graph*’ to ‘Graph*’ [-fpermissive]
   *sipRes = DataPointPicker(sipCpp, app).pick();
                                        ^
In file included from src/scidavis.sip:854:0:
./src/DataPointPicker.h:45:3: erreur:   initializing argument 1 of ‘DataPointPicker::DataPointPicker(Graph*, ApplicationWindow*)’ [-fpermissive]
   DataPointPicker(Graph *g, ApplicationWindow *app);

Offline

Board footer

Powered by FluxBB