lets continue this talk on Duda Mailing list :)

On Tue, Oct 22, 2013 at 10:37 AM, paul novack <[email protected]> wrote:

> Eduardo,
>
> I can run monkey and did install from the ubuntu repo.
>
> When I try to run the examples though the makefile will not compile the
> examples then.  I am trying to create a web service that persists data
> similar to what one might use redis for.
>
> This is the output I get from the makefile.  I haven't programmed in C++
> much in last couple years.
>
> root@ub12-dev:/opt/monkey-1.3.0# ./configure && make
> ********************************************
>         Monkey HTTP Daemon v1.3.0
> *         www.monkey-project.com           *
> * ---------------------------------------- *
> *  We need beta testers, developers and    *
> * translators!, if you want to contribute  *
> * to this wonderful project, contact us !  *
> *                                          *
> *        irc.freenode.net #monkey          *
> *                                          *
> *        Thanks for using Monkey!!!        *
> *                                          *
> ********************************************
> System   : Linux 3.5.0-42-generic
> === Checking dependencies ===
> + Checking for accept4() function ... Yes
> + Checking for pthread headers ... Yes
> + Checking for backtrace support ... Yes
>
> === Plugins included ===
> + Auth
> + Cgi
> + Cheetah
> + Dirlisting
> + Fastcgi
> + Liana
> + Logger
> + Mandril
>
> === Creating Makefiles and scripts ===
> + Creating conf/monkey.conf
> + Creating src/Makefile
> + Creating src/include/mk_info.h
> + Creating bin/banana script
> + Creating Makefile
>
> === Monkey Configuration ===
> Platform    = generic
> Compiler    = gcc
> CFLAGS        =   -std=gnu99 -Wall -Wextra -fvisibility=hidden -O2
> LDFLAGS        =
>
> Shared library    = disabled
> Relaxed plugins    = disabled
>
> Prefix        = /opt/monkey-1.3.0
> Bindir        = /opt/monkey-1.3.0/bin
> Libdir        = /opt/monkey-1.3.0/lib
> Incdir        =
> Sysconfdir    = /opt/monkey-1.3.0/conf
> Datadir        = /opt/monkey-1.3.0/htdocs
> Mandir        = /opt/monkey-1.3.0/man
> Logdir        = /opt/monkey-1.3.0/logs
>
> --
>  Monkey  configuration is done!, to build type 'make'
> Have fun! ;)
>   CC    src/monkey.o
>   CC    src/mk_method.o
>   CC    src/mk_mimetype.o
>   CC    src/mk_request.o
>   CC    src/mk_header.o
>   CC    src/mk_config.o
>   CC    src/mk_signals.o
>   CC    src/mk_user.o
>   CC    src/mk_utils.o
>   CC    src/mk_epoll.o
>   CC    src/mk_scheduler.o
>   CC    src/mk_string.o
>   CC    src/mk_memory.o
>   CC    src/mk_connection.o
>   CC    src/mk_iov.o
>   CC    src/mk_http.o
>   CC    src/mk_file.o
>   CC    src/mk_socket.o
>   CC    src/mk_clock.o
>   CC    src/mk_cache.o
>   CC    src/mk_server.o
>   CC    src/mk_rbtree.o
>   CC    src/mk_plugin.o
>   CC    src/mk_lib.o
>   CC    plugins/auth/sha1.o
>   CC    plugins/auth/base64.o
>   CC    plugins/auth/conf.o
>   CC    plugins/auth/auth.o
>   CC    plugins/auth/monkey-auth.so
>   CC    plugins/cgi/cgi.o
>   CC    plugins/cgi/request.o
>   CC    plugins/cgi/event.o
>   CC    plugins/cgi/monkey-cgi.so
>   CC    plugins/cheetah/cheetah.o
>   CC    plugins/cheetah/loop.o
>   CC    plugins/cheetah/cmd.o
>   CC    plugins/cheetah/cutils.o
>   CC    plugins/cheetah/monkey-cheetah.so
>   CC    plugins/dirlisting/dirlisting.o
>   CC    plugins/dirlisting/monkey-dirlisting.so
>   CC    plugins/fastcgi/fastcgi.o
>   CC    plugins/fastcgi/protocol.o
>   CC    plugins/fastcgi/chunk.o
>   CC    plugins/fastcgi/request.o
>   CC    plugins/fastcgi/fcgi_fd.o
>   CC    plugins/fastcgi/fcgi_config.o
>   CC    plugins/fastcgi/fcgi_context.o
>   CC    plugins/fastcgi/fcgi_env.o
>   CC    plugins/fastcgi/monkey-fastcgi.so
>   CC    plugins/liana/liana.o
>   CC    plugins/liana/monkey-liana.so
>   CC    plugins/logger/pointers.o
>   CC    plugins/logger/logger.o
>   CC    plugins/logger/monkey-logger.so
>   CC    plugins/mandril/mandril.o
>   CC    plugins/mandril/monkey-mandril.so
>   DONE
> root@ub12-dev:/opt/monkey-1.3.0# cd examples/
> root@ub12-dev:/opt/monkey-1.3.0/examples# make
> -e
>     Building the examples.
>
>     The build expects the library to be installed,
>     to work as closely as possible like an external app.
>
>
> cc -Wall -I     -c -o hello.o hello.c
> hello.c:20:23: fatal error: libmonkey.h: No such file or directory
>  #include <libmonkey.h>
>                        ^
> compilation terminated.
> make: *** [hello.o] Error 1
>
>
>
> On Tue, Oct 22, 2013 at 9:27 AM, Eduardo Silva <[email protected]> wrote:
>
>> hi Paul,
>>
>> seems like something is broken in the configure script. As a workaround
>> do not install monkey, just do configure and make in your normal user
>> account, e.g:
>>
>>  $ cd ~
>>  $ cd monkey-1.3.0/
>>  $ ./configure && make
>>
>> then run it
>>
>>  $ bin/monkey
>>
>> Another workaround is to use the debian/ubuntu packages:
>>
>>    http://monkey-project.com/documentation/debian_ubuntu
>>
>> You mentioned a hello example, is this regarding Duda I/O ?, if so let me
>> know to give you more detailed instructions,
>>
>> best,
>>
>>
>>
>>
>> On Tue, Oct 22, 2013 at 10:15 AM, paul novack <[email protected]>wrote:
>>
>>> I can't seem to get make install to work.
>>>
>>> I was trying to install and run the hello example on Ubuntu 12.04.
>>> Seems there is a path missing?  What do I need to add to the ./configure to
>>> fix this?
>>>
>>> root@ub12-dev:/opt/monkey-1.3.0# make install
>>> make -C src all
>>> make[1]: Entering directory `/opt/monkey-1.3.0/src'
>>> make[1]: Nothing to be done for `all'.
>>> make[1]: Leaving directory `/opt/monkey-1.3.0/src'
>>> install -d /opt/monkey-1.3.0/bin
>>> install -d /opt/monkey-1.3.0/lib/pkgconfig
>>> install -d
>>> install: missing file operand
>>> Try `install --help' for more info
>>>
>>> _______________________________________________
>>> Monkey mailing list
>>> [email protected]
>>> http://lists.monkey-project.com/listinfo/monkey
>>>
>>>
>>
>>
>> --
>> Eduardo Silva
>> http://edsiper.linuxchile.cl
>> http://monkey-project.com
>>
>
>


-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to