LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 09-09-2006, 12:07 PM   #1
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Rep: Reputation: 0
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.
 
Old 09-17-2006, 09:04 PM   #2
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Additional Info...

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.
 
Old 11-30-2006, 04:51 AM   #3
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 11-30-2006, 10:56 PM   #4
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The problem about "cairo" in installing of "GTK" :( zhuqlfeixia Linux - Hardware 1 01-28-2006 03:12 PM
Error with GTK2.0: "clearlooks" unsupported? polemon Linux - Newbie 2 10-13-2005 05:52 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
connecting openbsd to linux nfs mount - "unsupported protocol" error animehair *BSD 4 03-28-2005 01:21 AM
k3b adding mp3 "Unable to handle the following files due to an unsupported format:" true_atlantis Linux - Software 3 01-31-2004 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration