Self-compiled head has no toolbar, unusable

Asked by Bicyclops on 2018-07-18

Hello

I compiled git head f238458045 in order to get you a stack backtrace for a crash, but Inkscape launches without any toolbar or tools.

Compilation:
git clone https://gitlab.com/inkscape/inkscape.git code-inkscape
cd code-inkscape
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=debug ..
make

What have I missed?

CMake log:
------------------------------
Building Makefile for Inkscape
------------------------------
Source Dir: /home/morgan/programs/code-inkscape
Binary Dir: /home/morgan/programs/code-inkscape/build
-- Creating build files in: /home/morgan/programs/code-inkscape/build
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for modules 'harfbuzz;pangocairo;pangoft2;fontconfig;gsl;gmodule-2.0;libsoup-2.4>=2.42'
-- Found harfbuzz, version 1.7.6
-- Found pangocairo, version 1.40.14
-- Found pangoft2, version 1.40.14
-- Found fontconfig, version 2.12.6
-- Found gsl, version 1.16
-- Found gmodule-2.0, version 2.54.3
-- Found libsoup-2.4, version 2.58.2
-- Found JeMalloc: /usr/lib/libjemalloc.so
-- Found LCMS2: /usr/lib/liblcms2.so
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib/libc.so
-- Found Intl: /usr/include
-- Found BoehmGC: /usr/lib/libgc.so
-- Checking for module 'poppler'
-- Found poppler, version 0.62.0
-- Found poppler: /usr/lib/libpoppler.so
-- Checking for module 'poppler-glib'
-- Found poppler-glib, version 0.62.0
-- Found poppler-glib: /usr/lib/libpoppler-glib.so
-- Checking for module 'cairo-svg'
-- Found cairo-svg, version 1.14.12
-- Found cairo-svg: /usr/lib/libcairo.so
-- Checking for module 'poppler-cairo'
-- Found poppler-cairo, version 0.62.0
-- Found poppler-cairo: /usr/lib/libcairo.so
-- Checking for module 'libwpg-0.3'
-- Found libwpg-0.3, version 0.3.2
-- Found libwpg-0.3: /usr/lib/libwpg-0.3.so
-- Checking for module 'librevenge-0.0'
-- Found librevenge-0.0, version 0.0.4
-- Found librevenge-0.0: /usr/lib/librevenge-0.0.so
-- Checking for module 'librevenge-stream-0.0'
-- Found librevenge-stream-0.0, version 0.0.4
-- Found librevenge-stream-0.0: /usr/lib/librevenge-stream-0.0.so
-- Checking for module 'libvisio-0.1'
-- Found libvisio-0.1, version 0.1.6
-- Found libvisio-0.1: /usr/lib/libvisio-0.1.so
-- Checking for module 'libcdr-0.1'
-- Found libcdr-0.1, version 0.1.4
-- Found libcdr-0.1: /usr/lib/libcdr-0.1.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.34+apng")
-- Checking for module 'popt'
-- Found popt, version 1.16
-- Found Popt: /usr/lib/libpopt.so
-- Found Potrace: /usr/lib/libpotrace.so
-- Checking for modules 'gtkmm-3.0>=3.8;gdkmm-3.0>=3.8;gtk+-3.0>=3.8;gdk-3.0>=3.8;gdl-3.0>=3.4'
-- Found gtkmm-3.0, version 3.22.2
-- Found gdkmm-3.0, version 3.22.2
-- Found gtk+-3.0, version 3.22.30
-- Found gdk-3.0, version 3.22.30
-- Found gdl-3.0, version 3.22.0
-- Checking for module 'gdl-3.0>=3.6'
-- Found gdl-3.0, version 3.22.0
Using GDL 3.6 or higher
-- Checking for module 'gtkspell3-3.0'
-- No package 'gtkspell3-3.0' found
-- Boost version: 1.65.0
-- Found ASPELL: /usr/lib/libaspell.so
-- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.32")
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.8")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Checking for module 'ImageMagick++'
-- Found ImageMagick++, version 6.9.10
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found gettext + msgfmt to convert language files. Translation enabled
-- Checking for module 'sigc++-2.0'
-- Found sigc++-2.0, version 2.10.0
-- Found YAML: /usr/lib/libyaml.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include file cairo-pdf.h
-- Looking for include file cairo-pdf.h - found
-- Looking for floor
-- Looking for floor - found
-- Looking for fpsetmask
-- Looking for fpsetmask - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for memset
-- Looking for memset - found
-- Looking for pow
-- Looking for pow - found
-- Looking for sqrt
-- Looking for sqrt - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for strpbrk
-- Looking for strpbrk - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strspn
-- Looking for strspn - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Performing Test HAVE_STRUCT_MALLINFO_FORDBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_FORDBLKS - Failed
-- Performing Test HAVE_STRUCT_MALLINFO_FSMBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_FSMBLKS - Failed
-- Performing Test HAVE_STRUCT_MALLINFO_HBLKHD
-- Performing Test HAVE_STRUCT_MALLINFO_HBLKHD - Failed
-- Performing Test HAVE_STRUCT_MALLINFO_UORDBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_UORDBLKS - Failed
-- Performing Test HAVE_STRUCT_MALLINFO_USMBLKS
-- Performing Test HAVE_STRUCT_MALLINFO_USMBLKS - Failed
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Generating header and sourcefiles from sp-marshal.list (Glib-Marshal)
INFO: Reading /home/morgan/programs/code-inkscape/src/helper/sp-marshal.list...
INFO: Reading /home/morgan/programs/code-inkscape/src/helper/sp-marshal.list...
-- sp-marshal.h changed; overwriting
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
No gmock/gtest found! Perhaps you wish to run 'bash download-gtest.sh' to download it.
-- Can not find dpkg in your path, default to i386.
------------------------------------------------------------------------
Configuration Summary
------------------------------------------------------------------------
PROJECT_NAME: inkscape
INKSCAPE_VERSION: 0.92+devel
INKSCAPE_DIST_PREFIX: inkscape-0.92+devel
INKSCAPE_CPACK_PREFIX: inkscape-0.92+devel_2018-07-08_f238458045

CMAKE_BINARY_DIR: /home/morgan/programs/code-inkscape/build
CMAKE_INSTALL_PREFIX: /usr/local
PACKAGE_LOCALE_DIR /share/locale
CMAKE_SYSTEM_NAME: Linux
CMAKE_SYSTEM_VERSION: 4.17.0-sabayon
CMAKE_SYSTEM_PROCESSOR: x86_64
CMAKE_C_COMPILER: /usr/bin/cc
CMAKE_CXX_COMPILER: /usr/bin/c++
CMAKE_BUILD_TYPE: debug

ENABLE_LCMS: ON
ENABLE_POPPLER: ON
ENABLE_POPPLER_CAIRO: ON
GMOCK_PRESENT: OFF
WITH_DBUS: OFF
WITH_GTKSPELL: OFF
WITH_IMAGE_MAGICK: ON
WITH_LIBCDR: ON
WITH_LIBVISIO: ON
WITH_LIBWPG: ON
WITH_NLS: ON
WITH_OPENMP: ON
WITH_PROFILING: OFF
WITH_YAML: ON
WITH_JEMALLOC: ON
------------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/morgan/programs/code-inkscape/build

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2018-07-18
Last reply:
2018-07-18
Mc (mc...) said : #2

you need to do make install so that inkscape finds the share/ folder (use -DCMAKE_INSTALL_PREFIX=/home/me/...)

Can you help with this problem?

Provide an answer of your own, or ask Bicyclops for more information if necessary.

To post a message you must log in.