Re: [Perldl] Term::ReadLine::Gnu on OS X

2015-02-02 Thread Karl Glazebrook
I used libreadline-6.3 

./configure --prefix=/Users/karl/Downloads/tmp1
make
# etc

and Term-ReadLine-Gnu-1.25

# (avoid i386 in some Makefiles)
setenv ARCHFLAGS '-arch x86_64’
perl Makefile.PL --prefix=/Users/karl/Downloads/tmp1

to get SciPDL built. Don't ask me why I needed the ARCHFLAGS or to understand 
the libreadline version numbers...

Karl


 On 27 Jan 2015, at 2:44 pm, Demian Riccardi demianricca...@gmail.com wrote:
 
 
 
 brew install readline
 brew link --force readline
 cpanm Term::ReadLine::Gnu
 brew unlink readline
 
 This doesn't seem to work with the system perl.  I had to install perl via 
 perlbrew to get it to work.  It works after that though! 
 
 !YaY!
 
 Demian
 ___
 Perldl mailing list
 Perldl@jach.hawaii.edu
 http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


___
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


Re: [Perldl] Term::ReadLine::Gnu on OS X

2015-01-26 Thread Demian Riccardi



 brew install readline
 brew link --force readline
 cpanm Term::ReadLine::Gnu
 brew unlink readline

 This doesn't seem to work with the system perl.  I had to install perl via
perlbrew to get it to work.  It works after that though!

!YaY!

Demian
___
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


Re: [Perldl] Term::ReadLine::Gnu on OS X

2015-01-23 Thread Chris Marshall
FYI-

There is a known issue where Reply doesn't support the Term::ReadLine::Perl
which is the only readline module that is available by default on all
platforms.  I ran into this on windows since GNU readline is not available
there.

https://github.com/doy/reply/issues/42

--Chris


On Thu, Jan 22, 2015 at 10:57 PM, Zakariyya Mughal zaki.mug...@gmail.com
wrote:

 On 2015-01-22 at 21:30:13 -0500, Demian Riccardi wrote:
  Hello everyone,
 
  I just updated my Perl and had to install a bunch of my favorite
 libraries.
  Then I installed Doy's reply to play around, and I ran into the problem I
  always run into, solve, and then forget until the next time I run into
 it.
  The REPLs need Term::ReadLine::Gnu on OS X and it seems like a pain to
  install because there is a conflict on OS X, but it is actually pretty
 easy
  using homebrew (as described by Aristotle over a year ago
  
 http://blogs.perl.org/users/aristotle/2013/07/easy-osx-termreadlinegnu.html
 
  ):
 
  brew install readline
  brew link --force readline
  cpanm Term::ReadLine::Gnu
  brew unlink readline
 
  PDL 2.007 installed without problems, and the pdl shell works with my
  arrows keys and history.
 
  I wanted to post it here to spread the approach.  Perhaps there is a
 better
  approach now.

 You could send in a patch!

 I think the instructions in the `INSTALL` file could have that
 information.  Right now they tell users to build their own `libreadline`
 in `/usr/local/gnu` 
 https://metacpan.org/source/HAYASHI/Term-ReadLine-Gnu-1.25/INSTALL.

 Also, the error in the `Makefile.PL` could be more useful and point to
 the `INSTALL` file 
 https://metacpan.org/source/HAYASHI/Term-ReadLine-Gnu-1.25/Makefile.PL#L229
 .

 Regards,
 - Zaki Mughal

 
  Demian

  ___
  Perldl mailing list
  Perldl@jach.hawaii.edu
  http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


 ___
 Perldl mailing list
 Perldl@jach.hawaii.edu
 http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

___
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


Re: [Perldl] Term::ReadLine::Gnu on OS X

2015-01-22 Thread Zakariyya Mughal
On 2015-01-22 at 21:30:13 -0500, Demian Riccardi wrote:
 Hello everyone,
 
 I just updated my Perl and had to install a bunch of my favorite libraries.
 Then I installed Doy's reply to play around, and I ran into the problem I
 always run into, solve, and then forget until the next time I run into it.
 The REPLs need Term::ReadLine::Gnu on OS X and it seems like a pain to
 install because there is a conflict on OS X, but it is actually pretty easy
 using homebrew (as described by Aristotle over a year ago
 http://blogs.perl.org/users/aristotle/2013/07/easy-osx-termreadlinegnu.html
 ):
 
 brew install readline
 brew link --force readline
 cpanm Term::ReadLine::Gnu
 brew unlink readline
 
 PDL 2.007 installed without problems, and the pdl shell works with my
 arrows keys and history.
 
 I wanted to post it here to spread the approach.  Perhaps there is a better
 approach now.

You could send in a patch!

I think the instructions in the `INSTALL` file could have that
information.  Right now they tell users to build their own `libreadline`
in `/usr/local/gnu` 
https://metacpan.org/source/HAYASHI/Term-ReadLine-Gnu-1.25/INSTALL.

Also, the error in the `Makefile.PL` could be more useful and point to
the `INSTALL` file 
https://metacpan.org/source/HAYASHI/Term-ReadLine-Gnu-1.25/Makefile.PL#L229.

Regards,
- Zaki Mughal

 
 Demian

 ___
 Perldl mailing list
 Perldl@jach.hawaii.edu
 http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


___
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl