Sunday, May 18, 2008

A Little Hack on Pidgin SlackBuild Script

Newer Pidgin has been released. Since Slackware-Current is in idle state (it's not really idle, but the development was not publicized yet), you won't see many updated version unless it's related to security. So if you want to use PV's Slackbuild to build a new Pidgin, you will be surprised to see that it won't work. Why? The reason is already mentioned on the Pidgin 2.4.2's Changelog:
The configure script now dies on more absent dependencies. The --disable-xxx arguments to configure can be used to bypass unneeded dependencies. This will also cause the configure script to die if an --enable-xxx option is used and the dependencies it requires are missing.
If you use default Slackware 12.1 installation, you will not have gtkspell, avahi, NetworkManager, and meanwhile libraries, so this four requirement are not met. In order to make the SlackBuild works again, you will need to add this four lines in the configuration parameters:
--disable-gtkspell \
--disable-meanwhile \
--disable-avahi \
--disable-nm \

After adding this four line, re-run your SlackBuild script and it will work big grin