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

compiling CVS kde in a different directory



hello,

i am trying to compile today's kde in sid, qt-copy and kdelibs already went 
fine, but i have trouble compiling koffice:
- seems in the Makefiles there are some double \n escapes like this
	.c.o: blah blah \\
		blah blah \\
  make doesn't like that. i simply search/replaced here, that fixed it
- i get these:

kpresenter/dtd/Makefile.in defines DEPDIR. This means you're using automake > 
1.4 - this is not supported!
kpresenter/pics/Makefile.in defines DEPDIR. This means you're using automake 
> 1.4 - this is not supported!

can i ignore these (probably not) or can i use an older autoconf in sid ? 
(how ?)

- linking in koffice fails: it does not find a lot of essential stuff (like 
QDatastream and so on. seems it tries to link to the old qt/kde libs. 
however, kdebase links fine with exactly the same configure options:

kervel@bakvis:~/quantum/my_kde/HEAD/koffice/lib/kofficecore$ cat 
../../../compile.sh
#!/bin/sh
export QTDIR=/mnt/quantum/kde/qt-copy
export KDEDIR=/mnt/quantum/kde/
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export MANPATH=$QTDIR/doc/man:$MANPATH
export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH

make -f Makefile.cvs
./configure --with-qt-dir=/mnt/quantum/kde/qt-copy --enable-debug \ 
--with-qt-includes=/mnt/quantum/kde/qt-copy/include/ \ 
--with-qt-lib-dir=/mnt/quantum/kde/qt-copy/lib/ --prefix=/mnt/quantum/kde \ 
--with-kde-libraries=/mnt/quantum/kde/lib --with-kde=/mnt/quantum/kde \ 
--with-kde-includes=/mnt/quantum/kde/include

the linking line looks okay:

c++ -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align 
-Wundef -Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o 
.libs/libkofficecore.la.closure .libs/libkofficecore_la_closure.o 
.libs/koDocument.o .libs/koFilterManager.o .libs/koMainWindow.o 
.libs/koPrintPreview.o .libs/koApplication.o .libs/koQueryTrader.o 
.libs/koDataTool.o .libs/koFilter.o .libs/koImage.o .libs/koImageCollection.o 
.libs/koClipart.o .libs/koClipartCollection.o .libs/koDocumentInfo.o 
.libs/koView.o .libs/koFrame.o .libs/handler.o .libs/koDocumentChild.o 
.libs/koDocumentInfoDlg.o .libs/koFactory.o .libs/koChild.o 
.libs/KoApplicationIface.o .libs/KoDocumentIface.o .libs/KoViewIface.o 
.libs/KoMainWindowIface.o .libs/KoApplicationIface_skel.o 
.libs/KoDocumentIface_skel.o .libs/KoViewIface_skel.o 
.libs/KoMainWindowIface_skel.o .libs/libkofficecore_la_meta_unload.o  
-L/usr/X11R6/lib -L/mnt/quantum/kde/lib ../../lib/store/.libs/libkstore.so 
-L/mnt/quantum/kde/qt-copy/lib -L/mnt/quantum/kde//lib 
-L/usr/lib/gcc-lib/i386-linux/2.95.4 ../../lib/kwmf/.libs/libkwmf.so 
/mnt/quantum/kde//lib/libkdeprint.so /mnt/quantum/kde//lib/libkparts.so 
/mnt/quantum/kde//lib/libkfile.so /mnt/quantum/kde//lib/libksycoca.so 
/mnt/quantum/kde//lib/libkio.so /mnt/quantum/kde//lib/libkdesu.so -lutil 
/mnt/quantum/kde//lib/libkssl.so /mnt/quantum/kde//lib/libkdeui.so 
/mnt/quantum/kde//lib/libkdecore.so -ldl /mnt/quantum/kde//lib/libDCOP.so 
-lpthread -lqt-mt -lpng -ljpeg -lXext -lX11 -lSM -lICE -lresolv -lz -lstdc++ 
-lm -lc -lgcc -Wl,--rpath -Wl,/mnt/quantum/kde/lib -Wl,--rpath 
-Wl,/mnt/quantum/kde//lib

(i mean: no /usr/lib stuff in it. and using -nostdlib does not help)
the errors i get:

.libs/koDocumentInfoDlg.o(.text+0x3c98): undefined reference to 
`QApplication::translate(char const *, char const *, char const *) const'
.libs/koDocumentInfoDlg.o: In function `KoDocumentInfoDlg::tr(char const *, 
char const *)':
.libs/koDocumentInfoDlg.o(.text+0x3cd9): undefined reference to 
`QApplication::translate(char const *, char const *, char const *) const'
.libs/koDocumentInfoDlg.o: In function 
`KoDocumentInfoDlg::staticMetaObject(void)':
.libs/koDocumentInfoDlg.o(.text+0x3d72): undefined reference to 
`QMetaObject::new_metadata(int)'

and so on.
libs/koDocumentInfoDlg.o(.text+0x1ffa): undefined reference to 
`KTarFile::data(void) const'
.libs/koDocumentInfoDlg.o(.text+0x2007): undefined reference to 
`QBuffer::QBuffer(QArray<char>)'
.libs/koDocumentInfoDlg.o(.text+0x202b): undefined reference to 
`QDomDocument::setContent(QIODevice *)'
.libs/koDocumentInfoDlg.o: In function 
`KoDocumentInfoPropsPage::applyChanges(void)':

someone knows what i do wrong ?

greetings,
Frank



Reply to: