Using WebKitGTK + on Centos 5.8?

I am trying to create an embedded simple web browser for an embedded device, and I decided to use WebKit / WebKitGTK +. However, our device uses a Linux environment based on CentOS 5.8. I could not find an RPMS or mention of WebKit / WebKitGTK + support for CentOS 5.8 when doing a few searches on the Internet.

Does anyone know if it is possible to build an older version of WebKitGTK +, such as 1.2.6-2.el6_0, that works well on CentOS 6.3? Are any RPMS available for CentOS 5.8?

The goal is to be able to run the relatively current version of at least 1.2.6 WebKitGTk on CentOS 5.8

Note. I managed to figure it out. It just took a lot of time compiling all the dependencies in the correct order with the correct parameters. I was able to run WebKitGTK 1.6.0 on Centos 5.8.

+4
source share
2 answers

Depending on the compilation options, you may be able to compile the dependencies in an isolated directory. Each library typically uses the --prefix option to specify the destination. Then, when compiling something that depends on this library, you can usually specify where to look for this library - something like --with-libraryname=/path/to/library . You want to check ./configure --help every thing you compile to get the correct options.

It will be quite a lot of work, but you must compile everything you need into an isolated directory without replacing anything in the system. I highly recommend that you avoid this at the root to make sure you have the right options.

+1
source

You should have no trouble creating an old version of webkit if you can install older versions of the libraries it requires.

If you have older or newer versions of GTK + installed than for the old version of webkit, it may take a lot of porting to compile it.

I do not know any RPMs that fit your requirements.

+2
source

All Articles