[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Building issues of python (error: -Wl, -rpath-link=../../tools/libs/toollog: No such file or directory) with gcc4.4
Hey, I am not sure exactly what is wrong here and I can only guess that it is GCC version but maybe it is python? Anyhow when I am in tools/python directory I get: FC-64 <konrad@build-external:~/xtt-x86_64/xen/tools/python> make install DESTDIR=/home/konrad/ssd/konrad/xtt-x86_64/bootstrap/xen.git/dist/install /home/konrad/ssd/konrad/xtt-x86_64/bootstrap/xen.git/tools/python/../../tools/cross-install -d -m0755 -p /home/konrad/ssd/konrad/xtt-x86_64/bootstrap/xen.git/dist/install/usr/lib/xen/bin CC="gcc" CFLAGS="-O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -O1 " python setup.py install \ --prefix="/usr" --root="/home/konrad/ssd/konrad/xtt-x86_64/bootstrap/xen.git/dist/install" --force running install running build running build_py running build_ext building 'xc' extension error: -Wl,-rpath-link=../../tools/libs/toollog: No such file or directory make: *** [install] Error 1 The directory exists and there are files: FC-64 <konrad@build-external:~/xtt-x86_64/xen/tools/python> ls ../../tools/libs/toollog/ include libxentoollog.map libxentoollog.so.1 Makefile xtl_core.o xtl_logger_stdio.c xtl_logger_stdio.opic libxentoollog.a libxentoollog.so libxentoollog.so.1.0 xtl_core.c xtl_core.opic xtl_logger_stdio.o The setup.py in 'python' looks OK too: from distutils.core import setup, Extension import os, sys XEN_ROOT = "../.." extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ] PATH_XEN = XEN_ROOT + "/tools/include" PATH_LIBXENTOOLLOG = XEN_ROOT + "/tools/libs/toollog" PATH_LIBXC = XEN_ROOT + "/tools/libxc" PATH_LIBXL = XEN_ROOT + "/tools/libxl" PATH_XENSTORE = XEN_ROOT + "/tools/xenstore" xc = Extension("xc", extra_compile_args = extra_compile_args, include_dirs = [ PATH_XEN, PATH_LIBXENTOOLLOG + "/include", PATH_LIBXC + "/include", "xen/lowlevel/xc" ], library_dirs = [ PATH_LIBXC ], libraries = [ "xenctrl", "xenguest" ], depends = [ PATH_LIBXC + "/libxenctrl.so", PATH_LIBXC + "/libxenguest.so", "-Wl,-rpath-link="+PATH_LIBXENTOOLLOG ], sources = [ "xen/lowlevel/xc/xc.c" ]) [snipped the rest] Not exactly sure if this is python or gcc so here are the details. gcc (GCC) 4.4.4 20100503 (Red Hat 4.4.4-2) Python 2.6.4 GNU ld version 2.20.51.0.2-15.fc13 20091009 Now the weird thing is that this only happens on the second invocation: FC-64 <konrad@build-external:~/xtt-x86_64/xen/tools/python> make clean 1>1 2>2 FC-64 <konrad@build-external:~/xtt-x86_64/xen/tools/python> make install DESTDIR=/tmp/ 1>1 FC-64 <konrad@build-external:~/xtt-x86_64/xen/tools/python> make install DESTDIR=/tmp/ 1>1 error: -Wl,-rpath-link=../../tools/libs/toollog: No such file or directory make: *** [install] Error 1 FC-64 <konrad@build-external:~/xtt-x86_64/xen/tools/python> Thoughts? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |