Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

linux config file

(1/1)

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.

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.
[/list]

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):


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

--- End code ---


[attachment deleted by admin]

Navigation

[0] Message Index

Go to full version