You are not logged in.
zbar-qt gives this error
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT zbar/zbar_libzbar_la-scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-scanner.Tpo -c zbar/scanner.c -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-scanner.o
In file included from /usr/include/stdio.h:937:0,
from zbar/debug.h:60,
from zbar/scanner.c:34:
/usr/include/bits/stdio2.h:140:1: error: expected identifier or '(' before '{' token
make[1]: *** [zbar/zbar_libzbar_la-scanner.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
There is already a comment on the AUR site, but no solution, yet.
My programming skills are not very good, so i'm not able to solve it on my own.
Last edited by SiD (2012-10-24 22:39:35)
Offline
A user in the german forums figured out it compiles using just configure and make,
wget http://downloads.sourceforge.net/zbar/0.10/zbar-0.10.tar.bz2
tar xf zbar-0.10.tar.bz2
cd zbar-0.10
sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' zbar/video/v4l1.c include/config.h.in configure.ac configure
./configure --prefix=/usr --without-gtk --without-python
make
but fails using a PKGBUILD and makepkg
https://bbs.archlinux.de/viewtopic.php?id=22634
EDIT:
seems CFLAGS in makepkg.conf are the problem, adding
export CFLAGS=""
before the ./configure line in PKGBUILD fix it.
Last edited by SiD (2012-10-24 22:39:52)
Offline