I am trying to make a pkg :
# Contributor: Nathan Owe. ndowens04 at gmail dot com pkgname=mirdir pkgver=2.1 pkgrel=1 pkgdesc="allows to synchronize two directory trees in a fast way." arch=(i686) url="http://mirdir.sf.net" license=('GPL') depends=() makedepends=('make' 'fakeroot') source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.ta...) md5sums=('56afe2aae7983176fd804c264740d6a2')
build() { cd "$srcdir/$pkgname-$pkgver-UNIX"
./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install }
when i try to do makepkg -s it gives ./mkinstalldirs /usr/bin ./mkinstalldirs /usr/man/man1 /bin/install -c bin/mirdir /usr/bin /bin/install: cannot create regular file `/usr/bin/mirdir': Permission denied make: *** [install] Error 1
nathan owe. wrote:
I am trying to make a pkg :
# Contributor: Nathan Owe. ndowens04 at gmail dot com pkgname=mirdir pkgver=2.1 pkgrel=1 pkgdesc="allows to synchronize two directory trees in a fast way." arch=(i686) url="http://mirdir.sf.net" license=('GPL') depends=() makedepends=('make' 'fakeroot') source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.ta...)
md5sums=('56afe2aae7983176fd804c264740d6a2')
build() { cd "$srcdir/$pkgname-$pkgver-UNIX"
./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install }
when i try to do makepkg -s it gives ./mkinstalldirs /usr/bin ./mkinstalldirs /usr/man/man1 /bin/install -c bin/mirdir /usr/bin /bin/install: cannot create regular file `/usr/bin/mirdir': Permission denied make: *** [install] Error 1
It looks like that package does not support the DESTDIR arguement. You will need to look at the makefile to see what it does do...
Allan
Allan McRae wrote:
nathan owe. wrote:
I am trying to make a pkg :
# Contributor: Nathan Owe. ndowens04 at gmail dot com pkgname=mirdir pkgver=2.1 pkgrel=1 pkgdesc="allows to synchronize two directory trees in a fast way." arch=(i686) url="http://mirdir.sf.net" license=('GPL') depends=() makedepends=('make' 'fakeroot') source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.ta...)
md5sums=('56afe2aae7983176fd804c264740d6a2')
build() { cd "$srcdir/$pkgname-$pkgver-UNIX"
./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install }
when i try to do makepkg -s it gives ./mkinstalldirs /usr/bin ./mkinstalldirs /usr/man/man1 /bin/install -c bin/mirdir /usr/bin /bin/install: cannot create regular file `/usr/bin/mirdir': Permission denied make: *** [install] Error 1
It looks like that package does not support the DESTDIR arguement. You will need to look at the makefile to see what it does do...
Allan
well i got it to get past the error, now i just need to get it to install the man pages to /usr/share/man but i do mandir=${pkgdir}/usr/share/man after the make command and it still dont want to install in the correct dir
use: make prefix="$pkgdir/usr" man1dir="$pkgdir/usr/share/man" install
you can remove empty arrays, and make and fakeroot are in base-devel group so take they out from makedepends.
On 11/06/2009, nathan owe. ndowens04@gmail.com wrote:
Allan McRae wrote:
nathan owe. wrote:
I am trying to make a pkg :
# Contributor: Nathan Owe. ndowens04 at gmail dot com pkgname=mirdir pkgver=2.1 pkgrel=1 pkgdesc="allows to synchronize two directory trees in a fast way." arch=(i686) url="http://mirdir.sf.net" license=('GPL') depends=() makedepends=('make' 'fakeroot') source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.ta...)
md5sums=('56afe2aae7983176fd804c264740d6a2')
build() { cd "$srcdir/$pkgname-$pkgver-UNIX"
./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install }
when i try to do makepkg -s it gives ./mkinstalldirs /usr/bin ./mkinstalldirs /usr/man/man1 /bin/install -c bin/mirdir /usr/bin /bin/install: cannot create regular file `/usr/bin/mirdir': Permission denied make: *** [install] Error 1
It looks like that package does not support the DESTDIR arguement. You will need to look at the makefile to see what it does do...
Allan
well i got it to get past the error, now i just need to get it to install the man pages to /usr/share/man but i do mandir=${pkgdir}/usr/share/man after the make command and it still dont want to install in the correct dir
On Wed, Jun 10, 2009 at 10:24 PM, nathan owe.ndowens04@gmail.com wrote:
Allan McRae wrote:
nathan owe. wrote:
I am trying to make a pkg :
# Contributor: Nathan Owe. ndowens04 at gmail dot com pkgname=mirdir pkgver=2.1 pkgrel=1 pkgdesc="allows to synchronize two directory trees in a fast way." arch=(i686) url="http://mirdir.sf.net" license=('GPL') depends=() makedepends=('make' 'fakeroot')
source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.ta...) md5sums=('56afe2aae7983176fd804c264740d6a2')
build() { cd "$srcdir/$pkgname-$pkgver-UNIX"
./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install }
when i try to do makepkg -s it gives ./mkinstalldirs /usr/bin ./mkinstalldirs /usr/man/man1 /bin/install -c bin/mirdir /usr/bin /bin/install: cannot create regular file `/usr/bin/mirdir': Permission denied make: *** [install] Error 1
It looks like that package does not support the DESTDIR arguement. You will need to look at the makefile to see what it does do...
Allan
well i got it to get past the error, now i just need to get it to install the man pages to /usr/share/man but i do mandir=${pkgdir}/usr/share/man after the make command and it still dont want to install in the correct dir
for the man pages try: ./configure --prefix=/usr --mandir=/usr/share/man
Eric Bélanger wrote:
On Wed, Jun 10, 2009 at 10:24 PM, nathan owe.ndowens04@gmail.com wrote:
Allan McRae wrote:
nathan owe. wrote:
I am trying to make a pkg :
# Contributor: Nathan Owe. ndowens04 at gmail dot com pkgname=mirdir pkgver=2.1 pkgrel=1 pkgdesc="allows to synchronize two directory trees in a fast way." arch=(i686) url="http://mirdir.sf.net" license=('GPL') depends=() makedepends=('make' 'fakeroot')
source=(http://downloads.sourceforge.net/sourceforge/mirdir/$pkgname-$pkgver-Unix.ta...) md5sums=('56afe2aae7983176fd804c264740d6a2')
build() { cd "$srcdir/$pkgname-$pkgver-UNIX"
./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install }
when i try to do makepkg -s it gives ./mkinstalldirs /usr/bin ./mkinstalldirs /usr/man/man1 /bin/install -c bin/mirdir /usr/bin /bin/install: cannot create regular file `/usr/bin/mirdir': Permission denied make: *** [install] Error 1
It looks like that package does not support the DESTDIR arguement. You will need to look at the makefile to see what it does do...
Allan
well i got it to get past the error, now i just need to get it to install the man pages to /usr/share/man but i do mandir=${pkgdir}/usr/share/man after the make command and it still dont want to install in the correct dir
for the man pages try: ./configure --prefix=/usr --mandir=/usr/share/man
it is fixed and now in AUR :-)
On 11/06/2009, Eric Bélanger snowmaniscool@gmail.com wrote:
for the man pages try: ./configure --prefix=/usr --mandir=/usr/share/man
no this does not work cause Makefile is bad write
Andrea Scarpino wrote:
On 11/06/2009, Eric Bélanger snowmaniscool@gmail.com wrote:
for the man pages try: ./configure --prefix=/usr --mandir=/usr/share/man
no this does not work cause Makefile is bad write
i got it working by another method, u can take a look at it in aur and see
On 11/06/2009, nathan owe. ndowens04@gmail.com wrote:
i got it working by another method, u can take a look at it in aur and see
I know....you used *my* method....
Andrea Scarpino wrote:
On 11/06/2009, nathan owe. ndowens04@gmail.com wrote:
i got it working by another method, u can take a look at it in aur and see
I know....you used *my* method....
heh thx for the help
On 11/06/2009, nathan owe. ndowens04@gmail.com wrote:
heh thx for the help
10$
Andrea Scarpino wrote:
On 11/06/2009, nathan owe. ndowens04@gmail.com wrote:
heh thx for the help
10$
eh i am broke *gives handshake*
On Thu, 2009-06-11 at 10:45 +0200, Andrea Scarpino wrote:
On 11/06/2009, nathan owe. ndowens04@gmail.com wrote:
heh thx for the help
10$
USD or pesos :)
aur-general@lists.archlinux.org