You will have to install python with thread support and then install again<br><br><div class="gmail_quote">On Thu, May 9, 2013 at 9:38 AM, Derrick Dantavious Edwards <span dir="ltr">&lt;<a href="mailto:dantavious313@gmail.com" target="_blank">dantavious313@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">        HI,<br>
I am having problems building mod_python. Even though my system python is<br>
built with threading support I continue to get the following configure error.<br>
Any ideas on what the issue could be?<br>
V/r<br>
<br>
Derrick<br>
<br>
<br>
/configure --enable-64 --enable-zrtp --with-python=/usr/local/bin/python2.7<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
checking for a thread-safe mkdir -p... build/config/install-sh -c -d<br>
checking for gawk... no<br>
checking for mawk... no<br>
checking for nawk... nawk<br>
checking whether make sets $(MAKE)... yes<br>
checking build system type... amd64-unknown-freebsd10.0<br>
checking host system type... amd64-unknown-freebsd10.0<br>
checking for gcc... gcc<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables...<br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking for style of include used by make... GNU<br>
checking dependency style of gcc... gcc3<br>
checking for g++... g++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>
checking dependency style of g++... gcc3<br>
checking whether the C++ compiler works... yes<br>
checking for gawk... (cached) nawk<br>
checking whether make sets $(MAKE)... (cached) yes<br>
checking whether gcc and cc understand -c and -o together... yes<br>
checking how to print strings... printf<br>
checking for a sed that does not truncate output... /usr/bin/sed<br>
checking for grep that handles long lines and -e... /usr/bin/grep<br>
checking for egrep... /usr/bin/grep -E<br>
checking for fgrep... /usr/bin/grep -F<br>
checking for ld used by gcc... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>
checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>
checking whether ln -s works... yes<br>
checking the maximum length of command line arguments... 196608<br>
checking whether the shell understands some XSI constructs... yes<br>
checking whether the shell understands &quot;+=&quot;... no<br>
checking how to convert amd64-unknown-freebsd10.0 file names to amd64-unknown-<br>
freebsd10.0 format... func_convert_file_noop<br>
checking how to convert amd64-unknown-freebsd10.0 file names to toolchain<br>
format... func_convert_file_noop<br>
checking for /usr/bin/ld option to reload object files... -r<br>
checking for objdump... objdump<br>
checking how to recognize dependent libraries... pass_all<br>
checking for dlltool... no<br>
checking how to associate runtime and link libraries... printf %s\n<br>
checking for ar... ar<br>
checking for archiver @FILE support... no<br>
checking for strip... strip<br>
checking for ranlib... ranlib<br>
checking command to parse /usr/bin/nm -B output from gcc object... ok<br>
checking for sysroot... no<br>
checking for mt... mt<br>
checking if mt is a manifest tool... no<br>
checking how to run the C preprocessor... gcc -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking for dlfcn.h... yes<br>
checking for objdir... .libs<br>
checking if gcc supports -fno-rtti -fno-exceptions... no<br>
checking for gcc option to produce PIC... -fPIC -DPIC<br>
checking if gcc PIC flag -fPIC -DPIC works... yes<br>
checking if gcc static flag -static works... yes<br>
checking if gcc supports -c -o file.o... yes<br>
checking if gcc supports -c -o file.o... (cached) yes<br>
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes<br>
checking whether -lc should be explicitly linked in... no<br>
checking dynamic linker characteristics... freebsd10.0 ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking whether stripping libraries is possible... yes<br>
checking if libtool supports shared libraries... yes<br>
checking whether to build shared libraries... yes<br>
checking whether to build static libraries... yes<br>
checking how to run the C++ preprocessor... g++ -E<br>
checking for ld used by g++... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes<br>
checking for g++ option to produce PIC... -fPIC -DPIC<br>
checking if g++ PIC flag -fPIC -DPIC works... yes<br>
checking if g++ static flag -static works... yes<br>
checking if g++ supports -c -o file.o... yes<br>
checking if g++ supports -c -o file.o... (cached) yes<br>
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes<br>
checking dynamic linker characteristics... freebsd10.0 ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking for C compiler vendor... gnu<br>
checking for libgnutls-config... no<br>
checking for pkg-config... /usr/local/bin/pkg-config<br>
checking for libgnutls - version &gt;= 0.1.0... yes<br>
checking libtool major version... 2<br>
using libtool library extension... la<br>
  adding &quot;-fPIC&quot; to SWITCH_AM_CFLAGS<br>
  adding &quot;-fPIC&quot; to SWITCH_AM_CXXFLAGS<br>
  adding &quot;-Werror&quot; to SWITCH_AM_CFLAGS<br>
