All contents on this page
are copyright (c) 1998 by Tilo Christ. All rights reserved. |
These instructions have been tested on an Intel Linux box, running RedHat 5.0, as well as the JDK 1.1.6v1,
JDK 1.1.6v4a, and JDK 1.1.6v5 from http://www.blackdown.org. A similar
installation procedure should work on most other Unices too. You are welcome to contribute more specific
instructions for other Unix platforms!
Installation of the pure Java code onlyUnpack the download archive into a place of your liking. Include the file Java/SyncBuilder.jar into your CLASSPATH environment variable. Then check for successful installation.Installation of both Java and native codePersonally, I use IBMīs blindingly fast jikes compiler for Linux . It works great for compiling SyncBuilder . The configuration procedure during the source code installation will try to detect jikes in your PATH and will use it for building the package if it is available.The Jikes compiler may be downloaded for free at http://www.alphaworks.ibm.com/formula. Of course, you will also be fine if you use the javac compiler. Please tell me, if these instructions donīt work for you. Unpack pilot-link 0.9.0 first. Choose a directory and say tar -zxvf pilot-link.0.9.0.tar.gz . Make sure you have the proper permissions to overwrite the pilot-link.0.9.0 directory and all of its sub-directories. Change to the pilot-link.0.9.0 directory. Say rm -rf Java. Copy Java.tar.gz to the pilot-link.0.9.0 directory. Say tar -zxvf Java.tar.gz. This will unpack the new binding and the updated configure.in and configure files. It will also DOWNGRADE the libtool-files from libtool 1.2 to libtool 1.0c. Using the libtool 1.2 that comes with pilot-link 0.9.0 breaks both the pilot-link 0.9.0 Java -binding as well as SyncBuilder . Say configure --with-java=xxx where xxx is the directory which contains your JDK 1.1. Make sure configure locates your JDK properly. Run make. Watch the make-process. Run make install. Make sure, the software and shared-libraries end up in places which are in your path and your library-path respectively (typically, they will install to /usr/local/bin and /usr/local/lib). The installation step will most likely require root-status. Now change to the Java-subdirectory. Run make. The
SyncBuilder packages will be compiled.
Troubleshootingjava.lang.UnsatisfiedLinkError: no JavaPisock in shared library path If you have successfully installed the source version though then you should try to manually add pilot-link.0.9.0 /Java/_libs to your LD_LIBRARY_PATH. You might also have to run ldconfig as root, to make the new library known to the system. This will be fixed at a later time by an install-target in the Makefile. java.lang.UnknownError at Pdapilot.ServerSocket.bind(ServerSocket.java:xx) at Pdapilot.ServerSocket.
|