Aug 30, 2005

    onlpc03, Scientific Linux CERN 305 上で JXTA-C のデモ・プログラムを実行
          		---  JXTA-C のデモ・プログラム実行 #2
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               (http://www-online.kek.jp/~inoue/para-CAMAC/
                                   Work/onlpc03-JXTA1.html)



                        高エネルギー加速器研究機構
                            素粒子原子核研究所
                         物理、オンライングループ
                                井上 栄二

        目的

	    Scientific Linux CERN 305 のシステムが稼動している onlpc03マシン上に
	  JXTA-C のパッケージをインストールし、JXTA-C Shell デモ・プログラムを
	    実行する。


        項目

        (1). JXTA-C のパッケージを入手
        (2). JXTA-C をコンパイル&インストール
        (3). JXTA-C shellを実行
          (3-1).  PlatformConfigの修正
          (3-2).  JXTA-C shellを実行


  --------------------------------------------------------------------

 (1). JXTA-C のパッケージを入手

	JXTA ダウンロードサイトから jxta-c-2.1.1.tar.gzパッケージを入手する。 バ
	イナリパッケージおよびドキュメントパッケージはないようである。  入手した
	パッケージを onlpc03マシンにインストールする。

[onlpc03] /home/inoue/JXTA-C > cat /etc/issue
Scientific Linux CERN Release 3.0.5 (SL)

[onlpc03] /home/inoue/JXTA-C >
[onlpc03] /home/inoue/JXTA-C > pwd
/home/inoue/JXTA-C
[onlpc03] /home/inoue/JXTA-C > ls -l
合計 816
-rw-rw-r--    1 inoue    inoue      829595  8月 25 09:19 jxta-c-2.1.1.tar.gz
[onlpc03] /home/inoue/JXTA-C >
[onlpc03] /home/inoue/JXTA-C > tar xzf jxta-c-2.1.1.tar.gz
[onlpc03] /home/inoue/JXTA-C >
[onlpc03] /home/inoue/JXTA-C > ls -l
合計 820
drwxrwxr-x    8 inoue    inoue        4096  6月 15 08:19 jxta-c-2.1.1
-rw-rw-r--    1 inoue    inoue      829595  8月 25 09:19 jxta-c-2.1.1.tar.gz
[onlpc03] /home/inoue/JXTA-C >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > pwd
/home/inoue/JXTA-C/jxta-c-2.1.1
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > ls -l
合計 1088
-rw-r--r--    1 inoue    inoue          58  5月 20  2004 AUTHORS
-rw-r--r--    1 inoue    inoue        2958 12月 18  2004 COPYING
-rw-r--r--    1 inoue    inoue          62 12月 18  2004 ChangeLog
-rw-r--r--    1 inoue    inoue        2142  6月 15 08:03 INSTALL
-rw-r--r--    1 inoue    inoue         198  3月  1 02:24 Makefile.am
-rw-r--r--    1 inoue    inoue       19111  6月 15 08:18 Makefile.in
-rw-r--r--    1 inoue    inoue          27  5月 20  2004 NEWS
-rw-r--r--    1 inoue    inoue          27  2月 24  2004 README
-rw-r--r--    1 inoue    inoue      243173  6月 15 08:18 aclocal.m4
-rw-r--r--    1 inoue    inoue        1739  6月 15 08:18 config.h.in
-rwxr-xr-x    1 inoue    inoue      723556  6月 15 08:18 configure
-rw-r--r--    1 inoue    inoue        3831  6月 15 08:03 configure.in
drwxrwxr-x    2 inoue    inoue        4096  6月 15 08:19 conftools
-rw-r--r--    1 inoue    inoue       47630  1月  5  2005 doxconf
drwxrwxr-x    2 inoue    inoue        4096  6月 15 08:19 shell
drwxrwxr-x    4 inoue    inoue        8192  6月 15 08:19 src
drwxrwxr-x    2 inoue    inoue        4096  6月 15 08:19 test
drwxrwxr-x    2 inoue    inoue        4096  6月 15 08:19 tutorials
drwxrwxr-x    5 inoue    inoue        4096  6月 15 08:19 win32
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > cat README
see http://jxta-c.jxta.org
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > cat INSTALL
Linux/Solaris
========================================================================
On most Linux distribution, libapr was built with Berkeley DB support. I
would recommend you to isntall the libapr distributed by your
distribution and use Berkeley DB as the default DBM. I have tested this
configuration with Debian and Suse(JDS does not seems to provide apr,
however, you can try RPM from Suse 9)

To test if your system have libapr installed and support Berkeley DB:

$ apr-config --includedir

If libapr was installed, you should see it print out the folder which
contains the header files. On Debian, it is /usr/include/apr-0, on Suse,
it is /usr/include/apache2.

Next step, make sure that libapr was built with Berkeley DB support.

grep APU_HAVE_DB /usr/include/apr-0/apu.h

You will see a line like following, if the value is 1, that means
Berkeley DB support is built into libapr. You are good to use it to
build jxta-c.

#define APU_HAVE_DB     1


If you are using CVS, replace configure with autogen.sh in the
following.

System with libapr and Berkely DB isntalled
------------------------------------------------------------------------
./configure --without-apr --with-dbm=db
make
make install


System without libapr, Berkeley DB or with libapr does not support
Berkeley DB
------------------------------------------------------------------------
You will need a patched build of apr-util for SDBM. You can download a
pre-built library at
http://jxta-c.jxta.org/servlets/ProjectDocumentList.

Create a lib folder in the jxta-c folder and untar the file.

./configure
make
make install


Windows
========================================================================
You will need a patched build of apr-util for SDBM. You can download a
pre-built library at:

http://jxta-c.jxta.org/files/documents/141/204/apr-0.9.6-win32.zip

Create a lib folder in your jxta-c folder and unzip the file. You should
now see a Apache2 folder within the lib folder.

The jxtalib.dsp can be located in win32/jxta/jxtalib/jxtalib.dsp, and
the shell is in win32/JxtaShell/JxtaShell.dsp. I believe you know how to
build it from here. :-)


