You are not logged in.

#1 2006-07-06 20:31:48

megahead13
Member
From: Athens, Greece
Registered: 2006-07-06
Posts: 8

showimg compile error

Hello to all! I am compiling showimg with the pkgbuild provided from AUR, but I get the following error:

tools.cpp:51:2: warning: #warning no HAVE_LIBEXIF
tools.cpp: In static member function 'static bool Tools::saveAs(const QImage*, const QString&, const QString&)':
tools.cpp:1020: error: 'ExifData' was not declared in this scope
tools.cpp:1020: error: 'old_ExifData' was not declared in this scope
tools.cpp:1020: error: 'exif_data_new_from_data' was not declared in this scope
tools.cpp:1028: error: 'JPEGData' was not declared in this scope
tools.cpp:1028: error: 'old_jpegData' was not declared in this scope
tools.cpp:1028: error: 'jpeg_data_new_from_data' was not declared in this scope
tools.cpp:1051: error: 'new_ExifData' was not declared in this scope
tools.cpp:1058: error: 'new_jpegData' was not declared in this scope
tools.cpp:1068: error: 'jpeg_data_set_exif_data' was not declared in this scope
tools.cpp:1071: error: 'jpeg_data_save_data' was not declared in this scope
tools.cpp:1072: error: 'jpeg_data_unref' was not declared in this scope
make[4]: *** [tools.lo] Error 1
make[4]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/showimg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/showimg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Any ideas/tips on how to solve this?

Also, another (newbie) question: How can I select between gcc3 and gcc4 (searched the forum, but I couldn't find anything)? Is it an option in makepkg.conf? In gentoo this is possible with gcc-config, but as far as I understand here things are different...

Thanx in advance...

Offline

#2 2006-07-06 23:02:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: showimg compile error

Try installing libexif.

About gcc, Arch only use the latest gcc versions so there's no options in makepkg.conf . There is a package for gcc3 in the community repo but it's mainly there for legacy/unmaintained apps that don't compile with gcc4.

Offline

#3 2006-07-07 00:23:31

megahead13
Member
From: Athens, Greece
Registered: 2006-07-06
Posts: 8

Re: showimg compile error

Thanx for your answer. libexif is already installed. I tried again with fakeroot makepkg and now I get this error:

make[6]: Entering directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/kexi/3rdparty/kexisql3/src'
/bin/sh ../../../../../libtool --silent --mode=link ccache gcc -DNO_TCL=1 -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -march=i686 -O2 -pipe -Wformat-security -Wmissing-format-attribute   -o libshowimgkexisql3.la -rpath /opt/kde/lib -version-info 3:0 -L/opt/kde/lib -L/opt/qt/lib -L/usr/lib    --no-undefined attach.lo auth.lo btree.lo build.lo date.lo delete.lo expr.lo func.lo hash.lo insert.lo legacy.lo main.lo opcodes.lo os_mac.lo os_unix.lo os_win.lo pager.lo parse.lo pragma.lo printf.lo random.lo select.lo table.lo tokenize.lo trigger.lo utf.lo update.lo util.lo vacuum.lo vdbe.lo vdbeapi.lo vdbeaux.lo vdbemem.lo where.lo
gcc: gcc: No such file or directory
make[6]: *** [libshowimgkexisql3.la] Error 1
make[6]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/kexi/3rdparty/kexisql3/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/kexi/3rdparty/kexisql3'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/kexi/3rdparty'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg/kexi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5/showimg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/showimg/src/showimg-0.9.5'
make: *** [all] Error 2

Offline

#4 2006-07-07 03:59:43

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: showimg compile error

Strange error. It builds fine here. Is your system up-to-date?
Anyway, I've added showimg to the community repo. You can install it with 'pacman -Sy showimg' if you have enabled the community repo in pacman.conf.

Offline

#5 2006-07-07 09:41:19

megahead13
Member
From: Athens, Greece
Registered: 2006-07-06
Posts: 8

Re: showimg compile error

Yeaaaah!!! Thank you!!! big_smile Well, as for the strange error, what can I say: Maybe the gcc flags in makepkg.conf??? Or what??? Oh, those computers.....

Offline

Board footer

Powered by FluxBB