Opened 18 years ago

Closed 18 years ago

Last modified 10 years ago

#1792 closed defect (fixed)

imlib 1.9.15 will not compile without X

Reported by: jason@… Owned by: dnicholson@…
Priority: high Milestone:
Component: BOOK Version: SVN
Severity: major Keywords:
Cc:

Description (last modified by dnicholson@…)

IMLib lists X as being an optional component for compiling, but the config script as of 1.9.14 always tries to include X with a -lX11 preventing imlib from compiling. When you try to compile without X, it will error out not being able to find any graphics libs, JPEG being the first. Installing XWindows fixes this problem.

Change History (5)

comment:1 by dnicholson@…, 18 years ago

Description: modified (diff)
Owner: changed from blfs-book@… to dnicholson@…
Status: newassigned

comment:2 by bdubbs@…, 18 years ago

Version: ~CVSa-SVN

comment:3 by dnicholson@…, 18 years ago

X11 is required, no doubt about it. I got configure to pass with an sed, but make bombed. Here's the top of Imlib/Imlib_types.h (without which, Imlib wouldn't work):

#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/Xos.h>

There's no preprocessor directive to ignore these without X. GTK is still optional, AFAICT. Will test at home, but it looks like the fix is just to make X required.

comment:4 by dnicholson@…, 18 years ago

Resolution: fixed
Status: assignedclosed

X is required. configure just doesn't explicitly check for it. Fixed in r5879.

comment:5 by bdubbs@…, 10 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.