[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > apr-config --includedir
/usr/include/httpd
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

	ok.  libapr のヘッダーは /usr/include/httpd にインストールされている。

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > grep APU_HAVE_DB /usr/include/httpd/
apu.h
#define APU_HAVE_DB     1
#if APU_HAVE_DB
#define APU_HAVE_DB_VERSION    4
#endif /* APU_HAVE_DB */
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

	ok.  インストールされている libapr は Berkeley DB サポート版である。
	JXTA-C のビルドに支障はない。


 (2). JXTA-C をコンパイル&インストール

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > pwd
/home/inoue/JXTA-C/jxta-c-2.1.1
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > ls
AUTHORS    INSTALL      NEWS        config.h.in   conftools  src        win32
COPYING    Makefile.am  README      configure     doxconf    test
ChangeLog  Makefile.in  aclocal.m4  configure.in  shell      tutorials
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > ./configure --without-apr --with-dbm
=db
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for apr-config... /usr/bin/apr-config
checking for apu-config... /usr/bin/apu-config
checking for XML_ParserCreate in -lexpat... yes
checking for dlopen in -ldl... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/jpr/Makefile
config.status: creating src/unicode/Makefile
config.status: creating test/Makefile
config.status: creating shell/Makefile
config.status: creating tutorials/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > make
					:
					:
/bin/sh ../libtool --mode=link gcc -DSTANDALONE -Wall -pedantic -Wno-long-long -
Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2   -o whisp  jxta_tu
torial_main.o jxta_tutorial_shared.o jxta_tutorial_args.o whisp.o -L/usr/lib -la
pr-0 -lrt -lm -lcrypt -lnsl  -ldl  -L/usr/lib -laprutil-0 -ldb -lexpat -L../src/
 -L../src/.libs -L../src/jpr -L../src/jpr/.libs -lpthread -lapr-0 -laprutil-0 -l
jpr -ljxta -ldl -lexpat
gcc -DSTANDALONE -Wall -pedantic -Wno-long-long -Wstrict-prototypes -Wwrite-stri
ngs -Wpointer-arith -g -g -O2 -o .libs/whisp jxta_tutorial_main.o jxta_tutorial_
shared.o jxta_tutorial_args.o whisp.o  -L/usr/lib -L/home/inoue/JXTA-C/jxta-c-2.
1.1/src -L/home/inoue/JXTA-C/jxta-c-2.1.1/src/.libs -L/home/inoue/JXTA-C/jxta-c-
2.1.1/src/jpr -L/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr/.libs /usr/lib/libapruti
l-0.so -ldb /usr/lib/libapr-0.so -lrt -lm -lcrypt -lnsl -lpthread /home/inoue/JX
TA-C/jxta-c-2.1.1/src/jpr/.libs/libjpr.so /home/inoue/JXTA-C/jxta-c-2.1.1/src/.l
ibs/libjxta.so -ldl /usr/lib/libexpat.so -Wl,--rpath -Wl,/usr/local/lib
creating whisp
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/tutorials'
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
make[2]: `all-am' に対して行うべき事はありません。
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
make[1]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

	ok.  コンパイルは正常に終了した。 インストールを行う。

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > make install
Making install in src
make[1]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src'
Making install in jpr
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr'
make[3]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
 /bin/sh ../../libtool --mode=install /usr/bin/install -c  'libjpr.la' '/usr/loc
al/lib/libjpr.la'
/usr/bin/install -c .libs/libjpr.so.0.0.0 /usr/local/lib/libjpr.so.0.0.0
(cd /usr/local/lib && rm -f libjpr.so.0 && ln -s libjpr.so.0.0.0 libjpr.so.0)
(cd /usr/local/lib && rm -f libjpr.so && ln -s libjpr.so.0.0.0 libjpr.so)
/usr/bin/install -c .libs/libjpr.lai /usr/local/lib/libjpr.la
/usr/bin/install -c .libs/libjpr.a /usr/local/lib/libjpr.a
ranlib /usr/local/lib/libjpr.a
chmod 644 /usr/local/lib/libjpr.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/jpr" || mkdir -p -- . "/usr/local/include/jpr"
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_apr_wrapper
.h' '/usr/local/include/jpr/jpr_apr_wrapper.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_core.h' '/u
sr/local/include/jpr/jpr_core.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_errno.h' '/
usr/local/include/jpr/jpr_errno.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_excep.h' '/
usr/local/include/jpr/jpr_excep.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_excep_proto
.h' '/usr/local/include/jpr/jpr_excep_proto.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_setjmp.h' '
/usr/local/include/jpr/jpr_setjmp.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_thread.h' '
/usr/local/include/jpr/jpr_thread.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_threadonce.
h' '/usr/local/include/jpr/jpr_threadonce.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'jpr_types.h' '/
usr/local/include/jpr/jpr_types.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'arch/beos/jpr_t
hreadonce.h' '/usr/local/include/jpr/arch/beos/jpr_threadonce.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'arch/netware/jp
r_threadonce.h' '/usr/local/include/jpr/arch/netware/jpr_threadonce.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'arch/os2/jpr_th
readonce.h' '/usr/local/include/jpr/arch/os2/jpr_threadonce.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'arch/unix/jpr_t
hreadonce.h' '/usr/local/include/jpr/arch/unix/jpr_threadonce.h'
 /home/inoue/JXTA-C/jxta-c-2.1.1/conftools/install-sh -c -m 644 'arch/win32/jpr_
threadonce.h' '/usr/local/include/jpr/arch/win32/jpr_threadonce.h'
make[3]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr'
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr'
Making install in unicode
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/unicode'
make[3]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/unicode'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
 /bin/sh ../../libtool --mode=install /usr/bin/install -c  'libjxtautf.la' '/usr
/local/lib/libjxtautf.la'
/usr/bin/install -c .libs/libjxtautf.so.0.0.0 /usr/local/lib/libjxtautf.so.0.0.0
(cd /usr/local/lib && rm -f libjxtautf.so.0 && ln -s libjxtautf.so.0.0.0 libjxta
utf.so.0)
(cd /usr/local/lib && rm -f libjxtautf.so && ln -s libjxtautf.so.0.0.0 libjxtaut
f.so)
/usr/bin/install -c .libs/libjxtautf.lai /usr/local/lib/libjxtautf.la
/usr/bin/install -c .libs/libjxtautf.a /usr/local/lib/libjxtautf.a
ranlib /usr/local/lib/libjxtautf.a
chmod 644 /usr/local/lib/libjxtautf.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: `install-data-am' に対して行うべき事はありません。
make[3]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/unicode'
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src/unicode'
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src'
make[3]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src'
test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libjxta.la' '/usr/local
/lib/libjxta.la'
/usr/bin/install -c .libs/libjxta.so.0.0.0 /usr/local/lib/libjxta.so.0.0.0
(cd /usr/local/lib && rm -f libjxta.so.0 && ln -s libjxta.so.0.0.0 libjxta.so.0)
(cd /usr/local/lib && rm -f libjxta.so && ln -s libjxta.so.0.0.0 libjxta.so)
/usr/bin/install -c .libs/libjxta.lai /usr/local/lib/libjxta.la
/usr/bin/install -c .libs/libjxta.a /usr/local/lib/libjxta.a
ranlib /usr/local/lib/libjxta.a
chmod 644 /usr/local/lib/libjxta.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
 /usr/bin/install -c -m 644 'EndpointRouter.h' '/usr/local/include/EndpointRoute
r.h'
 /usr/bin/install -c -m 644 'jdlist.h' '/usr/local/include/jdlist.h'
 /usr/bin/install -c -m 644 'jstring.h' '/usr/local/include/jstring.h'
 /usr/bin/install -c -m 644 'jxta_advertisement.h' '/usr/local/include/jxta_adve
rtisement.h'
 /usr/bin/install -c -m 644 'jxtaapr.h' '/usr/local/include/jxtaapr.h'
 /usr/bin/install -c -m 644 'jxta_bytevector.h' '/usr/local/include/jxta_bytevec
tor.h'
 /usr/bin/install -c -m 644 'jxta_cm.h' '/usr/local/include/jxta_cm.h'
 /usr/bin/install -c -m 644 'jxta_cred.h' '/usr/local/include/jxta_cred.h'
 /usr/bin/install -c -m 644 'jxta_debug.h' '/usr/local/include/jxta_debug.h'
 /usr/bin/install -c -m 644 'jxta_discovery_service.h' '/usr/local/include/jxta_
discovery_service.h'
 /usr/bin/install -c -m 644 'jxta_dq.h' '/usr/local/include/jxta_dq.h'
 /usr/bin/install -c -m 644 'jxta_dr.h' '/usr/local/include/jxta_dr.h'
 /usr/bin/install -c -m 644 'jxta_endpoint_address.h' '/usr/local/include/jxta_e
ndpoint_address.h'
 /usr/bin/install -c -m 644 'jxta_endpoint_messenger.h' '/usr/local/include/jxta
_endpoint_messenger.h'
 /usr/bin/install -c -m 644 'jxta_endpoint_service.h' '/usr/local/include/jxta_e
ndpoint_service.h'
 /usr/bin/install -c -m 644 'jxta_router_service.h' '/usr/local/include/jxta_rou
ter_service.h'
 /usr/bin/install -c -m 644 'jxta_errno.h' '/usr/local/include/jxta_errno.h'
 /usr/bin/install -c -m 644 'jxta.h' '/usr/local/include/jxta.h'
 /usr/bin/install -c -m 644 'jxta_hashtable.h' '/usr/local/include/jxta_hashtabl
e.h'
 /usr/bin/install -c -m 644 'jxta_hta.h' '/usr/local/include/jxta_hta.h'
 /usr/bin/install -c -m 644 'jxta_id.h' '/usr/local/include/jxta_id.h'
 /usr/bin/install -c -m 644 'jxta_listener.h' '/usr/local/include/jxta_listener.
h'
 /usr/bin/install -c -m 644 'jxta_mca.h' '/usr/local/include/jxta_mca.h'
 /usr/bin/install -c -m 644 'jxta_membership_service.h' '/usr/local/include/jxta
_membership_service.h'
 /usr/bin/install -c -m 644 'jxta_message.h' '/usr/local/include/jxta_message.h'
 /usr/bin/install -c -m 644 'jxta_mia.h' '/usr/local/include/jxta_mia.h'
 /usr/bin/install -c -m 644 'jxta_module.h' '/usr/local/include/jxta_module.h'
 /usr/bin/install -c -m 644 'jxta_msa.h' '/usr/local/include/jxta_msa.h'
 /usr/bin/install -c -m 644 'jxta_object.h' '/usr/local/include/jxta_object.h'
 /usr/bin/install -c -m 644 'jxta_object_priv.h' '/usr/local/include/jxta_object
_priv.h'
 /usr/bin/install -c -m 644 'jxta_object_type.h' '/usr/local/include/jxta_object
_type.h'
 /usr/bin/install -c -m 644 'jxta_objecthashtable.h' '/usr/local/include/jxta_ob
jecthashtable.h'
 /usr/bin/install -c -m 644 'jxta_object_ptrwrapper.h' '/usr/local/include/jxta_
object_ptrwrapper.h'
 /usr/bin/install -c -m 644 'jxta_pa.h' '/usr/local/include/jxta_pa.h'
 /usr/bin/install -c -m 644 'jxta_peergroup.h' '/usr/local/include/jxta_peergrou
p.h'
 /usr/bin/install -c -m 644 'jxta_peer.h' '/usr/local/include/jxta_peer.h'
 /usr/bin/install -c -m 644 'jxta_peer_private.h' '/usr/local/include/jxta_peer_
private.h'
 /usr/bin/install -c -m 644 'jxta_peerinfo_service.h' '/usr/local/include/jxta_p
eerinfo_service.h'
 /usr/bin/install -c -m 644 'jxta_pga.h' '/usr/local/include/jxta_pga.h'
 /usr/bin/install -c -m 644 'jxta_pipe_adv.h' '/usr/local/include/jxta_pipe_adv.
h'
 /usr/bin/install -c -m 644 'jxta_pipe_service.h' '/usr/local/include/jxta_pipe_
service.h'
 /usr/bin/install -c -m 644 'jxta_pipe_service_impl.h' '/usr/local/include/jxta_
pipe_service_impl.h'
 /usr/bin/install -c -m 644 'jxta_rdv.h' '/usr/local/include/jxta_rdv.h'
 /usr/bin/install -c -m 644 'jxta_rdv_service.h' '/usr/local/include/jxta_rdv_se
rvice.h'
 /usr/bin/install -c -m 644 'jxta_rdv_service_provider.h' '/usr/local/include/jx
ta_rdv_service_provider.h'
 /usr/bin/install -c -m 644 'jxta_resolver_service.h' '/usr/local/include/jxta_r
esolver_service.h'
 /usr/bin/install -c -m 644 'jxta_rq.h' '/usr/local/include/jxta_rq.h'
 /usr/bin/install -c -m 644 'jxta_rr.h' '/usr/local/include/jxta_rr.h'
 /usr/bin/install -c -m 644 'jxta_rsrdi.h' '/usr/local/include/jxta_rsrdi.h'
 /usr/bin/install -c -m 644 'jxta_srdi.h' '/usr/local/include/jxta_srdi.h'
 /usr/bin/install -c -m 644 'jxta_service.h' '/usr/local/include/jxta_service.h'
 /usr/bin/install -c -m 644 'jxta_string.h' '/usr/local/include/jxta_string.h'
 /usr/bin/install -c -m 644 'jxta_svc.h' '/usr/local/include/jxta_svc.h'
 /usr/bin/install -c -m 644 'jxta_transport.h' '/usr/local/include/jxta_transpor
t.h'
 /usr/bin/install -c -m 644 'jxta_tta.h' '/usr/local/include/jxta_tta.h'
 /usr/bin/install -c -m 644 'jxta_types.h' '/usr/local/include/jxta_types.h'
 /usr/bin/install -c -m 644 'jxta_vector.h' '/usr/local/include/jxta_vector.h'
 /usr/bin/install -c -m 644 'jxta_xml_util.h' '/usr/local/include/jxta_xml_util.
h'
 /usr/bin/install -c -m 644 'jxta_relaya.h' '/usr/local/include/jxta_relaya.h'
 /usr/bin/install -c -m 644 'jxta_apa.h' '/usr/local/include/jxta_apa.h'
 /usr/bin/install -c -m 644 'jxta_routea.h' '/usr/local/include/jxta_routea.h'
 /usr/bin/install -c -m 644 'jxta_relay.h' '/usr/local/include/jxta_relay.h'
 /usr/bin/install -c -m 644 'jxta_cred_null.h' '/usr/local/include/jxta_cred_nul
l.h'
 /usr/bin/install -c -m 644 'jxta_pm.h' '/usr/local/include/jxta_pm.h'
 /usr/bin/install -c -m 644 'jxta_rm.h' '/usr/local/include/jxta_rm.h'
 /usr/bin/install -c -m 644 'jxta_transport_http_client.h' '/usr/local/include/j
xta_transport_http_client.h'
 /usr/bin/install -c -m 644 'jxta_transport_http_poller.h' '/usr/local/include/j
xta_transport_http_poller.h'
 /usr/bin/install -c -m 644 'jxta_incoming_unicast_server.h' '/usr/local/include
/jxta_incoming_unicast_server.h'
 /usr/bin/install -c -m 644 'jxta_transport_tcp_connection.h' '/usr/local/includ
e/jxta_transport_tcp_connection.h'
 /usr/bin/install -c -m 644 'jxta_tcp_multicast.h' '/usr/local/include/jxta_tcp_
multicast.h'
 /usr/bin/install -c -m 644 'jxta_wm.h' '/usr/local/include/jxta_wm.h'
 /usr/bin/install -c -m 644 'localconf.h' '/usr/local/include/localconf.h'
 /usr/bin/install -c -m 644 'queue.h' '/usr/local/include/queue.h'
 /usr/bin/install -c -m 644 'trailing_average.h' '/usr/local/include/trailing_av
erage.h'
 /usr/bin/install -c -m 644 'jxta_log.h' '/usr/local/include/jxta_log.h'
 /usr/bin/install -c -m 644 'jxta_bidipipe.h' '/usr/local/include/jxta_bidipipe.
h'
 /usr/bin/install -c -m 644 'jxta_socket_tunnel.h' '/usr/local/include/jxta_sock
et_tunnel.h'
 /usr/bin/install -c -m 644 'jxta_rdv_config_adv.h' '/usr/local/include/jxta_rdv
_config_adv.h'
make[3]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src'
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src'
make[1]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/src'
Making install in test
make[1]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/test'
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/test'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jstring_test' '/usr/loc
al/bin/jstring_test'
/usr/bin/install -c .libs/jstring_test /usr/local/bin/jstring_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'msg_test' '/usr/local/b
in/msg_test'
/usr/bin/install -c .libs/msg_test /usr/local/bin/msg_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'dq_adv_test' '/usr/loca
l/bin/dq_adv_test'
/usr/bin/install -c .libs/dq_adv_test /usr/local/bin/dq_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'dr_adv_test' '/usr/loca
l/bin/dr_adv_test'
/usr/bin/install -c .libs/dr_adv_test /usr/local/bin/dr_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'srdi_test' '/usr/local/
bin/srdi_test'
/usr/bin/install -c .libs/srdi_test /usr/local/bin/srdi_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'pa_adv_test' '/usr/loca
l/bin/pa_adv_test'
/usr/bin/install -c .libs/pa_adv_test /usr/local/bin/pa_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'mia_adv_test' '/usr/loc
al/bin/mia_adv_test'
/usr/bin/install -c .libs/mia_adv_test /usr/local/bin/mia_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'pga_adv_test' '/usr/loc
al/bin/pga_adv_test'
/usr/bin/install -c .libs/pga_adv_test /usr/local/bin/pga_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'rr_adv_test' '/usr/loca
l/bin/rr_adv_test'
/usr/bin/install -c .libs/rr_adv_test /usr/local/bin/rr_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'rq_adv_test' '/usr/loca
l/bin/rq_adv_test'
/usr/bin/install -c .libs/rq_adv_test /usr/local/bin/rq_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'hta_adv_test' '/usr/loc
al/bin/hta_adv_test'
/usr/bin/install -c .libs/hta_adv_test /usr/local/bin/hta_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'svc_adv_test' '/usr/loc
al/bin/svc_adv_test'
/usr/bin/install -c .libs/svc_adv_test /usr/local/bin/svc_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'tta_adv_test' '/usr/loc
al/bin/tta_adv_test'
/usr/bin/install -c .libs/tta_adv_test /usr/local/bin/tta_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'relay_adv_test' '/usr/l
ocal/bin/relay_adv_test'
/usr/bin/install -c .libs/relay_adv_test /usr/local/bin/relay_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'apa_adv_test' '/usr/loc
al/bin/apa_adv_test'
/usr/bin/install -c .libs/apa_adv_test /usr/local/bin/apa_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'route_adv_test' '/usr/l
ocal/bin/route_adv_test'
/usr/bin/install -c .libs/route_adv_test /usr/local/bin/route_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'rdv_adv_test' '/usr/loc
al/bin/rdv_adv_test'
/usr/bin/install -c .libs/rdv_adv_test /usr/local/bin/rdv_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'any_adv_test' '/usr/loc
al/bin/any_adv_test'
/usr/bin/install -c .libs/any_adv_test /usr/local/bin/any_adv_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_id_test' '/usr/loc
al/bin/jxta_id_test'
/usr/bin/install -c .libs/jxta_id_test /usr/local/bin/jxta_id_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxtaobject_test' '/usr/
local/bin/jxtaobject_test'
/usr/bin/install -c .libs/jxtaobject_test /usr/local/bin/jxtaobject_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'excep_test' '/usr/local
/bin/excep_test'
/usr/bin/install -c .libs/excep_test /usr/local/bin/excep_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_bytevector_test' '
/usr/local/bin/jxta_bytevector_test'
/usr/bin/install -c .libs/jxta_bytevector_test /usr/local/bin/jxta_bytevector_te
st
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_vector_test' '/usr
/local/bin/jxta_vector_test'
/usr/bin/install -c .libs/jxta_vector_test /usr/local/bin/jxta_vector_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_hash_test' '/usr/l
ocal/bin/jxta_hash_test'
/usr/bin/install -c .libs/jxta_hash_test /usr/local/bin/jxta_hash_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_objecthash_test' '
/usr/local/bin/jxta_objecthash_test'
/usr/bin/install -c .libs/jxta_objecthash_test /usr/local/bin/jxta_objecthash_te
st
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'dummypg_test' '/usr/loc
al/bin/dummypg_test'
/usr/bin/install -c .libs/dummypg_test /usr/local/bin/dummypg_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'http_client_test' '/usr
/local/bin/http_client_test'
/usr/bin/install -c .libs/http_client_test /usr/local/bin/http_client_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_xml_util_test' '/u
sr/local/bin/jxta_xml_util_test'
/usr/bin/install -c .libs/jxta_xml_util_test /usr/local/bin/jxta_xml_util_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_rdvclient_test' '/
usr/local/bin/jxta_rdvclient_test'
/usr/bin/install -c .libs/jxta_rdvclient_test /usr/local/bin/jxta_rdvclient_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_rdvclient_listener
_test' '/usr/local/bin/jxta_rdvclient_listener_test'
/usr/bin/install -c .libs/jxta_rdvclient_listener_test /usr/local/bin/jxta_rdvcl
ient_listener_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_resolver_test' '/u
sr/local/bin/jxta_resolver_test'
/usr/bin/install -c .libs/jxta_resolver_test /usr/local/bin/jxta_resolver_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_discovery_test' '/
usr/local/bin/jxta_discovery_test'
/usr/bin/install -c .libs/jxta_discovery_test /usr/local/bin/jxta_discovery_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_pg_test' '/usr/loc
al/bin/jxta_pg_test'
/usr/bin/install -c .libs/jxta_pg_test /usr/local/bin/jxta_pg_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_join_test' '/usr/l
ocal/bin/jxta_join_test'
/usr/bin/install -c .libs/jxta_join_test /usr/local/bin/jxta_join_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'endpoint_test' '/usr/lo
cal/bin/endpoint_test'
/usr/bin/install -c .libs/endpoint_test /usr/local/bin/endpoint_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'endpoint_stress_test' '
/usr/local/bin/endpoint_stress_test'
/usr/bin/install -c .libs/endpoint_stress_test /usr/local/bin/endpoint_stress_te
st
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'rdvstatus' '/usr/local/
bin/rdvstatus'
/usr/bin/install -c .libs/rdvstatus /usr/local/bin/rdvstatus
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'chat' '/usr/local/bin/c
hat'
/usr/bin/install -c .libs/chat /usr/local/bin/chat
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'peers' '/usr/local/bin/
peers'
/usr/bin/install -c .libs/peers /usr/local/bin/peers
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'xmltest' '/usr/local/bi
n/xmltest'
/usr/bin/install -c .libs/xmltest /usr/local/bin/xmltest
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'cm_test' '/usr/local/bi
n/cm_test'
/usr/bin/install -c .libs/cm_test /usr/local/bin/cm_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'unit_test_runner' '/usr
/local/bin/unit_test_runner'
/usr/bin/install -c .libs/unit_test_runner /usr/local/bin/unit_test_runner
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_bidipipe_test' '/u
sr/local/bin/jxta_bidipipe_test'
/usr/bin/install -c .libs/jxta_bidipipe_test /usr/local/bin/jxta_bidipipe_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_log_unit_test' '/u
sr/local/bin/jxta_log_unit_test'
/usr/bin/install -c .libs/jxta_log_unit_test /usr/local/bin/jxta_log_unit_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_server_tunnel' '/u
sr/local/bin/jxta_server_tunnel'
/usr/bin/install -c .libs/jxta_server_tunnel /usr/local/bin/jxta_server_tunnel
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxta_client_tunnel' '/u
sr/local/bin/jxta_client_tunnel'
/usr/bin/install -c .libs/jxta_client_tunnel /usr/local/bin/jxta_client_tunnel
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'pg_start_stop_test' '/u
sr/local/bin/pg_start_stop_test'
/usr/bin/install -c .libs/pg_start_stop_test /usr/local/bin/pg_start_stop_test
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'npg_test' '/usr/local/b
in/npg_test'
/usr/bin/install -c .libs/npg_test /usr/local/bin/npg_test
make[2]: `install-data-am' に対して行うべき事はありません。
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/test'
make[1]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/test'
Making install in shell
make[1]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/shell'
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/shell'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'jxtaShell' '/usr/local/
bin/jxtaShell'
/usr/bin/install -c .libs/jxtaShell /usr/local/bin/jxtaShell
make[2]: `install-data-am' に対して行うべき事はありません。
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/shell'
make[1]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/shell'
Making install in tutorials
make[1]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/tutorials'
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/tutorials'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'tutorial0' '/usr/local/
bin/tutorial0'
/usr/bin/install -c .libs/tutorial0 /usr/local/bin/tutorial0
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'tutorial1' '/usr/local/
bin/tutorial1'
/usr/bin/install -c .libs/tutorial1 /usr/local/bin/tutorial1
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'tutorial2' '/usr/local/
bin/tutorial2'
/usr/bin/install -c .libs/tutorial2 /usr/local/bin/tutorial2
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'whisp' '/usr/local/bin/
whisp'
/usr/bin/install -c .libs/whisp /usr/local/bin/whisp
make[2]: `install-data-am' に対して行うべき事はありません。
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/tutorials'
make[1]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1/tutorials'
make[1]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
make[2]: 入ります ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
make[2]: `install-exec-am' に対して行うべき事はありません。
make[2]: `install-data-am' に対して行うべき事はありません。
make[2]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
make[1]: 出ます ディレクトリ `/home/inoue/JXTA-C/jxta-c-2.1.1'
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > vi ~/.bash_profile
			:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=/usr/local/lib:$LD_RUN_PATH
			:
"~/.bash_profile" 17L, 336C 書込み
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > source ~/.bash_profile
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 > env
MANPATH=/home/inoue/man:/usr/sue/man::/usr/local/man:/cern/man:/usr/root/man
NNTPSERVER=news.cern.ch
HOSTNAME=onlpc03.kek.jp
HPX_TTY=/dev/pts/2
SHELL=/bin/bash
TERM=vt100
HOST=onlpc03.kek.jp
HISTSIZE=1000
JLESSCHARSET=japanese-euc
SAVEHIST=500
SSH_CLIENT=130.87.153.116 32796 22
HPX_OS_MINOR=4
YP=NO
QTDIR=/usr/lib/qt-3.1
USERPATH=/home/inoue/bin:/home/inoue/scripts:/usr/sue/bin:/usr/local/bin:/usr/lo
cal/bin/X11:/usr/bin:/bin:/usr/bin/X11:/cern/pro/bin
SSH_TTY=/dev/pts/2
OS=Linux
HPX_INITIALE=i
HPX_CELL=cern.ch
PRINT_CMD=xprint
USER=inoue
GROUP=inoue
_HPX_SEEN_SITE_ENV=1
LD_LIBRARY_PATH=/usr/local/lib:
ENV=/etc/hepix/sh/HEP/env
HPX_OS_MAJOR=2
USERNAME=root
CASTOR_HOME=/castor/cern.ch/user/i/inoue
PAGER=less
CERN=/cern
PATH=/usr/sue/sbin:/usr/kerberos/sbin:/opt/jdk1.5.0_02/bin:/opt/netbeans-4.0/bin
:/home/inoue/bin:/home/inoue/scripts:/usr/sue/bin:/usr/local/bin:/usr/local/bin/
X11:/usr/bin:/bin:/usr/bin/X11:/cern/pro/bin:/usr/kerberos/bin:/usr/X11R6/bin:.:
/home/inoue/bin:/usr/root/bin:/root/bin
MAIL=/var/spool/mail/inoue
DOMAINNAME=(none)
INITIALISED=YES
LD_RUN_PATH=/usr/local/lib:
PWD=/home/inoue/JXTA-C/jxta-c-2.1.1
INPUTRC=/etc/inputrc
WWW_HOME=http://www.cern.ch
CLUSTER_DIR=/etc/hepix/cluster
EDITOR=pico -w
CERN_LEVEL=pro
CERN_ROOT=/cern/pro
LANG=ja_JP.eucJP
LAMHELPFILE=/etc/lam/lam-helpfile
HSM_HOME=/hpss/cern.ch/user/i/inoue
XFILESEARCHPATH=/usr/lib/X11/app-defaults/%N:/usr/local/lib/X11/app-defaults/%N
PS1=[\h] ${PWD} >
HPSS_HOME=/hpss/cern.ch/user/i/inoue
GROUP_DIR=
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SYSTYPE=sysV
ENVIRONMENT=LOGIN
ROOTSYS=/usr/root
HOME=/root
SHLVL=2
BASH_ENV=/root/.bashrc
LOGNAME=inoue
VISUAL=pico -w
SSH_CONNECTION=130.87.153.116 32796 130.87.153.112 22
ROOTPATH=/usr/bin:/bin:/usr/bin/X11
LESSOPEN=|/usr/bin/lesspipe.sh %s
RUBOUT=BackSpace
BINTYPE=Linux
HISTFILE=/home/inoue/.history.onlpc03.kek.jp
G_BROKEN_FILENAMES=1
HPX_HEPGROUP_DIR=
_=/usr/bin/env
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1 >



 (3). JXTA-C shellを実行

	 JXTA-C FAQ の "How to run the JXTA-C jxtaShell" の記事を参照。

<<<=== ここから参照開始

What transport configuration JXTA-C peer support
----------------------------------------------------------------------
JXTA-C 2.0 peers supports the following transport configuration as
any JXTA-J2SE peers:

       - TCP/IP only
       - TCP/IP Relay only
       -  HTTP  Relay  only
       - TCP/IP and HTTP relay
       - TCP/IP Ad hoc mode (no relay and rdv)

How to configure a JXTA-J2SE  RDV and Relay to run with JXTA-C peer
-----------------------------------------------------------------------------------------------
0) Need to install JXTA J2SE 2.3 platform (http://download.jxta.org/archive/index.html)

1) Configure a JXTA J2SE 2.3 relay/rdv with HTTP, and RDV
and Relay enabled (http://platform.jxta.org/java/configuration.html)

J2SE GUI Configurator

    * "Advanced"  Tab:

   TCP/IP and HTTP Transport enabled

    * "RendezVous/Relay" Tab:


   "Act as a Rendezvous" button enabled
    "Act as a Relay" button enabled
        Make sure the public Relay address is not 127.0.0.1

    * "security" tab

          Enter username and password for RDV/Relay peer


  2)Start the two JXTA-C clients. They will generate a default "PlatformConfig" file
