|
|
| Author |
Message |
< Ejabberd mailing list ~ [Norton AntiSpam] How to compile mysql modules? |
| Guest |
Posted: Tue Feb 27, 2007 1:30 am |
|
|
|
Guest
|
Tilman Bender wrote:
>Am Dienstag, 27. Februar 2007 00:55 schrieb Dmitri:
>
>
>> How do I build these .beam files from the .erl files?
>>
>>
>
>It's somewhat similar to using gcc for example:
>just:
>erlc <modulename>.erl
>that will give you a modulename.beam
>
>hth
>er4z0r
>
>
thank you.
I'll try that.
But why is there also a Makefile.in file in that folder together with
the 4 .erl files?
Usually Makefile.in is for gcc
does this mean I can just run 'make'?
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Feb 27, 2007 10:52 am |
|
|
|
Guest
|
To be honest:
I do not know why there is a Makefile.in, but I am sure others will know.
I think I tried make but it told me there were no targets (propably because
its a Makefile.in and not a complete Makefile) so I just built the modules
one by one.
A hint in the documentation might indeed be helpful here
As it comes to documentation: Is there some sort of Developer-Documentation?
I would really like to productively participate in this project, so some kind
of "how-thing-work" document apart from the code would be very useful,
especially for people just starting on Erlang
greets
er4z0r
Am Dienstag, 27. Februar 2007 02:30 schrieb Dmitri:
> But why is there also a Makefile.in file in that folder together with
> the 4 .erl files?
> Usually Makefile.in is for gcc
> does this mean I can just run 'make'?
--
Tilman Bender |
|
|
| Back to top |
|
| Guest |
Posted: Tue Feb 27, 2007 11:03 am |
|
|
|
Guest
|
Tilman Bender wrote:
> To be honest:
>
> I do not know why there is a Makefile.in, but I am sure others will know.
> I think I tried make but it told me there were no targets (propably because
> its a Makefile.in and not a complete Makefile) so I just built the modules
> one by one.
Are you sure there is no configure script? configure.in? Any other .in
files? What happens is that the .in file is used by the autoconf set of
of tools to produce the required files. So Makefile.in will be used to
generate Makefile, this usually happens when you run ./configure, which
is why I find it really peculiar that there is no configure script.
> A hint in the documentation might indeed be helpful here
Actually, it's probably assumed that you know the above, but I suspect
somebody forgot to include the configure script, or as you say, a hint
in the docs .
Jaco
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|