Re: [CinePaint] Newbie with problems with cinepaint 0.22-1 make instruction
Kai-Uwe Behrmann <[email protected]>
| Newsgroups | gmane.comp.video.cinepaint.user |
|---|---|
| Message-ID | <[email protected]> |
Toni, thanks for reporting. Can you put the attached file in the "libgimp" directory and do a configure/make as before? I guess its a C/C++ conflict. Beside these technical issue, better is not to do normal operations as root. You probably want only to run the "make install" with root rights. kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org + www.cinepaint.org Am 15.08.07, 15:17 -0700 schrieb tonilupi: > > Hi, I'm newbie in linux and never used cinepaint, I used Gimp over Windows > about two years ago and now I'm trying to start an ubuntu studio > distribution. > My first surprise was that cinepaint haven't "print" menu but I saw in your > forum this problem is inherent to ubuntu distribution. > I compiled correctly the debian packages for cinepaint 0.21-2 (included > gutenprint5.0.x.x) and this print menu does not appear neither. > The last I does was download the last cinepaint version tarballs (0.22-1) > and try to install it. > I use --enable-gtk2 and --enable-threads in the ./configure command and this > step succesed correctly but when I tried the make command I get this.(only > show a portion of the console): > > 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 > /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]: se sale del directorio > `/home/tonilupi/Desktop/cinepaint-0.22-1/lib/fl_i18n' > make[2]: *** [all-recursive] Error 1 > make[2]: se sale del directorio > `/home/tonilupi/Desktop/cinepaint-0.22-1/lib' > make[1]: *** [all] Error 2 > make[1]: se sale del directorio > `/home/tonilupi/Desktop/cinepaint-0.22-1/lib' > make: *** [all-recursive] Error 1 > root@ubuntu:/home/tonilupi/Desktop/cinepaint-0.22-1# > > > Anybody know that is the problem? > > Thanks. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Cinepaint-users mailing list Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/cinepaint-users
gimpintl.h.in
(text/plain, 2.5 KB)
/* LIBGIMP - The GIMP Library * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * * gimpintl.h * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef __GIMPINTL_H__ #define __GIMPINTL_H__ #include <glib.h> #include <gtk/gtk.h> #include <locale.h> #include "config.h" /* Copied from gnome-i18n.h by Tom Tromey <[email protected]> * Heavily modified by Daniel Egger <[email protected]> * So be sure to hit me instead of him if something is wrong here */ #ifdef G_OS_WIN32 /* Don't use hardcoded path */ #undef LOCALEDIR #define LOCALEDIR g_strconcat (gimp_toplevel_directory (), \ "\\lib\\locale", \ NULL) #else #define LOCALEDIR "@localedir@" #endif /* G_OS_WIN32 */ #ifdef ENABLE_NLS # include <libintl.h> # define _(String) gettext (String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else /* Stubs that do something close enough. */ # define textdomain(String) (String) # define gettext(String) (char *) (String) # define dgettext(Domain,Message) (char *) (Message) # define dcgettext(Domain,Message,Type) (char *) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #if GTK_MAJOR_VERSION < 2 #define SET_LC_NUMERIC setlocale (LC_NUMERIC, "C"); #else #define SET_LC_NUMERIC #endif #define INIT_LOCALE( domain ) G_STMT_START{ \ setlocale (LC_ALL,""); \ SET_LC_NUMERIC \ bindtextdomain (domain, LOCALEDIR); \ textdomain (domain); \ }G_STMT_END #endif /* __GIMPINTL_H__ */