in the current directory.

You should see the following message:

[tra@dhcp-usca21-191-108 shell]$ ./Shell
A new configuration file has been output to PlatformConfig.
Please edit relevant elements before starting Jxta again.
[tra@dhcp-usca21-191-108 shell]$


Edit the PlatformConfig and modify the address of your RDV/relay depending
on the edge configuration you want:
   - TCP/IP only
   - HTTP Relay
   -TCP/IP Relay
   - Ad Hoc (TCP/IP multicast no RDV and Relay)

See below FAQ for how to configure a JXTA-C peer in these mode.


Which version of APR JXTA-C is compatible with
-------------------------------------------------------------------
The latest JXTA-C 2.0 release is using apr-0.9.4 and apr-util-0.9.4
The JXTA-C 2.0 release is also compatible with Apache 2.0.49.

The JXTA-C 2.0 is using Apache 2.0.49

Compatibility between JXTA-J2SE and JXTA-C
--------------------------------------------------------------------
The following compatibility table provides the release and CVS tag
compatibility between  JXTA-J2SE and JXTA-C :
   http://jxta-c.jxta.org/Release_history.html

CM in JXTA-C
------------------------
JXTA-C uses a CM as the JXTA-J2SE. The name of the CM directory is ".cm"

PlatformConfig JXTA-C configuration
---------------------------------------------------
The JXTA-C platform uses the exact same PlatformConfig  schema than JXAT-J2SE. You
can generate a PlatformConfig from a J2SE peer and use it by a JXTA-C peer.

