You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2014/05/21 22:43:12 UTC

[Marvin] Having trouble installing Marvin

Hi,

I built Marvin today using the following command (on the 4.4 branch):

mvn -P developer -pl :cloud-marvin

I then ran the following:

sudo pip install tools/marvin/dist/Marvin-0.1.0.tar.gz

Unfortunately it completed with an error (below).

Does anyone know what might be wrong on my system here (Mac OS X 10.9.3)?:

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe
-fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE
-DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall
-Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99
-O3 -fomit-frame-pointer -Isrc/
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c src/MD2.c -o build/temp.macosx-10.9-intel-2.7/src/MD2.o

clang: error: unknown argument: '-mno-fused-madd'
[-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future

error: command 'cc' failed with exit status 1

----------------------------------------
Cleaning up...
  Removing temporary dir /private/tmp/pip_build_root...
Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/private/tmp/pip_build_root/pycrypto/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-jLn1ua-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/private/tmp/pip_build_root/pycrypto
Exception information:
Traceback (most recent call last):
  File
"/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py",
line 122, in main
    status = self.run(options, args)
  File
"/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py",
line 283, in run
    requirement_set.install(install_options, global_options,
root=options.root_path)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py",
line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py",
line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install,
show_stdout=False)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py",
line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/private/tmp/pip_build_root/pycrypto/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-jLn1ua-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/private/tmp/pip_build_root/pycrypto

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: [Marvin] Having trouble installing Marvin

Posted by Mike Tutkowski <mi...@solidfire.com>.
Looks like I sent this e-mail out a bit too soon. I found a solution:

sudo su - export CFLAGS=-Qunused-arguments export
CPPFLAGS=-Qunused-arguments pip install ansible exit

Then run:

sudo pip install tools/marvin/dist/Marvin-0.1.0.tar.gz


On Wed, May 21, 2014 at 2:43 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Hi,
>
> I built Marvin today using the following command (on the 4.4 branch):
>
> mvn -P developer -pl :cloud-marvin
>
> I then ran the following:
>
> sudo pip install tools/marvin/dist/Marvin-0.1.0.tar.gz
>
> Unfortunately it completed with an error (below).
>
> Does anyone know what might be wrong on my system here (Mac OS X 10.9.3)?:
>
> cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe
> -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE
> -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall
> -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99
> -O3 -fomit-frame-pointer -Isrc/
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c src/MD2.c -o build/temp.macosx-10.9-intel-2.7/src/MD2.o
>
> clang: error: unknown argument: '-mno-fused-madd'
> [-Wunused-command-line-argument-hard-error-in-future]
>
> clang: note: this will be a hard error (cannot be downgraded to a warning)
> in the future
>
> error: command 'cc' failed with exit status 1
>
> ----------------------------------------
> Cleaning up...
>   Removing temporary dir /private/tmp/pip_build_root...
> Command /usr/bin/python -c "import setuptools,
> tokenize;__file__='/private/tmp/pip_build_root/pycrypto/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-jLn1ua-record/install-record.txt
> --single-version-externally-managed --compile failed with error code 1 in
> /private/tmp/pip_build_root/pycrypto
> Exception information:
> Traceback (most recent call last):
>   File
> "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py",
> line 122, in main
>     status = self.run(options, args)
>   File
> "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py",
> line 283, in run
>     requirement_set.install(install_options, global_options,
> root=options.root_path)
>   File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py",
> line 1435, in install
>     requirement.install(install_options, global_options, *args, **kwargs)
>   File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py",
> line 706, in install
>     cwd=self.source_dir, filter_stdout=self._filter_install,
> show_stdout=False)
>   File
> "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py", line
> 697, in call_subprocess
>     % (command_desc, proc.returncode, cwd))
> InstallationError: Command /usr/bin/python -c "import setuptools,
> tokenize;__file__='/private/tmp/pip_build_root/pycrypto/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-jLn1ua-record/install-record.txt
> --single-version-externally-managed --compile failed with error code 1 in
> /private/tmp/pip_build_root/pycrypto
>
> Thanks!
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*