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: <>
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:


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
Central Texas IT

< Previous Next >