Mcstas

eiverson at anl.gov eiverson at anl.gov
Wed Aug 25 17:14:31 CEST 1999


Dear Kristian,

I hope your travels home went well.  It was very productive to have you 
visit, and I once again thank you for your assistance with Mcstas.

I had no trouble downloading the external packages the next week; the 
network recovered quite nicely.  However, I have had no luck trying to 
install it.  I installed the PGPLOT and PDL rpms with no trouble, as well 
as the perl-PGPLOT source rpm.  However, I could not get the perl-PGPLOT
to compile.  I wonder if you might have any specific directions.

Here is a transcript of a session...

..........
ivu % perl Makefile.PL 
Found compiler g77
ExtUtils::F77: Using system=Generic compiler=G77
Checking for gcc in disguise
Compiler is gcc version 2.7.2.3ExtUtils::F77: Validating 
-L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29 -L/usr/lib -lf2c -lm 
-L/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3 -lgcc   [ok]
ExtUtils::F77: Compiler: g77
ExtUtils::F77: Cflags: -O
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lcpgplot
Writing Makefile for PGPLOT
ivu % make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/PGPLOT
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/PGPLOT
mkdir ./blib/man3
cp ExtUtils/F77.pm ./blib/lib/ExtUtils/F77.pm
cp PGPLOT.pm ./blib/lib/PGPLOT.pm
/usr/bin/perl -I/usr/lib/perl5/i386-linux/5.00405 -I/usr/lib/perl5 
/usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap 
-typemap typemap PGPLOT.xs >PGPLOT.tc && mv PGPLOT.tc PGPLOT.c
Please specify prototyping behavior for PGPLOT.xs (see perlxs manual)
cc -c -I/home/aaossm/kgb/soft/pgplot/bld -I/usr/local/pgplot -Dbool=char 
-DHAS_BOOL -O2    -DVERSION=\"2.12\" -DXS_VERSION=\"2.12\" -fpic 
-I/usr/lib/perl5/i386-linux/5.00405/CORE  PGPLOT.c
PGPLOT.xs:14: cpgplot.h: No such file or directory
make: *** [PGPLOT.o] Error 1
ivu % locate cpgplot
ivu % rpm -qa | grep pgplot
pgplot-5.1.1-4
ivu % 

.............

Obviously the difficulty is that there is no cpgplot, either library or 
headers.  Is this supposed to be a part of the PGPLOT distribution?

Best regards,
Erik Iverson

----------------------------------------------------------------------
Erik B. Iverson, PhD.                Spallation Neutron Source Project
c/o IPNS 360                             Oak Ridge National Laboratory
Argonne National Laboratory                             (630) 252-1181
9700 S. Cass Ave.                                 (FAX) (630) 252-4163
Argonne, IL  60439-4814                               eiverson at anl.gov






More information about the mcstas-users mailing list