Engine "lighthouseblue" is unsupported; need help installing gtk-2.0 ???
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Engine "lighthouseblue" is unsupported; need help installing gtk-2.0 ???
I tried running a Java swing application that I know works fine. When I runit it on my linux box, I get the following error message, followed by an exception:
/usr/share/themes/LighthouseBlue/gtk-2.0/gtkrc:53: Engine "lighthouseblue" is unsupported, ignoring
I've ommitted the exception because I don't think the exeption is relevant... I think the problem is with the gtk-2.0.
I downloaded the gtk+-2.8.18 and tried running the configure script. I kept on getting messages that I was missing dependencies so I started installing them one by one. I finally came to a point where some of the dependencies are not installing for me (they're giving me errors when trying to install them, e.g. pango, cairo, etc.)
Here's what I get (output) when I try running gtk-2.0's configure script:
checking for BASE_DEPENDENCIES... Requested 'glib-2.0 >= 2.8.5' but version of GLib is 2.6.4
configure: error: Package requirements (glib-2.0 >= 2.8.5 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met:
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Is there a simpler way to get gtk-2.0 installed and solve my problems or is this the only way ? By the way, is the unsupported "lighthouseblue" message above, really due to the fact that I'm missing gtk-2.0 ?
Any help on this matter would greatly be appreciated.
Thanks in advance.
I don't know if this problem is related or not, but...
It seems like any X-based tool that I run or anything that requires gtk+, I cannot run. I've been looking for a gui based wifi config tool and I cannot run any of them because of this problem that I have that I haven't been able to solve yet. Any help would be appreciated.
[root@blah roger]# system-config-network
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
ERROR: Unable to initialize graphical environment. Most likely cause of failure is that the tool was not run using a graphical environment. Please either start your graphical user interface or set your DISPLAY variable.
After having left this problem for a long while, I decided to eventually come back to it. I managed to successfully install all of gtk-2's dependencies, gtk+-2.8.18 itself, and lighthouseblue-gtk2.
Now I start up eclipse and run my java swing application but I still get the same error, namely:
Nov 30, 2006 5:35:17 AM com.donraja.ah.am.Admin setupLogging
INFO: Starting
/usr/share/themes/LighthouseBlue/gtk-2.0/gtkrc:51: Engine "lighthouseblue" is unsupported, ignoring
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
<REST_OF_STACKTRACE_FOLLOWS>
As I said before, I know this application compiles and runs fine on other plaforms and even a linux machine I tested with at work. Does anyone know what's going on ? Is there any way to tell whether gtk2 or lighthouseblue installed correctly ? There was no complaints after doing a 'make' and 'make install' for each so I'm assuming that the builds and installs happened correctly. Any help or suggestions would be greatly appreciated.
After having installed lighthouseblue-gtk2 engine, I saw the following message printed:
---------------------------------------
Libraries have been installed in:
/usr/lib/gtk-2.0/2.4.0/engines
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
---------------------------------------
Does this have anything to do with why I cannot run my Java application ? If you can provide me with some help and insight, I would greatly appreciate it.... I'm a newbie :-)
Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.