Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » [Linux] How to create a separate configuration for a locally built TheIDE?
Re: [Linux] How to create a separate configuration for a locally built TheIDE? [message #12704 is a reply to message #12670] Tue, 13 November 2007 12:52 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Novo wrote on Mon, 12 November 2007 21:21

On Windows TheIDE picks up *.var files in the TheIDE's directory. That is simple.

On Linux I've installed a Debian package with 2007.1, after that I've built an SVN version of TheIDE using 2007.1 one. 2007.1 picks up configuration files in ~/.theide/, the SVN-version doesn't. It also doesn't look into directory, where it is located.

I couldn't understand that behavior from the source code. Is there a logical explanation?




Ok, I'll make a little explanation of I did... It works for me, so it should for you too !

1- Install Theide, release version, as you like, with debian package or what you like. I usually prefere sources, but with no makefile there is little choice.

2- OPTIONAL STEP : the files are usually in ~/upp; as I didn't like this location, I moved them to ~/sources/upp. Beware that doung that you loose the configuration vars; so, IMHO, the best is to move the source tree, delete the configuration dir '.theide' in home dir and run theide again. Say "NO" when it asks on file setup per user, and then recreate manually from inside theide the assemblies. (quite boring stuff, it would be better an option to recreate them automatically...)
Better hand way : before wiping .theide configuration dir, grab .var files inside, and edit them to reflect new sources locations.

3)- Get development sources tree; I did put it in ~/sources/uppdev

4) Use stable version to compile devel one. To to this, you must create a new assembly inside Theide, pointing to upp development tree; in my case it's ~/sources/uppdev
The binary file name is 'ide', not 'theide', but can be changed from theide. I suggest to leave it as 'ide'.
I suggest also to change options to enable full debug... It will be slower, but you'll get useful hints if things go bad.

5) Quit theide stable, make a symbolic link from ide binary (found in ~/sources/uppdev/out/<something>, where <something> depends on build options...> in /usr/bin and, if you like (Smile) add it to applications menu.

6) Launch ide (devel version), as in point 2 you'll be asked if you want to configure for local user, say "NO".

7) From inside ide, you must recreate the assembly path, or, as explained in point 2, grab .var files from ~/.theide directory, copy them inside ~/,ide (the configuration path for devel version, depends on executable name) and edit them to reflect new sources locations.

That's all. Seems difficult, but it can be done in 5 minutes, besides compilation.

From now, to keep devel updated, just do 'svn up' in source tree (or, if you're lucky, an uvs2 update...), and use theide STABLE to recompile it. DON'T use devel to compile itself !!!

Ciao

Max
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Uvs build - Undefined symbol error
Next Topic: Installation problem, cannot exec 'cc1'...
Goto Forum:
  


Current Time: Tue May 07 16:38:26 CEST 2024

Total time taken to generate the page: 0.02544 seconds