Re: CinePaint configure without -lintl

Kai-Uwe Behrmann <[email protected]>
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Or the other way around, can you install a compiled gettext, which should 
include libintl? I have the impression, it is too much of maintainance at 
this point to properly support a true opt out for i18n.

About FLTK, it is required, as essential plug-ins are based on it. HDR 
from LDR creation, PDF import GUI, ICC Examin, ... are started with 
Glasgow in mind. CinePaint is clearly in a transition.

If you really want to circumvent you'd have to edit the plug-ins/Makefile 
and remove all FLTK plug-in directories by hand from the SUBDIRS variable.
As well libcinepaint links against FLTK already. To link without would be 
a hand crafted command line and the edited SUBDIS variable in 
lib/Makefile to remove fl_i18n. 
Even though FLTK runs very nice on osX. Try v1.1.7. I would go with it.

kind regards
Kai-Uwe Behrmann
--
developing for colour management 
www.behrmann.name + www.oyranos.org + www.cinepaint.org


Am 22.10.07, 22:13 -0600 schrieb Nathan Palmer:

> Ok. So I put your configure script in and now I'm getting a new error.
> I also modified my existing configure script and get the same error.
> 
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating user_install
> config.status: creating gimprc
> config.status: creating gimprc_user
> config.status: creating cinepainttool
> config.status: creating cinepaint-gtk.pc
> config.status: creating cinepaint.spec
> config.status: creating lib/version.h
> config.status: creating lib/Makefile
> config.status: creating lib/wire/Makefile
> config.status: creating lib/fl_i18n/Makefile
> config.status: error: cannot find input file: lib/fl_i18n/Makefile.in
> 
> Somehow it starts looking for the fl_i18n after I remove the -lintl
> lines. So I modifed the configure script a little more and removed the
> lines that it kept erroring on. I got the configure script to run
> successfully but now on the make it comes up with this.
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -I../.. -I../../intl
> -F/Library/Frameworks -I/Library/Frameworks/GLib.framework/Headers
> -I/Library/Frameworks/GDK.framework/Headers
> -I/Library/Frameworks/GTK.framework/Headers -I/opt/local/include
> -DLOCALEDIR=\""/opt/local/share/locale"\"
> -I/Library/Frameworks/GLib.framework/Headers -I/sw/include
> -no-cpp-precomp -D_REGEX_RE_COMP  -g -O2 -Wall -MT bmpwrite.o -MD -MP
> -MF ".deps/bmpwrite.Tpo" -c -o bmpwrite.o bmpwrite.c; \
> then mv -f ".deps/bmpwrite.Tpo" ".deps/bmpwrite.Po"; else rm -f
> ".deps/bmpwrite.Tpo"; exit 1; fi
> /bin/sh ../../libtool --mode=link --tag=CC gcc  -g -O2 -Wall
> -L/sw/lib -flat_namespace -undefined suppress -framework Carbon
> -framework ApplicationServices  -o bmp  bmp.o bmpread.o bmpwrite.o
> ../../lib/libcinepaint.la -F/Library/Frameworks -F/Library/Frameworks
> -framework GLib -framework GDK -framework GTK
> -I/Library/Frameworks/GLib.framework/Headers -lm
> -F/Library/Frameworks -framework glib
> gcc -g -O2 -Wall -flat_namespace -undefined suppress -framework Carbon
> -framework ApplicationServices -o bmp bmp.o bmpread.o bmpwrite.o
> -F/Library/Frameworks -F/Library/Frameworks -framework GLib -framework
> GDK -framework GTK -I/Library/Frameworks/GLib.framework/Headers
> -F/Library/Frameworks -framework glib  -L/sw/lib
> ../../lib/.libs/libcinepaint.a -lm
> /usr/bin/ld: warning -L: directory name (/sw/lib) does not exist
> Making all in bracketing_to_hdr
> Making all in br_core
> make[3]: Nothing to be done for `all'.
> Making all in FL_adds
> /bin/sh ../../../libtool --mode=link --tag=CXX g++  -g -O2  -L/sw/lib
> -flat_namespace -undefined suppress -framework Carbon -framework
> ApplicationServices  -o libfl_adds.la   Fl_Table.lo Fl_Table_Row.lo
> fl_eventnames.lo fl_print_event.lo Fl_Cartesius.lo ys_dbg.lo
> ../../../lib/fl_i18n/libcinepaint_fl_i18n.la -L/opt/local/lib
> -lfltk_images -lpng -lz -ljpeg -lfltk -lpthread -framework Carbon
> -framework ApplicationServices -lsupc++  -F/Library/Frameworks
> -framework glib
> libtool: link: cannot find the library
> `../../../lib/fl_i18n/libcinepaint_fl_i18n.la'
> make[3]: *** [libfl_adds.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> The only part that I see that in configure is FLTK_LIBS. Does this
> version require FLTK? I thought that it was only a part of Glasgow. Is
> there a way to disable it?
> 
> Thanks,
> 
> Nathan
> 

-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.