1)  The new "seeds" RDV format of JXTA-J2SE 2.3.x is not supported
<Svc>
                <MCID>
                        urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605
                </MCID>
<Parm type="jxta:RdvConfig" config="client" xmlns:jxta="http://jxta.org">
                        <seeds>
                                <addr>
                                        http://192.18.191.135:9700
                                </addr>
                        </seeds>
                </Parm>

You have to use:
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605</MCID>
    <Parm>
<Addr>http://192.18.191.135:9700</Addr>
</Parm>
</Svc>

2) However a number of fields are not yet supported on JXTA-c:

HTTP Transport Configuration:
<ConfigMode>manual</ConfigMode>  :No manual mode support
<ServerOff></ServerOff>                         :Not supported

TCPIP Transport Configuration:
ConfigMode>manual</ConfigMode>   : Not supported

Relay Transport Configuration
<isServer>false</isServer>                     :  Not Supported
<ServerMaximumClients/>                    : Not Supported
<ServerLeaseInSeconds/>                       : Not Supported
<ClientMaximumServers/>                    : Not Supported
<ClientLeaseInSeconds/>                        : Not Supported


JXTA-C Rendezvous and Relay  super-peer capability
---------------------------------------------------------------------
The JXTA-C 2.0 platform does not yet support the capability for a JXTA-C peer
to act as a super-peer (either RDV or Relay). However, JXTA-C platform is
fully compatible with JXTA-J2SE  RDV and Relay. JXTA-C peers can connect and
interact with JXTA-J2SE Relay and RDV as any JXTA-J2SE edge peers.

