1. Build Euphoria 4 in Linux
- Posted by DerekParnell (admin) Nov 01, 2009
- 1051 views
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?
2. Re: Build Euphoria 4 in Linux
- Posted by jimcbrown (admin) Nov 01, 2009
- 1032 views
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
3. Re: Build Euphoria 4 in Linux
- Posted by jimcbrown (admin) Nov 01, 2009
- 1013 views
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
4. Re: Build Euphoria 4 in Linux
- Posted by DerekParnell (admin) Nov 01, 2009
- 1032 views
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?
5. Re: Build Euphoria 4 in Linux
- Posted by jimcbrown (admin) Nov 01, 2009
- 1007 views
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)
6. Re: Build Euphoria 4 in Linux
- Posted by DerekParnell (admin) Nov 01, 2009
- 1019 views
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.
7. Re: Build Euphoria 4 in Linux
- Posted by jimcbrown (admin) Nov 01, 2009
- 1007 views
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.
8. Re: Build Euphoria 4 in Linux
- Posted by DerekParnell (admin) Nov 01, 2009
- 1072 views
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.