Hi,

Here's my config.log

https://gist.github.com/hajagecko/9499418

so i re-configured, rebuild using gcc-4.8/g++-4.8 as so

$mkdir build

$cd build

$CC=gcc-4.8 CXX=g++-4.8 ../configure

...

$make

...

gcc-4.8 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common
-fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX
-DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv
-Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64
-I/Users/hlieu/java/mesos-0.17.0/build/../include
-I/Users/hlieu/java/mesos-0.17.0/build/include
-I/Users/hlieu/java/mesos-0.17.0/build/src
-I/Users/hlieu/java/mesos-0.17.0/build/src/python/native
-I/Users/hlieu/java/mesos-0.17.0/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c native/mesos_executor_driver_impl.cpp -o
build/temp.macosx-10.9-intel-2.7/native/mesos_executor_driver_impl.o

gcc-4.8: warning: '-mfused-madd' is deprecated; use '-ffp-contract=' instead

gcc-4.8: error: unrecognized command line option '-Wshorten-64-to-32'

error: command 'gcc-4.8' failed with exit status 1

make[2]: *** [python/dist/mesos-0.17.0-py2.7-macosx-10.9-intel.egg] Error 1

make[1]: *** [all] Error 2

make: *** [all-recursive] Error 1



As Till said -Wshorten-64-to-32 is being added by my python version.

 build 501 > python-config --cflags

-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common
-fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX
-DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv
-Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64

I did previous try clang, and that also ended in error.
Most likely due to my python, so i'll try using clang with the proper
python.



On Sat, Mar 8, 2014 at 6:23 PM, haja gecko <[email protected]> wrote:

> Hi,
>
> i'm having trouble building on OS X Mavericks, Xcode 5.0.2.
> Also attached my config.log
>
> Looks like some python egg missing? Not sure. Never used python before.
> Any help would be appreciated.
>
> Using gcc-4.8/gxx-4.8
>
> I downloaded the tar.gz.
> Here's the command's i used.
>
> $CC=gcc-4.8 CXX=g++-4.8 ../configure
>
> $...
>
> $make
>
> ...
>
> gcc-4.8 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common
> -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX
> -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv
> -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64
> -I/Users/hlieu/java/mesos-0.17.0/build/../include
> -I/Users/hlieu/java/mesos-0.17.0/build/include
> -I/Users/hlieu/java/mesos-0.17.0/build/src
> -I/Users/hlieu/java/mesos-0.17.0/build/src/python/native
> -I/Users/hlieu/java/mesos-0.17.0/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c native/mesos_executor_driver_impl.cpp -o
> build/temp.macosx-10.9-intel-2.7/native/mesos_executor_driver_impl.o
>
> gcc-4.8: warning: '-mfused-madd' is deprecated; use '-ffp-contract='
> instead
>
> gcc-4.8: error: unrecognized command line option '-Wshorten-64-to-32'
>
> error: command 'gcc-4.8' failed with exit status 1
>
> make[2]: *** [python/dist/mesos-0.17.0-py2.7-macosx-10.9-intel.egg] Error 1
>
> make[1]: *** [all] Error 2
>
> make: *** [all-recursive] Error 1
>

Reply via email to