The problem with the kernel builds (both 2.2.x and 2.4.x) is the
pcmcia-cs package configuration script. No option to remove support
for the cardinfo control panel, which uses xforms exist! It xforms,
xforms-devel is installed, the script uses it!! Please remove the
xforms option from the kernel build. (I currently need xforms
installed for other tools, such as LyX, but that will change soon :-)

kernel24-2.4.0/linux/pcmcia-cs-3.1.20/Configure:
....
#=======================================================================

# Optional stuff

 HAS_FORMS=n
if [ -r /usr/include/X11/Xlib.h -o \
     -r /usr/X11R6/include/X11/Xlib.h ] ; then
    echo "X Windows include files found."
    for f in /usr/{X11/,X11R6/,local/,}lib/libforms.{so,a} ; do
        if [ -r $f ] ; then break ; fi
    done
    for g in /usr/{X11/,X11R6/,local/,}include/{,X11/}forms.h ; do
        if [ -r $g ] ; then break ; fi
    done
    if [ -r $f -a -r $g ] ; then
        echo "$f and $g found."
        HAS_FORMS=y
    else
        echo "Forms library not installed."
    fi
else
    echo "X Windows include files not installed."
fi

if [ "$HAS_FORMS" != "y" ] ; then
    echo "    If you wish to build the 'cardinfo' control panel, you" \
         "need the Forms"
    echo "    library and the X Windows include files.  See the HOWTO" \
         "for details."
    HAS_FORMS=n
fi
write_bool HAS_FORMS

Thomas Dodd writes:
 > Svante Signell wrote:
 > > 
 > > rpm -qf /usr/X11R6/lib/libX11.so (libX11.so.6.1) results in 
 >XFree86-devel-4.0.1-0.43,
 > > but according to the use of kgcc (1.1.2-40) from  compat-egcs-6.2-1.1.2.9, a more
 > > reasonable library to use would be libX11.so (libX11.so.6.1) from
 > > compat-libs-6.2-2!! Is this a spec file confuguration error?
 > 
 >  
 > > Also, should a kernel compile use something like xforms, even if it is
 > > installed??
 > 
 > This is not for the kernel itself. It's for the X11 app cardinfo
 > for pcmcia card management. It's not part of the RedHat pcmcia package.
..
 > Perhaps that's why Red Hat left out the cardinfo utility?

Cardinfo is built if xforms is installed when building from the .src.rpms :-(



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to