[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Octave-3.4.x from source on OSX, reboot
From: |
Richard Campbell |
Subject: |
Re: Building Octave-3.4.x from source on OSX, reboot |
Date: |
Sat, 12 Feb 2011 15:31:12 -0500 |
On Feb 12, 2011, at 3:19 PM, Ben Abbott wrote:
>
> On Feb 12, 2011, at 3:14 PM, Richard Campbell wrote:
>
>>
>> On Feb 12, 2011, at 3:10 PM, Ben Abbott wrote:
>>
>>> On Feb 12, 2011, at 2:55 PM, Richard Campbell wrote:
>>>
>>>> On Feb 12, 2011, at 2:50 PM, Ben Abbott wrote:
>>>>
>>>>> On Feb 12, 2011, at 2:46 PM, Richard Campbell wrote:
>>>>>
>>>>>> I am reformatting a laptop right now so that I can start fresh. We've
>>>>>> identified the following dependencies which we believe need to be
>>>>>> satisfied, and I'm going to test each of these assumptions.
>>>>>>
>>>>>> - Xcode (provides gcc which supports OSX-style universal binary
>>>>>> executables and libraries)
>>>>>> - gfortran (from AT&T, same capabilities as above)
>>>>>> - GNU sed, installed to --prefix/usr which overwrites the
>>>>>> Apple/BSD/whatever sed was already there
>>>>>> - pcre, simply because the version provided with OSX doesn't provide
>>>>>> pcre.h, because one particular regex wasn't found, but I think this may
>>>>>> have been fixed
>>>>>> - flex?
>>>>>> - postscript?
>>>>>>
>>>>>> Campbell
>>>>>
>>>>> By "postscript", do you mean "ghostscript"?
>>>>>
>>>>> Also, I recommend you include "gnuplot".
>>>>>
>>>>> Ben
>>>>
>>>> Thanks, yes, gnuplot should be on the list. Neither ghostscript nor
>>>> postscript should be on the list, actually - they weren't required before.
>>>>
>>>> Regarding PCRE: the offending regex is still present, and ./configure
>>>> still doesn't require PCRE (it allows you to build, and the error you get
>>>> is when you try to print something, and it's a completely non-descriptive
>>>> error). What would I need to do to submit a patch changing the behaviour
>>>> of configure?
>>>>
>>>> Campbell
>>>
>>> Be aware, that without ghostscript you'll not be able to print.
>>>
>>> I don't know how to change the behavior of configure for the non-pcre regex.
>>>
>>> Ben
>>
>> Actually I can print to an .eps file just fine on Snow Leopard without
>> Ghostscript, whether I'm using the 3.2.3 precompiled distribution or 3.4.0
>> from source on this machine.
>>
>> I just want to modify configure to change PCRE from being optional to
>> required, so that ./configure fails if it doesn't find pcre.h instead of
>> just building anyway. Not trying to fix the specific regex problem.
>>
>> Campbell
>
> 3.2.3 won't have a problem. However, for 3.2, if you print to any device
> format other than eps, ghostscript is required.
>
> Ben
>
>
Huh, no kidding. I hadn't tried that in a while. I guess I got used to printing
to EPS and then saving it as whatever other format I wanted in other
applications.
The error could be a bit more informative, though. It doesn't even say
'warning' or 'error':
octave:25> print('-dpng','temp.png')
sh: -dQUIET: command not found
Campbell
- Building Octave-3.4.x from source on OSX, reboot, Richard Campbell, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Ben Abbott, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Richard Campbell, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Ben Abbott, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Richard Campbell, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Ben Abbott, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot,
Richard Campbell <=
- Re: Building Octave-3.4.x from source on OSX, reboot, John W. Eaton, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Richard Campbell, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, John W. Eaton, 2011/02/12
- Re: Building Octave-3.4.x from source on OSX, reboot, Richard Campbell, 2011/02/13
Re: Building Octave-3.4.x from source on OSX, reboot, Richard Campbell, 2011/02/12