[JXTA discuss] help !!!!!!!!!!!!

"马里" <[email protected]> Wed, 8 Jun 2005 13:24:25 +0000
Newsgroups gmane.comp.java.jxta.general,gmane.comp.java.jxta.devel
Message-ID <[email protected]>

hi,everybody.

I am a novice about JXTA-c and I only have few experiences programming in linux, but now I need to develop my project ased on jxta-c urgently. However I cann't build its source code successful.( I have followed the introduction several times.) 
 
btw: I don't think the build introduction on website is in detail for a novice.  if you will, please give me a introduction about how to build jxta-c in detail, thanx very much!!!!!

My step to build and error messages as follows:       (please tell me which step is wrong, and how to do it.) many thanks


1. in directory /jxta-2.1   -------my root of source code, input command
$ ./configure --with-apr
there is no error in this step

2. /jxta-2.1  
$ libtoolize
there is no error in this step

3. /jxta-2.1 
[root@localhost jxta-2.1]# aclocal
[root@localhost jxta-2.1]# autoheader
[root@localhost jxta-2.1]# automake -a
there are some error messages:
configure.in:9: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
[root@localhost jxta-2.1]# autoconf

4.[root@localhost jxta-2.1]# ./configure --prefix=/jxta/install
there is no error in this step

5.[root@localhost jxta-2.1]# make
cd . && /bin/sh /jxta/jxta-2.1/conftools/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/jxta/jxta-2.1'
Making all in src
make[2]: Entering directory `/jxta/jxta-2.1/src'
Making all in jpr
make[3]: Entering directory `/jxta/jxta-2.1/src/jpr'
source='jpr_excep.c' object='jpr_excep.lo' libtool=yes \
depfile='.deps/jpr_excep.Plo' tmpdepfile='.deps/jpr_excep.TPlo' \
depmode=gcc3 /bin/sh ../../conftools/depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I/jxta/jxta-2.1/lib/apr/include/apr-0 I/jxta/install/include -I..  -Wall -W -pedantic -Wno-long-long -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -g O2 -c -o jpr_excep.lo `test -f 'jpr_excep.c' || echo './'`jpr_excep.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/jxta/jxta-2.1/lib/apr/include/apr-0 -I/jxta/install/include -I.. -Wall -W pedantic -Wno-long-long -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -c jpr_excep.c -MT jpr_excep.lo -MD -MP -MF .deps/jpr_excep.TPlo  -fPIC -DPIC -o .libs/jpr_excep.o
jpr_excep.c:60:29: apr_thread_proc.h: No such file or directory
jpr_excep.c:72: parse error before '*' token
jpr_excep.c:72: warning: type defaults to `int' in declaration of `jmp_key_p'
jpr_excep.c:72: ISO C forbids data definition with no type or storage class
jpr_excep.c:77: parse error before '*' token
jpr_excep.c:77: warning: type defaults to `int' in declaration of `status_key_p'jpr_excep.c:77: ISO C forbids data  with no type or storage class
jpr_excep.c:82: parse error before '*' token
jpr_excep.c:82: warning: type defaults to `int' in declaration of `keys_pool_p'
jpr_excep.c:82: ISO C forbids data definition with no type or storage class
jpr_excep.c: In function `destructor':
jpr_excep.c:100: warning: unused parameter `ptd'
jpr_excep.c: At top level:
jpr_excep.c:116: parse error before "keys_init_ctrl"
jpr_excep.c:116: warning: type defaults to `int' in declaration of `keys_init_ctrl'
jpr_excep.c:116: ISO C forbids data definition with no type or storage class
jpr_excep.c: In function `keys_init':
jpr_excep.c:120: warning: implicit declaration of function `apr_pool_create'
jpr_excep.c:121: warning: implicit declaration of function `apr_threadkey_private_create'
jpr_excep.c: In function `_jpr_threadPushCtx':
jpr_excep.c:135: warning: implicit declaration of function `apr_thread_once'
jpr_excep.c:136: warning: implicit declaration of function `apr_threadkey_private_get'
jpr_excep.c:138: warning: implicit declaration of function `apr_threadkey_private_set'
make[3]: *** [jpr_excep.lo] Error 1
make[3]: Leaving directory `/jxta/jxta-2.1/src/jpr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/jxta/jxta-2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/jxta/jxta-2.1'
make: *** [all] Error 2
[root@localhost jxta-2.1]#
>
>      
 looking for your reply. thanx
>
yours 
Kevin

        [email protected]
          2005-06-08