John Kasunich wrote:
> Eric H. Johnson wrote:
>> John,
>>
>> I did install the readline-dev package (libreadline5-dev), which got past
>> the readline dependencies. Is that not the right package?
>>
>> At any rate these subsequent errors seem to be unrelated except that they
>> are the result of changes in the same source files.
>>
>> It looks like there is a discrepancy between halcmd_completion.c and the
>> associated header file, and further, a conditional in the make file which is
>> not being met to allow the file to compile. I haven't looked into it enough
>> to see what sets that conditional. Is there an alternate way of installing
>> readline-dev which will set it?
>>
>> Thanks,
>> Eric
>>
>>
>> Forcing things isn't going to work.  You must have the readline-dev package
>> installed to have readline support, and the current code must have readline
>> support to build.
>>
>> You have found one bug in the build system - if readline is required, the
>> configure step should stop and print an error message when it is missing.
>> Jeff has said he is going to fix that.
>>
>> To make EMC2 compile, install readline-dev.
>>
>> Making halcmd build correctly without readline support is possible but
>> complex and IMO not worth the trouble.  As Jeff has pointed out, many
>> Unix/Linux programs use readline, and its not unreasonable for EMC to depend
>> on it.
>>
> 
> I'm going to have to look deeper I think.  It is (and has been) building
>  fine on the compile farm.  I wonder what is different about your system
> now that readline-dev is in stalled?
> 
> Can you put the complete output of your "./configure && make" on
> pastebin.ca?
> 
>

FWIW, here is the relevant ./configure output from one of the compile
farm systems:

checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... yes
Readline does not require -ltermcap

The complete output can be seen by clicking in the "Last Build" column
of this webpage: http://linuxcnc.org/compile_farm/

Regards,

John Kasunich

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to