1. v.4 on OpenSuse
- Posted by Peter Robinson <indorlaw at ?aho?.com.au> Jun 21, 2008
- 647 views
Hi Downloaded latest source from sourcefourge and compiled on OpenSuse 10.2. It's working but I had some problems. Since it was a zipped tar I didn't think any switches were required to preserve directories, and that appeared to be correct. I couldn't find instructions in the download, so I read the makefile that led me to run configure first. Are the instructions somewhere else? There appeared to be several makefiles, so I was guessing. 'configure' ran fine. 'make' then produced a lot of errors because various .c files in directories intobj, backobj and transobj looked for /include/euphoria.h, which didn't exist. euphoria.h was in the main installation sub-directory. There were no 'include' directories anywhere, but other sub-directories had been unzipped/untarred. Because there were a lot of files with this 'include' reference, I simply created include directories in each of the calling sub-directories and put a copy of euphoria.h in each, but obviously this is not optimal. This seems to work, but I've only run 'hello world' so far. It's getting late. Did I do something wrong? Cheers Peter Robinson
2. Re: v.4 on OpenSuse
- Posted by Jeremy Cowgar <jeremy at c??gar.com> Jun 21, 2008
- 638 views
Can you tell me where you downloaded the sources from? Do you mean checked them out from svn? The easiest way to get up and going w/4.0 would probably be to: cd /opt svn co http://rapideuphoria.svn.sourceforge.net/svnroot/rapideuphoria/trunk euphoria wget http://jeremy.cowgar.com/eubins/eu40-694.tar.gz tar xzf eu40-694.tar.gz mv eu40-694/* bin export EUDIR=`pwd` export PATH=`pwd`/bin:$PATH cd source make cp ecu ecu.a exu eubackend ../bin I think that should have it. -- Jeremy Cowgar http://jeremy.cowgar.com
3. Re: v.4 on OpenSuse
- Posted by Matt Lewis <matthewwalkerlewis at gma?l.c?m> Jun 21, 2008
- 607 views
Peter Robinson wrote: > > Hi > > Downloaded latest source from sourcefourge and compiled on OpenSuse 10.2. > > It's working but I had some problems. > > Since it was a zipped tar I didn't think any switches were required to > preserve > directories, and that appeared to be correct. > > I couldn't find instructions in the download, so I read the makefile that led > me to run configure first. Are the instructions somewhere else? There appeared > to be several makefiles, so I was guessing. > > 'configure' ran fine. > > 'make' then produced a lot of errors because various .c files in directories > intobj, backobj and transobj looked for /include/euphoria.h, which didn't > exist. > euphoria.h was in the main installation sub-directory. There were no 'include' > directories anywhere, but other sub-directories had been unzipped/untarred. > > Because there were a lot of files with this 'include' reference, I simply > created > include directories in each of the calling sub-directories and put a copy of > euphoria.h in each, but obviously this is not optimal. > > This seems to work, but I've only run 'hello world' so far. It's getting late. > > Did I do something wrong? No, I think you found a bug. There have been some changes to the way the inclusion of euphoria.h has been handled, and I don't think the source package has been fixed. Thanks for the report. Matt
4. Re: v.4 on OpenSuse
- Posted by Peter Robinson <indorlaw at ya?oo.com.?u> Jun 22, 2008
- 659 views
Hi Jeremy I've noted Matt's response but will complete the report just in case. I browsed to the sourceforge site and clicked through Download/Browse all files.. which presented 3 options, one of which was labelled: 'source r523 May 28, 2008' which was the most recent date and the only one labelled as 'source', so I guessed it was the one. I'm actually just assuming that this is v.4, based on the date. I can't access the Internet in linux so I can't check that now. Assuming that my present set-up is working correctly, is there any manual manipulation of the environment required? I already put a hard link to exu in one of the folders in the path, which seemed to work. I'm not experienced with EUDIR - should I do something with that? Cheers Peter Robinson
5. Re: v.4 on OpenSuse
- Posted by Jeremy Cowgar <jeremy at cowga??com> Jun 22, 2008
- 661 views
Peter Robinson wrote: > > 'source r523 May 28, 2008' > > Assuming that my present set-up is working correctly, is there any manual > manipulation > of the environment required? I already put a hard link to exu in one of the > folders in the path, which seemed to work. I'm not experienced with EUDIR - > should I do something with that? > Peter, So much has changed since then, I really would not bother. We are on r701 now. I forget what 523 looked like at all, sorry. We will be releasing the first alpha very soon, that may be of interest to you as well. If you wish to build from sources, then I would recommend the current trunk as I described in my previous post. I would not recommend continuing with r523. Sorry. -- Jeremy Cowgar http://jeremy.cowgar.com
6. Re: v.4 on OpenSuse
- Posted by Peter Robinson <indorlaw at ?ahoo.com.au> Jun 22, 2008
- 681 views
Jeremy Cowgar wrote: > > Peter Robinson wrote: > > > > 'source r523 May 28, 2008' > > > > Assuming that my present set-up is working correctly, is there any manual > > manipulation > > of the environment required? I already put a hard link to exu in one of the > > folders in the path, which seemed to work. I'm not experienced with EUDIR - > > should I do something with that? > > > > Peter, > > So much has changed since then, I really would not bother. We are on r701 now. > I forget what 523 looked like at all, sorry. We will be releasing the first > alpha very soon, that may be of interest to you as well. > > If you wish to build from sources, then I would recommend the current trunk > as I described in my previous post. I would not recommend continuing with > r523. > Sorry. > > -- > Jeremy Cowgar > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a> No problem, Jeremy. I wanted to build from sources to learn how to do it, what are the problems, etc, maybe work on the surce in the future. It was wothwhile exercise. I'll give it another go with the alpha. Thanks for assistance. Peter