note 64281 added to ref.tidy
| From: | PaulCook at osu1 dot php dot net | Date: | Tue, 11 Apr 2006 15:25:47 +0000 |
| Subject: | note 64281 added to ref.tidy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107776@lists.php.net to get a copy of this message | ||
To get libtidy and PHP 5.0.5 compiled on OS X Tiger this is what I needed to do:
1) download and upack the tidy source.
2) cd tidy-source-dir
3) >> /bin/sh build/gnuauto/setup.sh
4) then you can configure/make/make install as normal
PHP build generates errors because of tidy so I needed to edit the platform.h file like this (use
your favorite command line editor):
5) >> sudo emacs /usr/local/include/platform.h
6) comment out line 508 which was causing the 'duplicate "unsigned" ' error in
the PHP build.
7) configure/make/make install PHP as normal using --with-tidy=/usr/local
Restart apache and everything works now. HTH someone.
----
Server IP: 216.194.113.175
Probable Submitter: 65.24.107.159
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.tidy.php
Edit -- http://master.php.net/note/edit/64281
Del: integrated -- http://master.php.net/note/delete/64281/integrated
Del: useless -- http://master.php.net/note/delete/64281/useless
Del: bad code -- http://master.php.net/note/delete/64281/bad+code
Del: spam -- http://master.php.net/note/delete/64281/spam
Del: non-english -- http://master.php.net/note/delete/64281/non-english
Del: in docs -- http://master.php.net/note/delete/64281/in+docs
Del: other reasons-- http://master.php.net/note/delete/64281
Reject -- http://master.php.net/note/reject/64281
Search -- http://master.php.net/manage/user-notes.php