TEst stalling

Hello,

Just compiled ruby 2.3 on BSD/OS 4.3.1 and
the tests stalls on test_Attr .

IS their a way to check verbosely where the test is stalling?

···

--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!

I haven't poked in a while, but I believe that TESTOPTS still works, so TESTOPTS=-v

···

On Mar 24, 2016, at 05:45, The Doctor <doctor@doctor.nl2k.ab.ca> wrote:

Just compiled ruby 2.3 on BSD/OS 4.3.1 and
the tests stalls on test_Attr .

IS their a way to check verbosely where the test is stalling?

>
> Just compiled ruby 2.3 on BSD/OS 4.3.1 and
> the tests stalls on test_Attr .
>
> IS their a way to check verbosely where the test is stalling?

I haven't poked in a while, but I believe that TESTOPTS still works, so TESTOPTS=-v

So from inside ruby-2.3.0 directory

run

make test TESTOPTS=-v correct?

···

On Thu, Mar 24, 2016 at 09:32:25AM -0600, Ryan Davis wrote:

> On Mar 24, 2016, at 05:45, The Doctor <doctor@doctor.nl2k.ab.ca> wrote:

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!

If it were `rake`, you can definitely do the variable afterwards... It might be that you need to stick it before the `make`

···

On Mar 24, 2016, at 13:32, The Doctor <doctor@doctor.nl2k.ab.ca> wrote:

make test TESTOPTS=-v correct?

>
> make test TESTOPTS=-v correct?

If it were `rake`, you can definitely do the variable afterwards... It might be that you need to stick it before the `make`

We are talking the BSD make.

···

On Fri, Mar 25, 2016 at 02:56:11PM -0700, Ryan Davis wrote:

> On Mar 24, 2016, at 13:32, The Doctor <doctor@doctor.nl2k.ab.ca> wrote:

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
fullyfollow.me Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!

Hi all,

I'm running Ruby 2.0.0 on Mac Snow Leopard. I have been playing around with the readline library, the goal being to get access to vi editing mode for input in command line scripts. I was having trouble with it, and found an article (http://bogojoker.com/readline/) that said that vi editing mode is unavailable on Mac. This article recommends compiling Ruby from source; I tried that, and got a dependency error, I believe saying that a newer version of clang is required. I figured I could just update clang, but as I have looked into this I am getting out beyond my depth rather quickly.

Does anyone know if there is some other fix, or should I just keep at it and figure out the dependencies?

Thanks,

John

Hi John

   What version of the OSX do you have? I have 10.6.8 (Snow Leopard)
   What version of clang do you have? I have this
    localhost$ clang -v
       Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM
3.0svn)
      Target: x86_64-apple-darwin10.8.0
      Thread model: posix
   What gcc do you have? I have this
      gcc version 4.9.2 (GCC)

With that I have been able to compile and run ruby from sources:
    ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin10.8.0]

You should be able to run this script and verify 'readline'
require 'readline'
while line = Readline.readline('> ', true)
  p line
end

Let us know if you have still having issues.

Regards
JR

···

On Sat, Mar 26, 2016 at 11:15 PM, John Aten <welcome.to.eye.o.rama@gmail.com > wrote:

Hi all,

I'm running Ruby 2.0.0 on Mac Snow Leopard. I have been playing around
with the readline library, the goal being to get access to vi editing mode
for input in command line scripts. I was having trouble with it, and found
an article (TOTO MACAU - DATA TOTO MACAU - PENGELUARAN TOTO MACAU - RESULT TOTO MACAU) that said that vi editing
mode is unavailable on Mac. This article recommends compiling Ruby from
source; I tried that, and got a dependency error, I believe saying that a
newer version of clang is required. I figured I could just update clang,
but as I have looked into this I am getting out beyond my depth rather
quickly.

Does anyone know if there is some other fix, or should I just keep at it
and figure out the dependencies?

Thanks,

John

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

I have 10.6.8, clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) and gcc 4.2.1

This is the error I get when running ./configure:

<stdin>:2:3: error: #error premature clang
        #error premature clang
         ^
1 error generated.
configure: error: clang version 3.0 or later is required

I have used the readline library in scripts, and in general I can get it working; it just the vi editing mode that doesn't work. I was hoping for a quicker fix, but it looks like I will just have to update clang.

···

On Mar 26, 2016, at 11:15 PM, A. J. Rajkumar wrote:

Hi John

   What version of the OSX do you have? I have 10.6.8 (Snow Leopard)
   What version of clang do you have? I have this
    localhost$ clang -v
       Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
      Target: x86_64-apple-darwin10.8.0
      Thread model: posix
   What gcc do you have? I have this
      gcc version 4.9.2 (GCC)

With that I have been able to compile and run ruby from sources:
    ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin10.8.0]

You should be able to run this script and verify 'readline'
require 'readline'
while line = Readline.readline('> ', true)
  p line
end

Let us know if you have still having issues.

Regards
JR

On Sat, Mar 26, 2016 at 11:15 PM, John Aten <welcome.to.eye.o.rama@gmail.com> wrote:
Hi all,

I'm running Ruby 2.0.0 on Mac Snow Leopard. I have been playing around with the readline library, the goal being to get access to vi editing mode for input in command line scripts. I was having trouble with it, and found an article (TOTO MACAU - DATA TOTO MACAU - PENGELUARAN TOTO MACAU - RESULT TOTO MACAU) that said that vi editing mode is unavailable on Mac. This article recommends compiling Ruby from source; I tried that, and got a dependency error, I believe saying that a newer version of clang is required. I figured I could just update clang, but as I have looked into this I am getting out beyond my depth rather quickly.

