Oh, wait, that beta4 one is really old.  But the latest download of
source was missing dependancies.

I tried the new one.

----
make[1]: Leaving directory `/etc/aped/deps/js/src'
gcc -D_GNU_SOURCE -Wall -O2 -minline-all-stringops -rdynamic -I ./deps/
udns-0.0.9/ src/entry.c src/sock.c src/hash.c src/handle_http.c src/
cmd.c src/users.c src/channel.c src/config.c src/json.c src/
json_parser.c src/plugins.c src/http.c src/extend.c src/utils.c src/
ticks.c src/base64.c src/pipe.c src/raw.c src/events.c src/
event_kqueue.c src/event_epoll.c src/transports.c src/servers.c src/
dns.c src/sha1.c src/log.c src/parser.c src/md5.c -o bin/aped -ldl -lm
-lpthread ./deps/udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/
gcc -D_GNU_SOURCE -Wall -O2 -shared -fPIC -rdynamic -Wl,-
soname,libmod_spidermonkey.so -o lib/libmod_spidermonkey.so libape-
spidermonkey.c -I../deps/js/src/dist/include/ -L../deps/js/src/ -
ljs_static -lstdc++ -L./deps/mysac/ -I./deps/mysac/ -lmysac -
lmysqlclient_r
In file included from libape-spidermonkey.c:27:
./deps/mysac/mysac.h:30:26: error: mysql/errmsg.h: No such file or
directory
./deps/mysac/mysac.h:31:25: error: mysql/mysql.h: No such file or
directory
In file included from libape-spidermonkey.c:27:
./deps/mysac/mysac.h:202: error: expected specifier-qualifier-list
before âMYSQL_FIELDâ
./deps/mysac/mysac.h:211: error: field âtypeâ has incomplete type
./deps/mysac/mysac.h:239: error: âSCRAMBLE_LENGTHâ undeclared here
(not in a function)
./deps/mysac/mysac.h: In function âmysac_fetch_rowâ:
./deps/mysac/mysac.h:688: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h:689: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h:689: error: âMYSAC_RESâ has no member named
âdataâ
./deps/mysac/mysac.h:691: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h:691: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h:692: error: âMYSAC_RESâ has no member named
âdataâ
./deps/mysac/mysac.h:692: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h:693: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h:696: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h: In function âmysac_first_rowâ:
./deps/mysac/mysac.h:705: error: âMYSAC_RESâ has no member named âcrâ
./deps/mysac/mysac.h: In function âmysac_cur_rowâ:
./deps/mysac/mysac.h:713: error: âMYSAC_RESâ has no member named âcrâ
libape-spidermonkey.c: In function âapemysql_escapeâ:
libape-spidermonkey.c:1020: warning: implicit declaration of function
âmysql_escape_stringâ
libape-spidermonkey.c: In function âmysac_query_successâ:
libape-spidermonkey.c:2397: error: âMYSAC_RESâ has no member named
âcrâ
libape-spidermonkey.c:2398: error: âMYSAC_RESâ has no member named
âcolsâ
libape-spidermonkey.c:2400: error: âMYSAC_RESâ has no member named
âcolsâ
make: *** [modules] Error 1
----
after I commented out some lines in build.sh:
#if [ -e "/usr/include/mysql/mysql.h" ]
#then
    echo "HAS_MYSQL = yes" > ./modules/mysql.mk
        echo "#define _USE_MYSQL 1" >> ./src/configure.h
        cd ./modules/deps/mysac/
        make
        cd ../../../
#else
#       echo "HAS_MYSQL = 0" > ./modules/mysql.mk
#       echo "#undef _USE_MYSQL" >> ./src/configure.h
#fi
Maybe I did that wrong, or I dont' know

On Oct 4, 9:45 am, innociv <[email protected]> wrote:
> http://pastebin.com/FS87pvLe
> Is the output for build.sh and there is no mysql error.
>
> On Oct 4, 3:44 am, Felix Filozov <[email protected]> wrote:
>
> > Try compiling again, and paste MySQL related error that you see.
>
> > On Sun, Oct 3, 2010 at 10:29 PM, innociv <[email protected]> wrote:
> > > And this is on Debian.
> > > I do remember ape compiler having a problem detecting I had mysql
> > > install before, but I'm not sure how to fix it.
>
> > > On Oct 3, 9:34 pm, innociv <[email protected]> wrote:
> > > > I didn't know I had to specify that.
> > > > How would I?
>
> > > > On Oct 3, 8:55 pm, Felix Filozov <[email protected]> wrote:
>
> > > > > Did you compile APE with MySQL support?
>
> > > > > On Sun, Oct 3, 2010 at 10:50 AM, innociv <[email protected]> wrote:
> > > > > > "TypeError: Ape.MySQL is not a constructor" is the problem I seem to
> > > > > > have.
>
> > > > > > I'm using "var sql = new Ape.MySQL("/var/run/mysqld/mysqld.sock",
> > > > > > "root", "*********", "rph_chat");"
>
> > > > > > That's for sure where my socket file is.  The username, password, 
> > > > > > and
> > > > > > database are correct.
>
> > > > > > It's the same SSJS scripts I was using, but after reformating my
> > > > > > server and setting up the beta4 version of APED from github, I'm
> > > > > > getting this error and my SSJS isn't working.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > > > Groups "APE Project" group.
> > > > > > To post to this group, send email to [email protected]
> > > > > > To unsubscribe from this group, send email to
> > > > > > [email protected]<ape-project%[email protected]>
> > > <ape-project%[email protected]<ape-project%[email protected]>
>
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/ape-project?hl=en
> > > > > > ---
> > > > > > APE Project (Ajax Push Engine)
> > > > > > Official website :http://www.ape-project.org/
> > > > > > Git Hub :http://github.com/APE-Project/
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "APE Project" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<ape-project%[email protected]>
> > > For more options, visit this group at
> > >http://groups.google.com/group/ape-project?hl=en
> > > ---
> > > APE Project (Ajax Push Engine)
> > > Official website :http://www.ape-project.org/
> > > Git Hub :http://github.com/APE-Project/

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to