Some further progress. On Sat, Mar 01, 2003 at 04:01:12PM -0800, Charles Curley wrote: > Regarding: xcursorgen: No such file or directory > Email: [EMAIL PROTECTED] > ------------------------------------------------------------ > XFree86 Version: 4.3.0 > > OS: Linux Red Hat 8.0, 2.4.18-14 > > Area: Compilation/Installation > > Server: not server related > > Description: > > snip... > > make[4]: Entering directory > `/home/ccurley/down/xfree86/source/xc/programs/xcursorgen/redglass' > LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/xcursorgen X_cursor.cfg > X_cursor > /bin/sh: line 1: ../../../exports/bin/xcursorgen: No such file or directory > make[4]: *** [X_cursor] Error 1 > make[4]: Leaving directory > `/home/ccurley/down/xfree86/source/xc/programs/xcursorgen/redglass' > make[3]: *** [install] Error 2 > > etc. > > > Note, after the error: > > [EMAIL PROTECTED] xc]# find . /usr/X11R6/ -iname "*xcursorgen*" > ./programs/xcursorgen > ./programs/xcursorgen/xcursorgen.c > ./programs/xcursorgen/xcursorgen.man > ./programs/xcursorgen/xcursorgen._man > ./programs/xcursorgen/xcursorgen.1x.html > ./programs/xcursorgen/xcursorgen.o > ./programs/xcursorgen/xcursorgen > /usr/X11R6/bin/xcursorgen > > > Repeat By: > > 0) Unpack the tree in an NFS mount, mounted as a non-root user (I did this to get > disk space on my testbed computer) > 1) make world as the same non-root user > 2) su # no -, so no root only executables, etc. > 3) make install > > Question: are you expecting me to compile as root?
It turns out that this is indeed a problem. I set up a new directory under /usr/src, and set it up all owned by root, etc. and recompiled as root. I did not hit any of the above problems. Please check this out further. If it is a problem, please amend the instructions in INSTALL-X.org. > The "make install" phase includes some compilation, which I thought > a bit odd. There are still some compilations going on during the "installation" phase. > > Also, root's log files are created as "nfsnobody", which is > consistent with it being run as root on an nfs mount mounted with > root squash. They are now created owned by root, as I expected. The new compile installed sucessfully as well. I notced two glitches: 1) There is a symlink in /etc/X11: [EMAIL PROTECTED] xc]# ll /etc/X11/X lrwxrwxrwx 1 root root 29 Nov 30 17:11 /etc/X11/X -> ../../usr/X11R6/bin/XF86_SVGA which is broken. I suspect this is a Red-Hat peculiarity. It did not stop X from running. 2) Some programs cannot find a library which is present: [EMAIL PROTECTED] root]# xterm: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory [EMAIL PROTECTED] xc]# locate libexpat | xargs ls -l lrwxrwxrwx 1 root root 17 Dec 3 10:58 /usr/lib/libexpat.so.0 -> libexpat.so.0.3.0 -rwxr-xr-x 1 root root 162799 Aug 19 2002 /usr/lib/libexpat.so.0.3.0 lrwxrwxrwx 1 root root 15 Mar 2 07:50 /usr/X11R6/lib/libexpat.so -> libexpat.so.1.0 lrwxrwxrwx 1 root root 15 Mar 2 07:50 /usr/X11R6/lib/libexpat.so.1 -> libexpat.so.1.0 -rwxr-xr-x 1 root root 145754 Mar 2 07:50 /usr/X11R6/lib/libexpat.so.1.0 [EMAIL PROTECTED] xc]# cat /etc/ld.so.conf /usr/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-2.3.0/lib /usr/lib/qt-3.0.5/lib /usr/lib/sane This appears to be a library path issue, which I resolved like so: ln -s /usr/X11R6/lib/libexpat.so.1.0 /usr/lib/libexpat.so.1 I'm a bit flummoxed, though. I thought the entry for /usr/X11R6/lib in ld.so.conf would make the copy there visible to xterm. -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://w3.trib.com/~ccurley / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
pgp00000.pgp
Description: PGP signature