You are not logged in.
Pages: 1
Howdy guys,
would somebody please help me fix this thing?
# Gtk-server
# by Mr Green
# With help from Snowman 8)
#
#
pkgname=gtk-server
pkgver=2.2.2
pkgrel=1
pkgdesc="The GTK-server enables access to GUI's (GTK widget set) for shell scripts and interpreted programming languages."
url=""
license=""
depends=('gtk2' 'libffi' 'glade')
makedepends=()
arch=('i686')
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('e12feedc92e9c54ec678d73194523f5b')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt \
--with-gtk2 \
--enable-library \
--enable-glade \
--sysconfdir=$startdir/pkg/opt/etc \
--bindir=$startdir/pkg/opt/bin \
--libdir=$startdir/pkg/opt/lib \
make || return 1
make install
}Offline
What's the problem? What is not working? What error message are you getting? You need to be more specific.
Offline
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking for -gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub failed
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...Mr Green loves CCM
Offline
Try the PKGBUILD in AUR.
Offline
sorry about the lack of details. I have to remember to put on the right hat before I post; the one I had on last night was tall and pointy on top...
Why, look! there's the version I want in the aur! I guess I should have looked there before posting.
Hmm. I have some problems with that one, too. the md5sum is incorrect, fails check. Also, the PKGBUILD failed when I tried to add "--enable-library" to configure. That's ok though, I don't really need it.
Thanks, I'll pull another hat off the rack next time.
Offline
Actually, I do need it as a library. The PKGBUILD from the aur fails here:
strip libgtk-server.so
ar -r libgtk-server.a gtk-server.o
ar: creating libgtk-server.a
ranlib libgtk-server.a
/bin/install: cannot create regular file `/usr/lib/libgtk-server.so': Permission denied
mkdir -p /usr/lib
/bin/install -c libgtk-server.so /usr/lib
mkdir -p /home/me/mypacs/gtk-server2.2.2/pkg/etc
/bin/install -c -m 644 gtk-server.cfg /home/me/mypacs/gtk-server2.2.2/pkg/etc
/bin/install -c stop-gtk-server /home/me/mypacs/gtk-server2.2.2/pkg/usr/bin
/bin/install: cannot create regular file `/home/me/mypacs/gtk-server2.2.2/pkg/usr/bin': No such file or directory
make: *** [install] Error 1thanks.
Last edited by scrawler (2008-01-05 15:37:15)
Offline
Contact the maintainer of gtk-server in AUR. He's a TU so he'll be able to fix it.
Offline
Pages: 1