1. Using wxEuphoria on Linux

Forked from Re: wxEuphoria - wxHtmlWindow - SelectionToText

Fendaril said...

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!)

new topic     » topic index » view message » categorize

2. Re: Using wxEuphoria on Linux

From the other thread...

mattlewis said...
Fendaril said...

How would you get wxEuphoria to be detected by the interpreter anyway.I am trying to get it to work with linux(ubuntu).

install_txt said...

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! grin

-Greg

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

3. Re: Using wxEuphoria on Linux

Did the person mistake EUINC for EUDIR?

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

4. Re: Using wxEuphoria on Linux

Fendaril said...

Did the person mistake EUINC for EUDIR?

No.

Matt

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

5. Re: Using wxEuphoria on Linux

well I dont have an environment variable name $EUINC

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

6. Re: Using wxEuphoria on Linux

Fendaril said...

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

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

7. Re: Using wxEuphoria on Linux

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

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

8. Re: Using wxEuphoria on Linux

I already have euphoria set up the issue is the EUINC.

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

9. Re: Using wxEuphoria on Linux

Oh yeah, sorry. sad 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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu