[SOLVED] RAWstudio install

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] RAWstudio install

Postby fox » Mar 29th, '14, 13:19

Hi
I'm trying to compile rawstudio http://rawstudio.org/ as shown in the readme file - "./configure" then "make" then "make install". ./configure runs fine, I installed the needed libraries it asked and then it is done and I run "make" which after a huge output in the terminal ends with:
Code: Select all
Makefile:375: recipe for target 'exiv2-colorspace.lo' failed
make[3]: *** [exiv2-colorspace.lo] Error 1
make[3]: Leaving directory '/home/katz/src/rawstudio-2.0/plugins/load-gdk'
Makefile:311: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/katz/src/rawstudio-2.0/plugins'
Makefile:373: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/katz/src/rawstudio-2.0'
Makefile:282: recipe for target 'all' failed
make: *** [all] Error 2

Is something missing?

P.S Mageia 4 64 bit KDE up to date
Last edited by fox on Mar 30th, '14, 14:25, edited 1 time in total.
fox
 
Posts: 26
Joined: May 26th, '12, 07:44
Location: Bulgaria

Re: RAWstudio install

Postby doktor5000 » Mar 29th, '14, 22:09

What you posted is only the result of the error, the original error is further up. Can you please post more from the make output at the end?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: RAWstudio install

Postby jiml8 » Mar 29th, '14, 22:10

You had a compiler error further back up in that huge output list. What you have presented is merely the summary at the end of the compile activity.

The error apparently occurred when compiling the library exiv-colorspace. Look through that output for the specific error.

Commonly, this kind of error is one that an ordinary user will not be able to solve; usually it means there is a programming problem, and you won't fix it unless you know how to program. But, if you find the specific error and list it here, there is an outside chance that it is something we could help you solve.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: RAWstudio install

Postby fox » Mar 30th, '14, 12:28

Thank you for your response. I attached the outputs both for configure and make. Here is a little above of the output, containing information about exiv2-colorspace:
Code: Select all
-DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -D_REENTRANT -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libxml2
-I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/lensfun -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/raptor2 -I/usr/include/gphoto2 -I/usr/include/libexif
-I../../librawstudio/ -I../../   -Wall -O4 -g -O2 -MT exiv2-colorspace.lo -MD
-MP -MF .deps/exiv2-colorspace.Tpo -c -o exiv2-colorspace.lo
exiv2-colorspace.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
-DPACKAGE_DATA_DIR=\"/usr/local/share\"
-DPACKAGE_LOCALE_DIR=\"/usr/local//locale\" -D_REENTRANT -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libxml2
-I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/lensfun -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/raptor2 -I/usr/include/gphoto2 -I/usr/include/libexif
-I../../librawstudio/ -I../../ -Wall -O4 -g -O2 -MT exiv2-colorspace.lo -MD -MP
-MF .deps/exiv2-colorspace.Tpo -c exiv2-colorspace.cpp  -fPIC -DPIC -o
.libs/exiv2-colorspace.o
In file included from /usr/include/exiv2/metadatum.hpp:39:0,
                 from /usr/include/exiv2/exif.hpp:34,
                 from /usr/include/exiv2/image.hpp:41,
                 from exiv2-colorspace.cpp:23:
/usr/include/exiv2/value.hpp:984:25: note: attribute for ‘struct
Exiv2::DateValue::Date’ must follow the ‘struct’ keyword
         EXIV2API struct Date
                         ^
exiv2-colorspace.cpp: In function ‘RSColorSpace* exiv2_get_colorspace(const
gchar*, gboolean*)’:
exiv2-colorspace.cpp:128:18: error: invalid use of incomplete type ‘png_info
{aka struct png_info_def}’
      if (info_ptr->valid & PNG_INFO_iCCP)
                  ^
In file included from exiv2-colorspace.cpp:28:0:
/usr/include/libpng16/png.h:584:16: error: forward declaration of ‘png_info
{aka struct png_info_def}’
 typedef struct png_info_def png_info;
                ^
exiv2-colorspace.cpp:132:73: error: invalid conversion from ‘png_charpp {aka
char**}’ to ‘png_bytepp {aka unsigned char**}’ [-fpermissive]
              (png_charpp) &icc_profile, (png_uint_32*) &icc_profile_size);
                                                                         ^
In file included from /usr/include/libpng16/png.h:460:0,
                 from exiv2-colorspace.cpp:28:
/usr/include/libpng16/png.h:2314:30: error:   initializing argument 5 of
‘png_uint_32 png_get_iCCP(png_const_structrp, png_inforp, png_charpp, int*,
png_bytepp, png_uint_32*)’ [-fpermissive]
 PNG_EXPORT(158, png_uint_32, png_get_iCCP, (png_const_structrp png_ptr,
                              ^
/usr/include/libpng16/pngconf.h:309:70: note: in definition of macro
‘PNG_FUNCTION’
 #  define PNG_FUNCTION(type, name, args, attributes) attributes type name args
                                                                      ^
/usr/include/libpng16/pngconf.h:333:4: note: in expansion of macro ‘PNG_EXPORTA’
    PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
    ^
/usr/include/libpng16/png.h:2314:1: note: in expansion of macro ‘PNG_EXPORT’
 PNG_EXPORT(158, png_uint_32, png_get_iCCP, (png_const_structrp png_ptr,


Maybe something about libpng but I don't understand any of it and I don't have programing skills.
Attachments
make.txt
(326.75 KiB) Downloaded 132 times
configure.txt
(7.78 KiB) Downloaded 111 times
fox
 
Posts: 26
Joined: May 26th, '12, 07:44
Location: Bulgaria

Re: RAWstudio install

Postby doktor5000 » Mar 30th, '14, 14:03

Well, last version of rawstudio is nearly 3 years old. And looking at the Fedora package, there seem to be at least 2 patches required to get it to build correctly (to fix the error that you see). You can get the patches here: http://pkgs.fedoraproject.org/cgit/rawstudio.git/tree/

I've just adapted the Fedora package for Mageia, here's the x86_64 version:

rawstudio-2.0-1.mga4.x86_64.rpm
(653.04 KiB) Downloaded 152 times

librawstudio-2.0-1.mga4.x86_64.rpm
(105.33 KiB) Downloaded 167 times
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

[SOLVED] RAWstudio install

Postby fox » Mar 30th, '14, 14:24

Thank you very much! It works. Appreciate it.
fox
 
Posts: 26
Joined: May 26th, '12, 07:44
Location: Bulgaria


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest