Sxin, Your issue is a known one when building from source on a system with no access to Github. I documented the issue and fix on our Wiki here http://wiki.basho.com/Installing-Riak-from-Source.html#Installation-on-Closed-Networks
The simple summary is that you will need to distribute one other file along with the Riak source tarball to any machine you are building on that cannot access Github via HTTP. Let me know if you have any other questions, Jared On Sun, Sep 16, 2012 at 9:59 PM, sxin <hs_s...@yeah.net> wrote: > used ./rebar compile > the error : > > ---------------------------------------------------------------------- > Libraries have been installed in: > /opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/lib > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,-rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > test -z "/opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/share/doc/snappy" || > /bin/mkdir -p > "/opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/share/doc/snappy" > /usr/bin/install -c -m 644 ChangeLog COPYING INSTALL NEWS README > format_description.txt > '/opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/share/doc/snappy' > test -z "/opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/include" || > /bin/mkdir -p "/opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/include" > /usr/bin/install -c -m 644 snappy.h snappy-sinksource.h > snappy-stubs-public.h snappy-c.h > '/opt/riak-1.2.0rc6/deps/eleveldb/c_src/system/include' > make[1]: Leaving directory > `/opt/riak-1.2.0rc6/deps/eleveldb/c_src/snappy-1.0.4' > fatal: unable to connect to github.com: > github.com: Temporary failure in name resolution > > Cloning into 'leveldb'... > ERROR: Command [compile] failed! > > > > -- > View this message in context: > http://riak-users.197444.n3.nabble.com/Error-Cloning-into-leveldb-ERROR-Command-get-deps-failed-make-deps-Error-1-tp4025277p4025281.html > Sent from the Riak Users mailing list archive at Nabble.com. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com