gcmd-devel
[Top][All Lists]
Advanced

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

Re: [gcmd-dev] Building on Ubuntu 18.04 (Launchpad)


From: Uwe Scholz
Subject: Re: [gcmd-dev] Building on Ubuntu 18.04 (Launchpad)
Date: Mon, 6 Jan 2020 15:42:12 +0100

Hi Stefan,

first of all, thank you very much for stepping into Gcmd development.
Welcome to the club :)

To be honest, I am not familiar with launchpad. But from checking out
your page it seems now as if you solved the build issues you had
before? 
https://launchpad.net/~schollsky/+archive/ubuntu/gnome-commander/+packages

I can also confirm that gcmd can be build in Ubuntu 18.04 
https://travis-ci.org/gcmd/gnome-commander

This build was started from the current master branch.

Best
Uwe

Am Tue, 31 Dec 2019 02:22:20 +0100 schrieb Stefan Czinczoll,
Dipl.Soz.Wiss.:
>
> Hello Ken,
> 
> I have little programming experience in C++, but am eager to learn
> and Gnome Commander seems a valuable goal. For personal use there's
> no problem with building g-cdr, however I doubt there's any means to
> upload a .deb binary to Launchpad. The way here is to apply patches
> to the source, then upload the source package for automated building
> on Launchpad.
> 
> I've managed to build g-cdr for Ubuntu 19.04, and you can find it
> here:
> 
> https://launchpad.net/~schollsky/+archive/ubuntu/gcmd?field.series_filter=disco
> 
> 
> Version 18.04 seems to be more complicated. As compiler version gcc 8
> is used, some Makefile warnings/errors with "cast-function-type" had
> to be eliminated, but that still did not the trick.
> 
> Linking seems to fail lately with gtest library. I've included 
> googletest as dependancy, but there must be something missing
> elsewhere. Perhaps it's necessary to update the test section?
> 
> Any idea is welcome.
> 
> Kind regards,
> 
> Stefan
> 
> 
> BUILDLOG:
> [...]
> /bin/bash ../libtool  --tag=CXX   --mode=link g++ -std=gnu++11 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -pthread -I/usr/include/gtk-2.0 
> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_REENTRANT
> -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
> -I/usr/include/libxml2 -I/usr/include/libgnome-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gail-1.0 -I/usr/include/libart-2.0
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include
> -I/usr/include/gconf/2 -I/usr/include/dbus-1.0
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTEST_HAS_PTHREAD=0
> -I../src -I.. -I../src -I../src/intviewer -I.
> -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -g
> -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -lglib-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgtk-x11-2.0
> -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0
> -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0
> -lfontconfig -lfreetype -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2
> -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2
> -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0
> -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
> -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -pthread
> -lgmodule-2.0 -pthread -lgobject-2.0 -lglib-2.0 -lgtest
> -Wl,-Bsymbolic-functions -Wl,-z,relro -o iv_viewerwidget
> iv_viewerwidget-iv_viewerwidget_test.o
> iv_viewerwidget-gcmd_tests_main.o ../src/intviewer/libgviewer.a
> -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0
> -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0
> -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
> -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2
> -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2
> -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo
> -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
> -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -pthread
> -lgmodule-2.0 -pthread -lgobject-2.0 -lglib-2.0 /bin/bash ../libtool
> --tag=CXX   --mode=link g++ -std=gnu++11 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_REENTRANT
> -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
> -I/usr/include/libxml2 -I/usr/include/libgnome-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gail-1.0 -I/usr/include/libart-2.0
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include
> -I/usr/include/gconf/2 -I/usr/include/dbus-1.0
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTEST_HAS_PTHREAD=0
> -I../src -I.. -I../src -I../src/intviewer -I.
> -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -g
> -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -lglib-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgtk-x11-2.0
> -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0
> -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0
> -lfontconfig -lfreetype -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2
> -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2
> -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0
> -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
> -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -pthread
> -lgmodule-2.0 -pthread -lgobject-2.0 -lglib-2.0 -lgtest
> -Wl,-Bsymbolic-functions -Wl,-z,relro -o iv_fileops
> iv_fileops-iv_fileops_test.o iv_fileops-gcmd_tests_main.o
> ../src/intviewer/libgviewer.a -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0
> -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0
> -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0
> -lfontconfig -lfreetype -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2
> -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2
> -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0
> -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
> -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -pthread
> -lgmodule-2.0 -pthread -lgobject-2.0 -lglib-2.0 libtool: link: g++
> -std=gnu++11 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_REENTRANT
> -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
> -I/usr/include/libxml2 -I/usr/include/libgnome-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gail-1.0 -I/usr/include/libart-2.0
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include
> -I/usr/include/gconf/2 -I/usr/include/dbus-1.0
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTEST_HAS_PTHREAD=0
> -I../src -I.. -I../src -I../src/intviewer -I.
> -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -g
> -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -pthread
> -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o iv_viewerwidget
> iv_viewerwidget-iv_viewerwidget_test.o
> iv_viewerwidget-gcmd_tests_main.o -pthread -pthread  -lgtest
> ../src/intviewer/libgviewer.a -lgnomeui-2 -lSM -lICE -lbonoboui-2
> -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2
> -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0
> -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0
> -lpango-1.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so
> -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libgnomevfs-2.so -lgconf-2
> -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -pthread
> /usr/bin/ld: cannot find -lgtest collect2: error: ld returned 1 exit
> status Makefile:839: recipe for target 'iv_viewerwidget' failed
> make[3]: *** [iv_viewerwidget] Error 1 make[3]: *** Waiting for
> unfinished jobs.... libtool: link: g++ -std=gnu++11
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -pthread -I/usr/include/gtk-2.0
> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16 -D_REENTRANT
> -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
> -I/usr/include/libxml2 -I/usr/include/libgnome-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gail-1.0 -I/usr/include/libart-2.0
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/freetype2 -I/usr/include/libpng16
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include
> -I/usr/include/gconf/2 -I/usr/include/dbus-1.0
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGTEST_HAS_PTHREAD=0
> -I../src -I.. -I../src -I../src/intviewer -I.
> -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -g
> -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -pthread
> -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o iv_fileops
> iv_fileops-iv_fileops_test.o iv_fileops-gcmd_tests_main.o -pthread
> -pthread  -lgtest ../src/intviewer/libgviewer.a -lgnomeui-2 -lSM
> -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation
> -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0
> -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0
> -lpango-1.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so
> -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libgnomevfs-2.so -lgconf-2
> -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -pthread
> /usr/bin/ld: cannot find -lgtest collect2: error: ld returned 1 exit
> status Makefile:823: recipe for target 'iv_fileops' failed make[3]:
> *** [iv_fileops] Error 1 make[3]: Leaving directory
> '/<<PKGBUILDDIR>>/tests' Makefile:1430: recipe for target 'check-am'
> failed make[2]: *** [check-am] Error 2 make[2]: Leaving directory
> '/<<PKGBUILDDIR>>/tests' Makefile:551: recipe for target
> 'check-recursive' failed make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: make -j4
> check VERBOSE=1 returned exit code 2 debian/rules:18: recipe for
> target 'build' failed make: *** [build] Error 2 dpkg-buildpackage:
> error: debian/rules build subprocess returned exit status 2
> 
> 



-- 
Bevor immer mehr Jugendliche abgleiten in den Drogensumpf,
müssen wir ihnen eine andere Droge bieten: den Fußball.
                -- Christoph Daum



reply via email to

[Prev in Thread] Current Thread [Next in Thread]