You are not logged in.

#1 2008-01-05 03:20:35

scrawler
Member
Registered: 2005-06-07
Posts: 312

gtkserver PKGBUILD help

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

#2 2008-01-05 05:54:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gtkserver PKGBUILD help

What's the problem? What is not working? What error message are you getting? You need to be more specific.

Offline

#3 2008-01-05 06:56:15

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,685

Re: gtkserver PKGBUILD help

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

#4 2008-01-05 07:33:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gtkserver PKGBUILD help

Try the PKGBUILD in AUR.

Offline

#5 2008-01-05 15:23:57

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: gtkserver PKGBUILD help

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

#6 2008-01-05 15:35:50

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: gtkserver PKGBUILD help

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 1

thanks.

Last edited by scrawler (2008-01-05 15:37:15)

Offline

#7 2008-01-06 07:05:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gtkserver PKGBUILD help

Contact the maintainer of gtk-server in AUR. He's a TU so he'll be able to fix it.

Offline

Board footer

Powered by FluxBB