You are not logged in.
I am trying to run code::blocks ide binary from following site
http://www.icpne.pl/~groman/cb-slack/co … 6-1pn7.tgz
but it is complaining of missing libwx_gtk2-2.6.so.0 library although i have wxgtk installed ..
Offline
Dont use the binary. Use the source.
Offline
That site is down at the moment - can't even ping it.
Do they provide the source code? If so, I'll have a look if/when it comes back up.
<edit>
Never mind - found it on sf.net.
Offline
I can't get that to compile at the moment, but I'll do a bit more research and try again.
You might be able to get the binary going by creating a symlink as follows:
ln -s /usr/lib/libwx_gtk2_core-2.6.so.0 /usr/lib/libwx_gtk2-2.6.so.0
not an ideal fix, by any means, but no harm in giving it a try.
Offline
Strange, i somehow managed to make my own package before i posted here but it didnt work, so i ended up fiddling with the binary listed above. Now i have tried my package and miraculously works without problems. So if is someone in case of emergency or whatever, he can use this NOT arch compliant pkgbuid.
pkgname=codeblocks-svn
pkgver=1.0rc2
pkgrel=1
pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
url="http://www.codeblocks.org/"
license="GPL"
depends=(wxgtk)
build()
{
svn checkout svn://svn.berlios.de/codeblocks/trunk
cd $startdir/src/trunk/
./bootstrap
./configure --prefix=$startdir/pkg
make
make install
}
Offline
Alternatively, he, or she, could use the following completely compliant PKGBUILD, which will be in the AUR in a couple of minutes:
# Contributor: Tom K <tomk@runbox.com>
pkgname=codeblocks-svn
pkgver=1717
pkgrel=1
depends=('wxgtk')
pkgdesc="C++ IDE built specifically to meet the most demanding needs of its users"
source=()
md5sums=()
license="GPL"
url="http://www.codeblocks.org/"
_svntrunk=svn://svn.berlios.de/codeblocks
_svnmod=trunk
build() {
cd $startdir/src
svn co $_svntrunk/$_svnmod --config-dir ./ -r $pkgver
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
./bootstrap
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
find $startdir/pkg -name '*.la' -exec rm {} ;
}
The only signicant problems with yours are the absence of libtool-slay, and an odd choice of prefix for ./configure. The rest of the changes are to achieve compliance with the CVS/SVN guidelines for AUR packages.
Offline
Nice work.
Offline