User forums > Help

wxAssertFailure on Startup under Solaris

<< < (2/3) > >>

Biplab:
You are using Debug version of wxWidgets which may break. Please install a Release version of wxWidgets. Just add --disable-debug while configuring wxWidgets.

thomas:
This points to a bad installation.

The reason why you see this message is that InitLocale() assumes the locale directory to be there, and tries to enumerate its content. If you have properly installed Code::Blocks, this directory should have been created by the install script. For some reason, this hasn't happened.

One could say that simply assuming things exists is a bold thing, and that's generally true :)
But in this particular case, nothing bad happens if they don't (except the annoying assertion in debug build).

I have added an if() in revision 4356, so even in debug build, this assertion should no longer fail now (but there may be others).

Biplab:

--- Quote from: thomas on August 07, 2007, 11:29:56 am ---This points to a bad installation.

The reason why you see this message is that InitLocale() assumes the locale directory to be there, and tries to enumerate its content. If you have properly installed Code::Blocks, this directory should have been created by the install script. For some reason, this hasn't happened.

--- End quote ---

The locale dir is not created during make install. This problem exists on Windows and as well as on Linux.


--- Quote from: thomas on August 07, 2007, 11:29:56 am ---I have added an if() in revision 4356, so even in debug build, this assertion should no longer fail now (but there may be others).

--- End quote ---

I've fixed it in couple of other places.

@flanagak

If you still get that error, please post. Also please switch to Release build of wx.

flanagak:
All right.

I downloaded 4356 and when I went to run ./bootstrap I got errors telling me that I needed newer versions of automake,autoconf and m4.
I have downloaded the lastest from sun freeware and attempting the install again.


Kevin...

flanagak:
./bootstrap finaly ran successfully after updating versions of automake, autoconf, libtool and m4.

Now when I run ./configure --prefix=/usr/local/test_cb/  --enable-debug I am gettign the following.

--- Code: ---checking whether to build the debugger plugin... yes
checking whether to build the default MIME handler plugin... yes
checking whether to build the foreign projects importer plugin... yes
checking whether to build the scripted wizard plugin... yes
checking whether to build the to-do plugin... yes
checking which (if any) contrib plugins to build... Unknown contrib plugin none, ignoring
none
checking if the compiler supports precompiled headers... yes
checking for pkg-config... yes
You don't have pkg.m4 properly installed

--- End code ---

Thats the last few lines of the standard output.
I have verified that I have pkg-config and that pkg.m4 is in /usr/share/aclocal.

I have attached the config.log, hopefully this will help.

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version