1. EuGtk: the FreeBSD experience
- Posted by Raul Aug 28, 2012
- 1174 views
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
2. Re: EuGtk: the FreeBSD experience
- Posted by jimcbrown (admin) Aug 28, 2012
- 1194 views
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.
3. Re: EuGtk: the FreeBSD experience
- Posted by Raul Sep 02, 2012
- 1159 views
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
4. Re: EuGtk: the FreeBSD experience
- Posted by jimcbrown (admin) Sep 02, 2012
- 1087 views
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.