Trouble with php 4.33 RPM on SuSE 7.3

From: Russell (null_at_null.noemail)
Date: 12/09/03


Date: Tue, 09 Dec 2003 19:23:58 +0000

Hi folks,

I've tried using the mod_php 4.33 RPM from
ftp.suse.com/pub/projects/apache/mod_php4/7.3-i386/

Everything works great until I try php grouware which dies with Fatal
error: Call to undefined function: imap_open()

So I take a look and it seems php was compiled with imap-ssl but not
--with-imap

SO I _think_ this might be my problem. Trouble is, I ahve no idea how to
go about building the source rpm available in that folder.

If I try rpm -ba mod_php4.spec I get:

/usr/src/packages/SPECS/mod_php4.spec:30: parseExpressionBoolean returns -1

Taking alook in the spec file I see:

%if %ul_version >= 1
%define VENDOR UnitedLinux
%else
%define VENDOR SuSE
%endif

SO I figure I can jsut comment out the UnitedLinux bit and leave vendor
as SuSE.

Then I am faced with

line 43: Dependency tokens must begin with alpha-numeric, '_' or '/':
PreReq: %fillup_prereq

Line 43 is:

PreReq: %fillup_prereq

and from here I am stuck. It seems this srpm has lots of Apache2 stuff
in it, when all I need to build is the modphp rpms for apache 1.3.x

Can anyone offer any help or suggestions? Given the RPMs install, if I
could jsut fix this one bit, it'd be so much easier than going to source
with something like apachetoolbox.

With thanks,

Russell.



Relevant Pages

  • A question for the expert
    ... I may have to re-install apache 2 using make/install method rather than rpm. ... Do I have to uninstall the current installed apache2, ...
    (RedHat)
  • Re: apache2 start fail on red hat linux 7.2
    ... I migrate weblogic7 to weblogic9 and weblogic9 require ... actually the apache2 can run on red hat enterprise linux 3.0. ... Your problem is that with such an ancient version of Red Hat, each RPM ... dependency is going to depend on yet more RPM packages, ...
    (comp.infosystems.www.servers.unix)
  • Re: rcapache
    ... David Bolt wrote: ... playing:~ # rpm -q apache2 ...
    (alt.os.linux.suse)
  • Re: [SLE] FW: Suse 8.2 /apache2-2.0.44 / auth_ldap error
    ... > i'm trying to setup ldap authentication for apache2 using following rpm ... > installed on a Suse 8.2 ... > the sysconfig/apache2 conf file) I get this error when trying to start ...
    (SuSE)
  • Re: installp vs. rpm?
    ... > use installp for OS and vendor provided things. ... but how to handle this with rpm? ... a mechanism like commiting software with rpm. ...
    (comp.unix.aix)