Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Trouble rebuilding php srpm
  • From: wilson@xxxxxxxxxxx (Jonathan Wilson)
  • Date: Thu, 24 May 2001 11:24:20 -0500
  • Message-id: <5.1.0.14.0.20010524112014.03332928@xxxxxxxxxxxxxxxx>
I'm trying to compile php with my own options from SuSE's source rpm with rpm -ba, but I keep getting the weirdest errors. I had to take everything that was in an if..else..then statement out and put it in the main section, and now I've run into this:

+ --with-config-file-path=/etc/httpd --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/lib/apache/bin i386-suse-linux-gnu
/var/tmp/rpm-tmp.82667: --with-config-file-path=/etc/httpd: No such file or directory
Bad exit status from /var/tmp/rpm-tmp.82667 (%install)

I do not see how that can possibly be a valid error, since rpm gets the valude /etc/httpd from a variable:

--with-config-file-path=%{apache_sysconfdir}

and {apache_sysconfdir} comes from:

%define apache_sysconfdir %(apxs -q SYSCONFDIR)

Does anyone know how I can get around this? I don't see why the variables are failing.

----------------------------------------------------
Jonathan Wilson
System Administrator

Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com


< Previous Next >