1. Compile Euphoria 4.1 from source

Hello,

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.

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?

Thank you very much in advance for your help.

new topic     » topic index » view message » categorize

2. Re: Compile Euphoria 4.1 from source

Frontier said...

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.

Frontier said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Compile Euphoria 4.1 from source

Thank you for your answers.

mattlewis said...

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.

I've experienced what you've said already: under Arch x86_64 the 4.1 interpreter segfaults even with the trivial hello world program. I will follow your instructions and build a 4.1 interpreter under an x86 Arch install.

Will it be safe to use the 32-bit 4.1 interpreter to translate the source files under x86 and then transfer them to the x86_64 box in order to build Euphoria 4.1 x86_64 without-euphoria?

If this works, I will provide Arch packages.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Compile Euphoria 4.1 from source

Frontier said...

Thank you for your answers.

mattlewis said...

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.

I've experienced what you've said already: under Arch x86_64 the 4.1 interpreter segfaults even with the trivial hello world program. I will follow your instructions and build a 4.1 interpreter under an x86 Arch install.

Will it be safe to use the 32-bit 4.1 interpreter to translate the source files under x86 and then transfer them to the x86_64 box in order to build Euphoria 4.1 x86_64 without-euphoria?

Yes, that's what I meant by, "Once you have a working 32-bit 4.1 interpreter, you can use that to build 32 or 64 bit binaries." We should definitely record how to make those packages, though.

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu