{error,enoent} occurs while staring the Erlang/OTP test_server by ts:install()

Eric Liang eric.l.2046@REDACTED
Sat Feb 6 04:02:05 CET 2010


Hi all,
I'm trying the Erlang/OTP test_server, but always get the error:

    Eshell V5.7.2  (abort with ^G)
    1> ts:install().
    Running configure for cross architecture, network target name
    {unix,linux}
    {error,enoent}
    2>

After debug the ts_install.erl, it looks like the ts requires file:
conf_vars, while there is only one file:conf_vars.in in the test_server
directory. Would you mind having a look at this and help me out? Thanks
in advance.

The detailed steps are following:

    1 download Erlang/OTP (R13B03 now) from here
    <http://www.erlang.org/download.html>, and unpack it get dir:
    otp_src_R13B03

    2 download test_server-3.1.1.tar.gz,
    emulator-tests-2004-05-26.tar.gz and stdlib-tests-2004-05-26.tar.gz
    from here <http://www.erlang.org/project/test_server/>, and unpack
    to dir: otp_src_R13B03

    3 cd otp_src_R13B03 and export ERL_TOP=`pwd`

    4 ./configure and make

    5 mkdir /home/sunny/codes_in_git/erlang_test for test codes.(TESTROOT)

    6.1 cd lib/test_server/ ( orignally from test_server-3.1.1.tar.gz )
    and make release_tests TESTROOT=/home/sunny/codes_in_git/erlang_test/

    6.2 cd lib/stdlib/test/ ( orignally from
    stdlib-tests-2004-05-26.tar.gz ) and make release_tests
    TESTROOT=/home/sunny/codes_in_git/erlang_test/

    6.3 cd erts/emulator/test/ ( orignally from
    emulator-tests-2004-05-26.tar.gz ) and make release_tests
    TESTROOT=/home/sunny/codes_in_git/erlang_test/

Though I can't install ts, but when I run: ts:tests(), the returns looks
right:

    7> ts:tests().
    [emulator,stdlib]

Please let me know if you need anything more.

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100206/43ca838d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100206/43ca838d/attachment.bin>


More information about the erlang-questions mailing list