User forums > Help
No plugins!
bgolding:
Morten,
I didn't run update (I assume you mean src/update from my trunk dir).
I was following these instructions: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux
So the build process was:
./bootstrap
./configure --with-contrib-plugins=all --prefix=/blah/blah
make
make install
When should I run update? Between make and make install? Perhaps you could review the Wiki page, it seems maybe it is out-of-date. The readme file BUILD in SVN doesn't mention update either.
Thanks, Ben
Jenna:
I just tested it.
I removed my old C::B installation, to avoid side-effects, then I typed
--- Code: ---./configure --with-contrib-plugins=all --prefix=/home/jens/codeblocks-tmp
make
make install
--- End code ---
in C::B's source-dir.
Now I can start C::B by typing
--- Code: ---/home/jens/codeblocks-tmp/bin/codeblocks
--- End code ---
without setting LD_LIBRARY_PATH and C::B starts with all plugins.
bgolding:
Jens, could you please try setting
--- Code: ---LD_LIBRARY_PATH=/home/jens/codeblocks-tmp/lib
--- End code ---
and see whether that will prevent your plugins from loading correctly?
The problem I have is no root access --> I must set LD_LIBRARY_PATH to find libwx_gtk2u-2.8.so.0
Jenna:
--- Quote from: bgolding on January 15, 2008, 03:24:04 pm ---Jens, could you please try setting
--- Code: ---LD_LIBRARY_PATH=/home/jens/codeblocks-tmp/lib
--- End code ---
and see whether that will prevent your plugins from loading correctly?
The problem I have is no root access --> I must set LD_LIBRARY_PATH to find libwx_gtk2u-2.8.so.0
--- End quote ---
It works the same way if I set LD_LIBRARY_PATH or not.
Where does your build looks for the plugin.
If C::B has started there should be two lines in the "Code::Blocks" tab in the logs where C::B tells you where it looks for plugins.
For me it looks like:
--- Code: ---Scanning for plugins in /home/jens/.codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /home/jens/codeblocks-tmp/share/codeblocks/plugins
Loaded 28 plugins
--- End code ---
You can also start C::B with "-d" parameter and look in the debug-log if there are error-messages.
Is your wxWidgets installed in your home-dir or is it a global install.
Normally if everything is linked correct you don't need the LD_LIBRARY_PATH variable set.
You can look against which libraries C::B is linked by running
--- Code: ---ldd /path/to/codeblocks
--- End code ---
Jenna:
By the way:
afaik the plugins are loaded by C::B itself not by the OS, so they should not depend on LD_LIBRARY_PATH.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version