How to configure a HTTP relay JXTA-C peer
-----------------------------------------------------------
1) set an HTTP address as a seed RDV

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605</MCID>
    <Parm>
<Addr>http://127.0.0.1:9700</Addr>  <- Change this to the HTTP address of your seed RDV
("HTTP://192.168.65.44:9700")
</Parm>
</Svc>
Note: You can specify more than one address

2) Remove the entire TCP transport service config parameter section as you only
     want the HTTP transport

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000905</MCID>
<Parm>
<jxta:TransportAdvertisement xmlns:jxta="http://jxta.org" type="jxta:TCPTransportAdvertisement">
<Protocol>tcp</Protocol>
<Port>9701</Port>
<MulticastAddr>224.0.1.85</MulticastAddr>
<MulticastPort>1234</MulticastPort>
<MulticastSize>16384</MulticastSize>
<InterfaceAddress>127.0.0.1</InterfaceAddress>
<ConfigMode>manual</ConfigMode>
</jxta:TransportAdvertisement>
</Parm>
</Svc>


3)  Configuge the HTTP Transport

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000A05</MCID>
    <Parm>
    <jxta:TransportAdvertisement type="jxta:HTTPTransportAdvertisement">
<Protocol>http</Protocol>
<InterfaceAddress>127.0.0.1</InterfaceAddress>     <------------- set a valid address (192.168.65.44)
<ConfigMode>manual</ConfigMode>
<Port>9700</Port>
<Proxy/>
<ProxyOff/>
<Server/>
<ServerOff/>
</jxta:TransportAdvertisement>
</Parm>
</Svc>


