>From the responses it seems that QMAKESPEC is mostly not needed, though if 
I do:

pdfedit/src/gui$ qmake

It says:

QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: 
.....

This happen when tested on school installation (some older Gentoo), where 
$QTDIR/mkspecs contain only linux-g++ and no symlink like "default"

Seems that there may be few distros that need QMAKESPEC, but most probably 
don't. I have changed the configure so QMAKESPEC is no longer required.

In meantime, you may do "export QMAKESPEC=default" to get rid of this 
issue.

Martin Petricek

> HI,
> 
> agree that root for compilation is not a good idea, was only a test. I am 
> sure that I did it in the right shell. The following works as normal user:
> 
> export QMAKESPEC = <right path>
> ./configure
> 
> open a new shell, QMAKESPEC is NOT set (checked via echo $QMAKESPEC)
> 
> make
> 
> Now everything is fine.
> 
> I like the idea that the default will be used if that variable is not set. 
> Seems to work better. 
> @Martin: Can you please change this?
> 
> Below my settings, QTDIR is set to /usr/lib/qt3. I have these files as well 
> under /usr/share/qt/mkspecs/ I guess these are used. Why do I have these 
> configurations twice... I guess a distro problem, or does anyone has them 
> twice as well?
> 
> linux:/usr/lib/qt3/mkspecs> ls
> aix-g++        hpux-acc-64   linux-ecc-64   netbsd-g++      unixware-cc
> aix-g++-64     hpux-acc-o64  linux-g++      openbsd-g++     unixware-g++
> aix-xlc        hpux-cc       linux-g++-32   qnx-g++         win32-borland
> aix-xlc-64     hpux-g++      linux-g++-64   reliant-cds     win32-g++
> bsdi-g++       hpux-g++-64   linux-icc      reliant-cds-64  win32-icc
> cygwin-g++     hpuxi-acc-32  linux-kcc      sco-cc          win32-msvc
> darwin-g++     hpuxi-acc-64  linux-kylix    sco-g++         win32-msvc2005
> default        hurd-g++      linux-pgcc     solaris-cc      win32-msvc.net
> dgux-g++       irix-cc       lynxos-g++     solaris-cc-64   win32-watcom
> freebsd-g++    irix-cc-64    macx-g++       solaris-g++
> freebsd-g++34  irix-cc-o32   macx-mwerks    solaris-g++-64
> freebsd-icc    irix-g++      macx-pbuilder  tru64-cxx
> hpux-acc       linux-cxx     macx-xlc       tru64-g++
> 
> linux:/usr/lib/qt3/mkspecs> cd default/
> linux:/usr/lib/qt3/mkspecs/default> pwd
> /usr/lib/qt3/mkspecs/default
> 
> linux:/usr/lib/qt3/mkspecs/default> ll
> total 8
> -rw-r--r--  1 root root 2557 2007-03-31 17:23 qmake.conf
> -rw-r--r--  1 root root 2740 2007-03-31 17:23 qplatformdefs.h
> 
> 
> Thanks!
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> 
> 
> -------------------------------------------------------------------------
> 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
> 

   GPG/PGP Public key:  http://www.petricek.net/petricm.pgp
Fingerprint 6AA8 FFCE C061 1CB2 55F0  A1F3 3AA9 EB4F BD50 C1B8
/------------------------------------------------------------\
| WWW:                    http://www.petricek.net/           |
\------------------------------------------------------------/


-------------------------------------------------------------------------
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

Reply via email to