Does anyone know if there is some other fix, or should I just keep at it and figure out the dependencies?

Thanks,

John

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Hi

   OK, first try to update clang, because I don't think you can get it done
with clang (1.7 which is what you have). It needs at least clang version 3.0
or later as it says.

   If you are having issues upgrading to clang-3.0, then you might have to
update your gcc from 4.2.1 to 4.9.2 which is what I have and then compile
clang-3.0 and then compile the latest production version of ruby.

  Good Luck.

Regards
JR

···

On Sun, Mar 27, 2016 at 7:27 PM, John Aten <welcome.to.eye.o.rama@gmail.com> wrote:

I have 10.6.8, clang version 1.7 (tags/Apple/clang-77) (based on LLVM
2.9svn) and gcc 4.2.1

This is the error I get when running ./configure:

<stdin>:2:3: error: #error premature clang
        #error premature clang
         ^
1 error generated.
configure: error: clang version 3.0 or later is required

I have used the readline library in scripts, and in general I can get it
working; it just the vi editing mode that doesn't work. I was hoping for a
quicker fix, but it looks like I will just have to update clang.

On Mar 26, 2016, at 11:15 PM, A. J. Rajkumar wrote:

Hi John

   What version of the OSX do you have? I have 10.6.8 (Snow Leopard)
   What version of clang do you have? I have this
    localhost$ clang -v
       Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM
3.0svn)
      Target: x86_64-apple-darwin10.8.0
      Thread model: posix
   What gcc do you have? I have this
      gcc version 4.9.2 (GCC)

With that I have been able to compile and run ruby from sources:
    ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin10.8.0]

You should be able to run this script and verify 'readline'
require 'readline'
while line = Readline.readline('> ', true)
  p line
end

Let us know if you have still having issues.

Regards
JR

On Sat, Mar 26, 2016 at 11:15 PM, John Aten < > welcome.to.eye.o.rama@gmail.com> wrote:

Hi all,

I'm running Ruby 2.0.0 on Mac Snow Leopard. I have been playing around
with the readline library, the goal being to get access to vi editing mode
for input in command line scripts. I was having trouble with it, and found
an article (TOTO MACAU - DATA TOTO MACAU - PENGELUARAN TOTO MACAU - RESULT TOTO MACAU) that said that vi editing
mode is unavailable on Mac. This article recommends compiling Ruby from
source; I tried that, and got a dependency error, I believe saying that a
newer version of clang is required. I figured I could just update clang,
but as I have looked into this I am getting out beyond my depth rather
quickly.

Does anyone know if there is some other fix, or should I just keep at it
and figure out the dependencies?

Thanks,

John

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Well this is embarrassing. As it turns out, vi editing mode works just fine on my system, as is. I had misread the code snippet from the article I cited, in which the editing mode was enabled, and I then misread the error. The article does claim that vi editing mode is unsupported on Mac; I don't know if that is relevant to a later version of OS X or what, but once I got the code right it worked as promised. I'm just glad I double checked it.

Thanks for the assistance!

···

On Mar 27, 2016, at 9:51 PM, A. J. Rajkumar wrote:

Hi

   OK, first try to update clang, because I don't think you can get it done
with clang (1.7 which is what you have). It needs at least clang version 3.0
or later as it says.

   If you are having issues upgrading to clang-3.0, then you might have to
update your gcc from 4.2.1 to 4.9.2 which is what I have and then compile
clang-3.0 and then compile the latest production version of ruby.

  Good Luck.

Regards
JR

On Sun, Mar 27, 2016 at 7:27 PM, John Aten <welcome.to.eye.o.rama@gmail.com> wrote:
I have 10.6.8, clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) and gcc 4.2.1

This is the error I get when running ./configure:

<stdin>:2:3: error: #error premature clang
        #error premature clang
         ^
1 error generated.
configure: error: clang version 3.0 or later is required

I have used the readline library in scripts, and in general I can get it working; it just the vi editing mode that doesn't work. I was hoping for a quicker fix, but it looks like I will just have to update clang.

On Mar 26, 2016, at 11:15 PM, A. J. Rajkumar wrote:

Hi John

   What version of the OSX do you have? I have 10.6.8 (Snow Leopard)
   What version of clang do you have? I have this
    localhost$ clang -v
       Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
      Target: x86_64-apple-darwin10.8.0
      Thread model: posix
   What gcc do you have? I have this
      gcc version 4.9.2 (GCC)

With that I have been able to compile and run ruby from sources:
    ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin10.8.0]

You should be able to run this script and verify 'readline'
require 'readline'
while line = Readline.readline('> ', true)
  p line
end

Let us know if you have still having issues.

Regards
JR

On Sat, Mar 26, 2016 at 11:15 PM, John Aten <welcome.to.eye.o.rama@gmail.com> wrote:
Hi all,

I'm running Ruby 2.0.0 on Mac Snow Leopard. I have been playing around with the readline library, the goal being to get access to vi editing mode for input in command line scripts. I was having trouble with it, and found an article (TOTO MACAU - DATA TOTO MACAU - PENGELUARAN TOTO MACAU - RESULT TOTO MACAU) that said that vi editing mode is unavailable on Mac. This article recommends compiling Ruby from source; I tried that, and got a dependency error, I believe saying that a newer version of clang is required. I figured I could just update clang, but as I have looked into this I am getting out beyond my depth rather quickly.

Does anyone know if there is some other fix, or should I just keep at it and figure out the dependencies?

Thanks,

John

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;