![](https://seccdn.libravatar.org/avatar/efcead0a21bdbbc0d760a9c47c1d58b2.jpg?s=120&d=mm&r=g)
On Wednesday 16 October 2002 03:45 am, Salman Khilji wrote:
Recently I have noticed after upgrading using YAST that a few things are broken on my 8.0 Pro computer.
1) It doesn't seem to be processing /etc/profile.local. I have a few PATH and other environment variables there, but those are not getting in effect.
I've _never_ had a problem with /etc/profile.local not being read. Is it possible these are being reset elsewhere? Are you logging in as root? I have this on 8.1: hattons@ljosalfr:~> grep profile[\.]local /etc/profile # will be lost during system upgrades. Instead use /etc/profile.local for test -s /etc/profile.local && . /etc/profile.local hattons@ljosalfr:~> What do you get? Have you modified one of your ~/.* files, or /etc/profile? What are the permissions on /etc/profile.local? I have: hattons@ljosalfr:~> ls -l /etc/profile.local -rw-r--r-- 1 root root 876 2002-10-14 06:37 /etc/profile.local You have new mail in /var/spool/mail/hattons hattons@ljosalfr:~>
2) I reinstalled java2 from the DVD, but the appropriate JDK_HOME environment variables were not set. Furthermore, the java program under /usr/lib/SunJavaxxx/bin was not found in the path. The java directory usually is set by SuSEConfig (I think). Looks like this problem is related to problem 1).
Perhaps you need to go in and make some symlinks. I typically install my own java, and 'trick' SuSEconfig by creating my own symlinks: hattons@ljosalfr:~> ls -l /usr/lib/java lrwxrwxrwx 1 root root 19 2002-06-30 02:18 /usr/lib/java -> ../java/j2sdk1.4.1/ hattons@ljosalfr:~>
3) the environment variable QTDIR was not set properly. I added it to /etc/profile.local. But it wasn't getting processes, so I ended up putting it in ~/.bashrc. Unfortunately, I can only then compile Qt program on a command prompt. I usually like to do it in XEmacs. XEmacs does not see the QTDIR environment variable that is set from ~/.bashrc.
It's not set in my system either. It seems it's not needed to run the KDE. My experience has been that I'm better off setting that and the $KDEDIR by had when building the KDE. Sometimes the QT for the recent KDE CVS is different from what the current release uses.
4) In Qt assistant, nothing appears. Looks like all the documentation pane is blank.
What version of QT is linked? hattons@ljosalfr:~> ls -l /usr/lib/qt3 lrwxrwxrwx 1 root root 8 2002-09-03 06:01 /usr/lib/qt3 -> qt-3.0.5 hattons@ljosalfr:~>
All of these problems are related. Can someone please advise.
SuSE 8.0 Pro with KDE 3.0.3 adn Qt 3.0.5. Everything from SuSE RPMs and updated using YAST2.
Salman
Let me know if you need any more info from my 'working' config. I also have an 8.0 box I can compare to, if that would help. STH -- Hatton's Law: There is only One inviolable Law