It looks like plib_examples-1.8.4.tar.gz is missing
data directories that are in CVS.
To replicate:
1) Download
http://plib.sourceforge.net/dist/plib_examples-1.8.4.tar.gz
and untar it
2) Download the plib_examples cvs repository
mkdir tmp
cd tmp
cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/plib
login
cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/plib
co plib/examples
3) Do a recursive diff
cd ..
diff -r plib_examples-1.8.4 tmp/plib/examples
4) Search for missing data directories:
bash-3.00$ grep "Only in" /tmp/plib.diffs | grep data
Only in tmp/plib/examples/src/fnt/data/CVS: Entries.Log
Only in tmp/plib/examples/src/ssg/dynamics: data
Only in tmp/plib/examples/src/ssg/load_save: data
Only in tmp/plib/examples/src/ssg/viewer: data
bash-3.00$
Thus ssg/dynamic/data, ssg/load_save/data
and ssg/viewer/data are missing from the tar file.
Also, while configuring plib_examples-1.8.4, I got
error: cannot run /bin/sh ./config.sub
The solution was to run
aclocal
automake --add-missing
autoconf
and then run ./configure
So, I guess config.sub is missing?
When I try to run the ssg examples from
plib_examples-1.8.4, I get:
bash-3.00$ ./dynamics
WARNING: ssgSGIHeader::: Failed to open 'data/mg.rgb'
for reading.
WARNING: ssgSGIHeader::: Failed to open 'data/bw.rgb'
for reading.
bash-3.00$ cd ../load_save/
bash-3.00$ ls
Makefile
Makefile.am
Makefile.in
load.cxx
load.dsp
load.exe
load.o
save.cxx
save.dsp
save.exe
save.o
bash-3.00$ ./load
WARNING: ssgLoadAC: Failed to open 'data/pedestal.ac'
for reading
data/tuxedo.ssg: No such file or directory
WARNING: ssgLoadSSG: Failed to open 'data/tuxedo.ssg'
for reading.
FATAL: Cannot load pedastal.ac
bash-3.00$ ./save
WARNING: ssgLoadAC: Failed to open 'data/tuxedo.ac' for
reading
bash: [1036: 1] tcsetattr: Inappropriate ioctl for device
Segmentation fault (core dumped)
bash-3.00$ cd ../viewer/
bash-3.00$ ./viewer
WARNING: fntLoadTXF: Failed to open 'data/default.txf'
for reading.
These examples work fine in the CVS version because
the data files are present
_Christopher