1. Using wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 23, 2009
- 1126 views
Forked from Re: wxEuphoria - wxHtmlWindow - SelectionToText
How would you get wxEuphoria to be detected by the interpreter anyway.I am trying to get it to work with linux(ubuntu).
Where did you put the libwxeu.so file?
-Greg
(Hey look, I used the "fork" feature!)
2. Re: Using wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 23, 2009
- 1133 views
From the other thread...
How would you get wxEuphoria to be detected by the interpreter anyway.I am trying to get it to work with linux(ubuntu).
To install wxEuphoria on Linux or FreeBSD: ---------------------------------------------- * Put: wxEuphoria/include/wxeud.e ...into a directory on your $EUINC path. If you're not sure which those directories are, from the command line: $ echo $EUINC * You must have wxWidgets 2.8 installed, either from your distribution's package management system, or by building it from source. See http://www.wxwidgets.org for more information about wxWidgets. * You can try to use the binary: wxEuphoria/bin/libwxeu.so ...by installing it into /usr/local/lib. You'll need root priveledges. Then you'll need to run ldconfig. For Linux: # ldconfig /usr/local/lib or # /sbin/ldconfig /usr/local/lib
If this does not work for you, let me know what you've done, and what result you get from trying to run a wxEuphoria program.
Matt
C'mon people, let's keep threads to a single topic!
-Greg
3. Re: Using wxEuphoria on Linux
- Posted by Fendaril Sep 23, 2009
- 1198 views
Did the person mistake EUINC for EUDIR?
4. Re: Using wxEuphoria on Linux
- Posted by mattlewis (admin) Sep 23, 2009
- 1162 views
Did the person mistake EUINC for EUDIR?
No.
Matt
5. Re: Using wxEuphoria on Linux
- Posted by Fendaril Sep 23, 2009
- 1191 views
well I dont have an environment variable name $EUINC
6. Re: Using wxEuphoria on Linux
- Posted by mattlewis (admin) Sep 23, 2009
- 1240 views
well I dont have an environment variable name $EUINC
What version of euphoria are you using? If you're using 4.0, then you should use the eu.cfg file. Otherwise, you should create a EUINC variable. That's the standard way (pre 4.0) for setting up additional include directories, so that you don't have to put lots of 3rd party stuff into $EUDIR/include.
Matt
7. Re: Using wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 23, 2009
- 1219 views
If you're using 3.1 and you have a euphoria directory in your home folder, then add something like this to the end of your /home/username/.bashrc file...
export EUDIR=/home/username/euphoria export PATH=$EUDIR/bin:$PATH
-Greg
8. Re: Using wxEuphoria on Linux
- Posted by Fendaril Sep 23, 2009
- 1173 views
I already have euphoria set up the issue is the EUINC.
9. Re: Using wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 23, 2009
- 1152 views
Oh yeah, sorry. EUINC should point to any additional folders that contain global include files. So if you downloaded wxEuphoria to say, /home/username/Downloads/wxEuphoria, you might setup your EUINC like this:
export EUINC=/home/username/Downloads/wxEuphoria
Now, if you include wxeud.e in your Euphoria code, the interpreter will go searching any path in your EUINC variable.
Let's say you downloaded EuSQL as well. You can add multiple paths by separating them with a colon:
export EUINC=/home/username/Downloads/wxEuphoria:/home/username/Downloads/EuSQL
Now when you include wxeud.e or eusql.e, either will be found in their appropriate directories.
Other environment variables could be used as well, such as $HOME for /home/username:
export EUINC=$HOME/Downloads/wxEuphoria:$HOME/Downloads/EuSQL
-Greg