I have successfully build the APE server on FreeBSD 8.1 according to
the guide here:
http://www.ape-project.org/wiki/index.php/Talk:Setup_1.0

I still need to build the MySQL module, but it is not going very
well.:

-----------------------------------------------------------
# pwd
/usr/home/jde/APE-Project_1.0/ape-server/ape-server-1.0/modules/deps/
mysac

# gmake
gmake lib
gmake[1]: Entering directory `/usr/home/jde/APE-Project_1.0/ape-server/
ape-server-1.0/modules/deps/mysac'
cc -DBUILDVER=0.4b -I/usr/local/include -O0 -g -Wall -fPIC   -c -o
mysac.o mysac.c
In file included from mysac.c:24:
/usr/local/include/mysql/my_global.h:84:23: error: my_config.h: No
such file or directory
/usr/local/include/mysql/my_global.h:619:26: error: my_attribute.h: No
such file or directory
/usr/local/include/mysql/my_global.h:655:21: error: my_dbug.h: No such
file or directory
In file included from mysac.c:24:
/usr/local/include/mysql/my_global.h:694: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'size_socket'
/usr/local/include/mysql/my_global.h:819:2: error: #error "please add -
DSTACK_DIRECTION=1 or -1 to your CPPFLAGS"
/usr/local/include/mysql/my_global.h:887:1: warning: "isnan" redefined
In file included from /usr/local/include/mysql/my_global.h:424,
                 from mysac.c:24:
/usr/include/math.h:99:1: warning: this is the location of the
previous definition
In file included from mysac.c:24:
/usr/local/include/mysql/my_global.h:1004:2: error: #error Neither int
or long is of 4 bytes width
/usr/local/include/mysql/my_global.h:1574: error: static declaration
of 'rint' follows non-static declaration
/usr/local/include/mysql/my_global.h: In function 'rint':
/usr/local/include/mysql/my_global.h:1583: error: 'DBL_MANT_DIG'
undeclared (first use in this function)
/usr/local/include/mysql/my_global.h:1583: error: (Each undeclared
identifier is reported only once
/usr/local/include/mysql/my_global.h:1583: error: for each function it
appears in.)
mysac.c: In function 'mysac_connect':
mysac.c:302: warning: implicit declaration of function 'close'
mysac.c:349: error: 'uint32' undeclared (first use in this function)
mysac.c:349: error: expected expression before ')' token
mysac.c: In function 'mysac_send_stmt_prepare':
mysac.c:776: error: 'uint32' undeclared (first use in this function)
mysac.c:776: error: expected expression before ')' token
gmake[1]: *** [mysac.o] Error 1
gmake[1]: Leaving directory `/usr/home/jde/APE-Project_1.0/ape-server/
ape-server-1.0/modules/deps/mysac'
gmake: *** [build] Error 2
-----------------------------------------------------------

I don't understand why gmake can't find my_config.h and others. These
files are in the same directory as my_global.h.

Since I have virtually no C-programming experience, I really hope
someone can shed some light on this issue...

/marie_dk

-- 
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