[Digikam-devel] [Bug 134351] New: Error while make install

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] New: Error while make install

ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         
           Summary: Error while make install
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: hfw gmx de


Version:            (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
Compiler:          gcc 4.03
OS:                Linux

"make install" (graphics) ends with the following errors:

-----
make[4]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/dimg/filters'
make[4]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/dimg'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/kde -I/usr/share/qt3/include -I.  -I../../../digikam/libs/dimg/loaders -I../../../digikam/libs/dimg/filters -I../../../digikam/libs/dmetadata -I../../../digikam/libs/dcraw -I../../../digikam/digikam  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT dimgloader.lo -MD -MP -MF ".deps/dimgloader.Tpo" -c -o dimgloader.lo dimgloader.cpp; \
        then mv -f ".deps/dimgloader.Tpo" ".deps/dimgloader.Plo"; else rm -f ".deps/dimgloader.Tpo"; exit 1; fi
/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[4]: *** [dimgloader.lo] Fehler 1
make[4]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/dimg'
make[3]: *** [install-recursive] Fehler 1
make[3]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/dimg'
make[2]: *** [install-recursive] Fehler 1
make[2]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam'
make: *** [install-recursive] Fehler 1
----
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

Gilles Caulier
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From caulier.gilles free fr  2006-09-19 22:02 -------
Helmut,

Are you using svn trunk source code from today ?

I cannot reproduce this problem here, but i have a patch against svn on my computer to fix it (normally).

It's just a makefile.am option missing to handle properly c++ exception generated by Exiv2 library.

I will commit it today. Please give me a feedback.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

Gilles Caulier
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From caulier.gilles free fr  2006-09-19 22:07 -------
SVN commit 586502 by cgilles:

digikam from trunk : fix exception rules in makefile.am about exiv2/DMetadata.
CCBUGS: 134351

 M  +1 -1      dimg/Makefile.am  
 D             dimg/dimgloader.cpp  
 D             dimg/dimgloader.h  
 D             dimg/dimgloaderobserver.h  
 M  +1 -1      dimg/loaders/Makefile.am  
 A             dimg/loaders/dimgloader.cpp   dimg/dimgloader.cpp#586496
 A             dimg/loaders/dimgloader.h   dimg/dimgloader.h#586496
 A             dimg/loaders/dimgloaderobserver.h   dimg/dimgloaderobserver.h#586496
 M  +3 -2      threadimageio/Makefile.am  


--- trunk/extragear/graphics/digikam/libs/dimg/Makefile.am #586501:586502
 @ -3,7 +3,7  @
 
 noinst_LTLIBRARIES = libdimg.la
 
-libdimg_la_SOURCES = dimg.cpp dimgloader.cpp dimgscale.cpp dcolor.cpp dcolorcomposer.cpp
+libdimg_la_SOURCES = dimg.cpp dimgscale.cpp dcolor.cpp dcolorcomposer.cpp
 
 libdimg_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LCMS_LIBS)
 
--- trunk/extragear/graphics/digikam/libs/dimg/loaders/Makefile.am #586501:586502
 @ -3,7 +3,7  @
 
 noinst_LTLIBRARIES = libdimgloaders.la
 
-libdimgloaders_la_SOURCES = pngloader.cpp jpegloader.cpp tiffloader.cpp rawloader.cpp \
+libdimgloaders_la_SOURCES = dimgloader.cpp pngloader.cpp jpegloader.cpp tiffloader.cpp rawloader.cpp \
                     ppmloader.cpp qimageloader.cpp iccjpeg.c
 
 libdimgloaders_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) \
--- trunk/extragear/graphics/digikam/libs/threadimageio/Makefile.am #586501:586502
 @ -12,5 +12,6  @
 libthreadimageio_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
 
 INCLUDES = -I$(top_srcdir)/digikam/libs/dimg \
-       -I$(top_srcdir)/digikam/digikam \
-       $(all_includes)
+   -I$(top_srcdir)/digikam/libs/dimg/loaders \
+   -I$(top_srcdir)/digikam/digikam \
+   $(all_includes)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

Gilles Caulier
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From caulier.gilles free fr  2006-09-21 09:39 -------
Helmut,

