How to build kdeedu from scartch? (was Re: corrupted kdeedu-minGW-src-archive?)

Ralf Habacker ralf.habacker at freenet.de
Fri Nov 28 00:03:00 CET 2008


Ruediger Goetz schrieb:
> Hello again
>
> After installing automoc (from both bin and src files) and perl 
> (and a few other things) 
can you remember the other packages , it would be nice to document them. 
Because questions for this howto raised up from time to time I started a 
new techbase base on 
http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/DistributionBasedBuild.
>   
> manually, we got cmake getting through. 
>   
> Unfortunately, mingw32-make is stuck now.
> If we try to compile kdeedu as whole, make stoped at blinken
> on an error build docbook documentation. Since we are only behind
> kturtle we try to build kturtle directly by
>   
I personally use the msvc build way and before I sent the howto I tried 
building kdeedu 4.1.3 from source without any problem. Maybe someone 
with a working mingw buildsystem can give some light into this issue.

> cd P:/KDEROOT/kde/src/kdeedu-mingw-build/kturtle
> mingw32-make
>
> we get:
>
> In file included from P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:50,
>                  from P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h:22,
>                  from P:/KDEROOT/kde/include/mingw/unistd.h:26,
>                  from P:\KDEROOT\kde\src\kdeedu-mingw-4.1.2\kturtle\src\interpreter\executer.cpp:28:
> P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1663: error: declaration of C function `LONG InterlockedCompare
> Exchange(volatile LONG*, LONG, LONG)' conflicts with
> P:/KDEROOT/kde/include/QtCore/qatomic_windows.h:387: error: previous declaration `long int InterlockedCompareExchange(long int*, long int,
> long int)' here
> P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1667: error: declaration of C function `LONG InterlockedDecreme
> nt(volatile LONG*)' conflicts with
> P:/KDEROOT/kde/include/QtCore/qatomic_windows.h:389: error: previous declaration `long int InterlockedDecrement(long int*)' here
> P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1668: error: declaration of C function `LONG InterlockedExchang
> e(volatile LONG*, LONG)' conflicts with
> P:/KDEROOT/kde/include/QtCore/qatomic_windows.h:390: error: previous declaration `long int InterlockedExchange(long int*, long int)' here
> P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1672: error: declaration of C function `LONG InterlockedExchang
> eAdd(volatile LONG*, LONG)' conflicts with
> P:/KDEROOT/kde/include/QtCore/qatomic_windows.h:391: error: previous declaration `long int InterlockedExchangeAdd(long int*, long int)' her
> e
> P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1676: error: declaration of C function `LONG InterlockedIncreme
> nt(volatile LONG*)' conflicts with
> P:/KDEROOT/kde/include/QtCore/qatomic_windows.h:388: error: previous declaration `long int InterlockedIncrement(long int*)' here
> In file included from P:\KDEROOT\kde\src\kdeedu-mingw-4.1.2\kturtle\src\interpreter\executer.cpp:28:
> P:/KDEROOT/kde/include/mingw/unistd.h:119: error: declaration of C function `void usleep(unsigned int)' conflicts with
> P:/KDEROOT/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/../include/unistd.h:36: error: previous declaration `int usleep(useconds_
> t)' here
> mingw32-make[2]: *** [kturtle/src/CMakeFiles/kturtle.dir/interpreter/executer.obj] Error 1
> mingw32-make[1]: *** [kturtle/src/CMakeFiles/kturtle.dir/all] Error 2
> mingw32-make: *** [all] Error 2
>
> It look like 
>
> On Wednesday 26 November 2008, Ralf Habacker wrote:
>   
>> Ruediger Goetz schrieb:
>>     
>>> Hello,
>>>
>>> Sorry for bothering again. As far as I read the docu, the only option is 
>>> using emerge, since the other three are deprecated or unstable. However,
>>> we are sitting behind a firewall, which allows (basically) only http- and 
>>> ftp-traffic via a squid-proxy. As far as I remember emerge/portage needs
>>> rsync as well. (Not speaking about the svn access to get emerge initially).
>>>
>>> Hence, are there any options to use emerge through such a firewall (gentoo-emerge
>>> has a webrsync. But this is a bash script, presumable not running on Windows).
>>>
>>> But maybe there is a shorter way. We have already basic KDE installation
>>> done using kdewin-installer-gui. This installation includes the sources of kdeedu.
>>> All we need is to recompile kdeedu (and kturtle in particular) with our
>>> modified sources. Unfortunately (but not unexpected) the Linux way of 
>>>  	cmake; make; make install
>>> doesn't work in the DOS-prompt. Maybe there is ju3.5h Betreuung Ausbildung
>>>       
> 5h SPst a little thing we just missed.
>   
You were told to first use the emerge way which tracks the required 
dependencies.

Ralf



More information about the Kde-windows mailing list