4) Specify  and Enable a Relay connection
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05</MCID>
    <Parm>
<isClient>true</isClient>     <---------------     Set the <isClient> value to "true" to use a relay connection.
<isServer>false</isServer>
<httpaddress>127.0.0.1:9700</httpaddress>  <-- Set a valid HTTP relay address (ex:" 192.18.20.123:9700")

You can specify more than one address.

How to configure a TCP/IP only (no-relay) JXTA-C peer
-------------------------------------------------------------------------
1) set a TCP/IP address as a seed RDV

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605</MCID>
    <Parm>
<Addr>http://127.0.0.1:9700</Addr>  <- Change this to the TCP/IP address of your seed RDV ("tcp://192.168.65.44:9701")
</Parm>
</Svc>

Note: You can specify more than one address

2) Remove the entire HTTP transport service config parameter section as you only
     want the TCP/IP transport
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000A05</MCID>
    <Parm>
    <jxta:TransportAdvertisement type="jxta:HTTPTransportAdvertisement">
<Protocol>http</Protocol>
<InterfaceAddress>127.0.0.1</InterfaceAddress>
<ConfigMode>manual</ConfigMode>
<Port>9700</Port>
<Proxy/>
<ProxyOff/>
<Server/>
<ServerOff/>
</jxta:TransportAdvertisement>
</Parm>
</Svc>

3) Set the TCP/IP address and port of your peer

<jxta:TransportAdvertisement type="jxta:TCPTransportAdvertisement">
<Protocol>tcp</Protocol>
<Port>9731</Port>                <---------------------------    set a unique TCP/IP port number
<MulticastOff/ >                                                                    each peer need a unique address
<MulticastAddr>224.0.1.85</MulticastAddr>
<MulticastPort>1234</MulticastPort>
<MulticastSize>16384</MulticastSize>
<InterfaceAddress>192.168.66.44</InterfaceAddress>  <------------- set the IP address

