Building snapshots

ian reinhart geiser geiseri at msoe.edu
Mon Oct 30 07:03:03 GMT 2000


On Sun, 29 Oct 2000, Mark Polsen wrote:

I have just tried to build the latest snapshot of KDevelop 1.0 from CVS
and i get the following problems:
1)
	in acinclude.m4.in file the following line must be changed:
	test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR
$kde_incdirs"
	to 
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR $kde_incdirs
$KDEDIR/include/kde" 

	without this change nothing will will find the kde directories.

but then when i am building i get the folloing errors:
did something change in QT 1.45?

/usr/lib/qt-1.45/include/qprinter.h:73: syntax error before `('
/usr/lib/qt-1.45/include/qprinter.h:75: non-member function `fromPage()'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:76: non-member function `toPage()'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:78: non-member function `minPage()'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:79: non-member function `maxPage()'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:81: non-member function `numCopies()'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:85: new declaration `bool abort()'
/usr/include/stdlib.h:502: ambiguates old declaration `void abort()'
/usr/lib/qt-1.45/include/qprinter.h:86: non-member function `aborted()'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:90: parse error before `protected'
/usr/lib/qt-1.45/include/qprinter.h:92: non-member function `metric(int)'
cannot have `const' method qualifier
/usr/lib/qt-1.45/include/qprinter.h:99: parse error before `private'
/usr/lib/qt-1.45/include/qprinter.h:110: syntax error before `;'
/usr/lib/qt-1.45/include/qprinter.h:111: syntax error before `;'
/usr/lib/qt-1.45/include/qprinter.h:116: parse error before `private'
/usr/lib/qt-1.45/include/qprinter.h:119: `operator =(const QPrinter &)'
must be a nonstatic member function
/usr/lib/qt-1.45/include/qprinter.h:121: parse error before `}'
/usr/lib/qt-1.45/include/qprinter.h:125: no `const char *
QPrinter::printerName() const' member function declared in class
`QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:128: no `bool QPrinter::outputToFile()
const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:131: no `const char *
QPrinter::outputFileName() const' member function declared in class
`QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:134: no `const char *
QPrinter::printProgram() const' member function declared in class
`QPrinter'/usr/lib/qt-1.45/include/qprinter.h:137: no `const char *
QPrinter::docName() const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:140: no `const char *
QPrinter::creator() const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:143: no `enum QPrinter::PageSize
QPrinter::pageSize() const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h: In method `enum QPrinter::PageSize
QPrinter::pageSize() const':
/usr/lib/qt-1.45/include/qprinter.h:143: `page_size' undeclared (first use
this function)
/usr/lib/qt-1.45/include/qprinter.h: At top level:
/usr/lib/qt-1.45/include/qprinter.h:146: no `enum QPrinter::Orientation
QPrinter::orientation() const' member function declared in class
`QPrinter'
/usr/lib/qt-1.45/include/qprinter.h: In method `enum QPrinter::Orientation
QPrinter::orientation() const':
/usr/lib/qt-1.45/include/qprinter.h:146: `orient' undeclared (first use
this function)
/usr/lib/qt-1.45/include/qprinter.h: At top level:
/usr/lib/qt-1.45/include/qprinter.h:149: no `int QPrinter::fromPage()
const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:152: no `int QPrinter::toPage() const'
member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:155: no `int QPrinter::minPage()
const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:158: no `int QPrinter::maxPage()
const' member function declared in class `QPrinter'
/usr/lib/qt-1.45/include/qprinter.h:161: no `int QPrinter::numCopies()
const' member function declared in class `QPrinter'
In file included from kwview.cpp:22,
                 from libkwrite_a.all_cpp.cpp:6:
/opt/kde/include/kde/kdir.h:62: parse error before `&'
/opt/kde/include/kde/kdir.h:66: parse error before `&'
/opt/kde/include/kde/kdir.h:66: `KDir::operator =(...)' must take exactly
one argument
/opt/kde/include/kde/kdir.h:252: field `mySortSpec' has incomplete type
/opt/kde/include/kde/kdir.h:271: confused by earlier errors, bailing out
make[4]: *** [libkwrite_a.all_cpp.o] Error 1
make[4]: Leaving directory
`/home/geiseri/kdevelop/kdevelop/kdevelop/kwrite'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/geiseri/kdevelop/kdevelop/kdevelop/kwrite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/geiseri/kdevelop/kdevelop/kdevelop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/geiseri/kdevelop/kdevelop'
make: *** [all-recursive-am] Error 2
[00:51am}-{geiseri at elysium:~/kdevelop/kdevelop}->       

sorry for the long dump but i am not sure what the problem is.
any ideas from the core developers?

-ian reinhart geiser





More information about the KDevelop mailing list