[Kolab-devel] Kolab Server 2.2.4 on Solaris 10 (Failed PEAR-PHPUnit-Channel)

ComCept Soliva soliva at comcept.ch
Mon Jul 5 20:36:05 CEST 2010


Hi

After compiling manually PEAR-Horde-Channel following issue was poping up
which is exact the same issue as described in:

kolab/issue3315 (PEAR-Horde-Channel-1.0 fails to compile on solaris 10)

But this time the package "PEAR-PHPUnit-Channel" failed:

I updated the issue. The solution I use is following:

        # vi /kolab/RPM/SRC/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
 
        --------------------
/kolab/RPM/SRC/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
--------------------
        
        %install
        rm -rf $RPM_BUILD_ROOT
        mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
        /kolab/lib/openpkg/shtool install -m 644 %{SOURCE0}
$RPM_BUILD_ROOT%{pear_xmldir}/pear.phpunit.de.xml
        %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
       
        --------------------
/kolab/RPM/SRC/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec
--------------------

        # opa /kolab
       
        # /kolab/bin/openpkg rpmbuild -bb
/kolab/RPM/SRC/PEAR-PHPUnit-Channel/PEAR-PHPUnit-Channel.spec 

	  # /kolab/bin/openpkg rpm -Uvh
/kolab/RPM/PKG/PEAR-PHPUnit-Channel-1.0-20090119.sparc64-solaris10-kolab.rpm

Kind regards

Andrea




More information about the devel mailing list