Re: Compile Euphoria 4.1 from source
- Posted by mattlewis (admin) Feb 24, 2014
- 1612 views
I am trying to compile OpenEuphoria 4.1 using the source code downloaded from the SCM, on Arch Linux x86_64. I am new to Euphoria and its build system but I understand that a *working* Euphoria interpreter is required so that source files are translated; I have Euphoria 4.0.5 installed using it's AUR package.
You should be able to use 4.0.5 to build a 4.1 binary. However, you'll only be able to build a 32-bit version using 4.0. Once you have a working 32-bit 4.1 interpreter, you can use that to build 32 or 64 bit binaries.
The Euphoria source code tree contains an Arch Linux packaging script but I cannot understand how to use it to create a pacman installation package. Is there some documentation or any other helpful posts I should look in order to make it work?
I'm not aware of anything, and a quick search didn't turn up anything obvious. I'm not familiar with Arch. It looks like the euphoria program in that directory builds the PACKAGE.fmt file that I assume gets used with Arch's tools. It has some paths hard coded, so you may need to modify those if you use different paths.
Matt