News:

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

Main Menu

wxsmith plugin, where is it?

Started by jjenson, February 09, 2019, 10:36:54 PM

Previous topic - Next topic

jjenson

Hi,

I'm running Peppermint 9 Linux. I have built codeblocks 17.12 from source I downloaded from sourceforge and successfully installed it on my system and have been using it ever since without issue. Lately, I have become interested in wxwidgets, but when I create a new project, there is no form wizard. If I select the radio button for wxsmith and hit the "next" button, I get "wxsmith plugin not loaded, cannot continue". What gives? Shouldn't wxsmith be included in the source or is there some other download I have to get?

Thanks,
JJ

oBFusCATed

You have to enable it at configure time see --help or the --with-contrib-plugins option.

Generally the best option is to just build packages. Your distro is debian based, so it should be relatively easy.
(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!]

jjenson

#2
Quote from: oBFusCATed on February 09, 2019, 11:33:08 PM
You have to enable it at configure time see --help or the --with-contrib-plugins option.

Generally the best option is to just build packages. Your distro is debian based, so it should be relatively easy.

Okay, I tried again using ./configure --with-contrib-plugins switch. A lot of checking takes place followed by the following error:

configure: error: Package requirements (hunspell) were not met

No package 'hunspell' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables HUNSPELL_CFLAGS
and HUNSPELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

jjenson

Quote from: jjenson on February 10, 2019, 04:24:31 PM
Quote from: oBFusCATed on February 09, 2019, 11:33:08 PM
You have to enable it at configure time see --help or the --with-contrib-plugins option.

Generally the best option is to just build packages. Your distro is debian based, so it should be relatively easy.

Okay, I tried again using ./configure --with-contrib-plugins switch. A lot of checking takes place followed by the following error:

configure: error: Package requirements (hunspell) were not met

No package 'hunspell' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables HUNSPELL_CFLAGS
and HUNSPELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

IS anyone going to answer this?

stahta01

#4
QuoteNo package 'hunspell' found

Install the hunspell development package
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]

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

stahta01

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]

jjenson

I built and installed hunspell and did the configure again.

It complained that I needed gamin.

I installed gamin

did the config again

it completed successfully. I ran make and i get the following:

collect2: error: ld returned 1 exit status
Makefile:838: recipe for target 'libcodeblocks.la' failed
make[3]: *** [libcodeblocks.la] Error 1
make[3]: Leaving directory '/home/JJ/Downloads/codeblocks-17.12/src/sdk'
Makefile:998: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/JJ/Downloads/codeblocks-17.12/src/sdk'
Makefile:527: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/JJ/Downloads/codeblocks-17.12/src'
Makefile:660: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


What now?

oBFusCATed

Quote from: jjenson on February 11, 2019, 03:59:58 PM
...
What now?
Post the actual error message. The part of the error you've posted is not enough.

Also I guess you've ignored my post, so I have to repeat it:

Quote from: oBFusCATed on February 09, 2019, 11:33:08 PM
Generally the best option is to just build packages. Your distro is debian based, so it should be relatively easy.
(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!]

jjenson

#9
Quote from: oBFusCATed on February 11, 2019, 06:38:07 PM

Post the actual error message. The part of the error you've posted is not enough.

Also I guess you've ignored my post, so I have to repeat it:

Quote from: oBFusCATed on February 09, 2019, 11:33:08 PM
Generally the best option is to just build packages. Your distro is debian based, so it should be relatively easy.

Oh, but I didn't ignore your post.

I've been building everything I could.

I built the hunspell package. The gamin package I didn't have to build; I just installed it.

After that it configured nicely, but then when I went to make it, I got what you just saw.

The dump is too big for me to post here; it's even too big to put in an attachment (217kb).

What is this error supposed to look like? I did a grep for "err" ignoring case and all I got was what I posted. There are a lot of undefined references; as if it just can't find something.

Some of them are "undefined reference to" wxTrap(), wxTranslations(), wxBaseArrayInt(), wxCommandEvent(), etc.

oBFusCATed

Quote from: jjenson on February 11, 2019, 07:22:37 PM
Oh, but I didn't ignore your post.

I've been building everything I could.
I see. You have not understood it.

Here is a link you could use: https://www.debian.org/doc/manuals/maint-guide/build.en.html

But I'm not sure you'll be able to clean up your messed up system...
(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!]

jjenson

#11
Quote from: oBFusCATed on February 11, 2019, 07:39:03 PM

But I'm not sure you'll be able to clean up your messed up system...

How is my system messed up?

When I do a dpkg-buildpackage -us -uc I get the following:

dpkg-buildpackage: info: source package codeblocks
dpkg-buildpackage: info: source version 17.12
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Jens Lody <jens@odeblocks.org>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build codeblocks-17.12
dpkg-checkbuilddeps: error: Unmet build dependencies: cdbs libbz2-dev libhunspell-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

oBFusCATed

(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!]

jjenson

I used mk-build-deps debian/control

it generated ./codeblocks-build-deps_17.12_all.deb

This package is supposed to install all dependencies. So I installed it.

After that I ran: sudo dpkg-buildpackage -us -uc

it rolled for over 12 minutes and settled in with the errors:

dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libwx_gtk2u_core-3.1.so.2 (used by debian/codeblocks/usr/bin/cb_share_config)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/codeblocks.substvars debian/codeblocks/usr/lib/codeblocks/plugins/libdefaultmimehandler.so debian/codeblocks/usr/lib/codeblocks/plugins/libabbreviations.so debian/codeblocks/usr/lib/codeblocks/plugins/libopenfileslist.so debian/codeblocks/usr/lib/codeblocks/plugins/libautosave.so debian/codeblocks/usr/lib/codeblocks/plugins/liboccurrenceshighlighting.so debian/codeblocks/usr/lib/codeblocks/plugins/libcodecompletion.so debian/codeblocks/usr/lib/codeblocks/plugins/libtodo.so debian/codeblocks/usr/lib/codeblocks/plugins/libprojectsimporter.so debian/codeblocks/usr/lib/codeblocks/plugins/libscriptedwizard.so debian/codeblocks/usr/lib/codeblocks/plugins/libclasswizard.so debian/codeblocks/usr/lib/codeblocks/plugins/libdebugger.so debian/codeblocks/usr/lib/codeblocks/plugins/libAstyle.so debian/codeblocks/usr/lib/codeblocks/plugins/libcompiler.so debian/codeblocks/usr/bin/cb_share_config debian/codeblocks/usr/bin/cb_console_runner debian/codeblocks/usr/bin/codeblocks returned exit code 255
dh_shlibdeps: Aborting due to earlier error
/usr/share/cdbs/1/rules/debhelper.mk:335: recipe for target 'binary-predeb-IMPL/codeblocks' failed
make: *** [binary-predeb-IMPL/codeblocks] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

I'm not sure what to make of this.  Can you help?

stahta01

You need to uninstall the manually installed libraries this build method complains about.

This is what I had to do when I tried this method about 2 to 4 years, ago.

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]