News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

linux config file

Started by grv575, September 09, 2005, 08:47:25 PM

Previous topic - Next topic

grv575

If I did just ./configure without a --prefix flag, then where should I expect the codeblocks configuration information to be (ran just ./codeblocks with no flags) -- should there be a config file in /usr/local/share/codeblocks?

mandrav

If you ommit the --prefix switch, the default installation path is set to /usr/local.
If you 're asking if it's possible to ./configure, make and run codeblocks without installing it (make install), you can't. The datafiles, plugins etc are put together on installation.
Be patient!
This bug will be fixed soon...

grv575

I have /usr/local/share/codeblocks/
What's the configuration filename on Linux?

mandrav

If you 're talking about the config file used by codeblocks, currently it is "~/.Code::Blocks 1.0".
This is created automatically by wxConfig (which uses the registry under windows).
But there are plans to change it:


  • For windows, use a file in the user's home dir instead of the registry.
  • For unix, support /etc/codeblocks.conf, ~/.codeblocks with the latter overriding the former.
Be patient!
This bug will be fixed soon...

grv575

OK, forgot to check for dot files.   :?

I installed with ./configure --prefix=/opt/codeblocksd --enable-debug && make && make install
run with: cd /opt/codeblocksd/bin; ./codeblocks
and get (see pic):


root:/opt/codeblocksd/share/codeblocks# ls
astyle.zip           defaultmimehandler.zip  plugins            tips.txt
class_wizard.zip     icons                   plugin_wizard.zip  todo.zip
code_completion.zip  images                  resources.zip
compiler_gcc.zip     lexers                  start_here.zip
debugger_gdb.zip     manager_resources.zip   templates



[attachment deleted by admin]