compile failed on Debian jessie

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compile failed on Debian jessie

lottefang
Hi All:
I am trying to compile LibreCAD3 on my debian jessie PC. But I failed with these output in CMakeErrors.log file:


Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/lottefang/Documents/Builds/librecad3/LibreCAD_3/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_fab83/fast
/usr/bin/make -f CMakeFiles/cmTC_fab83.dir/build.make CMakeFiles/cmTC_fab83.dir/build
make[1]: Entering directory '/home/lottefang/Documents/Builds/librecad3/LibreCAD_3/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fab83.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_fab83.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake-3.14/Modules/CheckFunctionExists.c
Linking C executable cmTC_fab83
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fab83.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_fab83.dir/CheckFunctionExists.c.o  -o cmTC_fab83 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_fab83.dir/build.make:86: recipe for target 'cmTC_fab83' failed
make[1]: *** [cmTC_fab83] Error 1
make[1]: Leaving directory '/home/lottefang/Documents/Builds/librecad3/LibreCAD_3/build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_fab83/fast' failed
make: *** [cmTC_fab83/fast] Error 2

   It is the same thing here https://github.com/LibreCAD/LibreCAD_3/issues/192. I alse installed all those dependencies needed by LibreCAD3. and I tried the way this link told me but still doesn't work for me . I don't know how to solve this problem, Could any one please tell me how to fix this ?  
Reply | Threaded
Open this post in threaded view
|

Re: compile failed on Debian jessie

LordOfBikes
Administrator
I recommend to present your issue on our Zulip chat channel.
Use topic V3 Common in #Codebase stream and post the CMake output there.
The V3 team is not that active here in the forum.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: compile failed on Debian jessie

lottefang
Thanks for your quick reply ! I'll try that!
Reply | Threaded
Open this post in threaded view
|

Re: compile failed on Debian jessie

ag123
logged issue  #219