Changes from the previous AT cookbook are the following:
* libfreetype is optional rather than mandatory since the libfreetype
configuration is now done properly.
* The x08c build below now is able to use the correct -I option because of
an include/Makefile.am fix just committed. Also, libtool is not required
for the x08c build so I now give the gcc alternative.
* Add libtoolize line to create all the required ltdl files. (The current
configure.in and resulting configure checks for these, but they are not
actually used yet since libltdl has not yet been implemented.)
Note: I used autoconf-2.53, automake-1.5, and libtool-1.4.2. Probably you
should stick with these versions or later.
Cookbook:
cvs checkout -r AT -d AT plplot
cd AT
# N.B. Next line only needs to be done once per fresh AT checkout
libtoolize --copy --ltdl
# The purpose of bootstrap.sh is put the tree in shape so that you can
# can run ./configure; make; make install. So run ./bootstrap.sh whenever
# configure.in or one of the Makefile.am files is changed.
./bootstrap.sh >& bootstrap.out
./configure --prefix=/usr/local/plplot_at --with-double \
--enable-dyndrivers > & ! configure.out
make >& make.out &
make >& make_install.out
cd examples/c
gcc x08c.c -I/usr/local/plplot_at/include/plplot \
-L/usr/local/plplot_at/lib -lplplotd \
-Wl,--rpath -Wl,/usr/local/plplot_at/lib -o x08c
After this compilation, both
./x08c -dev xwin
and
./x08c -dev psc -o temp.ps
work great for me, i.e., dynamic drivers are working properly for Linux and
the AT branch.
Alan
|