Hello, 

I'm back to report my success with the installation of Xorg-7.0.0 
($XORG_PREFIX=/opt).


Now just to confirm what was already suggested on this list (Only in relation 
to Xorg-7.0.0 and its libs)  :- 


1>

linux23dragon wrote:
> I could not start the X server as a normal user, at the command prompt. 
>("startx").  And I do have xterm installed

Chris Staub wrote:
>This is because $XORG_PREFIX/bin/Xorg is not, by default, installed 
>setuid root unless you specify...

Andrew Benton wrote:
>Xorg needs to be installed set uid root...

You two were Correct.  I did have to set uid root to /opt/bin/Xorg


2>

linux23dragon wrote:
>I could get XDM to work on boot up, and log in as normal user.  (glx-gears 
>worked fine as well).  And that was the only way I could get a normal user to 
>use X.

That was fixed as well because /opt/bin/Xorg was uid root. :)


3>

linux23dragon wrote:
>I noticed that Xorg complaned that it could not locate the rgb data base 
>at /opt/lib/X11/rgb (I double checked to see if I installed the app package 
>rgb-1.0.0).

Chris Staub wrote:
>Don't know about that one, though I suppose an obvious question would 
>be...does /opt/lib/X11/rgb exist?

>I just checked my own system, with Xorg 7 installed into /usr. 
>/usr/lib/X11/rgb* doesn't exist, but /usr/share/X11/rgb.txt exists...

Andrew Benton wrote:
>make sure the value set in /etc/X11/xorg.conf or /opt/etc/X11/xorg.conf 
>or wherever it is points to the actual rgb.txt file ...


The rgb.txt file is now installed at /opt/share/X11/rgb.txt, as expected.

The "xorgconfig" command will create an Xorg.conf file, with the rgb path 
written as :-  RgbPath "/opt/lib/X11/rgb"

So I had to correct the line to :-  RgbPth "/opt/share/X11/rgb"


4>

linux23dragon wrote:
>When trying to compile fgl-gears32.c (From Nvidia),  ldd had troubles 
>trying to link to (at first):-    -lGL -lXrender.

Andrew Benton wrote:
>Edit /etc/ld.so.conf so it includes /opt/lib then run ldconfig

>echo /opt/lib >> /etc/ld.so.conf &&
>ldconfig

The /etc/ld.so.conf file already includes the line "/opt/lib", as created from 
the LFS-6.1.1 book instructions.  So that was cool.

But I still had the same problems with the ldd linker this time around.

The only way I could get the "fgl-gears32.c" to compile, was to create 
symbolic links (for testing perposes only) from /opt/lib{libGL*,LibXrender*} 
to /usr/lib.

Now the fgl-gears32.c file did come with its own make file that was not 
generated by ./configure or libtool or any other auto configuration tool.

Infact, this is the Makefile itself:


//---------Start of Makefile-----------//

CFLAGS ?= -g3
LIBS += -lGL -lXrender

fgl_glxgears32 : fgl_glxgears32.o
        $(CC) -o $@ $(LIBS) $^

//-----------End of Makefile----------//


And this is the error output (without the symbolic linking to /usr/ib):

[EMAIL PROTECTED]:~/fgl_glxgears32$ make
cc -o fgl_glxgears32 -lGL -lXrender fgl_glxgears32.o
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fgl_glxgears32] Error 1
[EMAIL PROTECTED]:~/fgl_glxgears32$



Does anyone think I've missed something out?

Just to be helpfull, I'll include some environment information in for you:-

