Joe Corneli wrote:

gnuplot> history
         warning: history command requires some form of readline support

fink list readline
Information about 2434 packages read in 2 seconds.
 i   readline               4.3-25           Comfortable terminal input library
 i   readline-shlibs        4.3-25           Comfortable terminal input library
     term-readline-pm       1.0203-10        Placeholder for versioned 
Term::ReadLine::Perl packages
     term-readline-pm581    1.0203-10        Minimal interface to Readline


I have readline, and I just rebuilt gnuplot. Seems like readline must not be being linked in properly.

It is, but looking at the sources of gnuplot-3.8j.0, I get the impression that they have their head screwed on backwards. They put the whole history command processing between


 #if defined(READLINE) && !defined(HAVE_LIBREADLINE)
 #endif

which is the exact opposite of what they want. If I replace this by
 #if 1
I get a gnuplot executable that executes its history command correctly.

--
Martin



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to