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: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 10.1 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by ) ¶
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 , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
comment:3 by , 4 years ago
comment:4 by , 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.
Use 'cmake -L .' to see all the options. It's the equivalent of './configure --help'