Re: One question about src/Makefile.am
> On Mar 13, 2017, at 9:20 AM, Yu Wei wrote: > > Hi guys, > > > In src/Makefile.am, there is two lines as below, > > MESOS_CPPFLAGS += -I$(top_srcdir)/include > MESOS_CPPFLAGS += -I../include This one refers to the directory you are building in, which might not be the same as $(top_srcdir). > > > In current code structure, it seems they references the same directory. > > > Is this redundant code? Or any story about this? > > > Thanks, > > Jared, (韦煜) > Software developer > Interested in open source software, big data, Linux
cannot find mesos.native python lib (mesos 1.1.0
Hi, I installed Mesos 1.1.0 via deb repo, but when executing python "import mesos.native", I have a no module named native. I tried to compile from source install egg files directly, but I still have the issue. I can however see the module in python path: root:~/mesos-1.1.0/build/src/python/dist# find /usr/lib/python2.7 | grep native /usr/lib/python2.7/dist-packages/pygments/styles/native.py /usr/lib/python2.7/dist-packages/pygments/styles/native.pyc /usr/lib/python2.7/site-packages/mesos.native-1.1.0-py2.7-nspkg.pth /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/namespace_packages.txt /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/RECORD /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/DESCRIPTION.rst /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/top_level.txt /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/metadata.json /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/WHEEL /usr/lib/python2.7/site-packages/mesos.native-1.1.0.dist-info/METADATA /usr/lib/python2.7/site-packages/mesos/native /usr/lib/python2.7/site-packages/mesos/native/__init__.pyc /usr/lib/python2.7/site-packages/mesos/native/__init__.py If I try to uninstall package (pip uninstall mesos.native), I have error: "Not uninstalling mesos.native at /usr/lib/python2.7/site-packages, owned by OS" so it is seen by the system, but not by python... :-( my PYTHONPATH is /usr/lib/python2.7/site-packages/ any idea on how to fix this ? Thanks Olivier -- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
One question about src/Makefile.am
Hi guys, In src/Makefile.am, there is two lines as below, MESOS_CPPFLAGS += -I$(top_srcdir)/include MESOS_CPPFLAGS += -I../include In current code structure, it seems they references the same directory. Is this redundant code? Or any story about this? Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux