On 6 September 2012 15:43, Cinder
<cinder@xxxxxxxxxxxxxx> wrote:
Hi, I'm trying to emerge zynjacku-6(and hopefully lv2rack comes with it:) I edited the ebuild to depend on lv2 instead of lv2core, but now the errors point to missing python headers. I get the same compiling from source. I have python both 2.7 and 3.2 installed. I can't find python.h. I assume I'm missing a development library. Doe's anyone know which package I need? Many thanks.
I'm running
3.4.9-gentoo-rt17 #35 SMP PREEMPT amd64
emerge --info '=media-sound/zynjacku-6'
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo-rt17 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-rt17-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 04 Sep 2012 03:15:01 +0000
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.27
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo proaudio
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://gentoo.channelx.biz/ http://gentoo.gg3.net/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus dga directfb djvu dri dts dvd dvdr emboss encode enscript exif fam fbcon ffmpeg fftw firefox flac fortran gdbm gif gpm gtk hddtemp iconv ipv6 jack joystick jpeg ladspa lame lash lcms ldap libnotify libsamplerate lm_sensors mad matroska mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sasl scanner sdl session smp sound spell sse sse2 sse3 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vim vorbis wifi wxwidgets x264 xcb xcomposite xml xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
/var/log/portage/media-sound:zynjacku-6:20120906-131232.log
[32;01m * [39;49;00mPackage: media-sound/zynjacku-6
[32;01m * [39;49;00mRepository: proaudio
[32;01m * [39;49;00mMaintainer: proaudio@xxxxxxxxxxxxx
[32;01m * [39;49;00mUSE: amd64 elibc_glibc kernel_linux lv2dynparam multilib userland_GNU
[32;01m * [39;49;00mFEATURES: sandbox userpriv
>>> Unpacking source...
>>> Unpacking zynjacku-6.tar.bz2 to /var/tmp/portage/media-sound/zynjacku-6/work
>>> Source unpacked in /var/tmp/portage/media-sound/zynjacku-6/work
>>> Preparing source in /var/tmp/portage/media-sound/zynjacku-6/work/zynjacku-6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/zynjacku-6/work/zynjacku-6 ...
* econf: updating zynjacku-6/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating zynjacku-6/config/config.sub with /usr/share/gnuconfig/config.sub
../configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files.... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LV2... yes
checking for GTK... yes
checking for PYGTK... yes
checking for JACK... yes
checking for LV2DYNPARAMHOST1... yes
checking for JACK_MIDI... yes
checking for OLD_JACK_MIDI... no
checking whether JACK MIDI functions need nframes parameter... no
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 3.2
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python3.2/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.2/site-packages
checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
not found
configure: error: Could not find Python headers
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-sound/zynjacku-6/work/zynjacku-6/config.log
[31;01m* [0m ERROR: media-sound/zynjacku-6 failed (configure phase):
[31;01m* [0m econf failed
[31;01m* [0m
[31;01m* [0m Call stack:
[31;01m* [0m ebuild.sh, line 85: Called src_configure
[31;01m* [0m environment, line 154: Called econf
[31;01m* [0m phase-helpers.sh, line 467: Called die
[31;01m* [0m The specific snippet of code:
[31;01m* [0m die "econf failed"
[31;01m* [0m
[31;01m* [0m If you need support, post the output of `emerge --info '=media-sound/zynjacku-6'`,
[31;01m* [0m the complete build log and the output of `emerge -pqv '=media-sound/zynjacku-6'`.
[31;01m* [0m This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'
[31;01m* [0m The complete build log is located at '/var/log/portage/media-sound:zynjacku-6:20120906-131232.log'.
[31;01m* [0m For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/zynjacku-6/temp/build.log'.
[31;01m* [0m The ebuild environment file is located at '/var/tmp/portage/media-sound/zynjacku-6/temp/environment'.
[31;01m* [0m Working directory: '/var/tmp/portage/media-sound/zynjacku-6/work/zynjacku-6'
[31;01m* [0m S: '/var/tmp/portage/media-sound/zynjacku-6/work/zynjacku-6'
emerge -pqv '=media-sound/zynjacku-6'
[ebuild N ] media-sound/zynjacku-6 USE="lv2dynparam"
_____________________________________________________________
Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com