Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  Installing libraries.

bhyde at pobox.com
Posted: Tue Dec 15, 1998 3:45 pm Reply with quote
Guest
1. How do I install libraries? I installed the tar.gz with the
core system, and then the libraries.tar.gz - but I had to
guess where to unpack it and now it would appear that when
I launch erl it doesn't find the libraries....

meanwhile...
Congratulations on taking the Open Software plunge.
I hope it creates excellent synergy around your efforts.

I've wandered in because Mnesia looks like the answer to a question -
"Where in open source land can I find a nice persistent data store."
Since I'm already a functional programming guy much of what erlang
brings to the table only makes it look better to my eyes.

2. Can you suggest things to look at that are examples of
utilizing Mensia?

- ben hyde


Post generated using Mail2Forum (http://m2f.sourceforge.net)
klacke at erix.ericsson.s
Posted: Tue Dec 15, 1998 4:02 pm Reply with quote
Guest
Hello,

Ben Hyde writes:
>
> 1. How do I install libraries? I installed the tar.gz with the
> core system, and then the libraries.tar.gz - but I had to
> guess where to unpack it and now it would appear that when
> I launch erl it doesn't find the libraries....
>

Ok, the install procedure of libraries is far from perfect
in the first release of open source erlang, We're working
on the Makefile system now. Anyway,

The libraries.tar.gz file should be unpacked inside
the libraries directory (which is a link to erts/lib)

Once there most of the libraries (except some) ought to
build nicely. In the case of Mnesia it should be sufficent
to go to libraries/mnesia and type
% gmake CC_ROOT=[top root of the whole thing]


(There is no functioning install procedure there yet
but an ordinary 'gmake' should compile Mnesia in place
and produce a working Mnesia system inplace)



> I've wandered in because Mnesia looks like the answer to a question -
> "Where in open source land can I find a nice persistent data store."
> Since I'm already a functional programming guy much of what erlang
> brings to the table only makes it look better to my eyes.
>
> 2. Can you suggest things to look at that are examples of
> utilizing Mensia?
>

This is actually not so very easy todo since most applications
that actually make use of Mnesia are Ericsson products and
besides from being Ericsson products they are complicated and huge.

The userdocs ought to get you somewhere though and if they don't
just post here and we'll try to help you out.

Cheers

/klacke



Post generated using Mail2Forum (http://m2f.sourceforge.net)
jb at erix.ericsson.se
Posted: Wed Dec 16, 1998 9:18 am Reply with quote
Guest
> > 1. How do I install libraries? I installed the tar.gz with the
> > core system, and then the libraries.tar.gz - but I had to
> > guess where to unpack it and now it would appear that when
> > I launch erl it doesn't find the libraries....
>
> The libraries.tar.gz file should be unpacked inside
> the libraries directory (which is a link to erts/lib)

No.

If you download libraries.tar.gz you should unpack it at the top
level, i.e. in the erlang-4.7.4 directory. If you, on the other hand,
download a single library, e.g., mnesia-3.6.tar.gz, then you should
unpack it in the libraries directory.

In other words, there should not be a libraries subdirectory to
the libraries directory.

/Johan


Post generated using Mail2Forum (http://m2f.sourceforge.net)
magnus at erix.ericsson.s
Posted: Thu Dec 17, 1998 10:14 am Reply with quote
Guest
Claes Wikstrom <klacke_at_erix.ericsson.se> wrote:
>
> Ben Hyde writes:
> >
...
> >
> > 2. Can you suggest things to look at that are examples of
> > utilizing Mensia?
> >
>
> This is actually not so very easy todo since most applications
> that actually make use of Mnesia are Ericsson products and
> besides from being Ericsson products they are complicated and huge.
>

Eddie (http://www.eddieware.org) uses Mnesia. The usage in Eddie is not
that advanced though but I think it's an illustrative example of what
you can do. The applications using Mnesia are:

- http://www.eddieware.org/eddie-0.83b3/lib/master-0.9.2/src
- http://www.eddieware.org/eddie-0.83b3/lib/servant-0.9.2/src
- http://www.eddieware.org/eddie-0.83b3/lib/inet_server-0.7/src

/Magnus









Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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 cannot attach files in this forum
You cannot download files in this forum