PHPMole on Debian

This article describes how to instal PHPMole on a Debian SID System, completly with self-built packages of all missing links. I take NO WARRANTY that my packages work!

Important Note: These packages are over two years old and, apart from the Woody .deb's perhaps, they are largly outdated. You can either take the debianized source and create a .deb file from them matching your installation, or you can search if there are now packages available in the Debian Distribution.

OK, here we go. Basically what I did is self-compiling everything that was missing in Debian and building packages from it. Note, that these packages are named differently from the regular Debian packages but provide a "Provides:" line in the control file, so that they can be substitued for the real Debian Packages. I did this, so that apt won't overwrite the self-built php-gtk on update runs.

2003-03-28: I have now also built those packages for Debian Woody and they run there without any obvious problems. I have included them in the downloads below. Additionally I have also uploaded the Debianized source tarballs.

  1. Install the gtk-scintilla Debian Package
  2. Remove any installed php-gtk Debian Package
  3. Install the php-gtk-scintilla Debian Package. This package should substitute for the real php-gtk package so that other packages which depend on php-gtk should still work.
  4. Install PHPMole normally (No Package for that one yet)

If you get a "Segmentation Fault" upon starting PHPMole, try changing the phpmole startup script (phpmole) to this:

#!/bin/sh

cd /usr/local/share/phpmole
PHPMOLE="./phpmole-ide.php"

if test -e /usr/local/bin/php
then
PHP="/usr/local/bin/php"
fi
if test -e /usr/bin/php
then
PHP="/usr/bin/php"
fi
if test -e /usr/bin/php4
then
PHP="/usr/bin/php4"
fi
if test -e /bin/php
then
PHP="/bin/php"
fi
exec $PHP $PHPMOLE 2>&1 > /dev/null &

That should do it.

Downloads

File Size Last modified
GtkScintilla 0.8.2-1 (Debianized Source) 220.125 Byte 2004-07-07
GtkScintilla 0.8.2-1 (Debian Woody Package) 374.092 Byte 2004-07-07
GtkScintilla 0.8.2-1 (Debian Sid Package) 374.796 Byte 2004-07-07
PHP GTK 0.5.1-11 with Scintilla support (Debianized Source) 4.198.031 Byte 2004-07-07
PHP GTK 0.5.1-11 with Scintilla support (Debian Woody Package) 317.784 Byte 2004-07-07
PHP GTK 0.5.1-11 with Scintilla support (Debian Sid Package) 308.616 Byte 2004-07-07