help in installing HEASoft in Manjaro-gnome

Here's what my heasoft-6.28 directory looks like.
Code:
[tux@manjaro heasoft-6.28]$ ls -l
total 112
drwxr-xr-x  7 tux tux  4096 17 jul  2017 attitude
drwxr-xr-x  3 tux tux  4096 24 mrt 09:57 BUILD_DIR
-rwxr-xr-x  1 tux tux   175 17 jul  2017 CMakeLists.txt
drwxr-xr-x  8 tux tux  4096 17 jul  2017 demo
drwxr-xr-x 32 tux tux  4096 31 mrt  2020 ftools
drwxr-xr-x 29 tux tux  4096  7 aug  2020 heacore
drwxr-xr-x 21 tux tux  4096 23 okt  2018 heagen
drwxr-xr-x  7 tux tux  4096 17 jul  2017 heasim
-rw-r--r--  1 tux tux 18588  7 aug  2020 HEASOFT-INSTALL.TXT
drwxr-xr-x 34 tux tux  4096 31 mrt  2020 heasptools
drwxr-xr-x 33 tux tux  4096 23 okt  2018 heatools
drwxr-xr-x 10 tux tux  4096 24 jul  2017 hitomi
drwxr-xr-x  7 tux tux  4096 17 jul  2017 integral
drwxr-xr-x  8 tux tux  4096 23 okt  2018 maxi
drwxr-xr-x  6 tux tux  4096 11 okt  2018 nicer
drwxr-xr-x  6 tux tux  4096 17 jul  2017 nustar
-rw-r--r--  1 tux tux 12289 13 aug  2020 Release_Notes_6.28
drwxr-xr-x 15 tux tux  4096 17 jul  2017 suzaku
drwxr-xr-x  8 tux tux  4096 17 jul  2017 swift
drwxr-xr-x 17 tux tux  4096 11 aug  2017 tcltk
drwxr-xr-x  4 tux tux  4096  7 aug  2020 Xspec
And my source file.
Code:
-rw-r--r-- 1 tux tux 2,7G 24 mrt 09:10 /mnt/extracted/heasoft-6.28src.tar.gz
I downloaded the source file from the link in your previous topic, my headsoft-6.28 directory has 22 files in it and yours has 18 files in it. It seems my source files has these files and yours doesn't: swift, tcltk and Xspec. Where did you download your source from this time?
Try downloading the same file I downloaded?
 
Last edited:


when i extracted it again

manjaro% ls -l /home/raman/heasoft-6.28
ls: cannot access '/home/raman/heasoft-6.28': No such file or directory
manjaro% cd /home/raman/heasoft-6.28src.tar.gz/
manjaro% ls
heasoft-6.28
manjaro% cd /home/raman/heasoft-6.28src.tar.gz/heasoft-6.28

manjaro% ls
BUILD_DIR HEASOFT-INSTALL.TXT Xspec demo heacore heasim heatools integral nicer suzaku tcltk
CMakeLists.txt Release_Notes_6.28 attitude ftools heagen heasptools hitomi maxi nustar swift
manjaro%
 
Is that the directory(/home/raman/heasoft-6.28src.tar.gz/heasoft-6.28) you extracted your source into, seem so. So then do the following from there.

2. Export the needed variables:
Code:
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export FC=/usr/bin/gfortran
export PERL=/usr/bin/perl
export PYTHON=/usr/bin/python
3. Run configure:
Code:
cd /home/raman/heasoft-6.28src.tar.gz/heasoft-6.28/BUILD_DIR
./configure > config.out 2>&1
Check the last ten lines of config.out once it's done and share it here.
Code:
tail -n 10 config.out
 
Last edited:
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long... 8
configure: creating ./config.status
config.status: creating hmakerc
config.status: creating headas-setup
--------------------------------------------------------------------------------
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating headas-setup
config.status: creating fermi-setup
Finished
manjaro% make 2>&1 tee build.log
Target tee is not currently valid. Please use a valid
target, and make sure configure ran successfully.
make: *** [Makefile:92: tee] Error 2
manjaro%
 
now it has started making , it will take about 1 hour. thanks sir for help . i will post after an hour.i am a physics student if possible send me some good book pdf on linux or other pc hardware related you have to my mail [email protected]
 
The configure output looks good, that has completed successfully now :)
Don't use tee, just run make like this if you want to see the output or run it as I showed you before and then check the files it created where it has written the output to.
Code:
make
make install
And then run the remaining steps.
4. Set the required HEADAS variable.
Code:
export HEADAS=/home/raman/heasoft-6.28/x86_64-pc-linux-gnu-libc2.33
5. Source the initialization script.
Code:
source $HEADAS/headas-init.sh
5. Run the cdemo to verify you can access all the HEADAS commands.
Code:
cdemo
And don't forget to add the following to your ~/.zshrc if you want HEADAS to be initialized at login so you can then run the commands without having to manually set the HEADAS variable.
Code:
export HEADAS=heasoft-6.28/x86_64-pc-linux-gnu-libc2.33
source $HEADAS/headas-init.sh
 

Members online


Latest posts

Top