Re: Using Yast to recompile php with pspell?

From: Dave M (dave_at_landlordhat.com)
Date: 08/16/05


Date: Mon, 15 Aug 2005 18:40:00 -0400

Dkried wrote:

> I have a 64 bit box running suse9.3, using php4.3.10-14 and apache2.
>
> I am running the Simple Machines Forum software and I can only use the
> spell checker if aspell is installed and php is compiled with pspell.
>
> The Question is:
> How can I use yast to compile php with the "--with-pspell" option in the
> configure line?
>
> I can post my phpinfo configure line if that helps.

In my opinion, since you already know all the configure options you want to
use (I saw your post in the Novell SuSE group), you should just compile
your own installation. It's not as hard as it sounds or as some people
make it sound, heh. Run ./configure from within the unpacked file, then
run make and then (as root) make install.

Alternatively, I suppose, you could break apart SuSE's RPM, add your switch,
rebuild the RPM and then install that (however you want, be it via CLI or
YaST). Bear in mind you will be subject to the same build/dependency
requirements as compiling this normally. Rough instructions would be
saving the src.rpm to /usr/src/packages/SRPMS and running "rpm -Uhv <file>"
Then change to /usr/src/packages/SPECS and open the spec file up in some
editor. Add your switch to the list of config switches near the top and
save it. Then run "rpmbuild -ba <spec file>" It will run through (may
take some time) building everything and if all goes well your finished RPMs
will be in /usr/src/packages/RPMS/i586.

Good luck,

Dave M



Relevant Pages

  • Re: Whats the difference?
    ... What is the difference between a RPM package and a tar.gz package? ... will contain source code, so you can compile the software they contain, ... You normally use a package management system to install the ...
    (alt.os.linux.suse)
  • Re: New build - halt on ACPI Controller
    ... on the hdd from a previous install attempt. ... landed up using the rear panel mains isolator switch to switch it off as ... The use of partition analysis and repair tools unearthed a further two ...
    (uk.comp.homebuilt)
  • Re: dependency problems w/mailscanner
    ... I guess I'll just download the new version and compile the ... >> I am a little disappointed in rpm at the moment. ... I did finally get MailScanner to install. ...
    (RedHat)
  • Re: New build - halt on ACPI Controller
    ... first I could boot from a cdrom no problem. ... on the hdd from a previous install attempt. ... to do was leave any such drives disconnected from the MoBo and verify ... landed up using the rear panel mains isolator switch to switch it off as ...
    (uk.comp.homebuilt)
  • Re: how to use Redhats glibc SRPMs?
    ... > planning to compile from this source as I need to modify certain ... When I unpack the RPM, ... Sorry, but I'm not sure if glibc for RH 8 witll work with Fedora,but: ... If you use rpm to install the src.rpm, and have rpm-build installed, ...
    (RedHat)