Menu

#2 php-ctpp2-2.6.0: php-5.4 error

Unstable_(example)
open
nobody
None
5
2013-05-21
2013-05-21
No

When building php5-htmltmplpro under php-5.4.15, observe the following:

  • make -j4 EXTENSION_DIR=/usr/lib64/php/5.4.15/extensions INSTALL_ROOT=/usr/src/tmp/php5-ctpp-buildroot PEAR_INSTALLDIR=/usr/share/php/pear
    make: Entering directory `/usr/src/RPM/BUILD/php5-ctpp-2.6.0'
    ...
    x86_64-alt-linux-g++ -I. -I/usr/src/RPM/BUILD/php5-ctpp-2.6.0 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php5-ctpp-2.6.0/include -I/usr/src/RPM/BUILD/php5-ctpp-2.6.0/main -I/usr/src/RPM/BUILD/php5-ctpp-2.6.0 -I/usr/include/php/5.4.15 -I/usr/include/php/5.4.15/main -I/usr/include/php/5.4.15/TSRM -I/usr/include/php/5.4.15/Zend -I/usr/include/php/5.4.15/ext -I/usr/include/php/5.4.15/ext/date/lib -I/usr/include/ctpp2 -I/usr/local/include -I/opt/include -DHAVE_CONFIG_H -pipe -Wall -g -O2 -fPIC -c /usr/src/RPM/BUILD/php5-ctpp-2.6.0/m_ctpp.cpp -fPIC -DPIC -o .libs/m_ctpp.o
    In file included from /usr/src/RPM/BUILD/php5-ctpp-2.6.0/php_ctpp.cpp:52:0:
    /usr/src/RPM/BUILD/php5-ctpp-2.6.0/php_ctpp.h:43:27: fatal error: safe_mode.h: No such file or directory
    compilation terminated.
    /usr/src/RPM/BUILD/php5-ctpp-2.6.0/m_ctpp.cpp: In member function 'virtual INT_32 M_CTPP::PHPLogger::WriteLog(UINT_32, CCHAR_P, UINT_32)':
    /usr/src/RPM/BUILD/php5-ctpp-2.6.0/m_ctpp.cpp:136:1: warning: no return statement in function returning non-void [-Wreturn-type]
    make: *** [php_ctpp.lo] Error 1

Correction, see http://git.altlinux.org/people/solo/packages/?p=php5-ctpp.git;a=commitdiff;h=8dec603541f1450ad6ddd237d6a5df127c716bdd or attached php5-ctpp-2.6.0-alt-fix_php5.4.patc.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.