On Tue, May 01, 2007 at 08:03:48AM +0200, [EMAIL PROTECTED] wrote:
> same issue on Suse 10.0. Even though the export statement helped to run
> ./configure I wonder if really most distros have this set as soon as they
> have QTDIR set. Never had used that variable before to compile software. May
> be there is a way around this manual process.
Releases before 0.3.1 haven't checked these two variables (used during
qmake process). It was quite a problem, because compilation could fail
on some distributions. Therefore we have decided to check them during
configure part. Note that correctness of the variables value is not
checked at this moment.
If you don't want to be bother by hand made setting, add:
export QTDIR=your_path
export QMAKESPEC=${QTDIR}/mkspec/your_configuration
to the .bashrc file (if you are using bash) and both variables are then set
automatically when a bash is started (analogously for other shells).
>
> Running make gives an error:
>
> make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.3.1/src/utils'
> cd kernel && /usr/lib/qt3/bin/qmake && make staticlib
> Failure to read QMAKESPEC conf file /usr/lib/qt3/mkspec/linux-g++/qmake.conf.
Are you sure that /usr/lib/qt3/mkspec/linux-g++/qmake.conf exists, you
have granted read access?
QMAKESPEC is used by qmake for default configuration which is obtained
from qmake.conf file. Qt installation should come with QTDIR/mkspec
directory which contains several preconfigured settings.
E. g. my (Debian) distribution contains:
/usr/share/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++
And default configuration is set to:
/usr/share/qt3/mkspecs $ ls -l default
lrwxrwxrwx 1 root root 9 2007-04-05 17:51 default -> linux-g++
I don't know how much is this work of the Qt or the linux distributors.
See http://www.digitalfanatics.org/projects/qt_tutorial/chapter04.html
and "Environment Variables" part for more information.
> Error processing project file:
> /exchange/BUILD/pdfedit-0.3.1/src/kernel/kernel.pro
> make[1]: *** [kernel] Error 2
> make[1]: Leaving directory `/exchange/BUILD/pdfedit-0.3.1/src'
> make: *** [src] Error 2
>
> any idea?
>
> Thanks!
>
> > On Mon, Apr 30, 2007 at 09:19:11AM +0200, Rainer Lay wrote:
> > > Hi,
> > >
> > > I get this error:
> > > configure: error: QMAKESPEC environment variable must be set
> >
> > Try
> > export QMAKESPEC=$QTDIR/mkspec/linux-g++
> >
> > This is described in user manual Installation part (look at
> > http://pdfedit.petricek.net/pdfedit.user_doc#install_part). This
> > checking wasn't done before.
> >
> > 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
> >
>
> 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
> _______________________________________________________________
> 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
--
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