You are not logged in.

#1 2006-08-13 21:28:26

test1000
Member
Registered: 2005-04-03
Posts: 834

PyAmanith can't install

This is stderr: http://pastebin.ca/129996 for http://louhi.kempele.fi/~skyostil/projects/pyamanith/ when i'm running:
kris|~/PyAmanith-0.3.1$ sudo python ./setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
copying amanith.py -> build/lib.linux-i686-2.4
running build_ext
building '_amanith' extension
--swig-cpp is deprecated - use --swig-opts=-c++
swigging amanith.i to amanith_wrap.cpp
swig -python -c++ -o amanith_wrap.cpp amanith.i

i've already compiled amanith with this PKGBUILD(and if that's not correct then i'd like input on that one aswell)

pkgname=amanith
pkgver=0.3
pkgrel=1
pkgdesc="OpenSource C++ CrossPlatform framework designed for 2d & 3d vector graphics."
url="http://www.amanith.org"
license="The Q Public License V. 1.0"
depends=('freetype2' 'libjpeg' 'libpng' 'libtiff' 'zlib')
#makedepends=('')
#install=
source=(http://www.amanith.org/download/files/amanith_03.tar.gz)
md5sums=('392e79d36cc2d57921c7fefacbc4d4a3')
build() {
cd $startdir/src/$pkgname/
export AMANITHDIR=$startdir/src/$pkgname
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AMANITHDIR/lib:$QTDIR/lib
qmake amanith.pro
find . -name Makefile -exec sed -i 's|usr/X11R6/include|usr/include/X11|g' {} +
sed -i 's/void QGLWidgetTest::/void /' examples/opengl/vectorizer/drawer.h
make || return 1
mkdir -p $startdir/pkg/usr/share/amanith
#mkdir -p $startdir/pkg/usr/lib
mv lib $startdir/pkg/usr/share/amanith
mv include $startdir/pkg/usr/share/amanith
mv examples $startdir/pkg/usr/share/amanith
}

all this so i can play fretsonfire which doesn't work for some reason...


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#2 2006-08-15 18:18:59

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: PyAmanith can't install

add qt as a depends

you've copied example over uncompiled..

your pkgbuild will not work without exporting systemwide variables

Offline

Board footer

Powered by FluxBB