Hello Ingmar!

It seems you have some unusual Erlang distribution directory tree:
personally I have never seen the .hrl files put inside some 
subdirectory of the application/src or application/include.
However, I do not see the place in documentation that says
it must be present in inets/src/ - so I will look at it 
closer.

I think the second error (with heart, to_erl and run_erl) is
caused by the different then ours directory tree as well:
the assumption we made is that those missing binary files are 
stored inside the
code:root_dir()/erts-erlang:system_info(version)/bin
directory - probably you have those files somewhere else.
The quickest workaround would be to copy those files by hand
into your project's bin/ directory.

I would be grateful if you send me the information about the
Erlang directory tree used in your system (as well as the
parameters passed to ./configure script during the compiling process)
- it will help us remove the possible bugs and make us more
aware of some non-standard installations.


----- "Magnus Henoch" <mag...@erlang-consulting.com> wrote:

> "Ingmar Olsson" <iop...@ioprog.se> writes:
> 
> > Hi!
> >
> > Thanks for spending time with my problem!
> >
> > I have followed your path hint but when I continued with the
> bin/prepare.erl
> > or bin/compile.erl I got an error of missing the includefile
> > inets/src/httpd.hrl
> > in the Erlang installaton.
> > I found the httpd.hrl in the inets/src/http_server directory! I
> copied
> > httpd.hrl to the
> > inets/src directory and the erroe disappeared.
> > But when I now try to make my own  new Erlang-web directory
> structure and
> > run bin/start.erl in that directory, I am missing heart, to_erl and
> > run_erl!
> > You can see tree error lines in the listing below! What is wrong? 
> I
> > suppose that this error is simple but critical?
> 
> Indeed... I can't see how that script could _not_ find those three
> files.  Hopefully someone else can chime in with a solution...
> 
> Magnus
> 
> 
> > What is the next step?
> > For example, I can't  render the templates/Welcome.html in my
> FireFox on
> > the address http://localhost/8080
> >
> > Hopefully I don't bother you with my questions and can get an
> answer/hints
> > from you
> > pretty soon.
> >
> >
> > Regards
> >
> > Ingmar olsson
> >
> > ......
> > iop...@fujitsu:/usr/local/erlang> cd erlangweb
> > iop...@fujitsu:/usr/local/erlang/erlangweb>
> > /usr/local/erlang/erlangweb-1.2.1.rc1/bin/start.erl
> > Element created: config
> > Element created: docroot
> > Element created: log
> > Element created: pipes
> > Element created: templates
> > Element created: bin
> > Element created: lib
> > Element created: releases
> > Element created: releases/0.1
> > Element created: templates/cache
> > Element created: docroot/conf
> > An error has occured: enoent
> > An error has occured: enoent
> > An error has occured: enoent
> > Element created: bin/start
> > Element created: bin/stop
> > Element created: bin/connect
> > Element created: bin/start_interactive
> > Element created: bin/start_erl
> > Element created: releases/start_erl.data
> > Element created: config/dispatch.conf
> > Element created: config/errors.conf
> > Element created: templates/404.html
> > Element created: templates/501.html
> > Element created: config/project.conf
> > Element created: docroot/autocomplete.css
> > Element created: docroot/indicator.gif
> > Element created: docroot/jquery.autocomplete.js
> > Element created: docroot/jquery.js
> > Element created: templates/welcome.html
> > Element created: releases/0.1/start.rel
> > Element created: releases/0.1/start.script
> > Element created: releases/0.1/start.boot
> > Element created: config/yaws.conf
> > Element created: docroot/conf/mime.types
> > Element created: config/inets.conf
> > Element created: releases/0.1/sys.config
> > Element created: Emakefile
> > Element created: bin/compile.erl
> > Element created: bin/add.erl
> > Element created: bin/e_component.erl
> > iop...@fujitsu:/usr/local/erlang/erlangweb>

Best regards,
-- 
Michal Ptaszek
www.erlang-consulting.com

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/

Reply via email to