ac0f need help in installing XRay Astronomy Software - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Porting New Software

Porting New Software Having trouble or general questions about porting software to FreeBSD? Ask here.

Reply
 
Thread Tools Display Modes
  #1  
Old April 5th, 2012, 05:23
anurag anurag is offline
Junior Member
 
Join Date: Apr 2012
Location: Delhi, India
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default need help in installing XRay Astronomy Software

Hello to all,

I, Anurag Garg, am not just new to the forum but also new to the FreeBSD. I was using Linux (gentoo) for the past 9 years but wanted to try a real *nix. I am also an amateur astronomer and work with X-Ray data of Cluster of Galaxies provided by Chandra and use heasoft software for the purpose (http://heasarc.gsfc.nasa.gov/lheasoft/).

I am using freebsd FreeBSD 9.0 (FreeBSD desktop 9.0-RELEASE FreeBSD 9.0-RELEASE #4: Mon Apr 2 00:39:32 IST 2012 anurag@desktop:/usr/obj/usr/src/sys/DESKTOP-04.12 amd64) gcc46, xorg-minimal, gnome2 and gmake.

I was trying to install it from source and I have checked for the dependencies and to my belief I am using all, but it failed with an error.

To begin with I had to provide an extra CFLAGS=-DgFortran to make it run; this flag was never required on linux if libstdc++.so is installed. After that while it was trying to install one of its components PGPLOT, I received another error

Code:
gmake hd-std-subdir
gmake[7]: Entering directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[8]: Entering directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/pgplot'
The second argument must be one of the following operating systems:
  aix alliant arc bsd convex cray cygwin darwin dos epix2 freebsd fujitsu gnuwin32 hp irix linux linux64 mac msdos next
 openstep osf1 salford sol2 solx86 sun4 ultrix vms win
The second argument must be one of the following operating systems:
  aix alliant arc bsd convex cray cygwin darwin dos epix2 freebsd fujitsu gnuwin32 hp irix linux linux64 mac msdos next
 openstep osf1 salford sol2 solx86 sun4 ultrix vms win
gmake[8]: *** [pgtmp/makefile] Error 1
gmake[8]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/pgplot'
gmake[7]: *** [hd-std-subdir] Error 2
gmake[7]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[6]: *** [subdir] Error 2
gmake[6]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[5]: *** [subdir-pgplot] Error 2
gmake[5]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[4]: *** [all-pgplot] Error 2
gmake[4]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[3]: *** [hd-std-all-subdirs] Error 2
gmake[3]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[2]: *** [all-subdirs] Error 2
gmake[2]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake[1]: *** [hd-std-all] Error 2
gmake[1]: Leaving directory `/usr/home/anurag/Downloads/heasoft-6.12/tcltk/BUILD_DIR'
gmake: *** [all] Error 2
*** Error code 2
Regards
Anurag

Last edited by DutchDaemon; April 5th, 2012 at 10:49. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old April 11th, 2012, 13:25
zennybsd zennybsd is offline
Member
 
Join Date: Mar 2011
Posts: 122
Thanks: 36
Thanked 7 Times in 7 Posts
Default

Quote:
The second argument must be one of the following operating systems:
aix alliant arc bsd convex cray cygwin darwin dos epix2 freebsd fujitsu gnuwin32 hp irix linux linux64 mac msdos next
openstep osf1 salford sol2 solx86 sun4 ultrix vms win
@anurag: Did you add the second argument 'freebsd'? Just guessing as I do not use the software.

Last edited by DutchDaemon; April 11th, 2012 at 21:15.
Reply With Quote
  #3  
Old April 12th, 2012, 11:20
anurag anurag is offline
Junior Member
 
Join Date: Apr 2012
Location: Delhi, India
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installing Xspec

Thanks for the reply. Seen is that it reads OS from the screen and there is no option to give it as an argument as it asks to run a configuration file and then make. In the make process it compiles many softwares one after another.

What I have understood by reading a few configuration files is that it uses a function gethostname() to get the host name and this function is not available.

Also, right now I am able to run this software's linux binaries under linux emulation layer, and it seems like the only options feasible to me, since HEASARC (Developing Institute of this Software) does not give any kind of support for FreeBSD and support only Linux and Mac OS.

Thanks again.

Last edited by DutchDaemon; April 12th, 2012 at 14:45.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] nscd causing trouble when installing software patpro Installation and Maintenance of FreeBSD Ports or Packages 2 October 3rd, 2011 13:43
installing software huh Installation and Maintenance of FreeBSD Ports or Packages 2 September 23rd, 2010 07:54
Installing software from host to Jail ligregni Installation and Maintenance of FreeBSD Ports or Packages 3 May 31st, 2010 12:00
[Solved] Best software to use for firewalling Innocast Firewalls 15 December 7th, 2009 01:16
problems installing desktop software estex198 Installation and Maintenance of FreeBSD Ports or Packages 2 May 4th, 2009 16:06


All times are GMT +1. The time now is 15:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0