You are not logged in.
I'm stumped on what to do to get this to compile. It seems to compile without issue on Gentoo; I didn't see any patches in the ebuild. I receive this error when trying to compile Dagii:
make[1]: *** No rule to make target `/sw/include/libpng12/png.h', needed by `sshot.o'. Stop.
make[1]: Leaving directory `/home/arcade/pkgs/dagii/src/dagii-0.4/src'
make: *** [all] Error 2
Immediately I see it pointing to /sw/include/libpng12/png.h which is weird. The makefile has the include path as /usr/include/libpng12, so I don't know where this other path is coming from.
Here's the PKGBUILD, it's an easy one:
# Contributor: robb_force <robb_force@holybuffalo.net>
pkgname=dagii
pkgver=0.4
pkgrel=1
pkgdesc="Dave's AGI Interpreter is a re-implementation of Sierra's Adventure Game Interpreter that allows you to play games such as King's Quest and Space Quest."
url="http://www.dagii.org/"
license="GPL"
arch=('i686')
depends=('sdl>=1.2.9' 'libpng>=1.2.8')
makedepends=('zlib')
source=(http://www.dagii.org/dist/${pkgname}-${pkgver}.tar.gz)
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
}
Has anyone seen this error before?
Last edited by robb_force (2007-05-18 19:11:59)
Offline
Put this after your configure line, before make.
sed -i -e 's|/sw/|/usr/|g' src/depend.1
This will fix your issue but you'll run into another one.
Last edited by tardo (2007-05-26 17:51:03)
Offline
Ah, excellent. Thanks for finding it! I'll see what comes up next.
Offline