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 » How to compile svn-package with NoGTK?
Re: How to compile svn-package with NoGTK? [message #41609 is a reply to message #41595] Sun, 05 January 2014 12:44 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

First of all, thanks klugier for help, while I was off-line Smile You were only slightly wrong:
klugier

P.S.
Flag ".NoGTK" dosen't turn off GTK backend! (Use X11 insted of it).
This is already fixed, so that NOGTK implies X11 backend Wink

Now, back to the topic Smile It's good to hear that you got it working slashupp, the configuration shouldn't be that hard now. As Klugier noted, it is important to use 'theide' as an executable name, because it then searches for config in ~/.upp/<name>/. If you're trying to install on fresh system (no previous upp installation), you should take a look into doinstall file in the sources, it contains all commands needed for basic installation. You could probably even run it as is, provided you move the compiled theide binary into the same folder. Alternatively, on fresh install theide should present you with the source management wizard on the first run. That should help you to set up the assemblies etc. correctly...

slashupp

(I would normally use the debian-repos, but ever since this message:
http://www.ultimatepp.org/forum/index.php?t=msg&th=7814& amp; amp;start=0&
those repos does not work)
I already tried to figure that issue out few times, but still no success :-/ Meanwhile, you could use packages from OBS. To add the repository to your system, add following to your /etc/apt/sources.list:
deb http://download.opensuse.org/repositories/home:/dolik_rce:/nightly/Debian_7.0 ./
Supported architectures are i586 and x84_64. Debian 6.0 repository exists as well, but GTK backend currently doesn't compile there, so entire package build fails Sad Also note, that the word "nightly" doesn't mean it is updated every night, I just push new version (based on actual nightly sources) from time to time (but still by far more often then the official releases), at least once a month, but usually about once a week or often.

And last bit of information Smile Out of curiosity, I dug out the exact invocation of the makefile that is used when building the debian packages and therefore should be also suitable for you:
make -f mkfile JOBS=1 PKG=ide "NESTS=uppsrc" CC="cc -g" CXX="c++ -g" CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="-Wl,--gc-sections -Wl,-O,2" TIME= COLOR=0 USEMAINCFG=0 "FLAGS=GUI NOGTK GCC" TARGET=`pwd`/theide
It is bit more complex, but not much Smile Also, it keeps debugging symbols (those would be striped out later when packaging it), so it will produce larger binary. Just remove the CFLAGS, CXXFLAGS, CXX and CC switches to prevent that if you want.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: g++-4.8
Next Topic: freetype problem
Goto Forum:
  


Current Time: Tue May 07 18:49:47 CEST 2024

Total time taken to generate the page: 0.02821 seconds