install prob. AIX HPUX
Kadowaki Hiroaki
kadowaki at phys.metro-u.ac.jp
Sat Dec 12 10:25:25 CET 1998
Dear Kristian Nielsen ,
MCSTAS looks very nice, which M Hagen showed me how to use,
and I would like to start calculating something.
So I am trying to install mcstas-1.01b1 on unix machines.
(1) AIX Version 4 (IBM)
(2) HP-UX A.09.01 A 9000/720
(3) Digital UNIX V3.2 <---- OK it works
In the cases of AIX and HP-UX9, errors occurred
during "make install". Could you see the following messages
of the installation, and tell me what should I do?
Sincerely
Kadowaki Hiroaki
Department of Physics, Tokyo Metropolitan University
Hachioji-shi, Tokyo 192-0397, Japan
tel 81-426-77-2509, fax 81-426-77-2483
e-mail kadowaki at phys.metro-u.ac.jp
----------- AIX----------------------------------
kunugi(kadowaki)% configure --prefix=/home/phys/kadowaki
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/installbsd -c
checking for perl5... no
checking for perl... /usr/local/bin/perl
checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS
checking for strcasecmp... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
kunugi(kadowaki)% make
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 i
nstrument.tab.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 l
ex.yy.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 d
ebug.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 m
emory.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 l
ist.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 s
ymtab.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 c
oords.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 r
otation.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 c
exp.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 p
osition.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 f
ile.c
gcc -I. -I. -c -g -O2
-DMC_SYS_DIR='"'/home/phys/kadowaki/lib/mcstas'"' -DCC_HAS_PROTOS=1
-DHAVE_STRCASECMP=1 -DDEBUG=0 c
ogen.c
gcc -o mcstas -g -O2 instrument.tab.o lex.yy.o debug.o memory.o
list.o symtab.o coords.o rotation.o cexp.o position.o f
ile.o cogen.o -lm
sed -e 's+#! /usr/bin/perl+#! '/usr/local/bin/perl'+' <./gscan.pl >gscan
sed -e 's+#! /usr/bin/perl+#! '/usr/local/bin/perl'+'
<./mcdisplay.pl >mcdisplay
Target "all" is up to date.
kunugi(kadowaki)% make install
./mkinstalldirs /home/phys/kadowaki/bin /home/phys/kadowaki/lib
/home/phys/kadowaki/lib/mcstas
mkdir /home/phys/kadowaki/bin
mkdir /home/phys/kadowaki/lib
mkdir /home/phys/kadowaki/lib/mcstas
/usr/bin/installbsd -c mcstas /home/phys/kadowaki/bin/mcstas
installbsd: /home/phys/kadowaki/bin/mcstas: Not owner
make: The error code from the last command is 1.
Stop.
-------------------------------------------------
----------- HP-UX----------------------------------
konisiki98$configure --prefix=/home/issp/kado
creating cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking for a BSD compatible install... ./install-sh -c
checking for perl5... no
checking for perl... /usr/local/bin/perl
checking for cc option to accept ANSI C... -Aa -D_HPUX_SOURCE
checking for strcasecmp... yes
./configure: sh internal 2K buffer overflow
updating cache ./config.cache
creating ./config.status
creating Makefile
konisiki100$make
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 instrumen
t.tab.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 lex.yy.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 debug.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 memory.c
cc: "memory.c", line 138: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 139: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 157: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 157: warning 563: Argument #1 is not the correct type.
cc: "memory.c", line 157: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 159: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 159: warning 563: Argument #1 is not the correct type.
cc: "memory.c", line 161: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 161: warning 563: Argument #1 is not the correct type.
cc: "memory.c", line 163: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 163: warning 563: Argument #1 is not the correct type.
cc: "memory.c", line 165: warning 604: Pointers are not assignment-compatible.
cc: "memory.c", line 165: warning 563: Argument #1 is not the correct type.
cc: "memory.c", line 171: warning 604: Pointers are not assignment-compatible.
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 list.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 symtab.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 coords.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 rotation.
c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 cexp.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 position.
c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 file.c
cc -I. -I. -c -g -Aa -D_HPUX_SOURCE
-DMC_SYS_DIR='"'/home/issp/kado/lib/mcstas'"' -DHAVE_STRCASECMP=1
-DDEBUG=0 cogen.c
cc -o mcstas -g -Aa -D_HPUX_SOURCE instrument.tab.o lex.yy.o
debug.o memory.o list.o symtab.o coords.o rotation.o cexp.o
position.o file.o cogen.o -lm
sed -e 's+#! /usr/bin/perl+#! '/usr/local/bin/perl'+' <./gscan.pl >gscan
sed -e 's+#! /usr/bin/perl+#! '/usr/local/bin/perl'+'
<./mcdisplay.pl >mcdisplay
konisiki183$make install
./mkinstalldirs /home/issp/kado/bin /home/issp/kado/lib
/home/issp/kado/lib/mcstas
./install-sh -c mcstas /home/issp/kado/bin/mcstas
Make: Cannot load ./install-sh. Stop.
*** Error code 1
Stop.
-------------------------------------------------
More information about the mcstas-users
mailing list