-----//-------start of env output----//-------------
[EMAIL PROTECTED]:~$ env
HZ=100
SHELL=/bin/bash
TERM=xterm-color
HISTSIZE=1000
LC_ALL=en_AU.iso88591
USER=david
LS_COLORS= (I've choped this line down, as it is to long)
MAIL=/var/mail/david
PATH=/usr/local/bin:/bin:/usr/bin:/opt/bin
INPUTRC=/etc/inputrc
PWD=/home/david
LANG=en_AU.iso88591
[EMAIL PROTECTED]:\w\$
HISTIGNORE=&:[bf]g:exit
SHLVL=1
HOME=/home/david
LANGUAGE=en_AU.iso88591
[EMAIL PROTECTED]
LOGNAME=david
PKG_CONFIG_PATH=/opt/lib/pkgconfig:/usr/local/lib/pkgconfig
PROMPT_COMMAND=echo -ne "\033]0;[EMAIL PROTECTED] : ${PWD}\007"
_=/usr/bin/env
OLDPWD=/home/david/fgl_glxgears32
[EMAIL PROTECTED]:~$
----//----end of env output----//-------


And this is the verbose information from ldd (when you issue the ldconfig 
command):-

----//----start ldconfig output----//--------
[EMAIL PROTECTED]:/home/david# ldconfig -v
/opt/lib:
        libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.1.0.8756
        libnvidia-cfg.so.1 -> libnvidia-cfg.so.1.0.8756
        libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.8756
        libGLcore.so.1 -> libGLcore.so.1.0.8756
        libxrxnest.so.0 -> libxrxnest.so.0.0.0
        libxrx.so.0 -> libxrx.so.0.0.0
        libGLw.so.1 -> libGLw.so.1.0.0
        libglut.so.3 -> libglut.so.3.7.1
        libGLU.so.1 -> libGLU.so.1.3.060402
        libGL.so.1 -> libGL.so.1.0.8756
        libXxf86vm.so.1 -> libXxf86vm.so.1.0.0
        libXxf86misc.so.1 -> libXxf86misc.so.1.1.0
        libXxf86dga.so.1 -> libXxf86dga.so.1.0.0
        libXvMCW.so.1 -> libXvMCW.so.1.0.0
        libXvMC.so.1 -> libXvMC.so.1.0.0
        libXtst.so.6 -> libXtst.so.6.1.0
        libXTrap.so.6 -> libXTrap.so.6.4.0
        libXss.so.1 -> libXss.so.1.0.0
        libXRes.so.1 -> libXRes.so.1.0.0
        libXrandr.so.2 -> libXrandr.so.2.0.0
        libXprintAppUtil.so.1 -> libXprintAppUtil.so.1.0.0
        libxkbui.so.1 -> libxkbui.so.1.0.0
        libXinerama.so.1 -> libXinerama.so.1.0.0
        libXi.so.6 -> libXi.so.6.0.0
        libXft.so.2 -> libXft.so.2.1.2
        libXfontcache.so.1 -> libXfontcache.so.1.0.0
        libXfont.so.1 -> libXfont.so.1.4.1
        libXevie.so.1 -> libXevie.so.1.0.0
        libXdamage.so.1 -> libXdamage.so.1.0.0
        libXcursor.so.1 -> libXcursor.so.1.0.2
        libXcomposite.so.1 -> libXcomposite.so.1.0.0
        libXaw.so.8 -> libXaw8.so.8.0.0
        libXaw.so.7 -> libXaw7.so.7.0.0
        libXaw.so.6 -> libXaw6.so.6.0.1
        liboldX.so.6 -> liboldX.so.6.0.0
        liblbxutil.so.1 -> liblbxutil.so.1.0.0
        libFS.so.6 -> libFS.so.6.0.0
        libdmx.so.1 -> libdmx.so.1.0.0
        libXv.so.1 -> libXv.so.1.0.0
        libXprintUtil.so.1 -> libXprintUtil.so.1.0.0
        libxkbfile.so.1 -> libxkbfile.so.1.0.2
        libfontenc.so.1 -> libfontenc.so.1.0.0
        libXrender.so.1 -> libXrender.so.1.3.0
        libXfixes.so.3 -> libXfixes.so.3.0.0
        libXp.so.6 -> libXp.so.6.2.0
        libXpm.so.4 -> libXpm.so.4.11.0
        libXmuu.so.1 -> libXmuu.so.1.0.0
        libXmu.so.6 -> libXmu.so.6.2.0
        libXt.so.6 -> libXt.so.6.0.0
        libSM.so.6 -> libSM.so.6.0.0
        libICE.so.6 -> libICE.so.6.3.0
        libXext.so.6 -> libXext.so.6.4.0
        libX11.so.6 -> libX11.so.6.2.0
        libXdmcp.so.6 -> libXdmcp.so.6.0.0
        libXau.so.6 -> libXau.so.6.0.0
/usr/local/lib:
        libfontconfig.so.1 -> libfontconfig.so.1.0.4
        libfreetype.so.6 -> libfreetype.so.6.3.8
        libexpat.so.1 -> libexpat.so.1.5.0
        libpng.so.3 -> libpng.so.3.1.2.8
        libpng12.so.0 -> libpng12.so.0.1.2.8
/lib:
        libshadow.so.0 -> libshadow.so.0.0.0
        libproc-3.2.5.so -> libproc-3.2.5.so
        libblkid.so.1 -> libblkid.so.1.0
        libuuid.so.1 -> libuuid.so.1.2
        libext2fs.so.2 -> libext2fs.so.2.4
        libe2p.so.2 -> libe2p.so.2.3
        libcom_err.so.2 -> libcom_err.so.2.1
        libreadline.so.5.0 -> libreadline.so.5.0
        libhistory.so.5.0 -> libhistory.so.5.0
        libss.so.2 -> libss.so.2.0
        libbz2.so.1.0 -> libbz2.so.1.0.3
        libncurses.so.5 -> libncurses.so.5.4
        libz.so.1 -> libz.so.1.2.3
        libutil.so.1 -> libutil-2.3.4.so
        libnss_compat.so.2 -> libnss_compat-2.3.4.so
        libnss_nisplus.so.2 -> libnss_nisplus-2.3.4.so
        libnss_nis.so.2 -> libnss_nis-2.3.4.so
        libnsl.so.1 -> libnsl-2.3.4.so
        libnss_hesiod.so.2 -> libnss_hesiod-2.3.4.so
        libthread_db.so.1 -> libthread_db-1.0.so
        libpcprofile.so -> libpcprofile.so
        libSegFault.so -> libSegFault.so
        librt.so.1 -> librt-2.3.4.so
        libnss_files.so.2 -> libnss_files-2.3.4.so
        libanl.so.1 -> libanl-2.3.4.so
        libnss_dns.so.2 -> libnss_dns-2.3.4.so
        libresolv.so.2 -> libresolv-2.3.4.so
        libpthread.so.0 -> libpthread-2.3.4.so
        libcrypt.so.1 -> libcrypt-2.3.4.so
        libmemusage.so -> libmemusage.so
        libdl.so.2 -> libdl-2.3.4.so
        libm.so.6 -> libm-2.3.4.so
        libBrokenLocale.so.1 -> libBrokenLocale-2.3.4.so
        ld-linux.so.2 -> ld-2.3.4.so
        libc.so.6 -> libc-2.3.4.so
/usr/lib:
        libgcc_s.so.1 -> libgcc_s.so.1
        libffi-2.00-beta.so -> libffi.so
        libnALFS.so -> libnALFS.so
        libg2c.so.0 -> libg2c.so.0.0.0
        lib-org-w3c-dom.so.5 -> lib-org-w3c-dom.so.5.0.0
        libform.so.5 -> libform.so.5.4
        libxml2.so.2 -> libxml2.so.2.6.22
        libltdl.so.3 -> libltdl.so.3.1.1
        libmagic.so.1 -> libmagic.so.1.0.0
        libgettextpo.so.0 -> libgettextpo.so.0.1.0
        libgettextsrc-0.14.3.so -> libgettextsrc.so
        libgettextlib-0.14.3.so -> libgettextlib.so
        libasprintf.so.0 -> libasprintf.so.0.0.0
        libmenu.so.5 -> libmenu.so.5.4
        libpanel.so.5 -> libpanel.so.5.4
        libncurses.so.5 -> libcurses.so
        lib-org-xml-sax.so.5 -> lib-org-xml-sax.so.5.0.0
        libgcj.so.5 -> libgcj.so.5.0.0
        libstdc++.so.6 -> libstdc++.so.6.0.3
        libopcodes-2.15.94.0.2.2.so -> libopcodes.so
        libbfd-2.15.94.0.2.2.so -> libbfd.so
/opt/lib/tls: (hwcap: 0x8000000000000000)
        libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.8756
[EMAIL PROTECTED]:/home/david#
----------//---end of ldconfig output----//---------

I'm still looking into finding a solution for this.  At the moment I'm looking 
into the  

ld.so, ld-linux.so* - dynamic linker/loader man pages.

Oh yea, on the side note.  If you install the Nvidia Open-gl libs in /opt, you 
will find that the  libGL.la file will have this following line:

-------//---start of line 13 0f the /opt/lib/libGL.la file-------//-----

# Libraries that this one depends upon.
dependency_libs=' -L/usr/X11R6/lib -lm -lXext -lX11 -ldl'

----------//--end of line 14 of the  /opt/lib/libGL.la file-------//-----


Regards
Dave















-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to