You are not logged in.
I tried to compile the software 'Barry' (for Blackberry) and encountered a problem, the info is like:
$ ./configure --enable-gui
……
./configure: line 15301: syntax error near unexpected token `LIBUSB,'
./configure: line 15301: `PKG_CHECK_MODULES(LIBUSB, libusb,'
the line 15301 related part of in file configure is like this
15300 # generates LIBUSB_CFLAGS and LIBUSB_LIBS for us
15301 PKG_CHECK_MODULES(LIBUSB, libusb,
15302 ,
15303 echo "ERROR: Libusb not found automatically... build may fail if you don't specify --with-libusb";LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-lusb")
I tried to get some info in the web, is it an autoconf error?
http://www.nabble.com/darwin-patches-td20166331.html
but I don't know what the problem...
I don't know whether it is proper to post the problem here...
Last edited by felonwan (2009-08-06 15:23:58)
Offline
do you have libusb installed?
Offline
Hello felonwan!
Which version of barry did you try to install, the git version or the simple ?
Both of them works by me from aur. Did you try it so, or just manually ?
Offline
Hello felonwan!
Which version of barry did you try to install, the git version or the simple ?
Both of them works by me from aur. Did you try it so, or just manually ?
I tried to install it manually, because I didn't know it can be installed from aur and how to then.
I'll try.
Last edited by felonwan (2009-08-13 16:10:35)
Offline
Hello felonwan!
Which version of barry did you try to install, the git version or the simple ?
Both of them works by me from aur. Did you try it so, or just manually ?
I've tried to install barry and barry-git from aur, the laster is OK, but the former encountered such err info:
...
g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -march=i686 -mtune=generic -O2 -pipe -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.cc -fPIC -DPIC -o .libs/base64.o
base64.cc: In member function 'int base64_input::operator()()':
base64.cc:41: error: 'EOF' was not declared in this scope
base64.cc: In function 'bool encode(base64_input&, base64_output&)':
base64.cc:99: error: 'EOF' was not declared in this scope
base64.cc: In function 'int insig(base64_input&)':
base64.cc:138: error: 'EOF' was not declared in this scope
base64.cc: In function 'bool decode(base64_input&, base64_output&)':
base64.cc:174: error: 'EOF' was not declared in this scope
make[2]: *** [base64.lo] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-barry/barry/src/barry-0.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-barry/barry/src/barry-0.14'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build barry package.
...
what's the problem?
Offline
it need to be patched to build with the latest gcc.
Add:
#include<cstdio>
to
base64.cc
Offline
djszapi wrote:Hello felonwan!
Which version of barry did you try to install, the git version or the simple ?
Both of them works by me from aur. Did you try it so, or just manually ?
I've tried to install barry and barry-git from aur, the laster is OK, but the former encountered such err info:
...
g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -march=i686 -mtune=generic -O2 -pipe -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.cc -fPIC -DPIC -o .libs/base64.o
base64.cc: In member function 'int base64_input::operator()()':
base64.cc:41: error: 'EOF' was not declared in this scope
base64.cc: In function 'bool encode(base64_input&, base64_output&)':
base64.cc:99: error: 'EOF' was not declared in this scope
base64.cc: In function 'int insig(base64_input&)':
base64.cc:138: error: 'EOF' was not declared in this scope
base64.cc: In function 'bool decode(base64_input&, base64_output&)':
base64.cc:174: error: 'EOF' was not declared in this scope
make[2]: *** [base64.lo] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-barry/barry/src/barry-0.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-barry/barry/src/barry-0.14'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build barry package.
...what's the problem?
Don't forget to kick the AUR maintainer/submitter to fix the issue
Offline
And the real author of the program/package.
Offline