setting an environment variable QTDIR
I'm trying to install the latest version of pdfedit 0.4.2. Version 0.4.1 is available in the repositories but it crashes the system occasionally and it's taking upwards of 4 minutes to edit one line in a PDF document so I want to see if 0.4.2 fixes this.
I've followed the instructions in the readme and installed the support files. The QT3 package is located in
/usr/share/qt3
When I try sudo ./configure, all goes well until I get to this line:
configure: error: QTDIR environment variable must be set
According to the readme, all I need to do is:
export QTDIR=/
Typing env | grep QTDIR shows that the QTDIR environment variable appears to be set properly.
At this point I'm clueless.
I do note that this environment variable seems to be local to the particluar shell instance I'm setting it in. I happened to start another shell to check the variable and it wasn't set there. Could this be part of the problem? Is there a way to set an environment variable to be truely universal?
Also, on a hunch, I rebooted, thinking that perhaps environement variables need to be loaded during startup. I suspected not but, hey, it was worth a try. The variable did not survive the reboot and had to be set again. How do I make it permanent?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Simone Cianfriglia
- Solved:
- Last query:
- Last reply: