### The machine.
bash-2.03# uname -a
SunOS pruebas 5.8 Generic_117350-05 sun4u sparc SUNW,UltraAX-i2
### Optimization for the machine.
export CXXFLAGS='-O2 -mcpu=ultrasparc'
export CFLAGS='-O2 -mcpu=ultrasparc'
### If you have problems to found cru (ar), this is for you.
export PATH=$PATH:/usr/ccs/bin/
### Disabling "problematic" things (In Solaris 8)...
./configure --prefix=/usr/local --disable-tls --disable-pam
### Fixating problems whith readdir_r
vi +409 cherokee/util.c
:407s/^/\/*/
:417s/$/*\//
adding one line (419):
return readdir_r (dirstream, entry, result);
### Another solution for the problems whith readdir_r.
vi +409 config.h
original:
#define HAVE_READDIR_R 1
before:
/*#define HAVE_READDIR_R 1*/
line 912:
original: #define HAVE_READDIR_R_2 1
before:
/*#define HAVE_READDIR_R_2 1*/
line 915:
original:
/* #undef HAVE_READDIR_R_3 */
before:
#define HAVE_READDIR_R_3 1
### Fixating the problem to found getopt.h
cp cherokee/getopt/getopt.h cherokee/
cp cherokee/getopt/getopt.h cget/
### Finaly:
make
make check
make install
### Enjoy cherokee! :D
Cheers...
_______________________________________________ Cherokee mailing list Cherokee@0x50.org http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee