Python headers

David Shar david.shar at internode.on.net
Wed Oct 20 16:37:25 UTC 2010


 I've experienced this error while configuring py26-gstreamer-0.10.19 
with 'portsmaster -a' 
 
 Here is the terminal log - 
 
 [code] 
 checking for a BSD-compatible install... /usr/bin/install -c -o root 
-g wheel 
 checking whether build environment is sane... yes 
 checking for a thread-safe mkdir -p... ./install-sh -c -d 
 checking for gawk... no 
 checking for mawk... no 
 checking for nawk... nawk 
 checking whether gmake sets $(MAKE)... yes 
 checking nano version... 0 (release) 
 checking whether to enable maintainer-specific portions of 
Makefiles... no 
 checking build system type... i386-portbld-freebsd8.1 
 checking host system type... i386-portbld-freebsd8.1 
 checking how to print strings... print: not found 
 printf 
 checking for style of include used by gmake... GNU 
 checking for gcc... cc 
 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 cc accepts -g... yes 
 checking for cc option to accept ISO C89... none needed 
 checking dependency style of cc... gcc3 
 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 cc... /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... (cached) 
262144 
 checking whether the shell understands some XSI constructs... yes 
 checking whether the shell understands "+="... no 
 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 ar... ar 
 checking for strip... strip 
 checking for ranlib... ranlib 
 checking command to parse /usr/bin/nm -B output from cc object... ok 
 checking how to run the C preprocessor... cc -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 cc supports -fno-rtti -fno-exceptions... no 
 checking for cc option to produce PIC... -fPIC -DPIC 
 checking if cc PIC flag -fPIC -DPIC works... yes 
 checking if cc static flag -static works... yes 
 checking if cc supports -c -o file.o... yes 
 checking if cc supports -c -o file.o... (cached) yes 
 checking whether the cc linker (/usr/bin/ld) supports shared 
libraries... yes 
 checking whether -lc should be explicitly linked in... no 
 checking dynamic linker characteristics... freebsd8.1 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... no 
 checking for gcc... (cached) cc 
 checking whether we are using the GNU C compiler... (cached) yes 
 checking whether cc accepts -g... (cached) yes 
 checking for cc option to accept ISO C89... (cached) none needed 
 checking dependency style of cc... (cached) gcc3 
 checking whether cc understands -c and -o together... yes 
 checking for python version... 2.6 
 checking for python platform... freebsd8 
 checking for python script directory... 
${prefix}/lib/python2.6/site-packages 
 checking for python extension module directory... 
${exec_prefix}/lib/python2.6/site-packages 
 checking for python >= 2.3... okay 
 checking for headers required to compile python extensions... not 
found 
 configure: error: could not find Python headers 
 ===> Script "configure" failed unexpectedly. 
 Please report the problem to multimedia at FreeBSD.org [maintainer] and 
attach 
 the 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.19/config.log" 
 including the output of the failure of your make command. Also, it 
might be 
 a good idea to provide an overview of all packages installed on your 
system 
 (e.g. an `ls /var/db/pkg`). 
 *** Error code 1 
 
 Stop in /usr/ports/multimedia/py-gstreamer. 
 
 ===>>> make failed for multimedia/py-gstreamer 
 ===>>> Aborting update 
 
 ===>>> Update for py26-gstreamer-0.10.18 failed 
 ===>>> Aborting update 
 
 ===>>> Update for farsight2-0.0.19_1 failed 
 ===>>> Aborting update 
 [/code] 
 
 Enclosed please find 
'/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.19/config.log' 
and installed packages list.  
 
 Best, 
 
 David 
 
  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-python-0.10.19-config.log
Type: application/octet-stream
Size: 27142 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20101020/8c2d715e/gst-python-0.10.19-config.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: List of installed packages
Type: application/octet-stream
Size: 15810 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20101020/8c2d715e/Listofinstalledpackages.obj


More information about the freebsd-multimedia mailing list