Re: WEE auto-complete

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

Thanks, Ken. I appreciate it. I want to do a native Linux version, but my development machine is 64-bit and I'm struggling to build the latest Euphoria from source. Is there a howto that explains step-by-step how to build 64-bit Euphoria? Or better yet, could someone build 64-bit Linux Eubins and post them somewhere?

Pete,

I have been using Euphoria 4.1 Beta under 64-bit Linux. Downloading and building the binaries was a relatively painless process. First, Download the *tar.gz file:

http://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/euphoria-4.1.0-Linux-ix86-64.tar.gz/download

Then extract the files to your root directory - I used xarchiver, but you can extract the files from the command line of any terminal with:

tar -xzv -f euphoria-4.1.0-Linux86-64.tar.gz

Actually, I think the file I have linked includes the binaries, as well as the source code. You will need to edit the eu.cfg files - and your bash .profile file. This is what my .profile looks like under Ubuntu Linux:

# ~/.profile: executed by the command interpreter for login shells. 
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login 
# exists. 
# see /usr/share/doc/bash/examples/startup-files for examples. 
# the files are located in the bash-doc package. 
 
# the default umask is set in /etc/profile; for setting the umask 
# for ssh logins, install and configure the libpam-umask package. 
#umask 022 
 
# if running bash 
if [ -n "$BASH_VERSION" ]; then 
    # include .bashrc if it exists 
    if [ -f "$HOME/.bashrc" ]; then 
    . "$HOME/.bashrc" 
    fi 
fi 
 
# set PATH so it includes user's private bin if it exists 
if [ -d "$HOME/bin" ] ; then 
      PATH="$HOME/bin:$PATH" 
fi 
 
PATH="$HOME/euphoria/bin:$HOME/MENU:$PATH" 
EUINC="$HOME/euphoria/include" 
EUDIR="$HOME/euphoria" 
export PATH EUINC EUDIR 

S.D. Pringle came up with a neat work around for several of the environment variables which might come in handy:

public function eudir() 
    sequence eudirectory 
    eudirectory = locate_file( eui, getenv("PATH") ) 
    eudirectory = eudirectory[1..length(eudirectory)-(length(eui)+4)] 
     
    -- returns /home/kenneth/euphoria/  -- note the trailing slash 
    return eudirectory 
end function 
 
public constant EUDIR   =  eudir() 
public constant EUINC   =  EUDIR & "include" 
public constant EUBIN   =  EUDIR & "bin" 
public constant EUDOCS  =  EUDIR & "docs" & SLASH & "html" 
public constant EUDEMO  =  EUDIR & "demo" 

I hope this helps.

Ken

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

Search



Quick Links

User menu

Not signed in.

Misc Menu