From bug-octave-request at bevo dot che dot wisc dot edu Tue Dec 4 14:56:04 2001 Subject: Re: Building Octave-2.1.35 using Cygwin-1.3.3-2 From: "John W. Eaton" To: "Billinghurst, David (CRTS)" Cc: "'wdkirby at ix dot netcom dot com'" , "'bug-octave@bevo.che.wisc.edu'" , "'cygwin@cygwin.com'" Date: Tue, 4 Dec 2001 14:55:26 -0600 On 4-Dec-2001, Billinghurst, David (CRTS) wrote: | You wrote that you had problems compiling octave-2.1.35 on cygwin, due to a | missing definition of _rl_clear_screen. | | The problem is that _rl_clear_screen is "private" and is not exported in | cygreadline.dll. As you and I both found out, simply removing the leading | underscore is the "Wrong Thing". | | There are a number of solutions to this problem, including: | a) building octave without readline support, | b) building your own dll with this symbol exported | c) using the static libreadline.a | d) finding a way to use rl_clear_screen | e) getting someone else to do (b) for you | | Option (a) is easy as there is a configure option for this. | | Option (c) is pretty easy. | Configure octave with "CFLAGS='-DREADLINE_STATIC -O' | Change -lreadline to /usr/lib/libreadline.a in Makeconf | make | | The rest are left as an exercise. It's not quite as easy as that now, since the readline sources are no longer distributed with Octave. In any case, this problem is fixed in the current Octave sources (in CVS) and should not appear in the next snapshot. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------