help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems reading fits file


From: Ben Abbott
Subject: Re: problems reading fits file
Date: Mon, 06 May 2013 21:50:11 +0800

On May 6, 2013, at 9:41 PM, Poulette Poulette wrote:

> De : Ben Abbott <address@hidden>
> À : Poulette Poulette <address@hidden> 
> Cc : "address@hidden" <address@hidden> 
> Envoyé le : Lundi 6 mai 2013 15h28
> Objet : Re: problems reading fits file
> 
> 
> On May 6, 2013, at 9:24 PM, Poulette Poulette wrote:
> 
> > De : Ben Abbott <address@hidden>
> > À : Poulette Poulette <address@hidden> 
> > Cc : "address@hidden" <address@hidden> 
> > Envoyé le : Lundi 6 mai 2013 15h12
> > Objet : Re: problems reading fits file
> > 
> > On May 6, 2013, at 9:01 PM, Poulette Poulette wrote:
> > 
> > > Hi all, 
> > > 
> > > I am a new octave's user.
> > > I have a macbook pro with Mountain Lion (osX 10.8.3). I installed the 
> > > octave-devel +atlas+docs through macports (I already have Xcode, Xquartz, 
> > > etc...).
> > > The read_fits_image function doesn't work. 
> > > I tried to install the fits package but still doesn't work… 
> > > 
> > > Someone could explain me how to install the fits package correctly ?
> > > 
> > > Thank you very much.
> > 
> > Macports does not yet have a port for the fits package.
> > 
> > I've  not tried to install the fits package myself, but I noticed that it 
> > requires libcfitsio.  Did you install the macports "cfitsio" package before 
> > trying to install the fits package?
> > 
> >    sudo port install cfitsio
> > 
> > Ben
> > 
> > Dear Ben, 
> > 
> > I tried to install the fits package from http://octave.sourceforge.net/fits/
> > I suppose there are some PATH problems but don't know the way to solve them.
> > I have libcfitsio well installed, I often use it.
> > 
> > Thanks for your message.
> 
> Where is libcfitsio installed?
> 
> Can you tell us exactly what you did to install fits?  Did you install using 
> the commands below, or did you do something else?
> 
>     pkg install -forge fits
>     pkg load fits
> 
> Bne
> 
> libcfitsio is linked in /opt/local/lib and works with all my codes.
> 
> I installed the fits package using "make".
> I am now trying to install it with the commands you sent me but I don't have 
> the "pkg" command installed. 
> 
> Thanks

The "pkg" command is one of Octave's core functions.  If you don't have that 
function, then something is seriously wrong with your installation.  From 
Octave's prompt, what does "which pkg" return?

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]