Unable to configure and make scalaris on RHEM

20 views
Skip to first unread message

Kunal Balani

unread,
Dec 3, 2011, 7:23:59 PM12/3/11
to scalaris
Hello everyone,
I want to install scalaris on an RHEM machine but I am unable to
install it .
when I execute ./configure it shows me the following error :

checking for xdg-open... /usr/bin/xdg-open
checking for erlc... /usr/bin/erlc
checking for erl... /usr/bin/erl
checking for Erlang/OTP root directory... /usr/lib64/erlang
checking for Erlang/OTP library base directory... /usr/lib64/erlang/
lib
checking for Erlang/OTP ERTS version... 5.8.4
checking for epmd... /usr/bin/epmd
checking for Erlang/OTP 'toke' library subdirectory... not found
checking for Erlang/OTP 'toke' library version... not found
configure: toke erlang library not found, disabling toke support...
checking for Erlang/OTP 'tools' library subdirectory... /usr/lib64/
erlang/lib/tools-2.6.6.4
checking for Erlang/OTP 'tools' library version... 2.6.6.4
checking for Erlang/OTP 'common_test' library subdirectory... not
found
checking for Erlang/OTP 'common_test' library version... not found
configure: erlang-common_test not found - you won't be able to run the
unit tests without common_test
checking for Erlang/OTP 'edoc' library subdirectory... not found
checking for Erlang/OTP 'edoc' library version... not found
configure: erlang-edoc not found - you won't be able to create the
documentation or run 'make install'
checking for not found/priv/bin/run_test... no
checking for /usr/lib64/erlang/bin/run_test... yes
configure: gb_tree() is a built-in type
configure: term() is a built-in type
configure: node() is a built-in type
configure: module() is a built-in type
configure: boolean() is a built-in type
configure: tid() is not built-in
configure: recursive types are supported
configure: type forward declarations are supported
configure: export_type is supported
configure: crypto:start() is available
configure: arity() is available
configure: httpc is available
checking for /usr/share/java-utils/java-functions... yes
checking for build-classpath... /usr/bin/build-classpath
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-
packages
checking for python extension module directory... ${exec_prefix}/lib64/
python2.6/site-packages
detected OS is: 'LINUX'
configure: creating ./config.status
config.status: creating Emakefile
config.status: creating Makefile
config.status: creating bin/scalarisctl
config.status: creating java-api/scalaris
config.status: creating java-api/scalaris-java.conf

and after this when I execute the make command I get an error:

Recompile: contrib/yaws/src/yaws_dav
contrib/yaws/src/yaws_dav.erl:16: can't find include lib "xmerl/
include/xmerl.hrl"
contrib/yaws/src/yaws_dav.erl:343: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:374: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:375: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:381: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:382: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:393: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:395: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:397: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:399: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:401: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:403: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:405: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:407: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:409: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:411: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:413: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:415: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:417: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:419: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:421: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:423: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:425: record xmlElement undefined
contrib/yaws/src/yaws_dav.erl:427: record xmlElement undefined
make: *** [compile] Error 1

Erlang version is
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-
threads:0] [kernel-poll:false]


I have the compatible version of erlang but still i shows that there
is some issue with the erlang ...
Any suggestions or comments is highly appreciated.

Thank You.

-Best

Nico Kruber

unread,
Dec 5, 2011, 4:27:04 AM12/5/11
to scal...@googlegroups.com
Looks like yaws (the embedded web server we use) needs erlang-xmerl.
Please install this package. EPEL has erlang libraries for RHEL; we also
publish them in our repositories at
http://download.opensuse.org/repositories/home:/scalaris/

This is where you can also find packages for the latest stable version and a
recent svn trunk snapshot.


Regards,
Nico

signature.asc

Nico Kruber

unread,
Dec 5, 2011, 4:55:29 AM12/5/11
to scal...@googlegroups.com
a complete list of required erlang sub-packages on RHEL:

erlang-erts, erlang-kernel, erlang-stdlib, erlang-compiler, erlang-crypto,
erlang-tools, erlang-inets, erlang-ssl, erlang-xmerl

if you want to create the docs, erlang-edoc is also required
if you want to run the unit tests, erlang-common_test is also required

Nico

signature.asc
Reply all
Reply to author
Forward
0 new messages