note 55874 added to ref.msession
| From: | martijn at pocos dot nl | Date: | Tue, 16 Aug 2005 11:42:14 +0000 |
| Subject: | note 55874 added to ref.msession | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-93723@lists.php.net to get a copy of this message | ||
Trying to build PHP 5.0.4. with msession support (shared), I found that the build process still
fails to link the proper libraries. I think the proper way to fix this, is to change
ext/msession/config.m4 and rebuild configure.
Find the line that reads:
PHP_ADD_LIBRARY_WITH_PATH(phoenix, "$PHOENIX_DIR/lib", PHOENIX_LIB)
And replace it with these two lines:
PHP_ADD_LIBRARY_WITH_PATH(phoenix, "$PHOENIX_DIR/lib", MSESSION_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", MSESSION_SHARED_LIBADD)
Next find the line that reads:
PHP_SUBST(PHOENIX_LIB)
and replace it with:
PHP_SUBST(MSESSION_SHARED_LIBADD)
Now rebuild "configure":
$ rm configure
$ ./buildconf --force
Now ./configure && make && make install as usual.
----
Manual Page -- http://www.php.net/manual/en/ref.msession.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55874
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55874&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55874&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55874&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55874&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55874&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55874&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55874&report=yes
Search -- http://master.php.net/manage/user-notes.php