View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Thu May 11, 2017 1:47 am Post subject: Could not find python development headers [SOLVED] |
|
|
Code: |
Checking for python version : 2.7.12
Checking for library python2.7 : not found
Checking for library python2.7 : not found
Checking for library python2.7 : not found
Checking for library python27 : not found
Checking for program python2.7-config : /usr/bin/python2.7-config
Checking for header Python.h : Could not find the python development headers
|
find /usr/include/ -name Python.h results in:
Code: |
/usr/include/python3.4m/Python.h
/usr/include/python2.7/Python.h
|
I'm at a loss...
(Note to self: this is for ladish/Cadence.)
Last edited by audiodef on Sun Jun 25, 2017 11:38 pm; edited 3 times in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Thu May 11, 2017 3:14 am Post subject: |
|
|
The configure script should have written a log describing how it tested for the header. Find and read that log to see what it did, then you will know why it failed. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Thu May 11, 2017 8:16 pm Post subject: |
|
|
I guess it does, but I am not sure what to do about it:
Code: |
# project ladish (2-dev) configured on Thu May 11 15:09:24 2017 by
# waf 1.6.1 (abi 98, python 2070cf0 on linux2)
# using /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/waf --prefix=/usr --enable-liblash --enable-pylash configure
#
----------------------------------------
Setting top to
/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86
----------------------------------------
Setting out to
/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build
----------------------------------------
Checking for 'gcc' (c compiler)
find program=['gcc', 'cc'] paths='' var='CC' -> 'x86_64-pc-linux-gnu-gcc -m32'
find program=['ar'] paths='' var='AR' -> 'ar'
ok
----------------------------------------
Checking for 'g++' (c++ compiler)
find program=['g++', 'c++'] paths='' var='CXX' -> 'x86_64-pc-linux-gnu-g++ -m32'
(tool ar is already loaded, skipping)
ok
----------------------------------------
Checking for program python
/usr/bin/python2.7
find program=['python'] paths='' var='PYTHON' -> '/usr/bin/python2.7'
----------------------------------------
Checking for program msgfmt
/usr/bin/msgfmt
find program=['msgfmt'] paths=['/var/tmp/portage/media-sound/ladish-9999/temp/python2.7/bin', '/usr/lib/portage/python3.4/ebuild-helpers/xattr', '/usr/lib/portage/python3.4/ebuild-helpers', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/opt/bin', '/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0'] var='MSGFMT' -> '/usr/bin/msgfmt'
----------------------------------------
Checking for program perl
/usr/bin/perl
find program=['perl'] paths=['/var/tmp/portage/media-sound/ladish-9999/temp/python2.7/bin', '/usr/lib/portage/python3.4/ebuild-helpers/xattr', '/usr/lib/portage/python3.4/ebuild-helpers', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/opt/bin', '/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0'] var='PERL' -> '/usr/bin/perl'
----------------------------------------
Checking for 'intltool-merge'
/usr/bin/intltool-merge
----------------------------------------
Checking for header locale.h
==>
#include <locale.h>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_778a297b4fd200482fe8beeebd4ae101/test.cpp -> build/.conf_check_778a297b4fd200482fe8beeebd4ae101/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_778a297b4fd200482fe8beeebd4ae101/testbuild/test.cpp.0.o -> build/.conf_check_778a297b4fd200482fe8beeebd4ae101/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_778a297b4fd200482fe8beeebd4ae101/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed']
yes
----------------------------------------
Checking for libdl
==>
int main() {
return 0;
}
<==
[1/2] c: build/.conf_check_d7efcfed6a00b0abfaeafcb770beb3fc/test.c -> build/.conf_check_d7efcfed6a00b0abfaeafcb770beb3fc/testbuild/test.c.0.o
['x86_64-pc-linux-gnu-gcc', '-m32', '-march=native', '-O2', '-pipe', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '../test.c', '-c', '-o', 'test.c.0.o']
[2/2] cprogram: build/.conf_check_d7efcfed6a00b0abfaeafcb770beb3fc/testbuild/test.c.0.o -> build/.conf_check_d7efcfed6a00b0abfaeafcb770beb3fc/testbuild/testprog
['x86_64-pc-linux-gnu-gcc', '-m32', 'test.c.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_d7efcfed6a00b0abfaeafcb770beb3fc/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed']
yes
----------------------------------------
Checking for libutil
==>
int main() {
return 0;
}
<==
[1/2] c: build/.conf_check_0feea49a94932bec2e0af151043c4f70/test.c -> build/.conf_check_0feea49a94932bec2e0af151043c4f70/testbuild/test.c.0.o
['x86_64-pc-linux-gnu-gcc', '-m32', '-march=native', '-O2', '-pipe', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '../test.c', '-c', '-o', 'test.c.0.o']
[2/2] cprogram: build/.conf_check_0feea49a94932bec2e0af151043c4f70/testbuild/test.c.0.o -> build/.conf_check_0feea49a94932bec2e0af151043c4f70/testbuild/testprog
['x86_64-pc-linux-gnu-gcc', '-m32', 'test.c.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_0feea49a94932bec2e0af151043c4f70/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lutil', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed']
yes
----------------------------------------
Checking for program pkg-config
/usr/bin/pkg-config
find program=['pkg-config'] paths=['/var/tmp/portage/media-sound/ladish-9999/temp/python2.7/bin', '/usr/lib/portage/python3.4/ebuild-helpers/xattr', '/usr/lib/portage/python3.4/ebuild-helpers', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/opt/bin', '/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0'] var='PKGCONFIG' -> '/usr/bin/pkg-config'
----------------------------------------
Checking for 'jack'
['/usr/bin/pkg-config', 'jack', '--cflags', '--libs']
out: -L/usr/lib32 -ljack
yes
----------------------------------------
Checking for 'alsa'
['/usr/bin/pkg-config', 'alsa', '--cflags']
out: -I/usr/include/alsa
yes
----------------------------------------
Checking for 'dbus-1' >= 1.0.0
['/usr/bin/pkg-config', '--atleast-version=1.0.0', 'dbus-1']
['/usr/bin/pkg-config', 'dbus-1', '--cflags', '--libs']
out: -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -L/usr/lib32 -ldbus-1
yes
----------------------------------------
Retrieving D-Bus services dir
['/usr/bin/pkg-config', 'dbus-1', '--variable=session_bus_services_dir']
out: /usr/share/dbus-1/services
yes
----------------------------------------
Checking for 'uuid'
['/usr/bin/pkg-config', 'uuid', '--cflags', '--libs']
out: -I/usr/include/uuid -L/usr/lib32 -luuid
yes
----------------------------------------
Checking for header expat.h
==>
#include <expat.h>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_37a11c41a882980ac9552079aa6b23b6/test.cpp -> build/.conf_check_37a11c41a882980ac9552079aa6b23b6/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '-DHAVE_DBUS_1=1', '-DHAVE_UUID=1', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_37a11c41a882980ac9552079aa6b23b6/testbuild/test.cpp.0.o -> build/.conf_check_37a11c41a882980ac9552079aa6b23b6/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_37a11c41a882980ac9552079aa6b23b6/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed']
yes
----------------------------------------
Checking for 'glib-2.0'
['/usr/bin/pkg-config', 'glib-2.0', '--cflags', '--libs']
out: -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -L/usr/lib32 -lglib-2.0
yes
----------------------------------------
Checking for 'dbus-glib-1'
['/usr/bin/pkg-config', 'dbus-glib-1', '--cflags', '--libs']
out: -I/usr/include/dbus-1.0 -I/usr/lib32/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -L/usr/lib32 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
yes
----------------------------------------
Checking for 'gtk+-2.0' >= 2.20.0
['/usr/bin/pkg-config', '--atleast-version=2.20.0', 'gtk+-2.0']
['/usr/bin/pkg-config', 'gtk+-2.0', '--cflags', '--libs']
out: -I/usr/include/gtk-2.0 -I/usr/lib32/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -L/usr/lib32 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
yes
----------------------------------------
Checking for 'gtkmm-2.4' >= 2.10.0
['/usr/bin/pkg-config', '--atleast-version=2.10.0', 'gtkmm-2.4']
['/usr/bin/pkg-config', 'gtkmm-2.4', '--cflags', '--libs']
out: -I/usr/include/gtkmm-2.4 -I/usr/lib32/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib32/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib32/sigc++-2.0/include -I/usr/include/giomm-2.4 -I/usr/lib32/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib32/pangomm-1.4/include -I/usr/include/cairomm-1.0 -I/usr/lib32/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gtk-2.0 -I/usr/lib32/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib32/gdkmm-2.4/include -pthread -L/usr/lib32 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
yes
--------------------------------------------
Checking for 'libgnomecanvasmm-2.6' >= 2.6.0
['/usr/bin/pkg-config', '--atleast-version=2.6.0', 'libgnomecanvasmm-2.6']
not installed, see http://www.gtkmm.org
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: The configuration failed
['/usr/bin/python2.7', '-c', 'import sys\nfor x in sys.version_info: print(str(x))']
out: 2
7
12
final
0
['/usr/bin/python2.7', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr')))"]
out: '/usr/lib64/python2.7/site-packages'
--------------------------------------------
Checking for python version
2.7.12
['/usr/bin/python2.7', '-c', "from distutils.sysconfig import get_config_var\n\nprint(repr(get_config_var('prefix')))\nprint(repr(get_config_var('SO')))\nprint(repr(get_config_var('LDFLAGS')))\nprint(repr(get_config_var('LIBDIR')))\nprint(repr(get_config_var('LIBPL')))\nprint(repr(get_config_var('INCLUDEPY')))\nprint(repr(get_config_var('Py_ENABLE_SHARED')))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET')))\nprint(repr(get_config_var('LDSHARED')))\nprint(repr(get_config_var('CFLAGS')))"]
out: '/usr'
'.so'
'-Wl,-O1 -Wl,--as-needed -L.'
'/usr/lib64'
'/usr/lib64/python2.7/config'
'/usr/include/python2.7'
1
''
'x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L.'
'-fno-strict-aliasing -O2 -pipe -fwrapv -DNDEBUG'
Configuration returned from '/usr/bin/python2.7':
"prefix = '/usr'\nSO = '.so'\nLDFLAGS = '-Wl,-O1 -Wl,--as-needed -L.'\nLIBDIR = '/usr/lib64'\nLIBPL = '/usr/lib64/python2.7/config'\nINCLUDEPY = '/usr/include/python2.7'\nPy_ENABLE_SHARED = 1\nMACOSX_DEPLOYMENT_TARGET = ''\nLDSHARED = 'x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L.'\nCFLAGS = '-fno-strict-aliasing -O2 -pipe -fwrapv -DNDEBUG'"
# Trying default LIBPATH_PYEMBED: ['.']
--------------------------------------------
Checking for library python2.7
==>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_0363c46ff9b7ae1910e05c866795dba2/test.cpp -> build/.conf_check_0363c46ff9b7ae1910e05c866795dba2/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '-DHAVE_DBUS_1=1', '-DHAVE_UUID=1', '-DHAVE_EXPAT_H=1', '-DHAVE_GLIB_2_0=1', '-DHAVE_DBUS_GLIB_1=1', '-DHAVE_GTK__2_0=1', '-DHAVE_GTKMM_2_4=1', '-DPYTHONDIR="/usr/lib64/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_0363c46ff9b7ae1910e05c866795dba2/testbuild/test.cpp.0.o -> build/.conf_check_0363c46ff9b7ae1910e05c866795dba2/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_0363c46ff9b7ae1910e05c866795dba2/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L.', '-L.', '-lpython2.7', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
err: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpython2.7
collect2: error: ld returned 1 exit status
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: Test does not build: Traceback (most recent call last):
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Tools/c_config.py", line 423, in run_c_code
bld.compile()
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 139840328497488: cxxprogram test.cpp.0.o -> testprog}
['x86_64-pc-linux-gnu-g++', '-m32', '', 'test.cpp.0.o', '-o', '', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_0363c46ff9b7ae1910e05c866795dba2/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L.', '-L.', '-lpython2.7', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
not found
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: The configuration failed
# try again with -L$python_LIBDIR: ['.']
--------------------------------------------
Checking for library python2.7
==>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_67832f4fa5ad9d10a4c08c0d256893bf/test.cpp -> build/.conf_check_67832f4fa5ad9d10a4c08c0d256893bf/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '-DHAVE_DBUS_1=1', '-DHAVE_UUID=1', '-DHAVE_EXPAT_H=1', '-DHAVE_GLIB_2_0=1', '-DHAVE_DBUS_GLIB_1=1', '-DHAVE_GTK__2_0=1', '-DHAVE_GTKMM_2_4=1', '-DPYTHONDIR="/usr/lib64/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_67832f4fa5ad9d10a4c08c0d256893bf/testbuild/test.cpp.0.o -> build/.conf_check_67832f4fa5ad9d10a4c08c0d256893bf/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_67832f4fa5ad9d10a4c08c0d256893bf/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib64', '-L.', '-lpython2.7', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
err: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: Test does not build: Traceback (most recent call last):
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Tools/c_config.py", line 423, in run_c_code
bld.compile()
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 139840328561680: cxxprogram test.cpp.0.o -> testprog}
['x86_64-pc-linux-gnu-g++', '-m32', '', 'test.cpp.0.o', '-o', '', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_67832f4fa5ad9d10a4c08c0d256893bf/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib64', '-L.', '-lpython2.7', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
not found
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: The configuration failed
# try again with -L$python_LIBPL (some systems don't install the python library in $prefix/lib)
--------------------------------------------
Checking for library python2.7
==>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_539ed35c1b6c65b9a7aa4947f47ea6f5/test.cpp -> build/.conf_check_539ed35c1b6c65b9a7aa4947f47ea6f5/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '-DHAVE_DBUS_1=1', '-DHAVE_UUID=1', '-DHAVE_EXPAT_H=1', '-DHAVE_GLIB_2_0=1', '-DHAVE_DBUS_GLIB_1=1', '-DHAVE_GTK__2_0=1', '-DHAVE_GTKMM_2_4=1', '-DPYTHONDIR="/usr/lib64/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_539ed35c1b6c65b9a7aa4947f47ea6f5/testbuild/test.cpp.0.o -> build/.conf_check_539ed35c1b6c65b9a7aa4947f47ea6f5/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_539ed35c1b6c65b9a7aa4947f47ea6f5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib64/python2.7/config', '-L.', '-lpython2.7', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
err: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpython2.7.so when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpython2.7.a when searching for -lpython2.7
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpython2.7
collect2: error: ld returned 1 exit status
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: Test does not build: Traceback (most recent call last):
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Tools/c_config.py", line 423, in run_c_code
bld.compile()
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 139840328562640: cxxprogram test.cpp.0.o -> testprog}
['x86_64-pc-linux-gnu-g++', '-m32', '', 'test.cpp.0.o', '-o', '', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_539ed35c1b6c65b9a7aa4947f47ea6f5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib64/python2.7/config', '-L.', '-lpython2.7', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
not found
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: The configuration failed
# try again with -L$prefix/libs, and pythonXY name rather than pythonX.Y (win32)
--------------------------------------------
Checking for library python27
==>
int main() {
return 0;
}
<==
[1/2] cxx: build/.conf_check_18337bf5d5ab24e2b0c2d1b60a628abd/test.cpp -> build/.conf_check_18337bf5d5ab24e2b0c2d1b60a628abd/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '-DHAVE_DBUS_1=1', '-DHAVE_UUID=1', '-DHAVE_EXPAT_H=1', '-DHAVE_GLIB_2_0=1', '-DHAVE_DBUS_GLIB_1=1', '-DHAVE_GTK__2_0=1', '-DHAVE_GTKMM_2_4=1', '-DPYTHONDIR="/usr/lib64/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_18337bf5d5ab24e2b0c2d1b60a628abd/testbuild/test.cpp.0.o -> build/.conf_check_18337bf5d5ab24e2b0c2d1b60a628abd/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_18337bf5d5ab24e2b0c2d1b60a628abd/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/libs', '-L.', '-lpython27', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
err: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpython27
collect2: error: ld returned 1 exit status
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: Test does not build: Traceback (most recent call last):
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Tools/c_config.py", line 423, in run_c_code
bld.compile()
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 139840328563600: cxxprogram test.cpp.0.o -> testprog}
['x86_64-pc-linux-gnu-g++', '-m32', '', 'test.cpp.0.o', '-o', '', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_18337bf5d5ab24e2b0c2d1b60a628abd/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/libs', '-L.', '-lpython27', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
not found
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: The configuration failed
### LIB NOT FOUND
--------------------------------------------
Checking for program python2.7-config
/usr/bin/python2.7-config
find program=['python2.7-config'] paths=['/var/tmp/portage/media-sound/ladish-9999/temp/python2.7/bin', '/usr/lib/portage/python3.4/ebuild-helpers/xattr', '/usr/lib/portage/python3.4/ebuild-helpers', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/opt/bin', '/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0'] var='PYTHON_CONFIG' -> '/usr/bin/python2.7-config'
/usr/bin/python2.7 /usr/bin/python2.7-config --includes
out: -I/usr/include/python2.7 -I/usr/include/python2.7
Include path for Python extensions (found via python-config --includes): ['/usr/include/python2.7']
--------------------------------------------
Checking for header Python.h
==>
#ifdef __cplusplus
extern "C" {
#endif
void Py_Initialize(void);
void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main()
{
Py_Initialize();
Py_Finalize();
return 0;
}
<==
[1/2] cxx: build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/test.cpp -> build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/testbuild/test.cpp.0.o
['x86_64-pc-linux-gnu-g++', '-m32', '-march=native', '-O2', '-pipe', '-std=c++11', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fno-strict-aliasing', '-I/usr/include/python2.7', '-DLOCALEDIR="/usr/share/locale"', '-DDATADIR="/usr/share"', '-DHAVE_LOCALE_H=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '-DHAVE_DBUS_1=1', '-DHAVE_UUID=1', '-DHAVE_EXPAT_H=1', '-DHAVE_GLIB_2_0=1', '-DHAVE_DBUS_GLIB_1=1', '-DHAVE_GTK__2_0=1', '-DHAVE_GTKMM_2_4=1', '-DPYTHONDIR="/usr/lib64/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.0.o']
[2/2] cxxprogram: build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/testbuild/test.cpp.0.o -> build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/testbuild/testprog
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L.', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
err: test.cpp.0.o: In function `main':
test.cpp:(.text.startup+0x12): undefined reference to `Py_Initialize'
test.cpp:(.text.startup+0x17): undefined reference to `Py_Finalize'
collect2: error: ld returned 1 exit status
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: Test does not build: Traceback (most recent call last):
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Tools/c_config.py", line 423, in run_c_code
bld.compile()
File "/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/.waf-1.6.1-8c4a7d80f421f94f4cd40631f8c3d736/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task failed (exit status 1):
{task 139840328634448: cxxprogram test.cpp.0.o -> testprog}
['x86_64-pc-linux-gnu-g++', '-m32', '', 'test.cpp.0.o', '-o', '', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L.', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
Could not find the python development headers
from /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86: The configuration failed
|
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Fri May 12, 2017 1:06 am Post subject: |
|
|
audiodef wrote: | I guess it does, but I am not sure what to do about it: | Bug upstream. This test is a mess.
audiodef wrote: | Code: |
--------------------------------------------
Checking for header Python.h
==>
#ifdef __cplusplus
extern "C" {
#endif
void Py_Initialize(void);
void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main()
{
Py_Initialize();
Py_Finalize();
return 0;
}
|
| The message is not consistent with the test. The message says it is checking for Python.h, but the test makes no attempt to include Python.h. Instead, it manually declares prototypes for some well-known Python functions. However:
audiodef wrote: | Code: |
<==
['x86_64-pc-linux-gnu-g++', '-m32', 'test.cpp.0.o', '-o', '/var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86/build/.conf_check_3ae9e67034f1e0095e274407a6bcddf5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L.', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-Wl,-O1', '-Wl,--as-needed']
err: test.cpp.0.o: In function `main':
test.cpp:(.text.startup+0x12): undefined reference to `Py_Initialize'
test.cpp:(.text.startup+0x17): undefined reference to `Py_Finalize'
collect2: error: ld returned 1 exit status
|
| The script tries to link the test program, but makes no attempt to include a Python library that will satisfy the symbols. From what I see here, I see no way this test could ever report success. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Fri May 12, 2017 11:07 pm Post subject: |
|
|
Are you sure your test is accurate? Since this is a -9999 ebuild, I assume it is a live-from-VCS ebuild. If so, then unless you took steps to ensure that all the machines built exactly the same source control commit from upstream, you might be building different commits on different systems.
Assuming you already controlled for that (or that you go back and control for it now, and it does not help), then we need to understand why on the bad system the configure script test is so badly broken. As I detailed previously, there are at least two defects in this test:- It says it checks Python.h, but makes no attempt to do that.
- It depends on Python symbols, but makes no attempt to link the Python library.
The first defect is merely a cosmetic issue that encourages users to investigate the wrong problem. The second issue is fatal. On the good systems, do they run this test? If so, please pastebin their configure logs. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Sun Jun 25, 2017 11:37 pm Post subject: |
|
|
What got me past this was disabling the python use flag for ladish. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Jun 26, 2017 8:13 am Post subject: |
|
|
The problem is that it's an x32 build, but it's getting the details for 64-bit python: Code: | /var/tmp/portage/media-sound/ladish-9999/work/ladish-9999-abi_x86_32.x86
..
['/usr/bin/python2.7', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr')))"]
out: '/usr/lib64/python2.7/site-packages'
--------------------------------------------
Checking for python version
2.7.12
['/usr/bin/python2.7', '-c', "from distutils.sysconfig import get_config_var\n\nprint(repr(get_config_var('prefix')))\nprint(repr(get_config_var('SO')))\nprint(repr(get_config_var('LDFLAGS')))\nprint(repr(get_config_var('LIBDIR')))\nprint(repr(get_config_var('LIBPL')))\nprint(repr(get_config_var('INCLUDEPY')))\nprint(repr(get_config_var('Py_ENABLE_SHARED')))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET')))\nprint(repr(get_config_var('LDSHARED')))\nprint(repr(get_config_var('CFLAGS')))"]
out: '/usr'
'.so'
'-Wl,-O1 -Wl,--as-needed -L.'
'/usr/lib64'
'/usr/lib64/python2.7/config'
'/usr/include/python2.7'
1
''
'x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L.'
'-fno-strict-aliasing -O2 -pipe -fwrapv -DNDEBUG'
Configuration returned from '/usr/bin/python2.7':
"prefix = '/usr'\nSO = '.so'\nLDFLAGS = '-Wl,-O1 -Wl,--as-needed -L.'\nLIBDIR = '/usr/lib64'\nLIBPL = '/usr/lib64/python2.7/config'\nINCLUDEPY = '/usr/include/python2.7'\nPy_ENABLE_SHARED = 1\nMACOSX_DEPLOYMENT_TARGET = ''\nLDSHARED = 'x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L.'\nCFLAGS = '-fno-strict-aliasing -O2 -pipe -fwrapv -DNDEBUG'"
..
err: /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../libpython2.7.so when searching for -lpython2.7 | Do you have python installed for abi_x86_32?
Though it's still a multilib/python bug, for it to be getting 64-bit python there.
I agree with Hu about the later tests, ofc; I imagine they don't get tried much. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Mon Jun 26, 2017 3:08 pm Post subject: |
|
|
Yeah. Ladish has had no movement for years. Ladish.org has had a "not dead" message for years. But it's still required for a few things, including Cadence. I have not noticed any lack of functionality due to using -python, though. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|