[erlang-questions] Oddity from erlc (R12B-1), can't read a .rel file.

Michael T. Richter ttmrichter@REDACTED
Sat Mar 22 12:27:04 CET 2008


OK, I think I'm overlooking something really obvious here, but I can't
spot it.


        michael@REDACTED:~/Development/Erlang/eproxy$ make
        erlc -o ./ebin -pa ./ebin ./src/eproxy.rel
        Cannot read
        "/home/michael/Development/Erlang/eproxy/src/eproxy.rel"
        make: *** [ebin/eproxy.boot] Error 1
        
        michael@REDACTED:~/Development/Erlang/eproxy$ cd src
        michael@REDACTED:~/Development/Erlang/eproxy/src$ pwd
        /home/michael/Development/Erlang/eproxy/src
        
        michael@REDACTED:~/Development/Erlang/eproxy/src$ cat eproxy.rel
        %%%
        -------------------------------------------------------------------
        %%% Author      : Michael T. Richter
        %%% Copyright   : (c)2008 Michael T. Richter
        %%% Created     : 2008-03-22
        %%%
        -------------------------------------------------------------------
        {release,
            {"eproxy", "0.1"},
            {erts, "5.6.1"},
            [
                {kernel, "2.12.1"},
                {stdlib, "1.15.1"},
                {sasl, "2.1.5.2"},
                {eproxy, "0.1"}
            ]
        }
        
        michael@REDACTED:~/Development/Erlang/eproxy/src$ ls -l eproxy.rel
        -rw-r--r-- 1 michael michael 493 2008-03-22 19:14 eproxy.rel


So, the file is there, erlc is looking in the right directory for it,
the permissions aren't anything wonky -- so why can't it read the file?
I can't see anything wrong here.

-- 
Michael T. Richter <ttmrichter@REDACTED> (GoogleTalk:
ttmrichter@REDACTED)
There are two ways of constructing a software design. One way is to make
it so simple that there are obviously no deficiencies. And the other way
is to make it so complicated that there are no obvious deficiencies.
(Charles Hoare)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080322/fc2db122/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080322/fc2db122/attachment.bin>


More information about the erlang-questions mailing list