UFxp:build: Difference between revisions

From Lundman Wiki
No edit summary
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
##### Erin 2006/05/10 ####
=== Erin 2006/05/10 ===


download and install theide on local machine
download and install [http://upp.sourceforge.net/ Ultimate++] on local machine
To install it, you should place 'theide' executable to any place on PATH
To install it, you should place 'theide' executable to any place on PATH
and 'upp' directory to either:
and 'upp' directory to either:


~/upp
* ~/upp
/usr/local/share/upp
* /usr/local/share/upp
/usr/local/lib/upp
* /usr/local/lib/upp
/usr/local/bin/upp
* /usr/local/bin/upp
/usr/share/upp
* /usr/share/upp
/usr/lib/upp
* /usr/lib/upp
/usr/bin/upp
* /usr/bin/upp


(Placing both 'theide' and 'upp' to /usr/local/bin seems to be the
(Placing both 'theide' and 'upp' to /usr/local/bin seems to be the
simple obvious option here).
simple obvious option here).
For linux
For Unix
%cp upp -fR /usr/local/bin/upp
%cp upp -fR /usr/local/bin/upp
%cp theide /usr/local/bin/theide
%cp theide /usr/local/bin/theide
%chmod 755 /usr/local/bin/theide
%chmod 755 /usr/local/bin/theide


create app folder
%mkdir -p /home/user/upp/MyApps
%cd /home/user/upp/MyApps
%cvs -d ":pserver:anoncvs@lundman.net:/home/cvsroot" login
Password: anoncvs


download the cvs for FXP.One and UFxp
'''You will need to setup the FXP.One engine as well. Please follow the instructions for FXP.One [[Compile]]'''


Check out the sources from CVS, or untar the source tarball.


** Compiling the engine.
% mkdir -p /home/user/upp/MyApps
% cd /home/user/upp/MyApps


% cd FXP.One/engine
% tar -zxvf UFxp-v1.1.tar.gz
% gmake
'''OR'''
###### This Error is OK
% cvs -d ":pserver:anoncvs@lundman.net:/home/cvsroot" login
###### gmake: build: Command not found
Password: anoncvs
###### gmake: *** [all] Error 127
% cvs -d ":pserver:anoncvs@lundman.net:/home/cvsroot" co UFxp


Start FXP.Oned
% cd UFxp
%./FXP.Oned
% cd lion
 
% ./configure
cd ../../UFxp
% gmake
ln -s ../FXP.One/lion lion


start theide  
start theide  
%theide
% theide


You have to set the path to your UFXP code and then build it.   
You have to set the path to your UFXP code and then build it.   
select ufxp
select MyApps / UFxp
build>build (F7)  
build>build (F7)  
 
RUN
Debug>Execute (cntl F5)
 
 
If you get linking errors on Linux referring to missing references with krb5 functions,
you can define OPENSSL_NO_KRB5 in the Package Organiser, or by manual edits. Another
option is to add extra libraries:


RUN
Package/Package Organizer/
Debug>Execute (cntl F5)
!WIN32  : lion ssl crypto
Change to
!WIN32  : lion ssl crypto krb5 gssapi_krb5 k5crypto krb5support resolv com_err

Latest revision as of 07:30, 4 December 2006

Erin 2006/05/10

download and install Ultimate++ on local machine To install it, you should place 'theide' executable to any place on PATH and 'upp' directory to either:

  • ~/upp
  • /usr/local/share/upp
  • /usr/local/lib/upp
  • /usr/local/bin/upp
  • /usr/share/upp
  • /usr/lib/upp
  • /usr/bin/upp

(Placing both 'theide' and 'upp' to /usr/local/bin seems to be the simple obvious option here). For Unix

%cp upp -fR /usr/local/bin/upp
%cp theide /usr/local/bin/theide
%chmod 755 /usr/local/bin/theide


You will need to setup the FXP.One engine as well. Please follow the instructions for FXP.One Compile

Check out the sources from CVS, or untar the source tarball.

% mkdir -p /home/user/upp/MyApps
% cd /home/user/upp/MyApps
% tar -zxvf UFxp-v1.1.tar.gz
OR
% cvs -d ":pserver:anoncvs@lundman.net:/home/cvsroot" login 
Password: anoncvs
% cvs -d ":pserver:anoncvs@lundman.net:/home/cvsroot" co UFxp
% cd UFxp
% cd lion
% ./configure
% gmake

start theide

% theide

You have to set the path to your UFXP code and then build it.

select MyApps / UFxp 
build>build (F7) 
RUN
Debug>Execute (cntl F5)


If you get linking errors on Linux referring to missing references with krb5 functions, you can define OPENSSL_NO_KRB5 in the Package Organiser, or by manual edits. Another option is to add extra libraries:

Package/Package Organizer/
!WIN32  : lion ssl crypto
Change to
!WIN32  : lion ssl crypto krb5 gssapi_krb5 k5crypto krb5support resolv com_err