FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 10-19-2010, 04:30 PM
David Hrbáč
 
Default Mock alternating /etc/php.ini file

Hi,
I have the following scenario. I'm trying to build some php-pear package
with Mock for CentOS 4.x. PHP settings within php.ini has memory_limit =
8MB. This memory limit is too low to build the package. I don't want to
change php package itself. I have tried:
a) package with sed to replace memory setting - fails with access denied
on /etc/php.ini
b) package containing own /etc/php.ini - conflicts with php-common
Any ideas? Thanks,
David Hrbáč
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 10-19-2010, 04:59 PM
Paul Howarth
 
Default Mock alternating /etc/php.ini file

On Tue, 19 Oct 2010 18:30:25 +0200
David Hrbáč <hrbac.conf@seznam.cz> wrote:

> Hi,
> I have the following scenario. I'm trying to build some php-pear
> package with Mock for CentOS 4.x. PHP settings within php.ini has
> memory_limit = 8MB. This memory limit is too low to build the
> package. I don't want to change php package itself. I have tried:
> a) package with sed to replace memory setting - fails with access
> denied on /etc/php.ini

Where did you put the sed? In %post of a a package buildrequired by
your php-pear package (and which itself requires php-common) - which
should work, or in %prep/%build/%install of the php-pear package - which shouldn't?

Paul.
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 10-20-2010, 06:39 AM
David Hrbáč
 
Default Mock alternating /etc/php.ini file

Dne 19.10.2010 18:59, Paul Howarth napsal(a):
> In %post of a a package buildrequired by
> your php-pear package

Good point, thanks for the hint.
DH
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 03:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org