Pyraf question

David Nicholls david at
Fri Jan 1 15:24:15 PST 2010

David Nicholls wrote:
> Joshua Root wrote:
>> On 2010-1-2 01:00 , Joshua Root wrote:
>>> On 2010-1-2 00:24 , David Nicholls wrote:
>>>> Some progress: the pre-install tests work, but I suspect the port
>>>> install process is not going to let me configure:  The error message I
>>>> get is:
>>>> --------
>>>> sudo port install
>>>> --->  Computing dependencies for pyraf
>>>> --->  Configuring pyraf
>>>> Error: Target org.macports.configure returned: configure failure: shell
>>>> command " cd
>>>> "/opt/local/var/macports/build/_Users_dcnicholls_python_pyraf/work/pyraf-1.8.1" 
>>>> && ./configure --prefix=/opt/local " returned error 127
>>>> Command output: sh: ./configure: No such file or directory
>>>> Error: Status 1 encountered during processing.
>>>> -------
>>>> The /opt/local/var/macports... directory does exist, so I presume the
>>>> problem lies with the ./configure --prefix step
>>>> Or maybe it's because I'm trying to turn a stand-alone install tar.gz
>>>> file to work with Macports?
>>> Well, is there a configure script or not?
> As this is my first attempt at building a port, and I'm no heavy duty 
> Unix person, there's lots of things I don't know that I don't know 
> about.  One of which is configure scripts. More to learn :-)
>> Actually, given that this is a python module, you most likely want to
>> use the appropriate PortGroup, which would set 'use_configure no' for 
>> you.
> I'll try that.  First I need to read more about portgroups.

Further inspection of the 3 setup files in the pyraf distro indicates a 
dependence on x11, and since I'm also trying to get the latest XQuartz 
x11 server working (see open ticket ), it makes no sense to 
try getting pyraf working yet.  And I strongly suspect I know nowhere 
near enough to tackle the port just yet.  I'll (probably) be back.


ANU RSAA Mt Stromlo

More information about the macports-users mailing list