List Info

Thread: Semisuccess on Win32




Semisuccess on Win32
user name
2006-02-14 19:14:15
Hi Gisle,

 > I've managed to build and run cherokee 0.4.31b8 on
Mingw and with
 > CHEROKEE_EMBEDDED.

   Why are you using the embedded flag?  It's compiling
alright for me
   using this:

   ./configure --prefix=/usr --sysconfdir=/etc
--enable-trace \
   --enable-static-module=all --enable-static
--enable-shared=no

 > This patch was needed to avoid a crash during
client-connect:
 >
 > +       if (iocache->srv)
 >        PRIV(entry)->stat_update =
iocache->srv->bogo_now;

   It's weird! I'll need to have a look at this..

 > Otherwise, read() doesn't return error in
GetLastError() on Win32;
 > libc functions sets errno as on Unix;
 > -               switch (er) {
 > +               switch (errno) {

   Applied 

 > Mingw has _PC_NAME_MAX, but no pathconf():
 >
 > -#ifdef _PC_NAME_MAX
 > +#if defined(_PC_NAME_MAX) && !defined(_WIN32)
 >        extra = pathconf(path->buf, _PC_NAME_MAX);
 > #else
 >        extra = PATH_MAX;

   This is odd.  It is compiling for me without this change.

 > Now for the bad news; my browser connects fine
initially and
 > cherokee returns the dirlist of the root-directory.
But any attempt
 > to enter a sub-dir returns a "405 Method Not
Allowed". Why?

   Can you send your configuration file please?  I fixed
that problem
   in the beta 4 or 5..

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )