Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'm packaging php-savant3 using dh-make-pear in Lucid, which makes use of CDBS's pear.mk.

Savant uses its own pear channel, which I cannot configure in the build chroot (be it pbuilder, sbuild or your favorite chroot) using debian/rules.

However, I see that the pear command launched by CDBS is:

    /usr/bin/pear \
            -c debian/pearrc \
            -d include_path=/usr/share/php \
            -d php_bin=/usr/bin/php \
            -d bin_dir=/usr/bin \
            -d php_dir=/usr/share/php \
            -d data_dir=/usr/share/php/data \
            -d doc_dir=/usr/share/php/docs \
            -d test_dir=/usr/share/php/tests \
            install --offline --nodeps -P $(DEB_DESTDIR) $(PEAR_SOURCE_DIR)/package.xml

which suggests that some parameters can be overridden in debian/pearrc. I have tried putting the register key for the Servant channel in debian/pearrc but it doesn't work. Is there a way I can tell pear what this channel is about so that it doesn't crash the build in the chroot?

share|improve this question

closed as too localized by Bruno Pereira Mar 17 '12 at 19:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.