4) Disable Relay connection
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05</MCID>
    <Parm>
<isClient>true</isClient>     <---------------     Change the <isClient> value to "false" to not use a relay connection.
<isServer>false</isServer>


How to configure a TCP/IP relay JXTA-C peer
-------------------------------------------------------------
1) set a TCP/IP address as a seed RDV

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605</MCID>
    <Parm>
<Addr>http://127.0.0.1:9700</Addr>  <- Change this to the TCP/IP address of your seed RDV ("tcp://192.168.65.44:9701")
</Parm>
</Svc>


2) Remove the entire HTTP transport service config parameter section as you only
     want the TCP/IP transport
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000A05</MCID>
    <Parm>
    <jxta:TransportAdvertisement type="jxta:HTTPTransportAdvertisement">
<Protocol>http</Protocol>
<InterfaceAddress>127.0.0.1</InterfaceAddress>
<ConfigMode>manual</ConfigMode>
<Port>9700</Port>
<Proxy/>
<ProxyOff/>
<Server/>
<ServerOff/>
</jxta:TransportAdvertisement>
</Parm>
</Svc>

3) Set the TCP/IP address and port of your peer

<jxta:TransportAdvertisement type="jxta:TCPTransportAdvertisement">
<Protocol>tcp</Protocol>
<Port>9731</Port>                <---------------------------    set a unique TCP/IP port number
<MulticastOff/>                                                                     each peer need a unique address
<MulticastAddr>224.0.1.85</MulticastAddr>
<MulticastPort>1234</MulticastPort>
<MulticastSize>16384</MulticastSize>
<InterfaceAddress>192.168.66.44</InterfaceAddress>  <------------- set the IP address

4) Configure and Enable a Relay connection
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05</MCID>
    <Parm>
<isClient>true</isClient>     <---------------     Set the <isClient> value to "true" to use a relay connection.
<isServer>false</isServer>
<tcppaddress>192.18.18.23:9701</tcpaddress>  <-- Set a valid TCP/IP relay address (ex:" 192.18.18.23:9701")

Note: You can specify more than one seeding address.

How to enable TCP/IP multicast
--------------------------------------------
1) You need to have a valid TCP/IP transport configuration
2)  Just remove the "MulticastOff" tag entry from the TCP/IP service

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000905</MCID>
<Parm>
<jxta:TransportAdvertisement xmlns:jxta="http://jxta.org" type="jxta:TCPTransportAdvertisement">
<Protocol>tcp</Protocol>
<Port>9704</Port>
<MulticastOff></MulticastOff>     <------------------------------------- Remove the entire line
<MulticastAddr>224.0.1.85</MulticastAddr>   <--------------------- Set Multicast Address
<MulticastPort>1234</MulticastPort>                <---------------------- Set the Multicast port
<MulticastSize>16384</MulticastSize>
<InterfaceAddress>192.18.191.153</InterfaceAddress>
<ConfigMode>manual</ConfigMode>
</jxta:TransportAdvertisement>
</Parm>
</Svc>

How to configure a JXTA-C peer in Ad Hoc Mode
-----------------------------------------------------------------
This configuration permits JXTA-C peers to interact within a subnet
without requiring a JXTA-J2SE relay or RDV.

1)  Remove all the TCP/IP addresses as seed RDV

<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000605</MCID>
    <Parm>
<Addr>http://127.0.0.1:9700</Addr>  <-  Remove any TCP/IP addresses for seed RDV
</Parm>
</Svc>


2) Remove the entire HTTP transport service config parameter section as you only
     want the TCP/IP transport
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000A05</MCID>
    <Parm>
    <jxta:TransportAdvertisement type="jxta:HTTPTransportAdvertisement">
<Protocol>http</Protocol>
<InterfaceAddress>127.0.0.1</InterfaceAddress>
<ConfigMode>manual</ConfigMode>
<Port>9700</Port>
<Proxy/>
<ProxyOff/>
<Server/>
<ServerOff/>
</jxta:TransportAdvertisement>
</Parm>
</Svc>

3) Set the TCP/IP address and port of your peer

<jxta:TransportAdvertisement type="jxta:TCPTransportAdvertisement">
<Protocol>tcp</Protocol>
<Port>9731</Port>                <---------------------------    set a unique TCP/IP port number
<MulticastOff></MulticastOff>     <-------------------   Enable multicast by removing this entry                                       <MulticastAddr>224.0.1.85</MulticastAddr>  <----  Configure multicast address to use
<MulticastPort>1234</MulticastPort>                <---- Configure multicast port
<MulticastSize>16384</MulticastSize>
<InterfaceAddress>192.168.66.44</InterfaceAddress>  <------------- set the IP address

4) Disable Relay connection
<Svc>
<MCID>urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05</MCID>
    <Parm>
<isClient>true</isClient>     <---------------     Change the <isClient> value to "false" to not use a relay connection.
<isServer>false</isServer>

How to start and run the JXTA-C JxtaShell

The JXTA-C platform as the JXTA-J2SE platform has a JXTA shell application that
let's you access and view interactivelly  the JXTA network.

1) To start the JxtaShell

To start the JXTA-C shell:

On Unix systems (Linux, Solaris, Mac, etc.)

cd $(SRC)/shell directory

run ./jxtaShell

On Windows:

cd win32/JxtaShell/Release

run ./JxtaShell.exe    

Note: You need to make sure the apr.dll are in your paths

2) To Configure the JxtaShell

The first time you run the Shell you will get the following message

[tra@dhcp-usca21-191-153 bin]$ ./jxtaShell
A new configuration file has been output to PlatformConfig.
Please edit relevant elements before starting Jxta again.
[tra@dhcp-usca21-191-153 bin]$


This will generate a default  PlatformConfig  file in the current
directory. Edit the PlatformConfig  file depending on the
configuration you want (TCP/IP, HTTP, Relay, Ad Hoc) following
the above FAQ  info.

The next time you run the jxtaShell, you will get a
shell interactive sessions:
 [tra@dhcp-usca21-191-153 bin]$ ./jxtaShell
=========================================================
========= Welcome to the JXTA-C Shell  Version 2.0 ======
=========================================================
 
The JXTA Shell provides an interactive environment to the JXTA
platform. The Shell provides basic commands to discover peers and
peergroups, to join and resign from peergroups, to create pipes
between peers, and to send pipe messages. The Shell provides environment
variables that permit binding symbolic names to Jxta platform objects.
Environment variables allow Shell commands to exchange data between
themselves. The shell command 'env' displays all defined environment
variables in the current Shell session.
 
A 'man' command will be available to list the commands available.
the commands available curently are peers, exit, and TestApplication.
To exit the Shell, use the 'exit' command.

JXTA>

The following shell commands are available:

env:  check Shell environment variables
cat : display an environment  variable
rdvstatus: check Rendezvous connection
peers: Search for peer advertisements in the local cache and the network
groups: Search for group advertisement in the local cache and the network
search: Search for JXTA module, pipe and route advertisements in the local cache and the network
talk: Register a new pipe (-r), listen to a pipe (-l) and opening a pipe connection (-t)
join: join a peergroups
exit: exit the Shell
man: get info about a command
kdb: JXTA objects tracker trace

