You are not logged in.

#1 2004-06-06 08:31:48

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 335

error when compile bmp-cvs

there is error message, I don't know what's wrong, please anybody could tell me:

[size=18]*info* running autoreconf
m4/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/auto … %20aclocal
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
/usr/share/aclocal/rep.m4:7: warning: underquoted definition of AM_PATH_REP
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC
/usr/share/aclocal/libraw1394.m4:6: warning: underquoted definition of AC_LIB_RAW1394_FLAGS
/usr/share/aclocal/libraw1394.m4:19: warning: underquoted definition of AC_LIB_RAW1394_HEADERS
/usr/share/aclocal/libraw1394.m4:41: warning: underquoted definition of AC_LIB_RAW1394_LIBVERSION
/usr/share/aclocal/libraw1394.m4:75: warning: underquoted definition of AC_LIB_RAW1394_RUNTEST
/usr/share/aclocal/libraw1394.m4:138: warning: underquoted definition of AC_LIB_RAW1394
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/beep.m4:17: warning: underquoted definition of BEEP_TEST_VERSION
/usr/share/aclocal/beep.m4:62: warning: underquoted definition of AM_PATH_BEEP
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE

and my PKGBUILD is:

pkgname=bmp-cvs
provides=bmp
pkgver=20040606
pkgrel=1
pkgdesc="BMP is a multimedia player that currently uses a skinned user interface based on Winamp 2.x skins. "
url="http://beepmp.sourceforge.net/"
depends=('gtk2')
makedepends=('cvs')
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/beepmp"
cvsmod="bmp"

build() {
  cd $startdir/src
  msg "Logging in to anonymous CVS... Please press 'enter'."
  cvs -Q -d $cvsroot login
  msg "Fetching sources from CVS..."
  cvs -Q -z3 -d $cvsroot co -D $pkgver $cvsmod
  cd $cvsmod
  ./autogen.sh --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

Offline

#2 2004-06-08 09:09:51

bogomipz
Member
From: Oslo, Norway
Registered: 2003-11-23
Posts: 169

Re: error when compile bmp-cvs

I saw no errors only warnings in your quote, so I tried your PKGBUILD myself. After a couple more of those underquoted definition warnings I got:

make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

The problem is that no Makefile is created, this is supposed to be done with ./configure which is a script created by ./autogen.sh. Moreover autogen.sh doesn't take any fancy options like configure does - in short you kind of confused autogen.sh with configure.

Here's the modified PKGBUILD that I successfully compiled bmp-cvs with:

pkgname=bmp-cvs
provides=bmp
pkgver=20040606
pkgrel=1
pkgdesc="BMP is a multimedia player that currently uses a skinned user interface based on Winamp 2.x skins."
url="http://beepmp.sourceforge.net/"
depends=('gtk2')
makedepends=('cvs')
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/beepmp"
cvsmod="bmp"

build() {
  cd $startdir/src
  msg "Logging in to anonymous CVS... Please press 'enter'."
  cvs -Q -d $cvsroot login
  msg "Fetching sources from CVS..."
  cvs -Q -z3 -d $cvsroot co -D $pkgver $cvsmod
  cd $cvsmod
  ./autogen.sh
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

All of your mips are belong to us!!

Offline

#3 2004-06-08 12:45:50

arm
Member
Registered: 2003-07-31
Posts: 41

Re: error when compile bmp-cvs

cd $startdir/src
msg "Logging in to anonymous CVS... Please press 'enter'."
cvs -Q -d $cvsroot login
msg "Fetching sources from CVS..."
cvs -Q -z3 -d $cvsroot co -D $pkgver $cvsmod
cd $cvsmod
./scripts/gen-atuo**.sh -i
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1

Offline

#4 2004-06-10 01:39:59

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 335

Re: error when compile bmp-cvs

Ha, ha, thanks a millinon, i will get it when home. Thanks again.

Offline

Board footer

Powered by FluxBB