oyranos-cms / oyranos

Colour Management System
https://gitlab.com/oyranos/oyranos
Other
18 stars 6 forks source link

/bin/sh: line 1: oyjl-translate: command not found #73

Closed Randrianasulu closed 1 year ago

Randrianasulu commented 1 year ago

Trying to build git up to fd2f67ed695f4834f1cb26003ff6b95cc4a7f13b

on Slackware 15.0 i586 I got this error, even if configure ended up with

-- The following OPTIONAL packages have been found:

 * Qt5DBus
 * Qt5Core (required version >= 5.15.3)
 * Qt5Gui (required version >= 5.15.3)
 * Qt5Network (required version >= 5.15.3)
 * Qt5Qml
 * Qt5QmlModels (required version >= 5.15.3)
 * Qt5Quick
 * Qt5LinguistTools
 * DBus
 * X11
 * XRandR
 * Xinerama
 * Xxf86vm
 * LibXML2
 * LCMS
 * LCMS2                                                                                          
 * OpenMP                                                                                          
 * Cups
 * CUPS
 * Sane
 * Cairo
 * OpenGL
 * Freetype
 * Fontconfig
 * FLTK
 * LibRaw
 * Exiv2
 * LibPNG
 * JPEG
 * TIFF
 * GetText
 * Git
 * Qt5Widgets
 * Qt5X11Extras
 * Qt5Xml
 * Qt5Svg
 * Qt5
 * PkgConfig
 * Doxygen

-- The following OPTIONAL packages have not been found:

 * ELEKTRA
 * Yajl
 * OpenIcc
 * Oyjl
 * Xfixes
 * Xmu
 * Xcm
 * Qt4
 * Grantlee5

-- Configuring done
-- Generating done
-- Build files have been written to: /home/guest/botva/src/src/oyranos
beku commented 1 year ago

This is a status info. Looks good to me.

Randrianasulu commented 1 year ago

Status info looks good, but build just stopped, until I manually stepped into openicc subfolder and 'make' it manually.

Also, it seems xfixes/xmu are NOT optional (I think I might have messed up my custom X install with some Slackware packages, so cmake is confused. to troubleshoot on my end)

/usr/bin/ld: ../../libxcm/src/libxcm-static.a(XcmEvents.c.o): in function `XcmePrintWindowRegions':/home/guest/botva/src/src/oyranos/libxcm/src/XcmEvents.c:380: undefined reference to `XFixesFetchRegion'                                                                                              /usr/bin/ld: ../../libxcm/src/libxcm-static.a(XcmEvents.c.o): in function `XcmeContext_Setup2':    /home/guest/botva/src/src/oyranos/libxcm/src/XcmEvents.c:656: undefined reference to `XmuSimpleErrorHandler'                                                                                          /usr/bin/ld: ../../libxcm/src/libxcm-static.a(XcmEvents.c.o): in function `xcmePrintWindowRegions':
/home/guest/botva/src/src/oyranos/libxcm/src/XcmEvents.c:455: undefined reference to `XFixesFetchRegion'                                                                                              WARNUNG 0,071871: [-1] oyReadUrlToMem_(oyranos_io_core.c:371) Konnte nicht aus dem Netz kopieren. Bitte installieren Sie curl oder wget.
Konnte keine Ortsinformationen erhalten. Ist das Gerät mit dem Internet verbunden?                 lat = nan /
lon = nan /                                                                                        collect2: error: ld returned 1 exit status
make[2]: *** [src/tools/CMakeFiles/oyranos-monitor.dir/build.make:123: src/tools/oyranos-monitor] Error 1
make[1]: *** [CMakeFiles/Makefile2:6182: src/tools/CMakeFiles/oyranos-monitor.dir/all] Error 2     [ 85%] Built target oyranos-monitor-white-point-de.1
make: *** [Makefile:136: all] Error 2
beku commented 1 year ago

Yes, indeed. The concept is based on region based color management and requires xfixes for that. https://github.com/compiz-reloaded/compicc#compicc-readme lib xmu was introduced in XFree86 4.1.0, and incorporated into X11R6.7 What are your version numbers.

Randrianasulu commented 1 year ago

I just installed libxfixes git (6.0.1) and libxmu 1.1.4

still without attached patch it was not detecting them .. cmake_fixes.diff.txt

cmake version 3.21.4

beku commented 1 year ago

Thanks for your patch. I took it as inspiration as closely as I could. Additionally libxmu is gone. In git revision 9ab91fa0 are my changes. Hope that helps.

Randrianasulu commented 1 year ago

Build (from build dir) now works without errors, thanks!

beku commented 1 year ago

Your feedback is appreciated. Thanks:)