Author Topic: linux config file  (Read 11024 times)

grv575

  • Guest
linux config file
« on: September 09, 2005, 08:47:25 pm »
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?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: linux config file
« Reply #1 on: September 09, 2005, 09:18:18 pm »
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

  • Guest
Re: linux config file
« Reply #2 on: September 10, 2005, 02:43:18 am »
I have /usr/local/share/codeblocks/
What's the configuration filename on Linux?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: linux config file
« Reply #3 on: September 10, 2005, 09:47:59 am »
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

  • Guest
Re: linux config file
« Reply #4 on: September 10, 2005, 11:36:29 pm »
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):

Code
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]