Re: Euphoria-Linux issue

new topic     » goto parent     » topic index » view thread      » older message » newer message
linuxer007 said...

Hello!

Have tried now,with some path-settings in /etc/profile and /.bashrc,to get Euphoria working.In addition,I created an /.eu.cfg.
The profile/bashrc-settings are :

# 
# Additional paths for Euphoria 
# 
EUDIR=$HOME/Programme/Anwendungen/Euphoria 
PATH=$EUDIR/bin:$PATH 
EUINC=$EUDIR/include 
export PATH EUDIR EUINC 

And my eu.cfg is :

[all]   
-i ~/Programme/Anwendungen/Euphoria/include  
-i ~/Programme/Anwendungen/Euphoria/include/euphoria 
-i ~/Programme/Anwendungen/Euphoria/include/std  
-i ~/Programme/Anwendungen/Euphoria/include/std/net 
-i ~/Programme/Anwendungen/Euphoria/include/std/win32 
-i ~/Programme/Anwendungen/Euphoria/demo 
-i ~/Programme/Anwendungen/Euphoria/demo/bench 
-i ~/Programme/Anwendungen/Euphoria/demo/langwar 
-i ~/Programme/Anwendungen/Euphoria/demo/net 
-i ~/Programme/Anwendungen/Euphoria/demo/preproc 
-i ~/Programme/Anwendungen/Euphoria/demo/unix 
-i ~/Programme/Anwendungen/Euphoria/source 
-i ~/Programme/Anwendungen/Euphoria/source/codepage 
-i ~/Programme/Anwendungen/Euphoria/source/pcre 
-i ~/Programme/Anwendungen/Euphoria/tests 
-i ~/Programme/Anwendungen/Euphoria/tutorial 
-i ~/Projekte/Euphoria 
The hints for creating the eu.cfg and adding the paths, I found in an older Euphoria-thread.
And at the beginning,I renamed the "euphoria-4.0.0-generic" dir to "Euphoria", maybe this is of importance.
The effects,I'm facing(after a reboot),are as follows :
- the path is the old one,no addition(per hand,it works)
- neighter eui,nor ed will find anything,to work :
rabe@linux:~/Programme/Anwendungen/Euphoria/bin> ./ed.ex allsorts.ex 
./ed.ex: Zeile 1: ----------------------------------------------------------: Kommando nicht gefunden. 
./ed.ex: Zeile 2: --: Kommando nicht gefunden. 
./ed.ex: Zeile 3: --: Kommando nicht gefunden. (command not found) 
./ed.ex: Zeile 4: --: Kommando nicht gefunden. 
./ed.ex: Zeile 5: --: Kommando nicht gefunden. 
./ed.ex: Zeile 6: Syntaxfehler beim unerwarteten Wort `('  (syntax-error on unexpected word) 
./ed.ex: Zeile 6: `             -- and/or redistribute this editor (ed.ex, syncolor.e). --' 
 
rabe@linux:~/Programme/Anwendungen/Euphoria/demo> ./eui allsorts.ex 
bash: ./eui: Datei oder Verzeichnis nicht gefunden (file or dir not found) 
rabe@linux:~/Programme/Anwendungen/Euphoria/demo> cd ~/Programme//Anwendungen/Euphoria/bin 
rabe@linux:~/Programme/Anwendungen/Euphoria/bin> ./eui allsorts.ex 
Can't open allsorts.ex 
rabe@linux:~/Programme/Anwendungen/Euphoria/bin>  
As you see,I allways have to enter the dir of the eui/ed,or nothing works.
Of course,I made the files executable.
Hmmm,what's it,I don't get?Is the addition in the profile in a wrong place,has it to be stored also in another config,wrong syntax,or what ?

Hope,someone can help here...

Greetings !

linuxer007

Just saw,editor can't display the "tilde"?!

creole needs double tilde sometimes, the tilde is escape next char.

you don't need all those includes, just eu4/include and your personal include. extra includes can cause multiple resolution errors. look at some source, you see include std/whatever.e is the norm,

[all]   
-i ~/Programme/Anwendungen/Euphoria/include  
-i ~/Projekte/Euphoria 

it's ~/eu.cfg not ~/.eu.cfg and you can also include a cfg file with the executable if you have more than one euphoria installed. although, I think eu4.0.0 may have had a bug, since fixed, with multiple -eudir lines in multiple cfg files.

you only need PATH set in your profile, eu4 can work fine without EUDIR and EUINC but that would not cause problems. you should only need to logoff/logon not reboot for changes in .profile.

if *.ex start off with #!/usr/bin/env eui then they can execute, otherwise they will need to run something like

eui prog.ex 
or even   
eui prog 
you can also bind or translate programs first.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu