Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1114 - Base Installation doesn't <seem to> fit everyones needs.
Summary: Base Installation doesn't <seem to> fit everyones needs.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: installer
Version: 5.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-02-11 13:58 UTC by cameron
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-02-12 18:56:00 UTC

Attachments (Terms of Use)

Description cameron 1999-02-11 13:58:49 UTC
This is a e-mail I received as a receipient of the wine
developers e-mail list.  It shows <perhaps> a enhancement
that could be made to RedHat to make it more developer
friendly, directly.  Read the whole e-mail before you
dismiss it as venting.
Bill Cameron
Systems Software Engineer
Green Hills Software, Inc

On Thu, 11 Feb 1999, Ulrich Weigand wrote:
This had the strange effect for me that after the configure
for the X11/xpm.h header that was recently added, configure
that I didnt have Xpm installed, and Wine was compiled
without Xpm.
(Before that check was added, everything was working fine,
the compiler finds Xpm ...)

Agh, all the problems RedHat have caused. autoconf should
have a RedHat test and warn users that they should get
Debian or something instead.
Hm? You want to know what I mean? Okay. RedHat separates
the libraries and the headers into separate packages (the
headers go into a devel package).  So these lusers install
the libraries but dont think of themselves as developers
and forget to install the associated devel package. What
happens next is that autoconf finds the library, but then
the compilation fails because the headers arent there. So
Wine had to add these header checks too, something for
which autoconf wasnt designed, with the result you just
OK, now people wonder, Debian separates the libraries and
headers into separate packages too, so wouldnt Debian have
the same problem?
Nope. Watch:
$ cd /usr/X11R6/lib
$ ls -l libXpm*
&#61623; rw-rr--   1 root     root        78832 Jan 25  1998
lrwxrwxrwx   1 root     root           14 Nov 17 16:52 ->
lrwxrwxrwx   1 root     root           14 Nov 17 16:52 ->
&#61623; rw-rr--   1 root     root        53408 Jan 25  1998
$ dpkg -S
xpm4g-dev: /usr/X11R6/lib/
xpm4g: /usr/X11R6/lib/
xpm4g: /usr/X11R6/lib/

The main symlink required for linking is in the dev
package. So if the dev package isnt installed,
wouldnt be detected. Thus these header checks wouldnt be
necessary for Debian, and wouldnt have these problems.
RedHat is pretty braindead, IMHO.
- configure should be fixed to include the -I header for
the X11
include directory with the X11 header checks (unfortunately
not very familiar with autoconf/configure; maybe one of the
gurus can fix this?)

- compiling Wine without Xpm is rather pointless in the
current state.
Shouldnt we either completely abort compilation of Wine if
Xpm is
not present, or else implement some workaround so that Wine
will at
least start up ?

Will this work? (the offset you may get when you apply is
because I cut out the stuff that enables my memory
This is how autoconf macros do it to mess with LIBS, so
thought I could use it for CFLAGS too.
ChangeLog (if accepted):
Fixed X library header file detection.
Index: wine/
RCS file: /home/wine/wine/,v
retrieving revision 1.28
diff -u -r1.28
--- wine/	1999/02/05 17:40:47	1.28
+++ wine/	1999/02/11 04:11:06
@@ -97,6 +103,8 @@
if test $have_x = yes
XLIB=-lXext -lX11
&#61623; ac_save_CFLAGS=$CFLAGS

dnl Check for -lXpm
@@ -130,6 +138,8 @@
-lXext -lX11 -lm)
&#61623; CFLAGS=$ac_save_CFLAGS
@@ -666,6 +676,12 @@
echo *** X support, which currently does not work, and
would probably not be echo *** what you want anyway. You
will need to install devel packages of echo ***
Xlib/Xfree86 and Xpm at the very least.
+elif test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = no
&#61623; echo
&#61623; echo *** Warning: Xpm development files not found. Wine
will be built without
&#61623; echo *** Xpm support, which currently does not work. You
will need to install
&#61623; echo *** devel packages of Xpm.
if test $ac_cv_lib_ncurses_resizeterm = no -a
$ac_cv_lib_ncurses_waddch = yes

Comment 1 Jeff Johnson 1999-02-12 18:56:59 UTC
The gist of this report seems to be a suggestion that putting
the link of a shared library (in this case
into the foo-devel package would permit more efficient testing
of the existence of libraries within autoconf.

This is typically the way rpm's containing shared libraries are
packaged by Red Hat. In particular
	bash$ rpm -qf /usr/X11R6/lib/

Note You need to log in before you can comment on or make changes to this bug.