3.2 beta1 and subversion compile problems

Claudiu ANGHEL claudiu.anghel at skynet.be
Wed Feb 16 07:03:44 GMT 2005


At step 5 I receive some crazy errors even if I have 
"-I/opt/kde3/include -I/usr/lib/qt3/include" in the long command of 
compiling. Any clue? (the kapplication.h & Co are in /opt/kde3/include)

svn.cpp:32:26: kapplication.h: No such file or directory
svn.cpp:33:20: kdebug.h: No such file or directory
svn.cpp:34:25: kmessagebox.h: No such file or directory
svn.cpp:35:23: kinstance.h: No such file or directory
svn.cpp:36:21: kglobal.h: No such file or directory
svn.cpp:37:27: kstandarddirs.h: No such file or directory
svn.cpp:38:21: klocale.h: No such file or directory
svn.cpp:39:18: kurl.h: No such file or directory
svn.cpp:40:19: ksock.h: No such file or directory
svn.cpp:41:24: dcopclient.h: No such file or directory
svn.cpp:44:36: subversion-1/svn_sorts.h: No such file or directory
.....

The last compile command is :
make[1]: Entering directory 
`/home/claudiu/kdevelopsrc/kdevelop/vcs/compat/svn'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I   -I/opt/kde3/include 
-I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
-D_REENTRANT  -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  -MT svn.lo -MD -MP -MF 
".deps/svn.Tpo" -c -o svn.lo svn.cpp; \
then mv -f ".deps/svn.Tpo" ".deps/svn.Plo"; else rm -f ".deps/svn.Tpo"; 
exit 1;fi


Jonas Jakobsson wrote:

>Ok, this only applies if you have KDE version less than 3.3.90.
>This is for kdevelop 3.1.92 ( kdevelop 3.2 beta 2 ).
>
>To enable subversion support:
>
>1. configure in the normal way. Normal = just bother with qt and kde includes and libs.
>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.
>
>* Claudiu ANGHEL (claudiu.anghel at skynet.be) wrote:
>  
>
>>Please can you can give me a more "step by step" hacking guide till 
>>somebody fixes it in a "professional" way.
>>
>>Jonas Jakobsson wrote:
>>
>>    
>>
>>>Hi, I saw some ppl had compile problems with subversion + kdevelop so I 
>>>just wanted to drop my 2 cents. I almost got it working.
>>>
>>>When compiling i got linking problems in vcs/subversion/integrator.
>>>It seemed make didnt process vcs/compat/netaccess before linking to the 
>>>nonexistent library there. (My kde version was below 3.3.90)
>>>
>>>It turned out i needed to uncomment all lines in the Makefile in 
>>>vcs/subversion/integrator that contained "netacces" (upper+lower case). 
>>>The same in vcs/subversion.
>>>Then i ran make manually in vcs/compat/netaccess. Then it compiled.
>>>
>>>After running i got klauncher complaining that it didnt know svn+http.
>>>I copied vcs/compat/svn/svn+http.protocol /usr/share/services/  (i have 
>>>debian unstable).
>>>
>>>Now when i try to add a file to repository i get:
>>>Could not start process. Unable to create io-slave.
>>>klauncher said: Error loading 'kio_svn'.
>>>
>>>locate turns up zero hits for kio_svn.
>>>
>>>And now im stuck :)
>>>
>>>
>>>
>>>      
>>>
>>-
>>to unsubscribe from this list send an email to 
>>kdevelop-request at kdevelop.org with the following body:
>>unsubscribe ?your-email-address?
>>    
>>


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list