You are not logged in.
Okey I've been trying myself all day long and now I feel i gotta ask for help.
I'm trying to create a package myself (QT 4.2.2) and it takes about 2 hours to compile and now after having done that twice without succsess I'm now asking for help.
This is what I have achived:
pkgname=qt
pkgver=4.2.2
pkgrel=1
pkgdesc="The QT gui toolkit."
depends=('libpng' 'libjpeg' 'libxmu' 'libxcursor' 'libxinerama' 'mesa' 'libxft')
source=(ftp://ftp.tu-chemnitz.de/pub/Qt/qt/source/qt-x11-opensource-src-4.2.2.t)
md5sums=('19f6374fe7924e33775cb87ee02669cb')
build() {
cd $startdir/src/qt-x11-opensource-src-4.2.2
unset QMAKESPEC
./configure -prefix /opt/qt
make
make install
}
If you can find any errors please tell me It must have some since this is my first package and it's not working...
Well the problem is that when it's done the package is empty, it only contains a .pkginfo and a .filelist and those won't help...
I think this is the problem:
==> Removing info/doc files...
==> 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
==> Finished making: qt (Sun Jan 7 00:55:30 CET 2007)
Why does it say: Cannot stat? And what does that mean?
Appreciate all help I can get
(When it's done those of you who want to can use this to update your own QT not that I could have stopped you anyway but... )
EDIT: Sorry! This should of course go in the pkgbuild section! I guess crossposting isn't allowed so I'll just wait and hope that any admin will move this to it's right spot.
Offline
pkgname=qt
pkgver=4.2.2
pkgrel=1
pkgdesc="The QT gui toolkit."
depends=('libpng' 'libjpeg' 'libxmu' 'libxcursor' 'libxinerama' 'mesa' 'libxft')
source=(ftp://ftp.tu-chemnitz.de/pub/Qt/qt/source/qt-x11-opensource-src-4.2.2.t)
md5sums=('19f6374fe7924e33775cb87ee02669cb')
build() {
cd $startdir/src/qt-x11-opensource-src-4.2.2
unset QMAKESPEC
./configure --prefix /opt/qt
make
make DESTDIR=$startdir/pkg install
}
or something like that... stat means tar can't find the files in the pkg dir to compress.
Offline
EDIT: Sorry! This should of course go in the pkgbuild section! I guess crossposting isn't allowed so I'll just wait and hope that any admin will move this to it's right spot.
Sure. 8)
Dusty
Offline
There is already a qt 4 package in the community repo:
pacman -S qt4
Offline