Quote |
A monolithic X installation is typically contained in /usr/X11R6/ so it should be fine as it is. |
Code Sample |
ls /opt/compile-3.3.5/X11R6/lib X11 libGL.so.1 libGL.so.1.2 ls /opt/compile-3.3.5/lib [all_X11_libs] [misc] libGL.so -> libGL.so.1.2 -> ../X11R6/lib/libGL.so.1.2 libGL.so.1 -> libGL.so.1.2 -> ../X11R6/lib/libGL.so.1.2 |
Code Sample |
LDFLAGS='-L/opt/compile-3.3.5/lib' |
Code Sample |
LDFLAGS='-L/opt/compile-3.3.5/lib -L/opt/compile-3.3.5/X11R6/lib' |
Quote |
If you're looking at the kernel, it should also be 2.95 Maybe a script can be included in the package to set up those environmental variables? |
Code Sample |
make install [gcc-2.95] cd /opt/compile-3.3.5/bin mv cpp cpp-2.95 |
Code Sample |
make install [gcc-3.3] cd /opt/compile-3.3.5/bin mv cpp cpp-3.3 |
Code Sample |
cd /opt/compile-3.3.5/bin ln -s i486-pc-linux-gnu-gcc-2.95 gcc-2.95 ln -s i486-pc-linux-gnu-gcc-3.3.5 gcc-3.3 |
Code Sample |
export PATH=/opt/compile-3.3.5/bin:$PATH |
Code Sample |
ln -s /opt/compile-3.3.5/bin/cpp-2.95 /opt/bin/cpp ln -s /opt/compile-3.3.5/bin/gcc-2.95 /opt/bin/gcc |
Code Sample |
ln -s /opt/compile-3.3.5/bin/cpp-3.3 /opt/bin/cpp ln -s /opt/compile-3.3.5/bin/gcc-3.3 /opt/bin/gcc |
Quote |
If so, we shouldn't have any libs in 'X11R6/lib/'. I thought the two files 'libGL.so.1' and 'libGL.so.1.2' were left-over in 'X11R6/lib/' by accident, or perhaps they were later additions (but they were put in the wrong dir). |
Quote |
Since these commands are very simple, I think we probably don't need to have a script (for setting certain environment variables automatically) after all. Also, I strongly suggest that we let the user add '/opt/compile-3.3.5/bin' to $PATH, rather than installing symlinks in '/opt/bin/' with user.tar.gz. Since there is a large number of binaries in '/opt/compile-3.3.5/bin/', this will avoid cluttering up '/opt/bin/' unnecessarily, and will probably also make Juanito's life easier. |
Quote |
If so, does anyone know how/why gcc-2.95 is safer than gcc-3.3 in this case, assuming that both compilers are able to compile the module cleanly? |