1. LNX: makes me so think that I can't mad straight

I'm in linux mode.  Trying to run some examples in
the eugtk library made by Irv Mullins.

  error message:
"Library not accessible!
/home/jstory/euphoria/include/gtk/main.e:57
type_check failure, gtk is 0"

  Line 57 in main.e is:
  gtk = open_dll("libgtk.so") 

  libgtk.so is in /usr/lib/

 Why is libgtk.so not accessible?

 I copied it to /home/jstory/euphoria/include.gtk

 Still not accessible.


       Jerry Story

new topic     » topic index » view message » categorize

2. Re: LNX: makes me so think that I can't mad straight

Hi Jerry,

Are you useing Irv's latest GTK wrapper lib?
 http://www.rapideuphoria.com/eugtk.tgz

I believe it uses eugtk.so ( instead of libgtk.so
)which goes in /euphoria/include/

If you tar -xvz -f Irv's latest lib from your home
directory it will install everything correctly.

Which Linux distribution are you running?

Ken Rhodes

--- jstory at freenet.edmonton.ab.ca wrote:
> 
> 
>   I'm in linux mode.  Trying to run some examples in
> the eugtk library made by Irv Mullins.
> 
>   error message:
> "Library not accessible!
> /home/jstory/euphoria/include/gtk/main.e:57
> type_check failure, gtk is 0"
> 
>   Line 57 in main.e is:
>   gtk = open_dll("libgtk.so") 
> 
>   libgtk.so is in /usr/lib/
> 
>  Why is libgtk.so not accessible?
> 
>  I copied it to /home/jstory/euphoria/include.gtk
> 
>  Still not accessible.
> 
> 
>        Jerry Story
> 
>
> 
> 
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: LNX: makes me so think that I can't mad straight

On Saturday 09 February 2002 10:47 pm, jstory at freenet.edmonton.ab.ca wrote:

>   I'm in linux mode.  Trying to run some examples in
> the eugtk library made by Irv Mullins.
>
>   error message:
> "Library not accessible!
> /home/jstory/euphoria/include/gtk/main.e:57
> type_check failure, gtk is 0"
>
>   Line 57 in main.e is:
>   gtk = open_dll("libgtk.so")
>
>   libgtk.so is in /usr/lib/
>
>  Why is libgtk.so not accessible?
>
>  I copied it to /home/jstory/euphoria/include.gtk
>
>  Still not accessible.

Browse your /usr/lib directory, preferably using Konqueror, and put the 
cursor on libgtk.so.

Look at the status line at the bottom of the window - you should see 
something like 

libgtk.so->libgtk-1.2.so.0.9.1 Shared library (Link)

That's a link to the real libgtk, so copying it won't help.
Make sure the file it points to is a real file (about 1.3 megs)
Also, it won't hurt to run ldconfig -v (run this as root) which 
rebuilds all links. You should get a report on the screen verifying 
the links.

Beyond that, I don't know what the problem might be. Can you run any programs 
that use gtk?

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

4. Re: LNX: makes me so think that I can't mad straight

On Sunday 10 February 2002 12:41 am, Ken Rhodes wrote:

> Hi Jerry,
>
> Are you useing Irv's latest GTK wrapper lib?
>  http://www.rapideuphoria.com/eugtk.tgz
>
> I believe it uses eugtk.so ( instead of libgtk.so
> )which goes in /euphoria/include/

Wish it were so, but eught.so is just a tiny wrapper for the built-in 
GTK+ dialogs (file open, font and color select).
The full GTK and GDK libraries are still necessary.

> If you tar -xvz -f Irv's latest lib from your home
> directory it will install everything correctly.

> Which Linux distribution are you running?

I'd like to know that as well. 

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

5. Re: LNX: makes me so think that I can't mad straight

On Sun, 10 Feb 2002, Irv Mullins wrote:

> On Sunday 10 February 2002 12:41 am, Ken Rhodes wrote:

> > Which Linux distribution are you running?
> 
> I'd like to know that as well. 

  I'm using Mandrake.  I think version 7.1.
It comes with 2 CDs; for some reason I have only one.
Maybe I'm missing some stuff.

       Jerry Story

new topic     » goto parent     » topic index » view message » categorize

6. Re: LNX: makes me so think that I can't mad straight

On Sunday 10 February 2002 01:05 pm, jstory at freenet.edmonton.ab.ca wrote:

>   I'm using Mandrake.  I think version 7.1.
> It comes with 2 CDs; for some reason I have only one.
> Maybe I'm missing some stuff.

Let me look......

If you have the same Mandrake 7.1 set as I have, there were 3 discs.
Disk one has the libraries:
mnt/cdrom/Mandrake/mdkinst/lib

You should be able to drag and drop these in /usr/lib, but you'll probably 
have to link them manually. 

man ln  should give you directions on how to do this.

It could be that libgtk or libgdk call some other libraries that you don't 
have, either. It may be better to do a fresh install. Opt for the development 
station where it asks what kind of setup you want, you'll get lots of useful 
stuff, along with the needed libraries.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu