Author Topic: plugins search directory bug  (Read 7014 times)

Offline pedro

  • Single posting newcomer
  • *
  • Posts: 7
plugins search directory bug
« on: April 03, 2009, 08:21:32 pm »
My post here http://forums.codeblocks.org/index.php/topic,10346.0.html  was not answered. So I suppose the topic is the bug.
At start codeblocks watching for pluggins in /usr/lib/codeblocks/plugin directory but they are placed in /usr/lib64/codeblocks/plugin.
I didn't find there is it could be configured. The earlier builds had no such a problem because they were placed in /usr/share/codeblocks directory.

I'm running on x86_64 Slamd64 linux distro. Codeblocks svn version r5489.
Configure flags:
CONFIGURE_FLAGS+="--with-contrib-plugins=all --enable-static \
 --enable-source-formatter --enable-autosave \
 --enable-class-wizard  --enable-code-completion \
 --enable-compiler --enable-debugger --enable-mime-handler \
 --enable-open-files-list --enable-projects-importer \
 --enable-scripted-wizard  --enable-todo --enable-xpmanifest \
 --enable-pch  --prefix=/usr --disable-debug --libdir="/usr/lib64"
Any comments are welcome!

Offline pedro

  • Single posting newcomer
  • *
  • Posts: 7
Re: plugins search directory bug
« Reply #1 on: April 05, 2009, 06:03:14 pm »
I see more than 30 browse of the topic but no answer at all? Does someone try running recent codeblocks on x86_64 linux OS? As for me it's totally unusable :(

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: plugins search directory bug
« Reply #2 on: April 05, 2009, 06:26:19 pm »
If you build it yourself, you can try the patch from "The TuxKeeper" : http://forums.codeblocks.org/index.php/topic,8755.msg68292.html#msg68292

Offline pedro

  • Single posting newcomer
  • *
  • Posts: 7
Re: plugins search directory bug
« Reply #3 on: April 06, 2009, 01:12:29 pm »
Thanks a lot for reply! Now pluggins are loaded but there is some trouble still exist. Codeblocks did not find any templates!?
Thus when I starting new project I can not choose start ccp project for example. The list is totally empty in any of categories (Projects, build targets, files , custom , user templates). Where did codeblocks searching the templates?
Below is log of starting process:
Code
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 41 lexers
Loading lexer_OgreCompositor
Loading lexer_OgreMaterial
Loading lexer_ada
Loading lexer_angelscript
Loading lexer_bash
Loading lexer_batch
Loading lexer_caml
Loading lexer_cg
Loading lexer_cpp
Loading lexer_css
Loading lexer_d
Loading lexer_diff
Loading lexer_f77
Loading lexer_fortran
Loading lexer_glsl
Loading lexer_gm
Loading lexer_haskell
Loading lexer_hitasm
Loading lexer_html
Loading lexer_latex
Loading lexer_lisp
Loading lexer_lua
Loading lexer_make
Loading lexer_masm
Loading lexer_matlab
Loading lexer_nsis
Loading lexer_pascal
Loading lexer_perl
Loading lexer_postscript
Loading lexer_prg
Loading lexer_properties
Loading lexer_python
Loading lexer_rc
Loading lexer_ruby
Loading lexer_smalltalk
Loading lexer_sql
Loading lexer_squirrel
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in /home/eugene/.codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/lib64/codeblocks/plugins
Loaded 24 plugins
Loading:
Autosave
ToDoList
AutoVersioning
BrowseTracker
BYOGames
CB_Koders
CodeSnippets
CodeStat
cbDragScroll
EnvVars
HelpPlugin
HeaderFixup
cbKeyBinder
lib_finder
Profiler
Exporter
SymTab
RegExTestbed
ThreadSearch
Valgrind
wxSmith
wxSmithMime
wxSmithContribItems
HexEditor
IncrementalSearch
Running startup script
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
« Last Edit: April 06, 2009, 01:45:23 pm by pedro »

Offline pedro

  • Single posting newcomer
  • *
  • Posts: 7
Re: plugins search directory bug
« Reply #4 on: April 06, 2009, 01:16:30 pm »
I forget to show the content of my /usr/share/codeblocks/templates/ :
ls /usr/share/codeblocks/templates/
console-main-c.cpp    irr_main.cpp       sdccapp.png         wx-app-ash.cpp
console-main-cpp.cpp  irrlicht.png       sdccapp.template    wx-app-ash.h
console.cbp           irrlicht.template  sdl-cb.bmp          wx-main-ash.cpp
console.png           ogre-main.cpp      sdl-main.cpp        wx-main-ash.h
console.template      ogre.template      sdl.png             wx-main-s.cpp
dll.png               ogre_linux.cbp     sdlapp.cbp          wx-main-sh.cpp
glfw-main.cpp         ogrelogo.png       sdlapp.template     wx-main-sh.h
glfw-static.cbp       qt-main.cpp        sharedlib-sample.c  wx_pch.h
glfw.png              qt.cbp             sharedlib.cbp       wxwidgets.cbp
glfw.template         qt.template        sharedlib.template  wxwidgets.png
glut-main.cpp         qtlogo32.png       staticlib-sample.c  wxwidgets.template
glut.png              sdccapp-main.c     staticlib.cbp
irr_linux.cbp         sdccapp.cbp        staticlib.template

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: plugins search directory bug
« Reply #5 on: April 06, 2009, 01:39:46 pm »
If I see it right, you have no scripted-wizard.
It's either disabled, or it was not compiled, even if I see the that you have enabled it explicitely when running "./configure".
By the way you should not have to enable it explicitely, because that's done by default (as all the core-plugins are).

You also seem to miss some other plugins.
Here's the list from my C::B on windows at work, no linux available at the moment:

Code
Loaded 35 plugins
Loading:
AStylePlugin
Autosave
AutoVersioning
BrowseTracker
BYOGames
CB_Koders
ClassWizard
CodeCompletion
CodeSnippets
CodeStat
Compiler
copystrings
Debugger
FilesExtensionHandler
DevPakUpdater
cbDragScroll
EnvVars
Exporter
HeaderFixup
HelpPlugin
HexEditor
IncrementalSearch
cbKeyBinder
lib_finder
OpenFilesList
Profiler
ProjectsImporter
RegExTestbed
SymTab
ThreadSearch
ToDoList
wxSmith
wxSmithMime
wxSmithContribItems
WindowsXPLookNFeel

I'm not 100% sure, but I think the only plugins that are windows-only are devpak and WindowsXPLookAndFeel, and mos likely copystrings, because I added it to automake-system yesterday.

Offline pedro

  • Single posting newcomer
  • *
  • Posts: 7
Re: plugins search directory bug
« Reply #6 on: April 06, 2009, 10:28:51 pm »
It compiled to working version with CONFIGURE_FLAGS+="--with-contrib-plugins=all " only. It seems like a bug of configure (automake) script, so when pointing out the plugins explicitely the scripted-wizart would not installed. And. Still I have only 33 plugins installed :( Maybe I have to install some additional external libs.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: plugins search directory bug
« Reply #7 on: April 06, 2009, 10:37:54 pm »
And. Still I have only 33 plugins installed :( Maybe I have to install some additional external libs.

As I wrote:
I'm not 100% sure, but I think the only plugins that are windows-only are devpak and WindowsXPLookAndFeel, and mos likely copystrings, because I added it to automake-system yesterday.

That means 33 is a good count, if you have a revision less than 5520.