[Debian-med-packaging] C++ / Qt help for Ugene needed

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Thu Dec 10 15:53:24 UTC 2015


Hi again,

-               libqt4-opengl-dev,
+               libqt5opengl5-dev, qtscript5-dev, libqt5svg5-dev, libqt5webkit5-dev,


something more was missing.

Now there is only a link failure left:
rm -f libU2Script.so.1.0.0 libU2Script.so libU2Script.so.1 libU2Script.so.1.0
g++ -m64 -Wl,-z,relro -shared -Wl,-soname,libU2Script.so.1 -o libU2Script.so.1.0.0 _tmp/obj/release/CommonDbi.o _tmp/obj/release/globals.o _tmp/obj/release/FormatDetection.o _tmp/obj/release/SchemeHandle.o _tmp/obj/release/SchemeWrapper.o _tmp/obj/release/TextConversionUtils.o _tmp/obj/release/U2Script.o _tmp/obj/release/UgeneContextWrapper.o _tmp/obj/release/WorkflowElementFacade.o  -L/usr/X11R6/lib64 -L../../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Remote -lU2Lang -lU2Private -lugenedb -lU2Gui -lU2Test -lQt5Widgets -lQt5Gui -lQt5Script -lQt5Core -lpthread -lGL 
/usr/bin/ld: cannot find -lugenedb



easily fixable by a tweak of the sqlite patch
file: src/corelibs/U2Script/U2Script.pri
-LIBS += -L../../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Remote -lU2Lang -lU2Private -lugenedb -lU2Gui -lU2Test
+LIBS += -L../../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Remote -lU2Lang -lU2Private -lsqlite3 -lU2Gui -lU2Test


-        LIBS -=     -L../../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Remote -lU2Lang -lU2Private -lugenedb -lU2Gui -lU2Test
-        LIBS +=     -L../../_debug -lU2Cored -lU2Algorithmd -lU2Formatsd -lU2Remoted -lU2Langd -lU2Privated -lugenedbd -lU2Guid -lU2Testd
+        LIBS -=     -L../../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Remote -lU2Lang -lU2Private -lU2Gui -lU2Test
+        LIBS +=     -L../../_debug -lU2Cored -lU2Algorithmd -lU2Formatsd -lU2Remoted -lU2Langd -lU2Privated -lU2Guid -lU2Testd


file:

src/plugins_checker/plugins_checker.pri
-LIBS += -L../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Gui -lU2Private -lugenedb -lbreakpad
+LIBS += -L../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Gui -lU2Private -lsqlite3 -lbreakpad


-        LIBS -= -L../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Gui -lU2Private -lugenedb -lbreakpad
-        LIBS += -L../_debug -lU2Cored -lU2Algorithmd -lU2Formatsd -lU2Guid -lU2Privated -lugenedbd -lbreakpadd
+        LIBS -= -L../_release -lU2Core -lU2Algorithm -lU2Formats -lU2Gui -lU2Private -lbreakpad
+        LIBS += -L../_debug -lU2Cored -lU2Algorithmd -lU2Formatsd -lU2Guid -lU2Privated -lbreakpadd



and now the package builds fine (dpkg-shlibdeps error, missing libraries, but I leave this last issue to you :) )

cheers,

G.



More information about the Debian-med-packaging mailing list