===>>> ここで参照終了

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell > pwd
/home/inoue/JXTA-C/jxta-c-2.1.1/shell
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell > ls
Makefile                  jxta_shell_application.h  leave.c
Makefile.am               jxta_shell_application.o  leave.h
Makefile.in               jxta_shell_environment.c  leave.o
TestApplication.c         jxta_shell_environment.h  peers.c
TestApplication.h         jxta_shell_environment.o  peers.h
TestApplication.o         jxta_shell_getopt.c       peers.o
cat.c                     jxta_shell_getopt.h       rdvstatus.c
cat.h                     jxta_shell_getopt.o       rdvstatus.h
cat.o                     jxta_shell_main.c         rdvstatus.o
groups.c                  jxta_shell_main.h         search.c
groups.h                  jxta_shell_main.o         search.h
groups.o                  jxta_shell_object.c       search.o
join.c                    jxta_shell_object.h       talk.c
join.h                    jxta_shell_object.o       talk.h
join.o                    jxta_shell_tokenizer.c    talk.o
jxtaShell                 jxta_shell_tokenizer.h    whoami.c
jxta_shell_app_env.c      jxta_shell_tokenizer.o    whoami.h
jxta_shell_app_env.h      kdb.c                     whoami.o
jxta_shell_app_env.o      kdb.h
jxta_shell_application.c  kdb.o
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell > cat jxtaShell
#! /bin/sh

# jxtaShell - temporary wrapper script for .libs/jxtaShell
# Generated by ltmain.sh - GNU libtool 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
#
# The jxtaShell program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

# Sed substitution that helps us do robust quoting.  It backslashifies
# metacharacters that are still active within double-quoted strings.
Xsed='/bin/sed -e 1s/^X//'
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'

# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
if test "${CDPATH+set}" = set; then CDPATH=:; export CDPATH; fi

relink_command="(cd /home/inoue/JXTA-C/jxta-c-2.1.1/shell; { test -z \"\${LIBRAR
Y_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; };
}; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH
=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GC
C_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\
${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH;
 }; }; PATH=\"/opt/jdk1.5.0_02/bin:/opt/netbeans-4.0/bin:/home/inoue/bin:/home/i
noue/scripts:/usr/sue/bin:/usr/local/bin:/usr/local/bin/X11:/usr/bin:/bin:/usr/b
in/X11:/cern/pro/bin:/usr/kerberos/bin:/usr/X11R6/bin:.:/home/inoue/bin:/usr/roo
t/bin\"; export PATH; gcc -DSTANDALONE -Wall -W -pedantic -Wno-long-long -Wstric
t-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -o \$progdir/\$file jxta_she
ll_application.o jxta_shell_environment.o jxta_shell_getopt.o jxta_shell_main.o
jxta_shell_object.o jxta_shell_tokenizer.o TestApplication.o cat.o groups.o join
.o jxta_shell_app_env.o kdb.o leave.o peers.o rdvstatus.o search.o talk.o whoami
.o  -L/usr/lib -L/home/inoue/JXTA-C/jxta-c-2.1.1/src -L/home/inoue/JXTA-C/jxta-c
-2.1.1/src/.libs -L/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr -L/home/inoue/JXTA-C/
jxta-c-2.1.1/src/jpr/.libs /usr/lib/libaprutil-0.so -ldb /usr/lib/libapr-0.so -l
rt -lm -lcrypt -lnsl -lpthread /home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr/.libs/lib
jpr.so /home/inoue/JXTA-C/jxta-c-2.1.1/src/.libs/libjxta.so -ldl /usr/lib/libexp
at.so -Wl,--rpath -Wl,/home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr/.libs -Wl,--rpath
-Wl,/home/inoue/JXTA-C/jxta-c-2.1.1/src/.libs -Wl,--rpath -Wl,/usr/local/lib)"

# This environment variable determines our operation mode.
if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
  # install mode needs the following variable:
  notinst_deplibs=' /home/inoue/JXTA-C/jxta-c-2.1.1/src/jpr/libjpr.la /home/inou
e/JXTA-C/jxta-c-2.1.1/src/libjxta.la'
else
  # When we are sourced in execute mode, $file and $echo are already set.
  if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
    echo="echo"
    file="$0"
    # Make sure echo works.
    if test "X$1" = X--no-reexec; then
      # Discard the --no-reexec flag, and continue.
      shift
    elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
      # Yippee, $echo works!
      :
    else
      # Restart under the correct shell, and then maybe $echo will work.
      exec /bin/sh "$0" --no-reexec ${1+"$@"}
    fi
  fi

  # Find the directory that this script lives in.
  thisdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  test "x$thisdir" = "x$file" && thisdir=.

  # Follow symbolic links until we get to the real thisdir.
  file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'`
  while test -n "$file"; do
    destdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`

    # If there was a directory component, then change thisdir.
    if test "x$destdir" != "x$file"; then
      case "$destdir" in
      [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;;
      *) thisdir="$thisdir/$destdir" ;;
      esac
    fi

    file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
    file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'`
  done

  # Try to get the absolute directory name.
  absdir=`cd "$thisdir" && pwd`
  test -n "$absdir" && thisdir="$absdir"

  program=lt-'jxtaShell'
  progdir="$thisdir/.libs"

  if test ! -f "$progdir/$program" || \
     { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /b
in/sed 1q`; \
       test "X$file" != "X$progdir/$program"; }; then

    file="$$-$program"

    if test ! -d "$progdir"; then
      mkdir "$progdir"
    else
      rm -f "$progdir/$file"
    fi

    # relink executable if necessary
    if test -n "$relink_command"; then
      if relink_command_output=`eval $relink_command 2>&1`; then :
      else
        echo "$relink_command_output" >&2
        rm -f "$progdir/$file"
        exit 1
      fi
    fi

    mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null ||
    { rm -f "$progdir/$program";
      mv -f "$progdir/$file" "$progdir/$program"; }
    rm -f "$progdir/$file"
  fi

  if test -f "$progdir/$program"; then
    if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
      # Run the actual program with our arguments.

      exec $progdir/$program ${1+"$@"}

      $echo "$0: cannot exec $program ${1+"$@"}"
      exit 1
    fi
  else
    # The program doesn't exist.
    $echo "$0: error: $progdir/$program does not exist" 1>&2
    $echo "This script is just a wrapper for $program." 1>&2
    echo "See the libtool documentation for more information." 1>&2
    exit 1
  fi
fi
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell >

[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell > ./jxtaShell
Starting logger with selector : *.warning-fatal
A new configuration file has been output to PlatformConfig.
Please edit relevant elements before starting Jxta again.
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell >
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell > ls -l PlatformConfig
-rw-rw-r--    1 inoue    inoue        1486  8月 25 15:00 PlatformConfig
[onlpc03] /home/inoue/JXTA-C/jxta-c-2.1.1/shell >


   (3-1).  PlatformConfigの修正

	使用するランデブー・ピアを onlnote2 マシンが起動中の "testpeer1"ピアに設
	定した。 そして onlpc03 自身のピア名を、"JXTA-C Peer" にした。


   (3-2).  JXTA-C shellを実行

	onlpara-JXTA4.html のメモの項目(3) を参照。 JXTA-C Shell プログラムを
	使って onlpc03マシンから onlparaマシンへ、正常にメッセージを送ることが
	できた。




---xxxx