You are not logged in.

#1 2004-08-11 00:46:47

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

installed files not registering

Alright, I've been trying to make the gtk-qt-theme engine into an arch package.  In order to make it build, I first had to put libGL.la in /usr/lib as detailed here http://bbs.archlinux.org/viewtopic.php? … torder=asc

Here's my PKGBUILD:

pkgname=gtk-qt-engine
pkgver=0.5
pkgrel=1
pkgdesc="A Theme which makes your GTK2 Apps match your QT theme"
depends=('gtk2' 'qt')
source=(http://gtk-qt.freedesktop.org/Software/gtk-qt/$pkgname-$pkgver.tar.bz2)
url="http://gtk-qt.freedesktop.org/"
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make || return 1
  make prefix=$startdir/pkg install
}

Everything builds, but as the package making process finishes, I get the following error:

==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Cleaning up...
==> Finished making: gtk-qt-engine  (Tue Aug 10 20:39:45 EDT 2004)
==> Running pacman --upgrade...
loading package data... done.
checking for file conflicts... done.
upgrading gtk-qt-engine... done.

Moreover, if I got to /var/lib/pacman/local/gtk-qt-engine-0.5-1/files, all I get is the following:

%FILES%

%BACKUP%

However, the files do seem to be installed and working:  I can go to gtk-theme-switch2 and the qt is there, the software does what it should.

Any ideas?


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

#2 2004-08-11 01:33:36

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: installed files not registering

It sounds like your build function is installing directly to your filesystem, which is not what you want to do. You want it to install to the $startdir/pkg directory as if that was the root of the filesystem. For example, something that will go in /usr/bin should go in $startdir/pkg/usr/bin.

Then run makepkg and it will create a package to be installed with pacman using pacman -U packagename.  This package can be removed by pacman; installing directly to the filesystem takes packages out of pacman's control.

Dusty

Offline

#3 2004-08-11 02:34:38

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Re: installed files not registering

Probably the makefile doesn't use prefix, try to replace

make prefix=$startdir/pkg install

with

make DESTDIR=$startdir/pkg install

or else with

make PREFIX=$startdir/pkg install

and tell us what happens so.


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#4 2004-08-11 13:50:07

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

Re: installed files not registering

putting in DESTDIR worked.  I'll post my pkgbuild promptly in the appropriate forum.


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

Board footer

Powered by FluxBB