easyX11 X-windows interface library installation guide


Since I am definitely not a computer science guru, only source code is provided, it is the user responsibility to compile it on his target computer. Note however that this library source code is not public (it remains governmental property) so feel free of using it, by your are not allowed to sell it or commercialise any modified version of it (contact ONERA intellectual property department otherwise) It is organised as a bunch of independent source codes, which are most efficiently gavered into a dynamic loaded shared library (DLL) which means that only one object code copy is loaded only for the effectively used code portion. Note that it can also be compiled as a static library and statically linked to the target code, though inefficient (processes are bigger and take more time to start) it is much easier because compiling DLL generally requires tricky compiler options and system administrative actions. The provided ``makefile'' is adapted to most current Linux distributions, but it contains (as comments) several versions adapted to varied operation systems such as Solaris, AIX HP-UX or SGI. It can be edited to modify the various target file directories. My favorite choice is to put both source and objects in ~/SOURCES/EASYX11 (~ stands for my home directory) and to put the resulting dynamic library code into /usr/local/lib, and the resulting binaries in /usr/local/bin.
However, this choice requires that you have the root privileges at least to install the library, any user can put the library in his own file storage space.
Here is the procedure for installing the library on linux system:
first download the tarball (the file named easyX11.tgz) then create your source directory:
mkdir SOURCES/EASYX11
go inside it:
cd SOURCES/EASYX11
uncompress the tarball:
tar -xvzf ../../easyX11.tgz
(on some systems tar may not accept the z command line option, try zcat ../../easyX11.tgz | tar -xvf - or similar command instead)
Then create the library file (and if inexistant its directory) by:
touch /usr/local/lib/libeasyX11.so (this requires that your are root, change owner to you by the appropriate chown command).
compile the library by simply typing make in the source directory.
notify the system about the new library by adding a /usr/local/lib line in the /etc/ld.so.conf file and run ldconfig.
Alternatively, (especially if you don't have root privileges) you may add a /usr/local/lib entry to the colon separated list of environment variable LD_LIBRARY_PATH. This is done by adding a command as export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH to your shell startup file (such as .bashrc). In a less aggressive manner, you may change the system-wide shell startup script (such as /etc/profile) to give all users access to the library (though this requires root privileges).
Eventually, you may compile two utilities : make mode ; make fonte
IMPORTANT NOTE dynamic loaded libraries may be changed while program is running on some performant operating systems. THIS FEATURE IS EXTREMELY COSTLY in terms of performances, hence, once compiled, the write right should be denied to all users (by chmod a-w /usr/local/lib/libeasyX11) to disable this function.
download easyX11 library (if it fails try this link)
return to easyX11 graphic libary page
return to H.M-J Cantalloube homepage