can you give me a fresh report please.
The problem still exist with current svn ?

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

ChefSchaffner
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From hfw gmx de  2006-09-21 10:01 -------
Gilles,

I submitted a comment yesterday, but apparently I made some mistake, as the comment isn't published...
Sorry for that, it's my first time using svn and it was my first bug report, please be patient until I'm getting used to the conventions...

Yes, I'm using the current svn, I got the script from digikam.org. It should always load the actual sources, shouldn't it? To be shure I post the script at the end of this comment.

I also checked the three makefiles, the changes from your diff where already in there.

I can try another run today in the evening (I'm at work at the moment) an post the output, if you need it.

------ svn_digikam.sh ------
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
cd graphics
svn up digikam
svn up digikamimageplugins
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
cd ..
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
cd libs
make -f Makefile.cvs
./configure
make
sudo make install
cd ../graphics
make -f Makefile.cvs
./configure
make
sudo make install
-------------------------

thanks, helmut
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

Gilles Caulier
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From caulier.gilles free fr  2006-09-21 10:05 -------
Helmut,

To be sure, just cleanup your local source code folder and re-start the script to update all and recompile from scratch.

Let's me hear if compilation fail again...

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

ChefSchaffner
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From hfw gmx de  2006-09-21 21:58 -------
Hi Gilles,

I removed all files except my script and started it again. Now I get another error:

-------------------
make[3]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/dimg'
Making install in threadimageio
make[3]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/threadimageio'
make[4]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/threadimageio'
make[4]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[4]: Für das Ziel »install-data-am« ist nichts zu tun.
make[4]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/threadimageio'
make[3]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/threadimageio'
Making install in themeengine
make[3]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/themeengine'
make[4]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/themeengine'
make[4]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[4]: Für das Ziel »install-data-am« ist nichts zu tun.
make[4]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/themeengine'
make[3]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/themeengine'
Making install in widgets
make[3]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/widgets'
Making install in metadata
make[4]: Entering directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/widgets/metadata'
if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../digikam/libs/dmetadata
-I../../../../digikam/libs/dimg -I../../../../digikam/digikam -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -MT iptcwidget.lo -MD -MP -MF ".deps/iptcwidget.Tpo" -c -o iptcwidget.lo iptcwidget.cpp; \
        then mv -f ".deps/iptcwidget.Tpo" ".deps/iptcwidget.Plo"; else rm -f ".deps/iptcwidget.Tpo"; exit 1; fi
iptcwidget.cpp: In member function 'virtual QString Digikam::IptcWidget::getTagTitle(const QString&)':
iptcwidget.cpp:184: error: 'dataSetTitle' is not a member of 'Exiv2::IptcDataSets'
make[4]: *** [iptcwidget.lo] Fehler 1
make[4]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/widgets/metadata'
make[3]: *** [install-recursive] Fehler 1
make[3]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs/widgets'
make[2]: *** [install-recursive] Fehler 1
make[2]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam/libs'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/home/helmut/tmp/svn_digikam/graphics/digikam'
make: *** [install-recursive] Fehler 1
helmut vmw-ubuntu:~/tmp/svn_digikam$
--------------------

That seems to be an already solved bug (#122747). But I'm using gcc 4.0.3, not gcc 4.1.

Do you have any idea, what's going wrong? Is it me? ;-)

thanks & bye
helmut
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

Gilles Caulier
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From caulier.gilles free fr  2006-09-22 13:40 -------
This is not a gcc version problem. Witch Exiv2 library you use ? Can you use the last stable release available (0.11) ? Look here :

http://www.exiv2.org/download.html

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

Gilles Caulier
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         




------- Additional Comments From caulier.gilles free fr  2006-09-22 13:41 -------
Forget to said that you need to uninstall the old Exiv2 library from your computer before to install the new one.

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134351] Error while make install

ChefSchaffner
In reply to this post by ChefSchaffner
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134351         
hfw gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From hfw gmx de  2006-09-22 16:35 -------
I installed Exiv2 from source (and uninstalled the old version before) - now it works.

I will start testing digikam right now :-)

Thanks a lot for your support!

bye, helmut
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel