note 47217 added to ref.msession
| From: | aderyngmailcom at osu1 dot php dot net | Date: | Sat, 06 Nov 2004 23:52:09 +0000 |
| Subject: | note 47217 added to ref.msession | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80203@lists.php.net to get a copy of this message | ||
Compiling msession can be quite a pain. Believe me.
Here's how I did it on a gentoo-box with gcc version 3.3.4 (20040623 (Gentoo Linux 3.3.4-r1,
ssp-3.3.2-2, pie-8.7.6)):
1. Download http://www.mohawksoft.com/devel/phoenix-R1_2_030117E.tar.gz
and http://www.mohawksoft.com/devel/msession-030130.tar.gz
2. Extract them in /usr/local (That path is hardcoded, so you don't really have a choice since
there isn't a configure script)
3. You should now the directory /usr/local/phoenix containing msession and src.
4. Enter the src-directory and rename Linux.mak to config.mak (or the corresponding file, if
you're using another system. Don't use unixgcc.mak directly - it won't work.).
5. Type make
6. Type make install. You might have to create /usr/local/phoenix/lib yourself and then type make
install again.
7. Change into the msession-directory and type make.
For both msession and phoenix you may have to edit the makefiles manually and comment out the
postgreesql and odbc-code (if you don't have postgree installed).
8. Recompile php with --with-msession.
Voilá!
----
Manual Page -- http://www.php.net/manual/en/ref.msession.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47217
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47217&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47217&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47217&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47217&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47217&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47217&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47217&report=yes
Search -- http://master.php.net/manage/user-notes.php