El Lunes, 4 de Septiembre de 2006 21:37, Antonio Galindo Castro escribió:
> Today I have Cherokee 0.5.4 running over a Solaris 8.  This is mi litle
> Howto.
>
> ###  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...

Great!
Could be a great idea to upload it to the cherokee wiki :-)
http://www.0x50.org/wiki/index.php?title=Main_Page

Kind regads.

-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.
_______________________________________________
Cherokee mailing list
Cherokee@0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to