News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Building SVN 7934 on CentOS 5.7

Started by KirkD, April 17, 2012, 09:52:07 PM

Previous topic - Next topic

KirkD

Now that the debugger branch was merged in, I decided to try a rebuild.  It went mostly OK - I only had to point it to the right libraries for hunspell and gamin.  make and install seemed to go OK.

Now that I run CB, I get an error window pop up saying that some plugins could not be loaded.  Specifically, libFileManager.so and libSpellChecker.so.  Both of these files (as well as their .la) counterparts are in /usr/local/lib/codeblocks/plugins   the pop up mentions looking at the application log, but I have no idea where to find that, unless it is the stdout coming into the console window, which tells me nothing regarding these two libraries.

Any ideas??

oBFusCATed

Use --debug-log command line option. Also make sure you make a clean build, by removing your old working copy and remove all files from the old installation (make uninstall isn't the best tool for the job).

If I don't forget, I'll commit my changes to the codeblocks.spec file, so an rpm package could be build out of the box, which is the best way to maintain C::B in the long run.
I'm using it at work with CentOS 5.7 and it is pretty stable (the rpm builds).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

KirkD

Thanks for the quick reply!

Nothing in the log suggests anything is wrong.  The entire file consists of successful plugin loads.  I don't see SpellChecker or FileManager even mentioned, however.

As for the various libraries, etc. All files have the correct time stamp.  It would be obvious if any were old since my last rebuild was before the debugger and code completion branches were branched.


Jenna

Try to start C::B from console with the -v parameter.

KirkD

Nothing different in the log file, but I do see this in the console window:

(codeblocks:12579): Gtk-CRITICAL **: gtk_menu_attach_to_widget: assertion `GTK_IS_MENU (menu)' failed

(codeblocks:12579): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 18 and height -17

(codeblocks:12579): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'

(codeblocks:12579): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:12579): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:12579): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed



Also, I get a dialog box with this error:

/usr/local/lib/codeblocks/plugins/libSpellChecker.so: undefined symbol:  _ZN8Hunsepll5spellEPKcPiPPc



KirkD

Short update - the build went fine on Fedora 15 after installing gamin-devel  The only odd thing is that the splash screen and the initial screen show build "0" instead of 7934.

stahta01

Quote from: KirkD on April 18, 2012, 05:42:16 PM
Short update - the build went fine on Fedora 15 after installing gamin-devel  The only odd thing is that the splash screen and the initial screen show build "0" instead of 7934.

The following is true for Windows builds
  If the SVN command is not installed or not visible (in the system path) the build shows as "0"

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

Quote from: stahta01 on April 18, 2012, 06:00:44 PM
If the SVN command is not installed or not visible (in the system path) the build shows as "0"
The same happens if the sources are not a svn working copy.