install prob. AIX HPUX
Kristian Nielsen
kristian.nielsen at risoe.dk
Thu Dec 17 10:29:57 CET 1998
Sorry to take so long in getting back to you, but I am just recovering
from a week with the flue ...
> 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?
Hm, the errors you get look pretty strange to me ...
Apparently, the compile runs fine, but the installation is unable to
copy the files to their proper location. And the install fails in
different ways on the two machines.
Anyway, a quick workaround is to install the files manually. While in
the main mcstas directory, execute the commands
cp mcstas gscan mcdisplay /home/phys/kadowaki/bin/
cp lib/* /home/phys/kadowaki/lib/mcstas/
chmod +x /home/phys/kadowaki/bin/mcstas
chmod +rx /home/phys/kadowaki/bin/gscan
chmod +rx /home/phys/kadowaki/bin/mcdisplay
chmod +r /home/phys/kadowaki/lib/mcstas/*
The same commands should work on the HP, but with the path
/home/phys/kadowaki replaced with /home/issp/kado, of course.
As to why the install does not work on these machines I am not really
sure. I do not know anything about AIX, but McStas installs without
problems on our HPUX machine here at Risø.
The easiest way to track this down would probably be if I could get
temporary accounts on the two machines and log in and check things out
myself. That is, if the policies at your institution would allow this?
Here are a few comments on the output you sent me:
> kunugi(kadowaki)% configure --prefix=/home/phys/kadowaki
> checking for a BSD compatible install... /usr/bin/installbsd -c
Here the installation decides to use the AIX own install program rather
than its own.
> /usr/bin/installbsd -c mcstas /home/phys/kadowaki/bin/mcstas
> installbsd: /home/phys/kadowaki/bin/mcstas: Not owner
Here the install fails, but in a really strange way. Apparently it is
saying that the mcstas program is owned by another user, even though it
was just copied over ???
> ----------- HP-UX----------------------------------
>
> konisiki98$configure --prefix=/home/issp/kado
>
> ./configure: sh internal 2K buffer overflow
Now this error message has me somewhat worried, even though I see no
immediate consequences. I wonder if your HPUX is very old? and maybe
uses a shell with bugs or limitations?
> ./install-sh -c mcstas /home/issp/kado/bin/mcstas
> Make: Cannot load ./install-sh. Stop.
Here the install fails to even start the installation program
./install-sh, which again suggest a severe problem with the shell on the
system.
- Kristian.
More information about the mcstas-users
mailing list