1. Build Euphoria 4 in Linux

Ok, I've now installed Ubuntu and want to build Euphoria 4. I've downloaded the eubins files and done an "svn co" to get all the trunk stuff. I can run eui without problems.

So now can someone give me step-by-step instructions on how to build from source, or pass on a script file they have developed? I've tried a few things already and had total failure so far. Is there a makefile that I'm supposed to be using?

new topic     » topic index » view message » categorize

2. Re: Build Euphoria 4 in Linux

DerekParnell said...

Ok, I've now installed Ubuntu and want to build Euphoria 4. I've downloaded the eubins files and done an "svn co" to get all the trunk stuff. I can run eui without problems.

So now can someone give me step-by-step instructions on how to build from source, or pass on a script file they have developed? I've tried a few things already and had total failure so far. Is there a makefile that I'm supposed to be using?

I thought it was obvious.

cp /where-eu4-linux-eubins-are/* /where-eu4-trunk-is/bin/ 

cd /where-eu4-trunk-is/source/ 
export PATH=$PATH:/where-eu4-trunk-is/bin/ 
export EUDIR=/where-eu4-trunk-is/ 
./configure 
make 
new topic     » goto parent     » topic index » view message » categorize

3. Re: Build Euphoria 4 in Linux

jimcbrown said...

I thought it was obvious.

cp /where-eu4-linux-eubins-are/* /where-eu4-trunk-is/bin/ 

cd /where-eu4-trunk-is/source/ 
export PATH=$PATH:/where-eu4-trunk-is/bin/ 
export EUDIR=/where-eu4-trunk-is/ 
./configure 
make 

This is just the old configure   make   make install that is ubiquitous.

I realized that the official way is to use eu.cfg rather then setting PATH or EUDIR, but i've never tried to use eu.cfg

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

4. Re: Build Euphoria 4 in Linux

jimcbrown said...

I thought it was obvious.

Its linux - Nothing is obvious!

Anyhow ... I'd done everything except the './configure' step. It appears to be working now I've run that, except that the just built version is showing "(rexported)" as its revision number. How do I get the SVN number there now?

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

5. Re: Build Euphoria 4 in Linux

DerekParnell said...
jimcbrown said...

I thought it was obvious.

Its linux - Nothing is obvious!

Anyhow ... I'd done everything except the './configure' step. It appears to be working now I've run that, except that the just built version is showing "(rexported)" as its revision number. How do I get the SVN number there now?

That's odd. It sounds like either the .svn directory(ies) is missing from your svn tree, or revget.ex is being run from the wrong directory.

Looking at Makefile (source: Makefile.gnu) line 294, revget.ex is called with a root of .. but it should probably be called with -root $(TRUNKDIR)

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

6. Re: Build Euphoria 4 in Linux

jimcbrown said...

It sounds like either the .svn directory(ies) is missing from your svn tree

Yep, that was it. I'd copied the source files from the SVN area to a working location but didn't include the ".SVN" folder.

I see that the makefile assumes you are running with admin (root) privileges.

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

7. Re: Build Euphoria 4 in Linux

DerekParnell said...
jimcbrown said...

It sounds like either the .svn directory(ies) is missing from your svn tree

Yep, that was it. I'd copied the source files from the SVN area to a working location but didn't include the ".SVN" folder.

I see that the makefile assumes you are running with admin (root) privileges.

Uh what?

Aside from the parts that build a package (.deb) or that install to /usr/, nothing that the makefile does requires root priviliges. I use it on a daily basis and never run it as root.

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

8. Re: Build Euphoria 4 in Linux

jimcbrown said...

Uh what?

Aside from the parts that build a package (.deb) or that install to /usr/, nothing that the makefile does requires root priviliges. I use it on a daily basis and never run it as root.

True. I ran "make install" and that threw up the privileges issue. Anyhow, I've now got my own script that moves the newly built binaries from "$EUDIR/source/build/" to where I want them.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu