El Sun, 4 Sep 2005 02:01:04 -0700 south park <llmmix@gmail.com> escribio:
Hi, It works if compiled without "--disable-cookies" option. how to disable cookies in dillo?
Dillo disables cookies by default (cookies are configured with the $HOME/.dillo/cookiesrc file), but the code to use cookies is in dillo(in that version in a DilloPlugIn outside dillo, but exec by dillo if cookies enabled) is there. Read doc/Cookies.txt in dillo sources for more information. (the answer continues down)
XXX@debian:~/download$ cd dillo XXX@debian:~/download/dillo$ ./configure --disable-cookies ... XXX@debian:~/download/dillo$ make make all-recursive make[1]: Entering directory `/home/XXX/download/dillo' Making all in doc make[2]: Entering directory `/home/XXX/download/dillo/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/XXX/download/dillo/doc' Making all in src make[2]: Entering directory `/home/XXX/download/dillo/src' Making all in IO make[3]: Entering directory `/home/XXX/download/dillo/src/IO' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/XXX/download/dillo/src/IO' make[3]: Entering directory `/home/XXX/download/dillo/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/XXX/download/dillo/src' make[2]: Leaving directory `/home/XXX/download/dillo/src' Making all in dpid make[2]: Entering directory `/home/XXX/download/dillo/dpid' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/XXX/download/dillo/dpid' Making all in dpi make[2]: Entering directory `/home/XXX/download/dillo/dpi' gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -DDISABLE_COOKIES -D_REENTRANT -D_THREAD_SAFE -Wall -Waggregate-return -L/usr/local/lib -o cookies.dpi cookies.o dpiutil.o -L/usr/lib -lglib /usr/lib/crt1.o: In function `_start': ../sysdeps/i386/elf/start.S:115: undefined reference to `main' collect2: ld returned 1 exit status make[2]: *** [cookies.dpi] Error 1 make[2]: Leaving directory `/home/XXX/download/dillo/dpi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/XXX/download/dillo' make: *** [all-recursive-am] Error 2 XXX@debian:~/download/dillo$
Is something that knows about Makefiles and auto* tools interesting in helpme to fix this? I do not have the knows for it. I think that the cookies.dpi must not be compiled if cookies are disabled with "./configure --disable-cookies". More about makefiles: Can somebody write a generic makefile for DPIs(DilloPlugins) distributed outside dillo source. It need to install the compiled DPI(DilloPlugIn) in the DPIs system directory when "make install" run as root or install the DPI in the $HOME/.dillo/dpi/ when not and then exec "dpidc register" I think a version of the hello plugin distributed outside dillo can help to the people to write more DPIs. Diego.