I’m also having problems during compiling. I’m compiling QSopcast which requires qt3 headers and the source is complaining about the file missing. I did a ‘locate’ and I definitely have the file installed.
Here’s the error from compiling:
header.h:6:19: error: qvbox.h: No such file or directory
This is really simple and any help would be greatly appreciated. Should I just edit /etc/profile or is there a better way? (I know /etc/profile is system-wide but these are things that I would like to be system-wide) Thanks!
As far as the path problem, sbin should only be in roots path. That is what the s in sbin stands for, super-user. So that is normal, expected behavior. If you want to change it, you can change it in either /etc/profile (system-wide) or ~.bashrc (per user), by adding the following statement
On the compiling problem, you can add the path for lib files in the configure script,
You may need to add the subfolder include, I’m not sure, I’ve never installed the qsopcast program, so I may be off in the details.
Edit: you may also be able to symlink the missing file into the directory where it is expected. Or, you can check the configure --help to see if it has an option to specify the qt3 lib path.
I do not know the product, but when it is installed in /usr/sbin as the intention of the maker, it is not the intention to be called by a normal user, but only by root, which has /usr/sbin in it’s PATH.
When on the other hand it is a program for the normal user it should not go into /usr/sbin. Adding /usr/sbin to a normal users PATH is not a good idea. The user may end up executing programs that are mentioned for root only and get error messages.
Yes, I’ve also installed qt4-devel.
I tried running /usr/lib/qt3/bin/qmake and that definitely works better. I’m getting the same error (but without having to add the include into the ‘Makefile’ manually)
I’ve looked it up and I think it IS a problem with gcc 4.3. I’ll look into getting those missing includes in there. Thanks for the help!
For the time being I just found a binary and installed it. I’ll wait until GCC gets that squared away.