checking whether the compiler supports -fvisibility=hidden... yes<br>
  adding &quot;-fvisibility=hidden&quot; to SWITCH_AM_CFLAGS<br>
  adding &quot;-DSWITCH_API_VISIBILITY=1&quot; to SWITCH_AM_CFLAGS<br>
  adding &quot;-DHAVE_VISIBILITY=1&quot; to SWITCH_AM_CFLAGS<br>
  adding &quot;-fvisibility=hidden&quot; to SWITCH_AM_CXXFLAGS<br>
  adding &quot;-DSWITCH_API_VISIBILITY=1&quot; to SWITCH_AM_CXXFLAGS<br>
  adding &quot;-DHAVE_VISIBILITY=1&quot; to SWITCH_AM_CXXFLAGS<br>
checking CFLAGS for maximum ansi warnings... -Wall -std=c99 -pedantic<br>
  adding &quot;-g&quot; to SWITCH_AM_CFLAGS<br>
  adding &quot;-ggdb&quot; to SWITCH_AM_CFLAGS<br>
  adding &quot;-DENABLE_ZRTP&quot; to SWITCH_AM_CFLAGS<br>
checking for jack... checking for snd_pcm_open in -lasound... no<br>
checking size of long... 8<br>
checking what directory libraries are found in... lib<br>
checking for odbc header in /usr/include... no found<br>
checking for odbc header in /usr/local/include... no found<br>
checking for SQLDisconnect in -lodbc... no<br>
checking for odbc library in /usr/lib... no found<br>
checking for odbc library in /usr/local/lib... no found<br>
checking whether to include odbc... no<br>
checking for inflateReset in -lz... yes<br>
  adding &quot;-lz&quot; to SWITCH_AM_LDFLAGS<br>
checking for jpeg_std_error in -ljpeg... yes<br>
checking for res_init in -lresolv... no<br>
  adding &quot;-I/usr/local/include&quot; to SWITCH_AM_CFLAGS<br>
  setting PLATFORM_CORE_LIBS to &quot;-lcrypt -lrt&quot;<br>
checking for dirent.h that defines DIR... yes<br>
checking for library containing opendir... none required<br>
checking for ANSI C header files... (cached) yes<br>
checking for sys/types.h... (cached) yes<br>
checking sys/resource.h usability... yes<br>
checking sys/resource.h presence... yes<br>
checking for sys/resource.h... yes<br>
checking sched.h usability... yes<br>
checking sched.h presence... yes<br>
checking for sched.h... yes<br>
checking wchar.h usability... yes<br>
checking wchar.h presence... yes<br>
checking for wchar.h... yes<br>
checking sys/filio.h usability... yes<br>
checking sys/filio.h presence... yes<br>
checking for sys/filio.h... yes<br>
checking sys/ioctl.h usability... yes<br>
checking sys/ioctl.h presence... yes<br>
checking for sys/ioctl.h... yes<br>
checking sys/select.h usability... yes<br>
checking sys/select.h presence... yes<br>
checking for sys/select.h... yes<br>
checking netdb.h usability... yes<br>
checking netdb.h presence... yes<br>
checking for netdb.h... yes<br>
checking execinfo.h usability... yes<br>
checking execinfo.h presence... yes<br>
checking for execinfo.h... yes<br>
checking for an ANSI C-conforming const... yes<br>
checking for inline... inline<br>
checking for size_t... yes<br>
checking whether time.h and sys/time.h may both be included... yes<br>
checking whether struct tm is in sys/time.h or time.h... time.h<br>
checking whether gcc needs -traditional... no<br>
checking for stdlib.h... (cached) yes<br>
checking for GNU libc compatible malloc... yes<br>
checking return type of signal handlers... void<br>
checking for strftime... yes<br>
checking for gethostname... yes<br>
checking for vasprintf... yes<br>
checking for mmap... yes<br>
checking for mlock... yes<br>
checking for mlockall... yes<br>
checking for usleep... yes<br>
checking for getifaddrs... yes<br>
checking for timerfd_create... no<br>
checking for getdtablesize... yes<br>
checking for posix_openpt... yes<br>
checking for sched_setscheduler... yes<br>
checking for setpriority... yes<br>
checking for setrlimit... yes<br>
checking for setgroups... yes<br>
checking for initgroups... yes<br>
checking for wcsncmp... yes<br>
checking for setgroups... (cached) yes<br>
checking for asprintf... yes<br>
checking for setenv... yes<br>
checking for pselect... yes<br>
checking for gettimeofday... yes<br>
checking for localtime_r... yes<br>
checking for gmtime_r... yes<br>
checking for strcasecmp... yes<br>
checking for stricmp... no<br>
checking for _stricmp... no<br>
checking whether strerror_r is declared... yes<br>
checking for strerror_r... yes<br>
checking whether strerror_r returns char *... no<br>
checking for sched_setaffinity... no<br>
checking for sched_getaffinity... no<br>
checking for clock_gettime in -lrt... yes<br>
checking for clock_getres in -lrt... yes<br>
checking for clock_nanosleep in -lrt... no<br>
checking for pthread_setschedparam in -lpthread... yes<br>
checking for socket... yes<br>
checking for /dev/ptmx... no<br>
checking for openpty in -lutil... yes<br>
checking for struct tm.tm_gmtoff... yes<br>
checking for struct tm.tm_zone... yes<br>
checking whether RLIMIT_MEMLOCK is declared... yes<br>
checking whether SCHED_RR is declared... yes<br>
checking whether SCHED_FIFO is declared... yes<br>
checking whether to use mlockall... no, broken for non-root users<br>
checking for setenv... (cached) yes<br>
checking for strtoll... yes<br>
checking for strtoull... yes<br>
checking for strtoq... yes<br>
checking for strtouq... yes<br>
checking for __strtoll... no<br>
checking for __strtoull... no<br>
checking whether va_list is an array... yes<br>
checking whether compiler has __attribute__... yes<br>
checking whether compiler supports -Wdeclaration-after-statement... yes<br>
yes<br>
  adding &quot;-Wdeclaration-after-statement&quot; to SWITCH_ANSI_CFLAGS<br>
