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