Re: Debian/ubuntu mozembed package
| From: | Keisial | Date: | Sat, 10 May 2008 14:28:09 +0000 |
| Subject: | Re: Debian/ubuntu mozembed package | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-8256@lists.php.net to get a copy of this message | ||
Keisial wrote:
I have been trying to make php-gtk with mozembed work on a debian/ubuntu system to not avail. It's not too hard to get the needed packages for php-gtk (which are still too much for my taste) but I can't find which package contains mozembed. At least one which is recognised by the configure script. It searches via pkg-config for either firefox-gtkmozembed >= 1.5.0 or mozilla-gtkmozembed >= 1.7.0 Needless to say, there's no package with those names. Similar pakages like firefox-dev, mozilla-dev, libxul-dev or libxul0d don't provide that. I even tried by installing some of the few packages refering to mozembed (there're only bindings for other languages) in the hope they'd install what i needed. It's not such an uncommon configuration nobody has tried it before, and there MUST be a way to get mozembed other than building mozilla. But i'm unable to find it :( Can anyone help me with this? Thanks Ok, i find out the answer, giving out for future reference:The package to install is libxul-dev. The problem is, it doesn't provide the mozilla-gtkmozembed or firefox-gtkmozembed .pc of pkg-config configure is looking for. It instead gives you xulrunner-gtkmozembed. I added a check for xulrunner-gtkmozembed in order to compile. The patch is available at bug 44921. Tested and working with Debian etch & sid, Ubuntu Feisty & Hardy. Some other packages are also able to compile with mozembed, such as iceape-dev (debian's seamonkey) or xulrunner-1.9-dev but it segfaulted when run, even using the LD_LIBRARY_PATH and MOZILLA_FIVE_HOME tricks. On sid and hardy it's not too strange if you get an internal compiler error (gcc 4.2). Either downgrade to gcc-4.1 or upgrade to gcc-4.3 If you want to use a different one just for this, remember: 'make CC=gcc-4.3' is your friend. In summary, the package dependencies for a php-gtk install with mozembed from a normal desktop install are: php5-cli php5-dev libglib2.0-dev libgtk2.0-dev libxul-dev Best regards