dennyhalim / wbar

Automatically exported from code.google.com/p/wbar
GNU General Public License v3.0
0 stars 0 forks source link

2.0.1 DESTDIR broken #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying 2.0.1 to package but I've run into a problem with 'make install', 
everything except the binaries install to the correct location using the 
'DESTDIR' variable. Instead the binaries are installed to a directory called 
'pkgNONE' in my current working directory.

My script looks like this (you can probably work out what the variables are 
suppose to be):

    cd $startdir/src/$pkgname-$pkgver
    ./configure \
      --prefix=/usr \
      --sysconfdir=/etc \
      --localstatedir=/var \
      --libdir=/usr/lib${LIBDIRSUFFIX} \
      --mandir=/usr/man \
      --infodir=/usr/info \
      --docdir=/usr/doc/$pkgname-$pkgver \
      --build=$arch-slackware-linux
    make -j $numjobs
    make install DESTDIR=$startdir/pkg

Could you please rectify this?

Original issue reported on code.google.com by phill.wa...@gmail.com on 9 Jan 2011 at 11:37

GoogleCodeExporter commented 9 years ago
Nevermind, defining '--exec-prefix=/usr' solved the problem.

Original comment by phill.wa...@gmail.com on 9 Jan 2011 at 11:46

GoogleCodeExporter commented 9 years ago
see README file

./configure --prefix=/usr --exec_prefix=/usr --sysconfdir=/etc

Original comment by yadick...@gmail.com on 10 Jan 2011 at 2:21

GoogleCodeExporter commented 9 years ago

Original comment by yadick...@gmail.com on 10 Jan 2011 at 5:14