On Tue, May 01, 2007 at 01:14:23PM +0200, [EMAIL PROTECTED] wrote: > Hi, > > sure I could set this in my .bashrc file. I just wonder that your Qt program > is the only one for which it is necessary. I am always a bit suspicous if I > hear something only one person/program needs but no one else. Never mind.
I am not sure whether PDFedit is the only one which requires both variables to be set. When you look to the qmake manual (last link, I have sent, is probably not the best one - look at http://doc.trolltech.com/3.0/qmake-guide.html and "QMAKESPEC" part) you can see, QMAKESPEC is encouraged, otherwise default values are used which may lead to problems on different platforms. It seems that many programs don't require QMAKESPEC and relies on default configuration and propably makes distributors life harder. I agree that this way is not the easiest one for target users and could be described better in the README file (I have already updated it and it is sitting in the CVS now). Compilation will work fine also with default configurations for the most of the users. Maybe we could just prompt a warning when QMAKESPEC is not set rather than stop configuration with an error. In such case QMAKESPEC can be set to the ${QTDIR}/mkspec/default value which should work. If it doesn't, QMAKESPEC needs to be set by hand. Configuration and compilation stuff is maintained by Martin so it is up to him how to deal with this. > I have all the directories you've mentioned. I have the default soft link and > I have read access to that file. To see if it is an access problem I just run > "make" again, this time as root. I used the directory where I had the problem > before, but forgot to set QMAKESPEC. Now this time I can compile. Either > there is some other authorization issue, or setting the variable will cause a > problem. I don't understand the problem. Can you send commands list you have used? (starting from variables setting) I think that using root account for compilation is not very good idea. > > I will do a few more tries to figure it out. If you have an idea in the mean > time....happy to hear. Have you exported variables correctly? (using export, same shell for compilation, correct value ...) Best regards -- Michal Hocko ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Pdfedit-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdfedit-support
