Linux Environment Variables
Posted: Wed Mar 05, 2025 6:57 pm
Hi
The newer versions of Purebasic for Linux requires the PUREBASIC_HOME variable to be set. I am not a Linux guru and I am not sure how to make this permanent so that it is available when I login or when a daemon runs etc. I have third party tool that will compile Purebasic on the fly when it detects a change. It works perfectly with PB 5.73 and compiles the changed files. However, it does not compile the file with PB 6.20. The PB 6.20 compilers all work and I have tested the standby features and they work. So I am wondering if the environment variable is missing when the daemon runs under another user. Therefore I am wondering how this should be configured so it is available to everyone and everything that runs on the server.
Thanks,
Simon
The newer versions of Purebasic for Linux requires the PUREBASIC_HOME variable to be set. I am not a Linux guru and I am not sure how to make this permanent so that it is available when I login or when a daemon runs etc. I have third party tool that will compile Purebasic on the fly when it detects a change. It works perfectly with PB 5.73 and compiles the changed files. However, it does not compile the file with PB 6.20. The PB 6.20 compilers all work and I have tested the standby features and they work. So I am wondering if the environment variable is missing when the daemon runs under another user. Therefore I am wondering how this should be configured so it is available to everyone and everything that runs on the server.
Thanks,
Simon