Re: GTK Warning
Hi- Running terminal won't do quite what you need. I'd advise downloading a X11 Server, and starting that before using gimp/bluefish. The terminal application in MacOSX is, more or less, a telnet application. -Aaron On Mon, 2004-02-02 at 21:31, Steve Slade wrote: Hello, I'm very new to the world of UNIX having been introduced through my recent purchase of OS X. I am trying to find alternatives to programs such as Photoshop and Dreamweaver. I found the Gimp and Bluefish. I downloaded Fink and began installing GTK, Gimp, and Bluefish. I loaded the fourth CD Xcode Tools that came with Panther (OS X 10.3). I installed GTK from source through Finkcommander (I still am tied to GUI's) and then installed the other two programs in the same way. When I try to launch Gimp or Bluefish from a terminal window, I get this error: GTK-Warning **: Cannot open display: :0.0 I have no idea what that means and no idea what to do now. I apologize if this has been asked before. I will search the archives as time permits as I know they contain a wealth of information. I do have a project that I need to complete soon which is why I'm asking the list. Any help is greatly appreciated. Thank you. Steve ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: glib-2.2.3 vs. pkgconfig-0.15.0
Pavel- I think I may know what is happening to you, having run into this issue with the 2.2.2 series. It looks like, to me, that you have different versions of glib installed in different places. At a guess, I'd say that you have the 2.2.3 version installed in a nonstandard location, and have your PKG_CONFIG_PATH environment variable set to detect the 2.2.3 version of glib. However, when the configure script for atk actually checks for the presence of glib, it attempts to build a small test program which is then linked against glib. This test program then queries the version of glib actually linked against to determine what the version of the library actually is, and checks it against the values returned by pkg-config. This would be all well and good, except that the lib pathing returned by the pkg-config for glib is not passed to the glib test program that is built. Incidentally, one way you can work around this is to put the installation path for your 2.2.3 version of glib into your LD_LIBRARY_PATH before invoking configure or make. Granted, it would be nice enough if the people writing the configure scripts for opensource tools would provide some way for having the configure script pass the paths from pkg-config down to the portion of configure that actually builds the conftest programs, but for some reason, most of the opensource, glib based tools that I have needed to build from source do not do so. Hope this helps, Aaron On Sun, 2004-02-01 at 12:11, [EMAIL PROTECTED] wrote: Hi there, I have installed glib-2.2.3, however then there is a problem with pkgconfig-0.15.0 I cannot solve. The error occured while running .configure script of atk-1.2.4. Thank you in advance for any suggestions! checking for GLIB - version = 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.6) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GLib. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. linux:~/atk-1.2.4 # make make: *** No targets specified and no makefile found. Stop. linux:~/atk-1.2.4 # Pavel Solin (CAAM, Rice University, Houston, TX) ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Static compile of gtk+-2.2.4 on RH7.3
OK. If you are using --enable-static, then you will probably want to tell the build system what types of image loaders to compile in statically. I use the following, but if you are only worried about png support, you can trim the list down to just png: --with-included-loaders=ani,bmp,gif,ico,png,pnm,ras,tga,tiff,wbmp,xpm -Aaron On Mon, 2004-02-02 at 07:50, Gwendolynn ferch Elydyr wrote: Hola! I'm trying to compile a static version of gtk+ 2.2.4 under RedHat 7.3, using gcc 2.9.6. I've used ./configure --enable-static=gtk+, and have PKG_CONFIG=/usr/local/bin/pkg-config PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/:/usr/X11R6/lib/pkgconfig LDFLAGS=-lsasl -lssl -lcrypto -ldl -lpng -lz -static CFLAGS=-static set in my environment. While I thought that I'd resolved all of the usual dependancies for gtk, I'm running into a problem halfway through my make: [snippage for size] Making all in stock-icons make[3]: Entering directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons' GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource \ --raw --build-list stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25 ./stock_color_picker_25.png ./gtkstockpixbufs.h || \ ( rm -f ./gtkstockpixbufs.h false ) failed to load ./stock_add_16.png: Couldn't recognize the image file format for file './stock_add_16.png' make[3]: *** [gtkstockpixbufs.h] Error 1 make[3]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4' make: *** [all-recursive-am] Error 2 I thought that this might be a result of my pixbufloader being the wrong version, so I upgraded that, but the error message didn't change. Pointers would be very much appreciated - I'm rather out of inspiration. cheers! == A cat spends her life conflicted between a deep, passionate and profound desire for fish and an equally deep, passionate and profound desire to avoid getting wet. This is the defining metaphor of my life right now. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Static compile of gtk+-2.2.4 on RH7.3
Hmm. I took a look at my makefiles. You might try also using the --disable-modules flag to configure. If it helps any, I call configure as follows (note: this is being done from within a wrapper makefile.): ${TOOL}: echo Installation location will be ${INSTALL_PATH} tar -xvf ${SRC_ROOT}.tar mv ${SRC_ROOT} ${BLD_ROOT} cd ${BLD_ROOT} ;\ PKG_CONFIG_PATH=${PKG_CONFIG_PATH} \ INSTALL_DATA=${INSTALL_DATA} \ PERL=/et/sw/bin/perl \ LDFLAGS=${LDFLAGS} \ CPPFLAGS=${CPPFLAGS} \ ${EXEC_CONFIG} --prefix=${INSTALL_PATH} \ --disable-shared \ --disable-xim \ --disable-modules \ --with-included-loaders=ani,bmp,gif,ico,png,pnm,ras,tga,tiff,wbm p,xpm \ --without-xinput \ --enable-static \ --without-libjpeg \ --x-includes=${X11_ROOT_${OS}}/include \ --x-libraries=${X11_ROOT_${OS}}/lib \ --with-libpng=${INSTALL_PATH_${LOC}_${LIBPNG_TOOL}} cd ${BLD_ROOT} ;\ $(MAKE) PATH=${PATH} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} -Aaron On Mon, 2004-02-02 at 08:23, Gwendolynn ferch Elydyr wrote: On Mon, 2 Feb 2004, Aaron Neerenberg wrote: OK. If you are using --enable-static, then you will probably want to tell the build system what types of image loaders to compile in statically. I use the following, but if you are only worried about png support, you can trim the list down to just png: --with-included-loaders=ani,bmp,gif,ico,png,pnm,ras,tga,tiff,wbmp,xpm Hrm. After doing a make distclean, and then ./configure --enable-static --with-included-loaders=png, it seems to be blowing up in exactly the same way: Making all in stock-icons make[3]: Entering directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons' GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource \ --raw --build-list stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25 ./stock_color_picker_25.png ./gtkstockpixbufs.h || \ ( rm -f ./gtkstockpixbufs.h false ) failed to load ./stock_add_16.png: Couldn't recognize the image file format for file './stock_add_16.png' make[3]: *** [gtkstockpixbufs.h] Error 1 make[3]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4' make: *** [all-recursive-am] Error 2 cheers! On Mon, 2004-02-02 at 07:50, Gwendolynn ferch Elydyr wrote: Hola! I'm trying to compile a static version of gtk+ 2.2.4 under RedHat 7.3, using gcc 2.9.6. I've used ./configure --enable-static=gtk+, and have PKG_CONFIG=/usr/local/bin/pkg-config PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/:/usr/X11R6/lib/pkgconfig LDFLAGS=-lsasl -lssl -lcrypto -ldl -lpng -lz -static CFLAGS=-static set in my environment. While I thought that I'd resolved all of the usual dependancies for gtk, I'm running into a problem halfway through my make: [snippage for size] Making all in stock-icons make[3]: Entering directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons' GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource \ --raw --build-list stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24
Re: pkg-config
Serdar- The reason that setting PKG_CONFIG_PATH=/usr/local/bin isn't working for you is that you need to set PKG_CONFIG when you invoke the configure: sh PKG_CONFIG=/usr/local/bin/pkg-config ./configure The PKG_CONFIG_PATH variable, if you intend to use it, should be set before invoking configure as well. This variable, though, is not intended (from what I've observed) for telling the configure script how to locate pkg-config; rather, it is used for telling pkg-config where too look for the .pc files that pkg-config uses for storing data about toolchains. For an example of using PKG_CONFIG_PATH, when I build the gtk+ libraries, I have several libs that are installed in non-standard locations. For example, I keep my glib installations installed at /et/sw/opensource/glib/2.2.3, and the .pc files for the installation are kept in /et/sw/opensource/glib/2.2.3/lib/pkgconfig, so I invoke configure as: sh PKG_CONFIG=/usr/local/bin/pkg-config PKG_CONFIG_PATH=/et/sw/opensource/glib/2.2.3/lib/pkgconfig ./configure --prefix=... Hope this helps, Aaron On Thu, 2004-01-29 at 07:10, Serdar Ozgur ATA wrote: Hi, as an inexperienced person on Linux platform, I try to build glib-2.2.3 also gtk+-2.2.3 but I've received the error pkg-config not found. for this purpose I've downloded these packages - pkgconfig-0.14.0.tar - glib-2.2.3.tar - gtk+-2.2.3.tar and also - atk-1.2.4.tar - pongo-1.2.5.tar in pkgconfig-0.14.0 directory with ./configure make make install sequence I build pkg-config then I can see that pkg-config is created in the directory /usr/local/bin/ plus pkg-config.1 in /usr/local/man/man1/ but I failed on trying to build glib+-2.2.3 because of pkg-config not found error. also messages I saw are aclocal-1.4 ... missing and automake-1.4 ... missing one solution I found on the NET is to set PKG_CONFIG_PATH as export PKG_CONFIG_PATH=/usr/local/bin/ but doesn't work please help me... thanks a lot S..ATA [EMAIL PROTECTED] [EMAIL PROTECTED] Tel : 262 - 648 14 41 -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk+-2.2.4 make fails
Is there an option to just completely turn ximput off? I've tried with --with-ximput=no, but it doesn't seem to work as one would expect. Thanks, Aaron On Mon, 2004-01-26 at 03:37, Sven Neumann wrote: Hi, [EMAIL PROTECTED] [EMAIL PROTECTED] writes: The config line is: ./configure --prefix=/opt/pkgs/gtk+-2.2.4 --enable-fbmanager --with-xinput=yes --with-x Try --with-xinput=xfree instead if you want to use a tablet with GTK+ later. This won't fix your compile problems but it might save you another go. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk+-2.2.4 make fails
xinput is what I have in my code :) We'll just blame the ximput bit on Monday mornings :) -Aaron On Mon, 2004-01-26 at 09:57, Gene Heskett wrote: On Monday 26 January 2004 12:37, Aaron Neerenberg wrote: Is there an option to just completely turn ximput off? I've tried with --with-ximput=no, but it doesn't seem to work as one would expect. If you meant xinput, you just typed ximput 2 times in a row? Thanks, Aaron On Mon, 2004-01-26 at 03:37, Sven Neumann wrote: Hi, [EMAIL PROTECTED] [EMAIL PROTECTED] writes: The config line is: ./configure --prefix=/opt/pkgs/gtk+-2.2.4 --enable-fbmanager --with-xinput=yes --with-x Try --with-xinput=xfree instead if you want to use a tablet with GTK+ later. This won't fix your compile problems but it might save you another go. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Problems compiling gtk+ 2.2.4 on RedHat Linux 8.0
im_module_list 3414 d info_list r object_info.0 D type_am_et_translit ** This suggests to me that the library does in fact support the GTK+ IM API, but that the problem has to do with access of the library by libtool and/or gtk-query-immodules-2.0 Does anyone have any suggestions about how to resolve this build issue? Given that the failing components seem to be input methods for locales that I don't need to support anyways, I'd be happy if there is some hidden configure option to disable these modules. Thank you, Aaron Neerenberg Software Engineering, Tools, and Infrastructure Team, Credence Systems Corporation -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list