I think I found the problem. I was trying to build the sources I got from here 
http://hg.qutecom.org/ as a bzip2 archive. But these sources are stripped off 
the hg files. So when I run "./build_make.sh --build debug" I got:


- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Found Mercurial (hg): /usr/bin/hg
abort: There is no Mercurial repository here (.hg not found)
CMake Error: Error in cmake code at
/work/makes/qutecom-2-2-9393445c777c/owbuild/owbuild/OWGlobalVariables.cmake:52:
STRING sub-command REPLACE requires four arguments.
Current CMake stack:
[4]     
/work/makes/qutecom-2-2-9393445c777c/owbuild/owbuild/OWGlobalVariables.cmake
[3]     /work/makes/qutecom-2-2-9393445c777c/owbuild/owbuild/CMakeLists.txt
[2]     /work/makes/qutecom-2-2-9393445c777c/CMakeLists-owbuild.txt
[1]     /work/makes/qutecom-2-2-9393445c777c/CMakeLists.txt
-- OS: Linux-2.6.24-gentoo-r6
-- Processor: Intel(R) Pentium(R) 4 CPU 3.00GHz
-- Compiler: /usr/bin/gcc
-- Build type: Debug
-- Build tool: /usr/bin/gmake
-- Build directory: /work/makes/qutecom-2-2-9393445c777c/build/debug
-- svn revision:
-- Time: 20080606095533
-- Looking for sws_scale
-- Looking for sws_scale - found
-- Found FFmpeg: 
/usr/lib/libavutil.so;/usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libswscale.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Boost version 103401: /usr/include, 
/usr/lib/libboost_date_time.so;/usr/lib/libboost_filesystem.so;/usr/lib/libboost_iostreams.so;/usr/lib/libboost_prg_exec_monitor.so;/usr/lib/libboost_program_options.so;/usr/lib/libboost_python.so;/usr/lib/libboost_regex.so;/usr/lib/libboost_serialization.so;/usr/lib/libboost_signals.so;/usr/lib/libboost_test_exec_monitor.a;/usr/lib/libboost_thread.so;/usr/lib/libboost_unit_test_framework.so;/usr/lib/libboost_wserialization.so
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.3.4
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
..............
-- Configuring done
Generate graphviz: /work/makes/qutecom-2-2-9393445c777c/build/wengophone.dot

And no compilation then - it just stopped here.

But when I got the hg sources (hg clone http://hg.qutecom.org/qutecom-2.2) the 
compiation started ok after that. 

Probably I was the first to try compiling the bz2 snapshot of the source tree, 
I guess everybody is checking out the hg sources...

Compiled successfully on 

 OS: Linux-2.6.24-gentoo-r6
 Processor: Intel(R) Pentium(R) 4 CPU 3.00GHz
 Compiler: /usr/bin/gcc (GCC 4.2.4)
 Qt: qt-4.3.4-r1
 Boost: boost-1.34.1-r2


Thanks for your reply Ralf!

Regards,

Atanas

On Friday 06 June 2008 09:25:46 Ralf Schlatterbeck wrote:
> On Fri, Jun 06, 2008 at 09:07:20AM +0200, Atanas Atanasov wrote:
> > Hello guys,
> >
> > I am trying to build Qutecom from source, following the instructions on
> > the wiki page, here they are:
> >
> > mkdir /path/to/qutecom/builddir
> > cd /path/to/qutecom/builddir
> > cmake -DCMAKE_BUILD_TYPE=Debug /path/to/qutecom
> > make
> >
> > I am probably missing something obvious, but this is not working for me.
> > After I "cd  build/" and run "cmake -DCMAKE_BUILD_TYPE=Debug .."
> > avarything seems ok, except that there is no Makefile anywhere, so "make"
> > fails.
>
> From your mail I'm guessing you're trying to build on Linux. The
> following works for me (after installing all the dependencies):
>
> cd /path/to/qutecom/build # this one aready exists
> ./build_make.sh --build debug # or final
>
> My debian build-instructions (still in the wengophone archive) are
> there:
> http://thread.gmane.org/gmane.comp.voip.wengophone.devel/5811
>
> If you manage to build on another linux distribution, it would be nice
> if you post the instruction -- in particular the prerequisite packages
> that must be installed for a successful build.
>
> Ralf


_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to