Login  Register

Installing LibreCAD3.0

Posted by dabeegmon on Apr 07, 2020; 4:12pm
URL: https://forum.librecad.org/Installing-LibreCAD3-0-tp5718714.html

Greetings

Dunno as to the 'proper' location for this request.
Also dunno as to the minutae on the etiquette so please just beat me somewhat if I overstep. (Remember - - - - beatings will continue until morale improves - - - - LOL!)

Following is where I'm at in the install (on Debian testing running using open source video drivers (Nouveau) on a multi-monitor system (if that might make a difference).

quote>
-- Found Lua 5.3 include dir: /usr/include/lua5.3
-- Found Lua 5.3 library: /usr/lib/x86_64-linux-gnu/liblua5.3.so
***** Lua command line interface *****
-- Checking for module 'cairo'
--   No package 'cairo' found
-- Found Cairo  include dir: CAIRO_INCLUDE_DIRS-NOTFOUND
-- Found Cairo  library: CAIRO_LIBRARIES-NOTFOUND
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Cairo (missing: CAIRO_INCLUDE_DIRS CAIRO_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  luacmdinterface/cmake/FindCairo.cmake:90 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  luacmdinterface/CMakeLists.txt:9 (find_package)


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BZIP2_LIBRARY
    linked by target "lcviewernoqt" in directory /LibreCAD_3/lcviewernoqt
CAIRO_LIBRARIES
    linked by target "lcviewernoqt" in directory /LibreCAD_3/lcviewernoqt

-- Configuring incomplete, errors occurred!
See also "/LibreCAD_3/build/CMakeFiles/CMakeOutput.log".
See also "/LibreCAD_3/build/CMakeFiles/CMakeError.log".
>end quote

dpkg -l | grep cairo
ii  libcairo-5c0:amd64                    1.17                                     amd64        library for cairo nickle bindings
ii  libcairo-gobject2:amd64               1.16.0-4                                 amd64        Cairo 2D vector graphics library (GObject library)
ii  libcairo-perl                         1.106-3+b1                               amd64        Perl interface to the Cairo graphics library
ii  libcairo2:amd64                       1.16.0-4                                 amd64        Cairo 2D vector graphics library
ii  libcairomm-1.0-1v5:amd64              1.12.2-4                                 amd64        C++ wrappers for Cairo (shared libraries)
ii  libpangocairo-1.0-0:amd64             1.42.4-7~deb10u1                         amd64        Layout and rendering of internationalized text
ii  libpixman-1-0:amd64                   0.36.0-1                                 amd64        pixel-manipulation library for X and cairo
ii  python-cairo:amd64                    1.16.2-1+b1                              amd64        Python bindings for the Cairo vector graphics library
ii  python3-cairo:amd64                   1.16.2-1+b1                              amd64        Python3 bindings for the Cairo vector graphics library

shows that I do have some of the cairo packages installed.

I needed to install quite a number of new packages and many with their -dev counterparts to get to this point.
Likely missing something simple but I don't know what (sorry!).

Am suggestions on how to break the logjam?

TIA