[KPhotoAlbum] Problems compiling from SVN (seems to be exiv2 problem)

Rafael Beccar rafabeccar at speedy.com.ar
Sun Jan 29 17:20:31 GMT 2006


Hi,

I'm trying to compile kphotoalbum from SVN but I'm getting an error.

It seems there is some problem with exiv2 (similar problem in 
http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00142.html ).

This is what's happening:

--------------------------------------------------------------------------------------------------
# ./configure --prefix=/home/kphotoalbum/ --with-extra-libs=/usr/lib 
--with-extra-includes=/usr/include/ --enable-debug=full
...
checking exiv2/exif.hpp usability... no
checking exiv2/exif.hpp presence... yes
configure: WARNING: exiv2/exif.hpp: present but cannot be compiled
configure: WARNING: exiv2/exif.hpp:     check for missing prerequisite 
headers?
configure: WARNING: exiv2/exif.hpp: see the Autoconf documentation
configure: WARNING: exiv2/exif.hpp:     section "Present But Cannot Be 
Compiled"
configure: WARNING: exiv2/exif.hpp: proceeding with the preprocessor's result
configure: WARNING: exiv2/exif.hpp: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for exiv2/exif.hpp... yes
checking whether to compile the SQL support... no
checking if kphotoalbum should be compiled... yes
configure: creating ./config.status
...
Warning: you chose to install this package in /home/kphotoalbum,
but KDE was found in /usr.
For this to work, you will need to tell KDE about the new prefix, by ensuring
that KDEDIRS contains it, e.g. export KDEDIRS=/home/kphotoalbum:/usr
Then restart KDE.

Good - your configure finished. Start make now

# export KDEDIRS=/home/kphotoalbum:/usr
#make
...
/usr/include/exiv2/exif.hpp: In member function 'virtual const Exiv2::Value& 
Exiv2::Exifdatum::value() const':
/usr/include/exiv2/exif.hpp:287: error: exception handling disabled, use 
-fexceptions to enable
make[3]: *** [SurveyCount.lo] Error 1
make[3]: Leaving directory 
`/home/rafa/kdesvnroot/trunk/extragear/graphics/kphotoalbum/Survey'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/rafa/kdesvnroot/trunk/extragear/graphics/kphotoalbum'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rafa/kdesvnroot/trunk/extragear/graphics'
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------------------
I'm using Debian Testing with:
autoconf 2.59a-7
exiv2 0.7-9.1
exiv2-dev 0.7-9.1

Had somebody face a similar problem before? Any tips ?

Thanks,
Rafael




More information about the Kphotoalbum mailing list