Hi, please try: export QTDIR=/usr/lib/qt4/ export PATH=$QTDIR/bin:$PATH cmake -G "Unix Makefiles" -DLIBPODOFO_DIR=/usr/local
Dom
Am Donnerstag, 13. März 2008 schrieb Chuck Messenger:
> Hi,
>
> I've built/installed podofo-0.5.0 OK (on a Linux system). I'm now
> trying to build podofobrowser. In the podofobrowser-0.5 directory, I run:
>
> $ cmake -G "Unix Makefiles" -DLIBPODOFO_DIR=/usr/local
> -- Check for working C compiler: gcc
> -- Check for working C compiler: gcc -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: c++
> -- Check for working CXX compiler: c++ -- works
> Remember to set QTDIR in your environment if qmake is not found
> CMake Error: Error in cmake code at
> /usr/share/CMake/Modules/FindQt4.cmake:857:
> MESSAGE Qt qmake not found!
> ...
>
> Here are some diagnostics:
>
> $ echo $QTDIR
> /usr/lib/qt4
> $ which qmake
> /usr/bin/qmake
> $ ls -las /usr/bin/qmake
> ../../usr/lib/qt3/bin/qmake
> $ cmake --version
> cmake version 2.4-patch 3
>
> Obviously, I qt installed (qt4). Strangely, /usr/bin/qmake points at
> qt3's qmake. I've tried setting QTDIR to point at qt3. I've tried
> pointing it at /usr/lib/qt4/bin (which is where qmake is),
> /usr/lib/qt4/lib (which is where the libs are), and at
> /usr/lib/qt3/bin. In each case, I get the same error message, as above.
>
> Can anyone tell me what I'm doing wrong?
>
> Thanks.
>
> - Chuck
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
