You are not logged in.
Hello guys,
I'm trying to build a package for qtoctave, which you can find in http://qtoctave.wordpress.com. The frontend depends on qt4 and octave, but with the following PKGBUILD I can't build it. Suggestions are more than welcomed!
# Contributer: David Lemma <wornaki@gmail.com>
pkgname=qtoctave
pkgver=0.4.1
pkgrel=1
pkgdesc="QtOctave is a front-end for Octave"
url="http://qtoctave.wordpress.com/about/"
depends=('octave' 'qt4')
source=(https://forja.rediris.es/frs/download.php/236/${pkgname}_$pkgver.tar.gz)
md5sums=('29910c14c2037c09e681fe535d0400fc')
build() {
source /etc/profile.d/qt4.sh
cd $startdir/src/project/
./configure
make PREFIX=/usr CONF_PREFIX= || return 1
make install
# Back to the qt3 profile
source /etc/profile.d/qt.sh
}
This is the last part of the compilation log...
cd qtoctave; /usr/bin/make install
make[1]: Entering directory `/home/wornaki/paquetes/qtoctave/src/project/qtoctave'
mkdir: cannot create directory `/usr/local/share/qtoctave': Permission denied
make[1]: *** [install_qtoctave_help] Error 1
make[1]: Leaving directory `/home/wornaki/paquetes/qtoctave/src/project/qtoctave'
make: *** [install] Error 2
==> 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
==> Cleaning up...
==> Finished making: qtoctave (Sun Apr 22 02:40:55 ART 2007)
Offline
First change the configure line:
./configure --prefix=/usr
so the package gets installed in /usr not /usr/local
Change the make install line:
make DESTDIR=$startdir/pkg install
so it doesn't try to install the files directly on the system.
Offline
First change the configure line:
./configure --prefix=/usr
so the package gets installed in /usr not /usr/localChange the make install line:
make DESTDIR=$startdir/pkg install
so it doesn't try to install the files directly on the system.
Well, I did that, but still I got nothing but the same error...
Offline
Try replacing
make DESTDIR=$startdir/pkg install
by:
make prefix=$startdir/pkg/usr install
or:
make PREFIX=$startdir/pkg/usr install
Offline