checking whether byte ordering is bigendian... no<br>
checking size of char... 1<br>
checking size of int... 4<br>
checking size of long... (cached) 8<br>
checking size of short... 2<br>
checking size of long long... 8<br>
checking for size_t... (cached) yes<br>
checking for ssize_t... yes<br>
checking size of void*... 8<br>
checking size of ssize_t... 8<br>
checking size of size_t... 8<br>
checking for gunzip... /usr/bin/gunzip<br>
checking for bzip2... /usr/bin/bzip2<br>
checking for xz... /usr/bin/xz<br>
checking for gtar... no<br>
checking for tar... /usr/bin/tar<br>
checking for wget... no<br>
checking for curl... /usr/local/bin/curl<br>
checking whether to use system libcurl library... checking for gawk...<br>
(cached) nawk<br>
checking for curl-config... /usr/local/bin/curl-config<br>
checking for the version of libcurl... 7.24.0<br>
checking for libcurl &gt;= version 7.13.0... yes<br>
checking whether libcurl is usable... no<br>
no<br>
checking for tgetent in -lncurses... yes<br>
checking for openssl... checking openssl/tls1.h usability... yes<br>
checking openssl/tls1.h presence... yes<br>
checking for openssl/tls1.h... yes<br>
checking for BIO_new in -lcrypto... yes<br>
checking for TLSv1_method in -lssl... yes<br>
  adding &quot;-DHAVE_OPENSSL&quot; to SWITCH_AM_CFLAGS<br>
checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes<br>
checking for DTLSv1_method in -lssl... yes<br>
checking for JAVA installation at ...<br>
configure: cannot find the java directory, assuming it is specified in CFLAGS<br>
checking if JAVA package is complete... no<br>
checking for python... /usr/local/bin/python2.7<br>
checking python version... 2.7.3<br>
checking for python distutils... yes<br>
checking location of site-packages... /usr/local/lib/python2.7/site-packages<br>
checking python libdir... /usr/local/lib<br>
checking for main in -lpython2.7... yes<br>
checking for PyThread_init_thread... no<br>
configure: error: Your python lacks threads support, can not build mod_python<br>
<br>
<br>
<br>
/python2.7/dummy_threading.pyc<br>
./python2.7/dummy_thread.pyo<br>
./python2.7/dummy_threading.py<br>
./python2.7/_threading_local.pyo<br>
./python2.7/threading.pyc<br>
./python2.7/_threading_local.py<br>
./python2.7/dummy_thread.pyc<br>
./python2.7/test/test_threadsignals.pyo<br>
./python2.7/test/test_threading.pyc<br>
./python2.7/test/threaded_import_hangers.py<br>
./python2.7/test/threaded_import_hangers.pyc<br>
./python2.7/test/test_threadedtempfile.pyo<br>
./python2.7/test/test_dummy_threading.py<br>
./python2.7/test/test_threaded_import.pyc<br>
./python2.7/test/test_threading_local.pyc<br>
./python2.7/test/test_threaded_import.py<br>
./python2.7/test/test_thread.py<br>
./python2.7/test/test_dummy_thread.pyo<br>
./python2.7/test/test_dummy_threading.pyo<br>
./python2.7/test/test_thread.pyc<br>
./python2.7/test/test_threading.pyo<br>
./python2.7/test/test_threadsignals.pyc<br>
./python2.7/test/test_threadedtempfile.pyc<br>
./python2.7/test/threaded_import_hangers.pyo<br>
./python2.7/test/test_threaded_import.pyo<br>
./python2.7/test/test_threadedtempfile.py<br>
./python2.7/test/test_threading_local.pyo<br>
./python2.7/test/test_dummy_thread.py<br>
./python2.7/test/test_threading.py<br>
./python2.7/test/test_dummy_thread.pyc<br>
./python2.7/test/test_threadsignals.py<br>
./python2.7/test/test_threading_local.py<br>
./python2.7/test/test_dummy_threading.pyc<br>
./python2.7/test/test_thread.pyo<br>
./python2.7/dummy_threading.pyo<br>
./python2.7/dummy_thread.py<br>
./python2.7/_threading_local.pyc<br>
./python2.7/threading.py<br>
./python2.7/threading.pyo<br>
./python2.7/bsddb/test/test_thread.pyo<br>
./python2.7/bsddb/test/test_thread.pyc<br>
./python2.7/bsddb/test/test_thread.py<br>
<br>
./python3.3/__pycache__/threading.cpython-33.pyc<br>
./python3.3/__pycache__/_dummy_thread.cpython-33.pyc<br>
./python3.3/__pycache__/_threading_local.cpython-33.pyo<br>
./python3.3/__pycache__/dummy_threading.cpython-33.pyo<br>
./python3.3/__pycache__/threading.cpython-33.pyo<br>
./python3.3/__pycache__/_dummy_thread.cpython-33.pyo<br>
./python3.3/__pycache__/dummy_threading.cpython-33.pyc<br>
./python3.3/__pycache__/_threading_local.cpython-33.pyc<br>
./python3.3/_dummy_thread.py<br>
./python3.3/concurrent/futures/thread.py<br>
./python3.3/concurrent/futures/__pycache__/thread.cpython-33.pyc<br>
./python3.3/concurrent/futures/__pycache__/thread.cpython-33.pyo<br>
./python3.3/test/test_threading_local.py<br>
./python3.3/test/test_threadsignals.py<br>
./python3.3/test/test_dummy_thread.py<br>
./python3.3/test/test_thread.py<br>
./python3.3/test/test_threading.py<br>
./python3.3/test/test_threaded_import.py<br>
./python3.3/test/__pycache__/test_threading.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_threaded_import.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_thread.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_threading_local.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_dummy_threading.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_threadedtempfile.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_threadsignals.cpython-33.pyc<br>
./python3.3/test/__pycache__/threaded_import_hangers.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_dummy_thread.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_threading.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_thread.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_threaded_import.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_threading_local.cpython-33.pyc<br>
./python3.3/test/__pycache__/test_threadedtempfile.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_dummy_threading.cpython-33.pyo<br>
./python3.3/test/__pycache__/threaded_import_hangers.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_threadsignals.cpython-33.pyo<br>
./python3.3/test/__pycache__/test_dummy_thread.cpython-33.pyc<br>
./python3.3/test/test_dummy_threading.py<br>
./python3.3/test/threaded_import_hangers.py<br>
./python3.3/test/test_threadedtempfile.py<br>
./python3.3/dummy_threading.py<br>
./python3.3/_threading_local.py<br>
./python3.3/threading.py<br>
<br>
./pth/libpthread.a<br>
./pth/libpthread.so.20<br>
./pth/libpthread.so<br>
<br>
<br>
<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>