1. EuGtk: the FreeBSD experience

Hi,

I'm trying to get EuGtk to run on my FreeBSD box. I use a nice distro called PC-BSD based upon FreeBSD 9.0. I have installed libgtk-3.so.0 building it from the ports source tree and the process installs the library under /usr/local/lib. I have manually linked the libs to /usr/lib cause GtKEngine.e seeks for the GTK 3.0 library under /usr/lib but for some reason, the eugtk demo tests complain with a crash message that says that there is no GTK 3.0 library.

I have tried with ldconfig. I have also tried to modify the path for libgtk.so in the GtkEngine.e file but without any success.

thanks, Raúl

new topic     » topic index » view message » categorize

2. Re: EuGtk: the FreeBSD experience

Raul said...

Hi,

I'm trying to get EuGtk to run on my FreeBSD box. I use a nice distro called PC-BSD based upon FreeBSD 9.0. I have installed libgtk-3.so.0 building it from the ports source tree and the process installs the library under /usr/local/lib. I have manually linked the libs to /usr/lib cause GtKEngine.e seeks for the GTK 3.0 library under /usr/lib but for some reason, the eugtk demo tests complain with a crash message that says that there is no GTK 3.0 library.

I have tried with ldconfig. I have also tried to modify the path for libgtk.so in the GtkEngine.e file but without any success.

thanks, Raúl

Are you using the linux/GNU distro of Eu with FreeBSD? I don't think it can use the FreeBSD GTK library, if that's the case.

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

3. Re: EuGtk: the FreeBSD experience

Hi Jim, that's it. Right now I am using the linux binaries under freebsd because I haven't compiled a native bsd distro yet. ASAP I will switch.

Anyway, I *believe* that the interpreter will allow me to access any *.so file I want to, doesn't it? Am I wrong? The fact is that the interpreter doesn't complains about being unable to access libgtk.so, it is the eugtk wrapper that complains about locating the library.

I will post any advance or further testing. thanks, Raúl

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

4. Re: EuGtk: the FreeBSD experience

Raul said...

Hi Jim, that's it. Right now I am using the linux binaries under freebsd because I haven't compiled a native bsd distro yet. ASAP I will switch.

Anyway, I *believe* that the interpreter will allow me to access any *.so file I want to, doesn't it? Am I wrong? The fact is that the interpreter doesn't complains about being unable to access libgtk.so, it is the eugtk wrapper that complains about locating the library.

I will post any advance or further testing. thanks, Raúl

Actually, it's the ELF interpreter that determines this. I am not sure how this works when dealing with Linux/GNU emulation under FreeBSD, but I wouldn't be too surprised to find out that the emulation system prevents accessing native FreeBSD libraries from the Linux/GNU side, going as far as to hide them from it. (Why? This is simpler than making the emulation smart enough detect when FreeBSD vs Linux/GNU code is running in the same process and providing a compatibility layer between them.)

If you install a linux/GNU version of libgtk.so (and its dependencies and so on), then you should be able to use that from the linux/GNU version of euphoria. Just something to tide you over until the FreeBSD version of Euphoria is built.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu