note 109838 added to sdo.requirements

From: Date: Sun, 26 Aug 2012 17:47:47 +0000
Subject: note 109838 added to sdo.requirements
Groups: php.notes 
Request: Send a blank email to php-notes+get-190223@lists.php.net to get a copy of this message
That is not strictly true! Make these changes and it will compile just fine. If using with PHP >= 5.3.0, you need to make the following source code changes: remove all "static" except "static char rcs_id[] ..." from sdo.cpp. Add #include <stdio.h> to commonj/sdo/SDODataConverter.cpp /usr/local/lib/php/SCA/SCA_CommentReader.php Line 381: $targetLine = preg_replace("{[ \t]+}", " ", $targetLine); Line 385: if (strpos($word,$bindingAnnotation) === 0) { Line 592: $targetLine = preg_replace("{[ \t]+}", " ", $targetLine); /usr/local/lib/php/SCA/SCA_AnnotationRules.php Line 222: $line = preg_replace("{[ \t]+}", " ", $line); I did exactly that on a 64bit CentOS box and it works fine. ---- Server IP: 192.41.42.26 Probable Submitter: 98.177.220.39 ---- Manual Page -- http://www.php.net/manual/en/sdo.requirements.php Edit -- https://master.php.net/note/edit/109838 Del: integrated -- https://master.php.net/note/delete/109838/integrated Del: useless -- https://master.php.net/note/delete/109838/useless Del: bad code -- https://master.php.net/note/delete/109838/bad+code Del: spam -- https://master.php.net/note/delete/109838/spam Del: non-english -- https://master.php.net/note/delete/109838/non-english Del: in docs -- https://master.php.net/note/delete/109838/in+docs Del: other reasons-- https://master.php.net/note/delete/109838 Reject -- https://master.php.net/note/reject/109838 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190223) next »