LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation of UFRAW Command line tool on linux (https://www.linuxquestions.org/questions/linux-newbie-8/installation-of-ufraw-command-line-tool-on-linux-4175479660/)

TDSU 10-04-2013 06:14 PM

Installation of UFRAW Command line tool on linux
 
I am looking for some help in installing UFRAW tool on linux.

Requirement: My requirement is to convert raw image file to JPG. Also, I don't have root previledge to my development linux server. Server owner team has provided me access to specific path only.

Linux Server: Linux version 2.6.32-300.11.1.el5uek (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50))

What i have done: Raised request to server owner team to install ImageMagick and UFRAW tool. ImageMagick tool was installed by the team with root access and they asked me to install UFRAW by my own inside application directory (as UFRAW is not present in RPM repository).

When i tried installing UFRAW from here (http://sourceforge.net/project/downl...-0.19.2.tar.gz),

it asked me to install two dependent package : 1: GLIB and 2: LCMS

I installed glib-2.21.6 and lcms2-2.5 in my application scope and setup the environment flags (GLIB_CFLAGS, GLIB_LIBS, LCMS_CFLAGS, LCMS_LIBS)

After above installation, i tried configuring UFRAW and was successfully able to do that. But when i am trying to run "make" command, i am getting below error message :

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/ngs/app/abc/Mar/ufraw/ufraw-0.19.2/icons'
make[2]: Entering directory `/ngs/app/abc/Mar/ufraw/ufraw-0.19.2'
CXX dcraw.o
dcraw.cc:88:48: error: lcms.h: No such file or directory
dcraw.cc:99:60: error: glib/gi18n.h: No such file or directory
dcraw.cc: In member function ‘void DCRaw::merror(void*, const char*)’:
dcraw.cc:424: error: ‘_’ was not declared in this scope
dcraw.cc: In member function ‘void DCRaw::derror()’:


Please help.

PECONET009 10-05-2013 06:19 AM

You could try Darktable of which it will do similar..
 
More on Darktable here:
http://www.darktable.org/install/

TDSU 10-05-2013 02:46 PM

Hi,

I am able to resolve below error message by providing the include folder path :

export C_INCLUDE_PATH=$C_INCLUDE_PATH:~/usr/include
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:~/usr/include

But now getting error message while compiling UFRAW tool with glib.

make[2]: Entering directory `/ngs/app/fsnusrd/ABC/ufraw/ufraw-0.18'
CXX dcraw.o
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:246: error: variable or field ‘g_static_mutex_init’ declared void
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:246: error: ‘GStaticMutex’ was not declared in this scope
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:246: error: ‘mutex’ was not declared in this scope
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:247: error: variable or field ‘g_static_mutex_free’ declared void
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:247: error: ‘GStaticMutex’ was not declared in this scope
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:247: error: ‘mutex’ was not declared in this scope
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:266: error: ‘GStaticMutex’ does not name a type
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:268: error: ‘GSystemThread’ does not name a type
/ngs/app/fsnusrd/usr/include/glib-2.0/glib/gthread.h:285: error: ‘GStaticMutex’ does not name a type


All times are GMT -5. The time now is 08:42 PM.