Mcstas
eiverson at anl.gov
eiverson at anl.gov
Wed Aug 25 19:39:08 CEST 1999
Dear Kristian,
True to Murphy's Law, I have solved the specific problem about which I
emailed you earlier. I got the source version of PGPLOT and compiled it on
my machine, and it provided the cpgplot that I needed.
Unfortunately, I still cannot get perl-PGPLOT to successfully compile. It
will "make" without any errors, but "make test" fails completely.
If you have any recommendations, that would be wonderful!
Cheers,
Erik
....
black % make
cc -c -I/usr/local/PGPLOT/ -I/home/aaossm/kgb/soft/pgplot/bld -I/usr/local/pgplo
t -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"2.12\" -DXS_VERSION=\"2.12\" -fpic -
I/usr/lib/perl5/i386-linux/5.00404/CORE PGPLOT.c
Running Mkbootstrap for PGPLOT ()
chmod 644 PGPLOT.bs
LD_RUN_PATH="/usr/local/PGPLOT:/usr/X11R6/lib:/usr/lib/gcc-lib/i686-unknown-linu
x/2.7.2.3.f.1:/usr/lib" cc -o blib/arch/auto/PGPLOT/PGPLOT.so -shared -L/usr/lo
cal/lib PGPLOT.o -L/usr/local/PGPLOT/ -L/usr/local/lib -lcpgplot -lpgplot -L/
usr/X11R6/lib -lX11 -L/usr/lib/gcc-lib/i686-unknown-linux/2.7.2.3.f.1 -L/usr/lib
-lf2c -lm -L/usr/lib/gcc-lib/i686-unknown-linux/2.7.2.3.f.1 -lgcc
chmod 755 blib/arch/auto/PGPLOT/PGPLOT.so
cp PGPLOT.bs ./blib/arch/auto/PGPLOT/PGPLOT.bs
chmod 644 blib/arch/auto/PGPLOT/PGPLOT.bs
Manifying ./blib/man3/ExtUtils::F77.3
Manifying ./blib/man3/PGPLOT.3
black % make test
black % make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/lib/perl5/i386-
linux/5.00404 -I/usr/lib/perl5 test.pl
============== Running test1.p ==============
Can't load './blib/arch/auto/PGPLOT/PGPLOT.so' for module PGPLOT: ./blib/arch/aut
o/PGPLOT/PGPLOT.so: undefined symbol: fstat at /usr/lib/perl5/i386-linux/5.00404/
DynaLoader.pm line 166.
at test1.p line 3
BEGIN failed--compilation aborted at test1.p line 3.
black % l -l ./blib/arch/auto/PGPLOT/PGPLOT.so
-rwxr-xr-x 1 eiverson eiverson 168696 Aug 25 13:31 ./blib/arch/auto/PGPLOT/PG
PLOT.so*
black % printenv | grep PGPLOT
PWD=/usr/src/redhat/SOURCES/PGPLOT-2.12
LD_LIBRARY_PATH=/usr/local/PGPLOT
PGPLOT_DEV=/xwin
PGPLOT_DIR=/usr/local/PGPLOT/
More information about the mcstas-users
mailing list