Unable to build graphlab clusturing toolkit

54 views
Skip to first unread message

Bhaskar Ghosh

unread,
Nov 18, 2013, 1:11:47 PM11/18/13
to graph...@googlegroups.com
Hello Graphlab-ers,

I am unable to get the build working for the clustering release toolkit of graphlab.
I have followed http://graphlab.org/downloads/ and http://bickson.blogspot.in/2011/10/installing-graphlabboost-libboost-on.html

All dependencies are resolved. Still the error while running make says that the c and c++ compilers can not create executables. Please help me here. I am attaching all the relevant logs.

uname -a
Linux ubuntu 3.2.0-24-generic #38-Ubuntu SMP Tue May 1 16:18:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04 LTS
Release:        12.04
Codename:       precise

g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-
wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-2ubuntu1~12.04' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04)

clang++ -v
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

--
Regards
Bhaskar Ghosh
Hyderabad, India
config.log
configure.deps

Danny Bickson

unread,
Nov 18, 2013, 1:14:31 PM11/18/13
to graph...@googlegroups.com
Hi Bhaskar!
It seems you are looking at a way old tutorial - I will fix it ASAP.
Please see the latest instructions on http://graphlab.org/download

We switched to github so the latest repository is in github.

Best, 

Danny Bickson
Co-Founder
GraphLab Inc.


--
You received this message because you are subscribed to the Google Groups "GraphLab API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graphlabapi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Danny Bickson

unread,
Nov 18, 2013, 1:15:25 PM11/18/13
to graph...@googlegroups.com
Please also send us the full output of configure and the full compilation command line and the error you are getting.

Best, 

Danny Bickson
Co-Founder
GraphLab Inc.


Bhaskar Ghosh

unread,
Nov 18, 2013, 1:23:55 PM11/18/13
to graph...@googlegroups.com, danny....@gmail.com
Danny/All,

I have used the latest instructions from itself.

Please find the console outputs of the configure and make commands attached.
Thanks.

--
Regards
Bhaskar Ghosh


--
You received this message because you are subscribed to a topic in the Google Groups "GraphLab API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/graphlabapi/tW_NfAzb39g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to graphlabapi...@googlegroups.com.
make-clustering.log
configure.log

Bhaskar Ghosh

unread,
Nov 18, 2013, 11:16:51 PM11/18/13
to graph...@googlegroups.com, danny....@gmail.com
Hello Folks,

Please suggest what I should do to get the build.

I tried gcc and g++ with sample c and cpp programs. They were able to combile and build executables a.out.
I don't know what is going wrong when when I run make inside graphlab/release/toolkits/clustering/

--
Bhaskar



On Monday, November 18, 2013 11:53:55 PM UTC+5:30, Bhaskar Ghosh wrote:
Danny/All,

I have used the latest instructions from itself.

Please find the console outputs of the configure and make commands attached.
Thanks.

--
Regards
Bhaskar Ghosh


Danny Bickson

unread,
Nov 19, 2013, 12:30:59 AM11/19/13
to Bhaskar Ghosh, graph...@googlegroups.com
Hi Bhaskar, 
It seems that GraphLab does not have the required permissions to write into the folder where libevent should be installed.
Can you try running the command:
#> chmod a+rwx -R /root/Bhaskar/graphlib/graphlab/deps/event/src/
And then retry to compile?

Let us know if this works for you.

Danny Bickson
Co-Founder
GraphLab Inc.


Bhaskar Ghosh

unread,
Nov 19, 2013, 12:51:47 AM11/19/13
to Danny Bickson, Graphlab API
Hi Danny / All,

Gave write permissions to all files/folders inside graphlib, and re-ran make, but still the errors. The logs are attached. Please advise.

--
Regards
Bhaskar
make-clustering.log
config.log
configure.log
configure.deps

Yucheng Low

unread,
Nov 19, 2013, 12:57:51 AM11/19/13
to graph...@googlegroups.com, Danny Bickson
The critical error seems to be following:

configure: error: C++ compiler cannot create executables

Make sure that your gcc / g++ are all working correctly. (You are not aliasing them with other stuff). If you have environment variables such as CXXFLAGS, CFLAGS, CPPFLAGS, LDFLAGS that will interfere will the build process. Also I notice that you are running as root in the root directory. Why is that the case?

Look in deps/event/src/libevent-build/config.log for details as to why libevent's (and tcmalloc, and zookeeper) think that the compiler is not working.

Yucheng

<make-clustering.log><config.log><configure.log><configure.deps>

Reply all
Reply to author
Forward
0 new messages