Opened 4 years ago

Last modified 4 years ago

#14437 closed enhancement

icewm-2.0.0 fails to configure with the book's commands: — at Version 4

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 10.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by ken@…)

Using

cmake -DCMAKE_INSTALL_PREFIX=/usr \

-DCMAKE_BUILD_TYPE=Release \ -DCFGDIR=/etc \ -DENABLE_LTO=ON \ -DDOCDIR=/usr/share/docusr/share/doc/icewm-2.0.0 \ ..

(sorry, trac is not impressed by that, no idea what to escape)

fails with

Make Error at src/CMakeLists.txt:188 (message):
  IMLIB2 selected but Imlib2 dev files not found.  There is a choice to be
  made between two image loaders.

   Either 'yimage_gdk' must be enabled by -DCONFIG_GDK_PIXBUF_XLIB=on,
   or 'imlib2' must be enabled by -DCONFIG_IMLIB2=on,
   or else 'yximage' must be enabled by -DCONFIG_LIBPNG=on.
   The latter requires -DCONFIG_XPM=on, while -DCONFIG_LIBJPEG=on is recommended.
   Support SVG format for Imlib2 or GdkPixbuf with -DCONFIG_LIBRSVG=on.
    Cursor support requires either -DCONFIG_XPM=on or -DCONFIG_IMLIB2=on.



-- Configuring incomplete, errors occurred!

Oh for the days when we just used configure!

Looks as if there are a lot of optional deps now, and at least some of them now need to be specified with defines.

Since we are using gdk_pixbuf_xlib, I'll test it with added

-DCONFIG_GDK_PIXBUF_XLIB=on -DCONFIG_XPM=on and for my own build -DCONFIG_LIBRSVG=on -DCONFIG_LIBPNG=on -DCONFIG_JPEG=on

Change History (4)

comment:1 by ken@…, 4 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

comment:2 by Bruce Dubbs, 4 years ago

Description: modified (diff)

comment:3 by Bruce Dubbs, 4 years ago

Use 'cmake -L .' to see all the options. It's the equivalent of './configure --help'

CFGDIR:STRING=/usr/local/etc/icewm
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
CONFIG_DEFAULT_THEME:STRING=default/default.theme
CONFIG_EXTERNAL_TRAY:BOOL=OFF
CONFIG_GDK_PIXBUF_XLIB:BOOL=OFF
CONFIG_I18N:BOOL=ON
CONFIG_IMLIB2:BOOL=ON
CONFIG_LIBICONV:FILEPATH=CONFIG_LIBICONV-NOTFOUND
CONFIG_LIBJPEG:BOOL=OFF
CONFIG_LIBPNG:BOOL=OFF
CONFIG_LIBRSVG:BOOL=OFF
CONFIG_SESSION:BOOL=ON
CONFIG_UNICODE_SET:STRING=
CONFIG_XPM:BOOL=ON
CONFIG_XRANDR:BOOL=ON
DATADIR:STRING=/usr/local/share
DOCDIR:STRING=/usr/local/share/doc/icewm
ENABLE_LOGEVENTS:BOOL=OFF
ENABLE_LTO:BOOL=OFF
ENABLE_NLS:BOOL=ON
ICEHELPIDX:STRING=/usr/local/share/doc/icewm/icewm.html
LIBDIR:STRING=/usr/local/share/icewm
LOCDIR:STRING=/usr/local/share/locale
SED_EXECUTABLE:FILEPATH=/bin/sed
XTERMCMD:STRING=xterm

comment:4 by ken@…, 4 years ago

Description: modified (diff)

In fact, src/CMakeLists.txt defaults IMLIB2 and XPM to on.

In the very distant past, old imlib1 was used (google found an old hint for icewm), but for years we have used gdk. I see no reason for imlib2 to now be recommended.

Note: See TracTickets for help on using tickets.