2 Oct 2006 08:51
Bash Shell Startup Files
Luca <liliana.perossa <at> fastwebnet.it>
2006-10-02 06:51:24 GMT
2006-10-02 06:51:24 GMT
Hi!
I read wiki pages about the --datadir switch to XORG_CONFIG, in fact
Xorg-7.1 with the current istructions puts the m4 files in
XORG_PREFIX/lib/aclocal but this happens even with Gnome-<version> (in
fact it puts it m4 files in GNOME_PREFIX/share/aclocal).
So I modified the X.sh startup script and wrote a similar script for gnome.
My X.sh file now looks like this:
if [ -x /usr/X11R7/bin/Xorg]; then
pathappend /usr/X11R7/bin
fi
if [ -d /usr/X11R7/lib/pkgconfig ]; then
pathappend /usr/X11R7/lib/pkgconfig PKG_CONFIG_PATH
if [ -d /usr/X11R7/lib/aclocal ]; then
export ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I/usr/X11R7/lib/aclocal"
fi
For Gnome-<version> script I used a similar script for managing aclocal.
if [ -d /opt/gnome-2.14.2/share/aclocal ]; then
export ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I/opt/gnome-2.14.2/share/aclocal"
fi
I tried this way even with enlightenment version 17 (actually in
development) and no package gave me warnings or problems in compiling
about not finding the macros , so I could suggest that we could put this
trick in the book (after testing it, obviously) rather than change the
current istructions for the packages.
(Continue reading)
--
Pippin
Computer Monkey to the Pelican
RSS Feed