cannot build kdevelop 3.2.0 on makdrake 10.1

Jonas Jakobsson jonas at update.uu.se
Sun Mar 27 11:53:21 BST 2005


* Boris Gorelik (bgbg at pob.huji.ac.il) wrote:
> 
> Hello,
> I'm trying to build kdevelop 3.2.0 on mandrake 10.1 with kde 3.2.3. The 
> compilation is OK, but the linking process dies with errors. I've pasted the 
> last lines of the make output.
> Before the configure phase, I've exported the following:
>  export KDE_DIR=/usr/lib/kde3/
>  export QT_DIR=/usr/lib/qt3/
> export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
> 
> 
> Thank you for any hint.
> =========== make output starts here ===============
> <snip>
> make[4]: Leaving directory `/home/bgbg/temp/kdevelop-3.2.0/vcs/perforce'
> make[3]: Leaving directory `/home/bgbg/temp/kdevelop-3.2.0/vcs/perforce'
> Making all in subversion
> make[3]: Entering directory `/home/bgbg/temp/kdevelop-3.2.0/vcs/subversion'
> Making all in integrator
> make[4]: Entering directory 
> `/home/bgbg/temp/kdevelop-3.2.0/vcs/subversion/integrator'
> /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  
> -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
> -Wpointer-arith -Wwrite-strings -O2 -Wformat-security 
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
> -DQT_NO_TRANSLATION    -o libsubversionintegrator.la -rpath /usr/lib/kde3 
> -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined 
> -L/usr/lib -L/usr/lib/qt3//lib -L/usr/X11R6/lib    subversionintegrator.lo 
> svnintegratordlg.lo 
> svnintegratordlgbase.lo ../../../lib/interfaces/extras/libkdevextras.la ../../../lib/libkdevelop.la
> .libs/svnintegratordlg.o(.text+0x7c8): In function 
> `SvnIntegratorDlg::accept()':
> : undefined reference to `KIO_COMPAT::NetAccess::synchronousRun(KIO::Job*, 
> QWidget*, QMemArray<char>*, KURL*, QMap<QString, QString>*)'
> .libs/svnintegratordlg.o(.text+0x944): In function 
> `SvnIntegratorDlg::accept()':
> : undefined reference to `KIO_COMPAT::NetAccess::synchronousRun(KIO::Job*, 
> QWidget*, QMemArray<char>*, KURL*, QMap<QString, QString>*)'
> .libs/svnintegratordlg.o(.text+0xeec): In function 
> `SvnIntegratorDlg::accept()':
> : undefined reference to `KIO_COMPAT::NetAccess::synchronousRun(KIO::Job*, 
> QWidget*, QMemArray<char>*, KURL*, QMap<QString, QString>*)'
> .libs/svnintegratordlg.o(.text+0x10af): In function 
> `SvnIntegratorDlg::accept()':
> : undefined reference to `KIO_COMPAT::NetAccess::synchronousRun(KIO::Job*, 
> QWidget*, QMemArray<char>*, KURL*, QMap<QString, QString>*)'
> collect2: ld returned 1 exit status
> make[4]: *** [libsubversionintegrator.la] Error 1
> make[4]: Leaving directory 
> `/home/bgbg/temp/kdevelop-3.2.0/vcs/subversion/integrator'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/bgbg/temp/kdevelop-3.2.0/vcs/subversion'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/bgbg/temp/kdevelop-3.2.0/vcs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/bgbg/temp/kdevelop-3.2.0'
> make: *** [all] Error 2
> ========== make output ends here ================

The error is due to a makefile error AFAIK. It was the same problem in 
3.1.92, so im pasting the solution here, but it might be some 
differences.

1. configure in the normal way.
2. make
3. wait till you get a linking problem in vcs/subversion/integrator.
4. go to vcs/compat/netaccess. Do a make.
5. go to vcs/compat/svn. Do make, then make install.
6. edit vcs/subversion/integrator/Makefile
uncomment all lines to do with netaccess (it was only 2 i think).
7. edit vcs/subversion/Makefile. Do the same as in 6.
8. go back to the root of the source tree (like 
/path/to/kdevelop-3.1.92)
9. make
10. make install
11. now just run kdevelop. The subversion menus only seems to appear if 
the
project directory
with your source is already version managed.

HTH
-- 
/Jonas
HP: http://www.update.uu.se/~jonas 
PK fingerprint: D617 0029 A992 1E68 E981 055B 0BAE 3888 3997 24A6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20050327/86bb2122/attachment.sig>


More information about the KDevelop mailing list