Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: athouston on February 04, 2013, 12:01:26 AM

Title: Mnesia database extension
Post by: athouston on February 04, 2013, 12:01:26 AM
Has anyone done an extension for the Mnesia database. I am playing with Erlang on multiple TinyCore virtual machines and want to use Mnesia as a memory resident distributed database.

It has some unique capabilities that appear to support a distributed memory model which is part of my (formative) AI research.

Thanks and keep up the great work.
Title: Re: Mnesia database extension
Post by: Juanito on February 04, 2013, 01:18:45 AM
which architecture are you looking for this on - core/core64, corepure64, arm?
Title: Re: Mnesia database extension
Post by: athouston on February 04, 2013, 02:57:39 AM
Core would be fine. There doesn't appear to be a core64 version of Erlang but it would be truly excellent if both Erlang and Mnesia were available in Core64.

Thanks.
Title: Re: Mnesia database extension
Post by: Juanito on February 04, 2013, 04:54:34 AM
the version of erlang in the x86 repo will work on both core/core64 (it is 32-bit).

I thought mnesia was included with erlang?
Title: Re: Mnesia database extension
Post by: athouston on February 04, 2013, 07:01:30 AM
My understanding is that its part of the OTP (Open Telecoms Platform) extensions.

I assumed Erlang32 would work in Core64. I was dreaming of an Erlang64 and Mnesia64 combination. I've been in this game far to long (obviously).
Title: Re: Mnesia database extension
Post by: Juanito on February 04, 2013, 07:18:41 AM
For clarity:

erlang (in repo) will work with core and core64

a 64bit version (not in repo) would work with corepure64

does erlang need unixodbc and wxwidgets (gtk2) to work with mnesia?
Title: Re: Mnesia database extension
Post by: athouston on February 04, 2013, 08:47:11 AM
I don't believe so. It is a database in an Erlang package.

I haven't used it yet so I am unsure of all the intricacies.

I'll try and get it running native on my iMac and update the question after that.

Thanks for the help.
Title: Re: Mnesia database extension
Post by: Juanito on February 04, 2013, 11:49:10 AM
erlang built with openssl-1.0.0 and ncurses, but without odbc and wxwidgets posted for corepure64

It looks like mnesia is included - I've no idea how to divide the extension up, so posted as one huge extension...

Let me know how you get on