Jason Costomiris wrote:
> On Wed, Oct 25, 2000 at 09:55:47PM -0500, Bret Hughes wrote:
>: trying to build Xfree86 4.0.1 from the srpm on rawhide
>: XFree86-4.0.4-1.1.src.rpm
>:
>: This is on a brand new install of 6.2
>:
>: I installed the srpm and ran rpm -bb XFree86.spec from the
>: /usr/src/redhat/SPECS directoy and about an hour later the build stopped
>: with no apparent (to me at least) problems except for the fact no rpms
>: were left in the /usr/src/redhat/RPMS tree. Shouldn't there be? here
>: is the last screen or two of output from the rpm -bb command
>
> It's actually pretty obvious, look below:
>
>: Processing files: XFree86-Xnest-4.0.1-1.1
>: File not found: /var/tmp/XFree86-4.0.1-root/usr/X11R6/bin/Xnest
>
> File not found error.
>
>: Requires: XFree86 = 4.0.1
>: Processing files: XFree86-Xvfb-4.0.1-1.1
>: File not found: /var/tmp/XFree86-4.0.1-root/usr/X11R6/bin/Xvfb
>
> And another...
>
>: Requires: XFree86 = 4.0.1
>: Processing files: XFree86-V4L-4.0.1-1.1
>: File not found:
>: /var/tmp/XFree86-4.0.1-root/usr/X11R6/lib/modules/drivers/linux
>: File not found by glob:
>: /var/tmp/XFree86-4.0.1-root/usr/X11R6/lib/modules/drivers/linux/v4l_drv.*
>
> And more...
>
>:
>: Requires: XFree86 = 4.0.1
>: Processing files: XFree86-tools-4.0.1-1.1
>: Finding Provides: (using /usr/lib/rpm/find-provides)...
>: Finding Requires: (using /usr/lib/rpm/find-requires)...
>: Requires: XFree86 ld-linux.so.2 libICE.so.6 libSM.so.6 libX11.so.6
>: libXIE.so.6 libXaw.so.7 libXext.so.6 libXmu.so.6 libXpm.so.4 libXt.so.6
>: libc.so.6 libm.so.6 libpthread.so.0 /bin/sh libc.so.6(GLIBC_2.0)
>: libc.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.0) libpthread.so.0(GLIBC_2.0)
>: libpthread.so.0(GLIBC_2.1)
>: Obsoletes: X11R6-contrib
>: Processing files: XFree86-xf86cfg-4.0.1-1.1
>: File not found: /var/tmp/XFree86-4.0.1-root/usr/X11R6/bin/xf86cfg
>
> And even more..
>
> If you look up further during the build, you can see why those various
> programs were not built by the build procedure and fix the problem...
>
> --
Well, I did find some thing suspicious but am pretty clueless as you probably
already guessed:
Here is one of the deals that I found.
gcc -o XFree86 -O2 -m486 -fno-strength-reduce -ansi -pedantic -Wall
-Wpointer-arith -L../../exports/lib
../../programs/Xserver/hw/xfree86/common/xf86Init.o
../../programs/Xserver/hw/xfree86/common/xf86IniExt.o
../../programs/Xserver/hw/xfree86/common/libxf86.a
../../programs/Xserver/hw/xfree86/parser/libxf86config.a
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a
../../programs/Xserver/hw/xfree86/loader/libloader.a
../../programs/Xserver/hw/xfree86/common/libxf86.a dix/libdix.a os/libos.a
../../lib/Xau/libXau.a ../../lib/Xdmcp/libXdmcp.a
../../lib/font/fontbase.o ../../lib/font/libfontbase.a
Xext/libexts.a xkb/libxkb.a Xi/libxinput.a
lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a
../../programs/Xserver/hw/xfree86/common/libxf86.a Xext/libexts.a
xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a
../../lib/lbxutil/liblbxutil.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a
xkb/libxkb.a Xi/libxinput.a lbx
/liblbx.a ../../lib/lbxutil/liblbxutil.a
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a
../../programs/Xserver/hw/xfree86/ddc/libddc.a -lz -lm -rdynamic -ldl
-Wl,-rpath-link,../../exports/lib/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[4]: *** [XFree86] Error 1
A little googling and I found a reference to zlib-devel package not being
installed. I installed it and am trying again but am curious as to what the
-lm is going to do. I did not find a mlib :). Is there something else to
install?
Thanks
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list