[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pdfedit compilation problem



Was a little bit to quick there, I managed to compile it by setting
the QTDIR to /usr/share/qt3 instaed of /usr/share/qt4 like it was
before.

Oli

Þann 2006-10-12, 12:10:18 (+0000) skrifaði Olafur Jens Sigurdsson:
> Hi, I am trying to compile pdfedit (http://pdfedit.petricek.net/) but
> havnt been successful so far. I have tried it on two machines (both
> running unstable) and have gotten two different errors.
> 
> On one of them (using libqt3-dev) it doesnt find the /usr/include/qt3
> directory and thus cant include any headers from there. I tried to
> manually edit the Makefile but it gets overwritten with qmake when I
> type make.
> 
> On the other one (using libqt4-dev) I get different errors. One is
> 
> Error processing project file: 
> QFile::open: No file name specified
> QFile::open: No file name specified
> qt_config.prf:8: Unknown test function: debug
> qt_functions.prf:1: Unknown test function: defineTest
> 
> and this repeats a few hundred (perhaps thousend) times.
> 
> and inbetween those erros I get 
> 
> QFile::open: No file name specified
> 
> which allso repeats as many times approximately.
> 
> In the end of the make I get the following errors:
> 
> qt_config.prf:8: Unknown test function: debug
> qt_functions.prf:1: Unknown test function: defineTest
> In file included from main.cpp:29:
> configutils.h:4:21: error: qstring.h: No such file or directory
> configutils.h:5:25: error: qstringlist.h: No such file or directory
> configutils.h:6:18: error: qdir.h: No such file or directory
> main.cpp:31:19: error: qfile.h: No such file or directory
> main.cpp:32:22: error: qprocess.h: No such file or directory
> main.cpp:35:21: error: qregexp.h: No such file or directory
> main.cpp:36:26: error: qapplication.h: No such file or directory
> configutils.h:8: error: expected initializer before '*' token
> configutils.h:15: error: expected ',' or '...' before '&' token
> configutils.h:15: error: ISO C++ forbids declaration of 'QString' with
> no type
> configutils.h:16: error: 'QStringList' does not name a type
> configutils.h:18: error: expected ',' or '...' before '&' token
> configutils.h:18: error: ISO C++ forbids declaration of 'QStringList'
> with no type
> configutils.h:19: error: expected ',' or '...' before '&' token
> configutils.h:19: error: ISO C++ forbids declaration of 'QString' with
> no type
> configutils.h:20: error: expected ',' or '...' before '&' token
> configutils.h:20: error: ISO C++ forbids declaration of 'QString' with
> no type
> configutils.h:21: error: expected ',' or '...' before '&' token
> configutils.h:21: error: ISO C++ forbids declaration of 'QString' with
> no type
> configutils.h:23: error: expected ',' or '...' before '&' token
> configutils.h:23: error: ISO C++ forbids declaration of 'QDir' with no
> type
> main.cpp: In function 'void dumpMessages()':
> main.cpp:46: error: 'messages' was not declared in this scope
> main.cpp:46: error: 'qWarning' was not declared in this scope
> main.cpp: In function 'int main(int, char**)':
> main.cpp:53: error: 'QApplication' was not declared in this scope
> main.cpp:53: error: expected ;' before 'qapp'
> main.cpp:55: error: 'QStringList' was not declared in this scope
> main.cpp:55: error: expected ;' before 'configs'
> main.cpp:56: error: 'QString' was not declared in this scope
> main.cpp:56: error: expected ;' before 'prefix'
> main.cpp:57: error: 'TRUE' was not declared in this scope
> main.cpp:58: error: 'qapp' was not declared in this scope
> main.cpp:59: error: expected ;' before 'arg'
> main.cpp:60: error: 'arg' was not declared in this scope
> main.cpp:62: error: 'arg' was not declared in this scope
> main.cpp:65: error: 'configs' was not declared in this scope
> main.cpp:68: error: 'prefix' was not declared in this scope
> main.cpp:70: error: 'qWarning' was not declared in this scope
> main.cpp:74: error: 'FALSE' was not declared in this scope
> main.cpp:75: error: 'configs' was not declared in this scope
> main.cpp:77: error: 'qWarning' was not declared in this scope
> main.cpp:96: error: 'qtDir' was not declared in this scope
> main.cpp:96: error: expected type-specifier before 'QString'
> main.cpp:96: error: expected ;' before 'QString'
> main.cpp:98: error: 'qWarning' was not declared in this scope
> main.cpp:109: error: 'configs' was not declared in this scope
> main.cpp:109: error: 'prefix' was not declared in this scope
> main.cpp:111: error: 'qapp' was not declared in this scope
> main.cpp:113: error: invalid conversion from 'const char*' to 'int'
> main.cpp:113: error:   initializing argument 1 of 'void message(int)'
> main.cpp:118: error: invalid conversion from 'const char*' to 'int'
> main.cpp:118: error:   initializing argument 1 of 'void message(int)'
> main.cpp:122: error: invalid conversion from 'const char*' to 'int'
> main.cpp:122: error:   initializing argument 1 of 'void message(int)'
> main.cpp: At global scope:
> main.cpp:50: warning: unused parameter 'argc'
> make[2]: *** [main.o] Error 1
> make[1]: *** [qsa/Makefile.qsa] Error 1
> make[1]: Leaving directory
> /home/ojs/tolvur/linux/software/pdfedit-0.2.2/src'
> make: *** [src] Error 2
> ojs@laserlabd:pdfedit-0.2.2$ 
> 
> Has anyone successfully built this program on debian or have any
> pointers for me how to continue?
> 
> Thanks in advance.
> 
> Oli
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: