"Alvaro Lopez Ortega" <[EMAIL PROTECTED]> wrote:
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
Yuck! I hate configure and the autoshit tools. I used my own Makefile.MingW.
> 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.
pathconf() is not part of MingW period. It is in libgw32.a, but that is a GNU-Win library. I was hoping cherokee should only depend on native libs (like msvcrt.dll etc.).
Can you send your configuration file please? I fixed that problem in the beta 4 or 5..
When CHEROKEE_EMBEDDED is used, no configuration file is read AFAICS. Ref. main.c: #ifndef CHEROKEE_EMBEDDED # define GETOPT_OPT "C:b" # define CONFIG_FILE "[-C configfile] " #else # define GETOPT_OPT "b" # define CONFIG_FILE "" #endif --gv _______________________________________________ Cherokee mailing list [email protected] http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee
