|
From: Daniel J S. <dan...@ie...> - 2015-08-03 18:30:54
|
On 08/03/2015 01:15 PM, Brian Weitzner wrote:
>
>> On Aug 3, 2015, at 2:07 PM, Ethan A Merritt
>> <sf...@us... <mailto:sf...@us...>> wrote:
>>
>> On Monday, 03 August, 2015 12:40:22 Brian Weitzner wrote:
>> > Hello,
>> >
>> > I am trying to build gunplot on a Mac via macports and I get the
>> following error:
>> >
>> > :info:build In file included from term.c:1194:
>> > :info:build In file included from ./term.h:254:
>> > :info:build ../term/caca.trm:2514:3: warning: implicit declaration of
>> function 'process_event' is invalid in C99
>> [-Wimplicit-function-declaration]
>> > :info:build process_event(GE_replot, 0, 0, 0, 0, 0);
>> > :info:build ^
>> > :info:build ../term/caca.trm:2514:17: error: use of undeclared
>> identifier 'GE_replot'
>> > :info:build process_event(GE_replot, 0, 0, 0, 0, 0);
>> > :info:build ^
>> >
>> > Has this issue been encountered and/or resolved by anyone else? Any
>> help or information is appreciated.
>>
>> I don't know why it is failing, but the simplest fix is to
>> disable the caca terminal
>>
>> ./configure --without-caca
>>
>> It's a "just-for-fun" option that you don't need for anything serious.
>> I am somewhat surprised that your machine even has libcaca installed
>> to begin with.
>>
>> Ethan
>
> For reasons unknown, libcaca is listed as a dependency by MacPorts, so
> everyone who gets gnuplot that way has libcaca.
If you want to try a quick hack to make compilation continue, condition
out the code within CACA_modify_plots in the file term/caca.trm:
TERM_PUBLIC void
CACA_modify_plots(unsigned int operations, int plotno)
{
#if 0
<all code within routine>
#endif
}
Dan
|