User forums > Using Code::Blocks

[SOLVED] 'AM_OPTIONS_WXCONFIG' not found in library

<< < (5/5)

hidefromkgb:
The article should be as follows:


--- Quote ---Initial preparations

It is better to remove the old versions of both C::B and WXW before trying to build.
To do that, run Bash and paste this to the command prompt:

--- Code: ---pkglist=""
for pkg in codeblocks wxgtk3 wxgtk2 wxgtk-common; do pkglist+="$(pacman -Qi $pkg | grep -i "^ *name *:" | cut -d: -f2-) "; done
[ -n "$(tr -d " " <<<"$pkglist")" ] && sudo pacman -Rsn $pkglist

--- End code ---

Option 1. Building without an AUR wrapper

First, install the prerequisites:


--- Code: ---sudo pacman -S curl zlib gcc-libs expat gtk2 gtk3 gst-plugins-base-libs libsm libxxf86vm libnotify valgrind bzip2 hicolor-icon-theme gamin hunspell webkit2gtk
--- End code ---

Then, go to /tmp/ and build a development version of WXW and then an SVN revision of C::B:


--- Code: ---cd /tmp/
root="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h="
for pkg in wxgtk-common-dev wxgtk2-dev wxgtk3-dev codeblocks-svn; do rm -rf $pkg; mkdir $pkg; cd $pkg; curl -o PKGBUILD "$root$pkg"; makepkg --noconfirm; sudo pacman -U *.pkg.tar.xz || exit 1; cd ..; done
--- End code ---

Done.

Option 2. Building with an AUR wrapper

Here I assume that the AUR wrapper installed on the target Arch machine is Pacaur.
If it`s not the case then please translate the given commands to your favourite wrapper`s format manually, it should be straightforward.

Build a development version of WXW and then an SVN revision of C::B:


--- Code: ---pacaur -S wxgtk-common-dev wxgtk2-dev wxgtk3-dev codeblocks-svn
--- End code ---

Done.

--- End quote ---
I`ll modify the article once I finish testing the first approach.

Navigation

[0] Message Index

[*] Previous page

Go to full version