The "configure" in QSA library is a bit .... less flexible. Problem is that it is calling simply "qmake", not the qmake that is detected by the post_configure script to be valid qmake from qt3. And if you call wrong qmake (from qt4), you'll get wrong moc (the one from qt4) - and that is the cause of the error. This issue is also blocking a cygwin build. I'll look at it and in next release it should be fixed. Setting path as suggested will fix it as temporary solution (correct qmake is in path first, so it will pull in correct moc). Once the bug will get fixed, setting the path should be no longer needed.
Martin Petricek > it looks like the same problem I had. Try to set > > export PATH="/usr/qt/3/bin:$PATH" > > and then, in the same console, unpack pdfedit and run configure and make. > > In Gentoo distro, use eclass qt3 in the ebuild, this will setup correct PATH > to > the QT3 bin dir as first in the PATH. > > In your ebuild file, use > ------ > inherit eutils qt3 > ------ > > Probably you have path to the "moc" of QT4 in your PATH before path to "moc" > of > QT3 and therefore the configure program runs "moc" of qt4, instead of > required > "moc" of qt3. > > Bye. > > Wolf. > > > On Wed, 4 Apr 2007, Jozef Misutka wrote: > > > > > > > ---------- Forwarded message ---------- > > From: Davide netcelli > > Date: Apr 2, 2007 6:06 PM > > Subject: pdfedit > > > > i have a proeblm compiling pdfedit i get this > > error: > > ./xpdf/fofi -I/usr/qt/3/include -o QOutputDev.o > > QOutputDev.cpp > > rm -f libqoutputdevices.a > > ar cqs libqoutputdevices.a QOutputDevPixmap.o > > QOutputDev.o > > make[2]: Leaving directory > > `/var/tmp/portage/kde-misc/pdfedit-0.2.5/work/pdfedit-0.2.5/src/kpdf-kde-3.3.2\' > > cd qsa && ./configure > > Using Qt library in /usr/qt/3. > > Building 2nd stage configure > > Qt meta object compiler > > moc: Invalid argument > > Usage: moc [options] > > -o file Write output to file rather > > than stdout > > -f[file] Force #include, optional file > > name > > -p path Path prefix for included file > > -i Do not generate an #include > > statement > > -k Do not stop on errors > > -nw Do not display warnings > > -v Display version of moc > > make[2]: *** > > [.moc/release-shared-mt/configutils.moc] Error 1 > > make[1]: *** [qsa/Makefile.qsa] Error 1 > > make[1]: Leaving directory > > `/var/tmp/portage/kde-misc/pdfedit-0.2.5/work/pdfedit-0.2.5/src\' > > make: *** [src] Error 2 > > _________________________________________________________________ > > Take a break and play crossword puzzles - FREE! > > http://games.msn.com/en/flexicon/default.htm?icid=flexicon_ > > wlmemailtaglinemarch07 > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Pdfedit-support mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/pdfedit-support > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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/ | \------------------------------------------------------------/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Pdfedit-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdfedit-support
