Build fails on Xubuntu

Robin Rowe <[email protected]> Thu, 09 Oct 2008 13:43:28 -0700
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Kai-Uwe,

I'm building CinePaint for the first time on Xubuntu and hitting an 
error. Seems to do with the i18n macro _(). You did the gettext code 
integration. Output below. Can you tell me what's wrong?

Also, I tried to build from CVS. That fails on line 408 of pdf.cpp when 
it can't find oyGetPathFromProfileName() declared. I'm guessing that 
you're missing a conditional macro there. Can you fix in CVS so it can 
build without oyranos?

One more thing, configure complains it can't find argyll when building 
from CVS. Does something need to be done there?

Thank you!

Robin



rower@silver:~/cinepaint/cinepaint-0.22-1$ sudo apt-get install gcc 
automake g++ libfltk1.1-dev libgtk2.0-dev zlib1g-dev libjpeg62-dev 
libpng12-dev libtiff4-dev libopenexr-dev libxpm-dev libgutenprint-dev 
libgutenprintui2-dev liblcms1-dev pkg-config ftgl-dev libxmu-dev 
libxxf86vm-dev

rower@silver:~/cinepaint/cinepaint-0.22-1$ ./configure  --enable-gtk2

.
. [ Everything except python, flex, and oyranos says 'yes' ]
.

rower@silver:~/cinepaint/cinepaint-0.22-1$ make

.
.
.

  g++ -DHAVE_CONFIG_H -I. -I. -I../../lib -DUSE_THREADS
-I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1 -INONE/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pixman-1 -I../.. -I/usr/local/include -g -O2 -MT
fl_i18n_cinepaint.lo -MD -MP -MF .deps/fl_i18n_cinepaint.Tpo -c
fl_i18n_cinepaint.cxx  -fPIC -DPIC -o .libs/fl_i18n_cinepaint.o
In file included from fl_i18n_cinepaint.cxx:25:
fl_i18n.H:41:1: warning: "_" redefined
In file included from fl_i18n_cinepaint.cxx:23:
./../libgimp/gimpintl.h:61:1: warning: this is the location of the previous
definition
In file included from fl_i18n.H:40,
                  from fl_i18n_cinepaint.cxx:25:
/usr/include/libintl.h:40: error: expected unqualified-id before 'char'
/usr/include/libintl.h:40: error: expected `)' before 'char'
/usr/include/libintl.h:40: error: expected initializer before 'char'
/usr/include/libintl.h:45: error: expected unqualified-id before 'char'
/usr/include/libintl.h:45: error: expected `)' before 'char'
/usr/include/libintl.h:45: error: expected initializer before 'char'
/usr/include/libintl.h:52: error: expected unqualified-id before 'char'
/usr/include/libintl.h:52: error: expected `)' before 'char'
/usr/include/libintl.h:52: error: expected initializer before 'char'
/usr/include/libintl.h:83: error: expected unqualified-id before 'const'
/usr/include/libintl.h:83: error: expected `)' before 'const'
/usr/include/libintl.h:83: error: expected initializer before 'const'
/usr/include/libintl.h:87: error: expected unqualified-id before 'const'
/usr/include/libintl.h:87: error: expected `)' before 'const'
/usr/include/libintl.h:87: error: expected initializer before 'const'
make[3]: *** [fl_i18n_cinepaint.lo] Error 1
make[3]: Leaving directory
`/home/rower/cinepaint/cinepaint-0.22-1/lib/fl_i18n'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rower/cinepaint/cinepaint-0.22-1/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rower/cinepaint/cinepaint-0.22-1/lib'
make: *** [all-recursive] Error 1
rower@silver:~/cinepaint/cinepaint-0.22-1$


-- 
Robin Rowe
CinePaint Project Leader
Beverly Hills, California
www.CinePaint.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/