Camelia, the Perl 6 bug

IRC log for #padre, 2013-09-17

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:15 asarch joined #padre
04:02 sewi joined #padre
06:41 sugar joined #padre
06:50 dod joined #padre
07:00 dod joined #padre
07:23 Plecto joined #padre
07:58 Di-ima joined #padre
08:07 dod joined #padre
10:33 Plecto joined #padre
10:33 Plecto hi all
10:34 Plecto I'm still trying to solve the issue of Padre on Apple retina display
10:34 Plecto any help?
10:36 Plecto anyone using Padre on Mac OSX with retina display?
10:36 Plecto :(
11:09 sewi Sorry, OSX is running a crippled Perl (or was? Did they fix it?)
11:11 dod you could try to install another Perl from ActiveState (5.14 and 5.16 are available)
11:31 asarch joined #padre
11:31 Plecto but I used CPAN
11:31 Plecto I'm getting this error running padre
11:31 Plecto :
11:32 Plecto spawning 'wxPerl' interpreter for OS X mkdir /.padre: Permission denied at /opt/local/lib/perl5/site_pe​rl/5.12.4/Padre/Constant.pm line 152.
11:33 Plecto any help?
11:34 Plecto why does it try to create the .padre folder in the root??
11:34 Plecto of my filesystem?
11:43 Plecto should I set the Padre home somewhere?
11:43 Plecto in a cnfig file?
11:44 Plecto please help! :(
12:20 Plecto joined #padre
12:21 Plecto which version of perl do you suggest for padre on mac osx?
12:49 Plecto joined #padre
12:49 Plecto hello all
12:49 Plecto is there a way to install using CPAN a specific version of Padre?
12:49 Plecto I would like to go back using version 0.92
12:49 Plecto which was working on my Mac
12:56 Plecto any help?
13:02 dod joined #padre
13:09 kaare joined #padre
13:21 dod Plecto: did you run padre from command line ?
13:23 Plecto yes
13:24 dod what does "echo $HOME" return ?
13:25 Plecto "/Users/Damiano"
13:25 Plecto sorry
13:25 Plecto "/Users/Plecto"
13:26 dod ok. that's fine. So I don't know why padre is writing configuration file in '/' ... :-( (Mac OSX is not my favorite OS..)
13:26 Plecto :(
13:27 Plecto what is the best way to install Padre on Mac OSX that you suggest?
13:27 Plecto I corrupted my 0.92 installation
13:27 dod 0.92 is quite old.
13:27 Plecto and now I'm no more able to arrive to a working copy of Padre
13:27 Plecto :(
13:27 Plecto poor me!
13:28 Plecto right
13:28 dod you should install version 0.98
13:28 Plecto I referred to this page
13:28 Plecto http://padre.perlide.org/trac/wiki/DownloadMacOSX
13:28 Plecto and followed Option #2
13:28 Plecto without success
13:28 Plecto :(
13:29 dod I'd suggest installing activestate's perl, try to install padre from ppm. If padre is not available, install wx and wx::scintilla from ppm.
13:31 Plecto what is ppm?
13:31 dod Otherwise, update your $PATH variable to run ActiveState's perl and use cpanp to install packages not available in ppm.
13:31 dod active state package manager
13:31 dod (yes, another one :-( )
13:32 Plecto ok
13:32 Plecto which version of Activestate perl?
13:33 Plecto 5.14 or 5.16?
13:33 dod don't know. I haven't tried padre on Mac. I've just tried to install Config::Model there (see https://github.com/dod38fr/config-mo​del/blob/master/README.install.pod) with perl 5.16
13:37 Plecto ok
13:37 Plecto activestateperl 5.16 installed
13:37 Plecto how do I update tge $PATH variable to run ActiveState's?
13:37 Plecto bash_profile file?
13:38 dod yes, or your ~/.bashrc
13:38 Plecto uhm
13:38 Plecto I have bash_profile
13:38 Plecto not
13:38 Plecto bashhrc
13:39 dod ok
13:39 Plecto cannot find the path where activestate perl was installed
13:39 Plecto :(
13:40 Plecto found it
13:40 Plecto sorry
13:40 dod ok
13:40 Plecto does this sound fine as path?
13:41 Plecto "/usr/local/ActivePerl-5.16"
13:41 dod almost. add '/bin' at the end
13:41 Plecto ok
13:42 dod there's also a path to add /usr/local/ActivePerl-5.16/site/bin
13:43 Plecto did this
13:43 Plecto export PATH=/usr/local/ActivePerl-5.16/bin:/us​r/local/ActivePerl-5.16/site/bin:$PATH
13:44 dod looks good
13:44 Plecto and sourced the bash_profile file
13:44 Plecto :)
13:44 Plecto now?
13:44 Plecto cpan to install padre?
13:44 dod try perl -v
13:45 Plecto This is perl 5, version 16, subversion 3 (v5.16.3) built for darwin-thread-multi-2level (with 1 registered patch, see perl -V for more detail)  Copyright 1987-2012, Larry Wall  Binary build 1603 [296746] provided by ActiveState http://www.ActiveState.com Built Mar 13 2013 11:43:59  Perl may be copied only under the terms of either the Artistic License or the
13:45 dod cool
13:45 Plecto :)
13:45 dod run ppm
13:45 Plecto thanks for supporting me!!!!
13:45 Plecto ok
13:45 Plecto perl package manager
13:46 Plecto gui appeared
13:46 dod a debian developer giving support for Mac OS, that's a new one ;-)
13:46 Plecto :D
13:46 dod ok search for padre
13:46 Plecto ok
13:47 Plecto if I select "view all packages"
13:47 Plecto searching returns only one entry
13:47 Plecto Module-Install-PadrePlugin
13:47 Plecto which seems quite old!
13:47 Plecto 2008
13:48 dod ok. forget that, search for wx
13:48 Plecto twi items
13:48 Plecto device-wxM2
13:48 Plecto and FBP
13:48 dod pff forget it
13:48 Plecto both very old!
13:48 dod quit ppm. and try "cpanp install padre"
13:49 dod mind the p after cpan
13:49 Plecto joined #padre
13:49 Plecto without sudo?
13:49 Plecto (don't know why the connection was closed!)
13:49 Plecto can you repeat the command?
13:50 Plecto dod?
13:50 dod yes try with sudo: "sudo cpanp install padre"
13:50 Plecto any -H option?
13:51 dod uh, no..
13:51 Plecto and any way to avoid prompting a lot "yes/no"?
13:51 dod uh... don't know
13:51 Plecto ok
13:52 Plecto [MSG] No '/Users/Plecto/.cpanplus/custom-sources' dir, skipping custom sources
13:52 dod harmless
13:52 Plecto [ERROR] 'padre' does not contain an author part
13:52 Plecto [ERROR] Cannot find 'padre' in the module tree
13:53 Plecto No such module: padre No modules found to operate on! Nothing done
13:53 Plecto :(
13:53 dod looks like cpan index was not loaded
13:53 bowtie_ joined #padre
13:54 Plecto how can I check my cpan installation?
13:54 Plecto is it possible that it is corrupted?
13:54 Plecto or cpan is just a shell command?
13:54 dod use cpanp in interactive mode: "sudo cpanp"
13:55 bowtie_ dod:  hi
13:55 Plecto ok, I'm in
13:55 dod type help
13:55 Plecto Using CPANPLUS::Backend v0.9134.  ReadLine support enabled.
13:56 dod and use the avaiable command to check what's going on. I cannot help muxh more
13:56 dod s/muxh/much/
13:56 Plecto same error
13:56 Plecto [ERROR] 'padre' does not contain an author part  [ERROR] Cannot find 'padre' in the module tree
13:56 Plecto :(
13:57 bowtie_ Plecto: look for Padre
13:58 Plecto yeah!
13:58 dod ah, camel case again :-/
13:58 bowtie_ Plecto: also https://metacpan.org/module/CPAN
13:58 Plecto no problem dod and thanks bowtie
13:59 bowtie_ dod: I assume you have packed you wet-suite away now
14:00 dod bowtie_: yes. Mostly because lack of fund. Diving season is not over. My friends are going to the Maldive islands ...
14:00 Plecto great!!!!!!!
14:00 Plecto are you a fun of diving???
14:00 dod yes, I'm a diving instructor
14:01 dod but, since I had my 2nd kid and bought a house, I dive a lot less...
14:02 Plecto I see!
14:02 Plecto to be more honest
14:02 Plecto I like a lot the sea
14:02 Plecto but I like a lot also fishing!!!
14:02 Plecto spearfishing
14:02 Plecto :)
14:03 Plecto maybe you dislike this
14:03 Plecto :(
14:03 Plecto cpan seems stuck here: Creating new 'Build' script for 'Alien-wxWidgets' version '0.64'
14:03 Plecto how canI check if it is proceeding?
14:04 Plecto seems stuck :(
14:04 bowtie_ Plecto: depending on the age of the Previous version of Alien-wxWidgets, you my need to manualy remove it all before an upgrade, ok
14:04 dod As long as you do not use spear and tanks, we're good :-)
14:05 Plecto :)
14:05 bowtie_ dod: are you a wreck diver?
14:05 Plecto how can I check if I have already installed Aline-wxWidgets?
14:07 dod "pmvers Alien::wxWidgets" or "perl -M Alien::wxWidgets -e 'print $Alien::wxWidgets::VERSION'"
14:07 Plecto bash: pmvers: command not found
14:07 dod bowtie_: I did dive a lot of wreck in the mediterranean
14:08 dod yeah, pmvers comes from another package. Don't remember which
14:08 bowtie_ dod: you beat me to it :)
14:08 Plecto the other one gives me Missing argument to -M.
14:08 dod oops, remove the space after -M
14:09 bowtie_ Plecto:  perl -MAlien::wxWidgets -e 'print "$Alien::wxWidgets::VERSION \n"'
14:09 Plecto an't locate Alien/wxWidgets.pm in @INC (@INC contains: /Users/Damiano/Library/ActivePerl-5.16/lib /usr/local/ActivePerl-5.16/site/lib /usr/local/ActivePerl-5.16/lib .). BEGIN failed--compilation aborted.
14:10 Plecto Can't locate Alien/wxWidgets.pm in @INC (@INC contains: /Users/Plecto/Library/ActivePerl-5.16/lib /usr/local/ActivePerl-5.16/site/lib /usr/local/ActivePerl-5.16/lib .). BEGIN failed--compilation aborted.
14:10 bowtie_ Plecto: then it is either not installed, or the module is corrupt
14:11 bowtie_ Plecto: check your path for wxWidgets
14:11 Plecto how?
14:12 Plecto (where did you dive in the Mediterranean sea?)
14:12 bowtie_ Plecto: find /usr/local/ActivePerl-5.16/site/lib |grep wxWidgets
14:12 Plecto no return
14:12 Plecto blank return
14:13 bowtie_ Plecto: find /usr/local/ActivePerl-5.16 |grep wxWidgets
14:14 Plecto I did it
14:14 Plecto and the command didn't find anything!
14:14 bowtie_ Plecto: in a Debian based distro you also need these files install: libwxbase2.8-0 libwxgtk2.8-0 libwxbase2.8-dev libwxgtk2.8-dev libgtk2.0-dev
14:15 bowtie_ Plecto: chect to see if you have the dev install on your os
14:15 dod bowtie_: Plecto is on Mac
14:15 Plecto should I use ppm to install wxWidgets?
14:15 Plecto I can use macports too
14:15 bowtie_ dod: I know, he will have to find the OSX version names for them
14:16 dod oops
14:17 bowtie_ dod: I do not know what the OSX equivalent of apt is sorry
14:18 bowtie_ Plecto: if you look at the output of -> cpan Alien::wxWidgets
14:18 dod bowtie_: neither do I. Looks like there's a lot of competing package manager like macport or brew ...
14:18 Plecto oops
14:18 Plecto I interrupted the process
14:18 bowtie_ it should guid you as to what is missing
14:18 Plecto but it seems it was going ahead!
14:18 Plecto poor me
14:19 bowtie_ dod, I tend to only use apt and dpkg now :)
14:19 bowtie_ dod: even on ubuntu
14:19 dod I've tried on my side. Alien::wxWidget build failed attempting to download wxWdigets from sourceforge ...
14:20 Plecto argh!
14:20 dod bowtie_: I *really* do understand your point :-D
14:21 dod oops: proxy is missing todownload from sourceforge
14:21 bowtie_ dod: there was an upgrade issue, I think markd has fixed that now, the old work around was to remove all of the previous version from perl lib
14:22 bowtie_ dod: the issue was with code in linux-thread-multi not getting upgraded correctly
14:23 bowtie_ dod: you would end up with diffrent versions
14:23 dod bowtie_: I was trying a fresh install on mac
14:23 Plecto how can I understand if the installation is going ahead?
14:24 Plecto I receive no output!
14:24 Plecto :(
14:24 bowtie_ dod: in that case as you have the technology, I will let you continue here :)
14:25 dod Plecto: run top in another terminal, you'll see that your mac is busy
14:25 bowtie_ Plecto: you are doing this in a terminal, arn't you
14:26 Plecto CPAN terminal
14:26 Plecto CPAN terminal
14:26 Plecto poor my ignorance!!!!!!!
14:26 Plecto cc1plus 99% of CPU
14:26 Plecto it is working!
14:27 Plecto and now messages are also appearing
14:27 Plecto :)
14:29 Plecto it seems that I is working as I did before
14:29 Plecto but now I'm using activeperl
14:29 Plecto instead of perl from macports
14:29 Plecto let's see if anything will change in the final results
14:30 Plecto boom
14:30 Plecto !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!​!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The libreadline you are using is the libedit library.  Use the GNU Readline Library. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!​!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  -- cannot continue  [ERROR] Unable to create a new distribution object for 'Term::ReadLine::Gnu' -- cannot continue  [ERROR] Fail
14:31 Plecto [ERROR] Unable to create a new distribution object for 'Term::ReadLine::Gnu' -- cannot continue  [ERROR] Failed to install 'Term::ReadLine::Gnu' as prerequisite for 'Debug::Client'  [ERROR] Unable to satisfy prerequisites for 'Debug::Client' -- aborting install  [ERROR] Unable to create a new distribution object for 'Debug::Client' -- cannot continue  [ERROR]
14:31 Plecto :(
14:31 Plecto any help?
14:32 bowtie_ Plecto:  please use http://paste.scsys.co.uk/padre to show use code and cpan log next time, ok
14:32 Plecto ok, sorry
14:33 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX with CPANP" (13 lines) at http://paste.scsys.co.uk/269264
14:34 bowtie_ Plecto: Term::ReadLine::Gnu has some dev file dependencies, curex i think, dod please correct me here
14:34 bowtie_ dod: is it curses
14:35 Plecto so?
14:35 dod debian package only lists libreadline-dev
14:36 bowtie_ dod: thanks
14:36 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX with CPANP" (28 lines) at http://paste.scsys.co.uk/269265
14:37 bowtie_ Plecto: try this http://blogs.perl.org/users/aristotle/​2013/07/easy-osx-termreadlinegnu.html
14:37 bowtie_ there are many more if you duckduckgo
14:46 Plecto do I need to follow all the steps to the end of the list?
14:49 Plecto friends, it din't help
14:49 Plecto Term::ReadLine::Gnu is up to date. (1.20)
14:49 Plecto but cpanp generates the same errors
14:51 dod Plecto: sorry, I'm at work, I don't have the time to jump all these hoops to install Padre on Mac.
14:52 Plecto ok
14:52 Plecto thanks anyway
15:06 Plecto bowtie
15:06 Plecto any more help?
15:06 Plecto :(
15:07 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX with CPANP" (23 lines) at http://paste.scsys.co.uk/269269
15:07 Plecto trying to follow the blog you suggested produced the above error
15:07 Plecto :(
15:09 bowtie_ Plecto: you need to install Term::ReadLine::Gnu for Debug-Client see #1494 in why interested
15:13 Plecto right, but following the procedure described in the blog didn't help
15:14 Plecto I obtained the error described here http://paste.scsys.co.uk/269269
15:18 dod looks like you forget the "brew link --force readline" step
15:20 Plecto nope, I did it!
15:20 Plecto Warning: Already linked: /usr/local/Cellar/readline/6.2.4 To relink: brew unlink readline && brew link readline
15:22 dod then I'm stumped ...
15:25 Plecto do I need perlbrow?
15:25 dod no. brew and perlbrew are 2 different beasts
15:26 Plecto I know
15:29 Plecto bowtie
15:29 Plecto I was again able to install Padre 0.98
15:29 Plecto using CPAN
15:29 Plecto (not cpanm)
15:30 Plecto but the debugger does not seem to work properly!
15:30 Plecto :(
15:30 bowtie_ Plecto:  ok, you need to install Term::ReadLine::Gnu
15:31 bowtie_ Plecto: what is the issue
15:37 Plecto I cannot enable the debugger to show variables
15:37 bowtie_ Plecto: have a look at http://padre.perlide.org/trac/changeset/19783
15:39 Plecto where should I set this info?
15:39 Plecto again bash_profile?
15:40 Plecto do not understand how to apply the patch
15:40 Plecto :(
15:40 Plecto which file should Imodify?
15:42 bowtie_ Plecto: edit Padre/lib/Padre/Wx/Panel/Debugger.pm change line 298
15:43 bowtie_ Plecto: it's a ip4 ip6 issues, the change forces ip4 localhost
15:44 Plecto didn't change the behavios
15:45 Plecto didn't change the behavior
15:45 Plecto still hangs when running debug
15:45 Plecto also, I cannot select the checkbox to show variable values
15:45 Plecto it appears disabled
15:45 Plecto :(
15:45 Plecto that to show local variables
15:46 bowtie_ Plecto: can I see the output of -> cpan -t Debug::Client please
15:47 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX with CPANP" (18 lines) at http://paste.scsys.co.uk/269278
15:49 Plecto using "sudo cpan -t Debug::Client"
15:49 Plecto shown me problems...
15:49 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX with CPANP" (22 lines) at http://paste.scsys.co.uk/269279
15:52 Plecto seems the same problem about Term::ReadLine::Gnu
15:52 Plecto right?
15:52 bowtie_ Plecto: as I said previously install Term::ReadLine::Gnu then install Debug::Client then try to install Padre in that order
15:53 Plecto just tried
15:53 Plecto sudo cpan install Term::ReadLine::Gnu
15:53 Plecto and got this output
15:54 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX with CPANP" (64 lines) at http://paste.scsys.co.uk/269280
15:56 bowtie_ Plecto: so do what is says, install the other library, you my need to do some googling along the way, over to you
16:06 Plecto it is this command that fails
16:06 Plecto cpanm Term::ReadLine::Gnu
16:07 Plecto Configure failed for Term-ReadLine-Gnu-1.20
16:14 bowtie_ Plecto: sort this out -> The libreadline you are using is the libedit library.  Use the GNU Readline Library.
16:14 lostinfog joined #padre
16:20 dod joined #padre
16:30 Plecto I'm stucked
16:30 Plecto the only info I can find is that blog
16:30 Plecto but it does not work for me
17:31 stkowski joined #padre
18:28 asarch joined #padre
18:37 itcharlie joined #padre
19:12 itcharlie left #padre
19:55 asarch joined #padre
20:31 ajmrch joined #padre
21:00 asarch joined #padre
21:42 Plecto joined #padre
21:42 Plecto hi bowtie
21:54 Plecto can anyone help me with this error?
21:55 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX" (13 lines) at http://paste.scsys.co.uk/269314
21:58 Plecto anyone?
21:58 Plecto please help!
22:08 Plecto bowties
22:08 Plecto bowtie
22:09 bowtie_ Plecto: have installed Term::ReadLine::Gnu
22:12 Plecto yes!
22:12 Plecto I found this post useful
22:12 Plecto http://motemen.hatenablog.com/entry/​2013/08/20/Installing_Term%3A%3ARead​Line%3A%3AGnu_with_Homebrew_readline
22:14 bowtie_ Plecto: cool
22:14 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX" (5 lines) at http://paste.scsys.co.uk/269315
22:14 Plecto I pasted the result I obtained with your command: sudo cpan -t Debug::Client
22:15 Plecto now, running sudo cpanm -t install Padre I get this error: http://paste.scsys.co.uk/269314
22:16 Plecto sorry I meant cpan -t install Padre
22:18 Plecto why do I get this:t/15_locale.t .............. Failed 5/7 subtests
22:18 shadowpaste "bowtie" at 217.168.150.38 pasted "can you do the same, please" (15 lines) at http://paste.scsys.co.uk/269316
22:19 bowtie_ Plecto:  we need to know which test in 15_locale.t failed, now ok
22:20 Plecto should I run prove -lv t/15_locale.t
22:20 Plecto ?
22:20 Plecto and paste you the result?
22:21 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX" (13 lines) at http://paste.scsys.co.uk/269317
22:21 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX" (13 lines) at http://paste.scsys.co.uk/269318
22:25 bowtie_ Plecto: try this: in terminal -> cpan (at cpan prompt) -> look Padre -> prove -l t/15_locale.t
22:26 bowtie_ Plecto: or after -> look Padre you can do -> perl Malefile.PL -> make -> prove -v t/15_locale.t
22:30 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX" (10 lines) at http://paste.scsys.co.uk/269319
22:35 Plecto any idea?
22:35 bowtie_ Plecto: need it with -v for verbose
22:36 shadowpaste "Plecto" at 217.168.150.38 pasted "Problems in installing Padre on Mac OSX" (24 lines) at http://paste.scsys.co.uk/269323
22:37 Plecto it seems it does not actually check any locale!
22:38 Plecto bowtie: any idea?
22:40 bowtie_ Plecto: ok so it looks like you have a wx issue, check you have install -> Alien::wxWidgets, Wx, Wx::Perl::ProcessStream and Wx::Scintilla
22:40 lostinfog left #padre
22:43 Plecto how can I check that?
22:43 Plecto bowtie: how can I check that?
22:44 Plecto doing sudo cpan and then install Alien::wxWidgets and the others returns all OK
22:44 Plecto cpan[5]> install Wx::Scintilla Wx::Scintilla is up to date (0.39).
22:44 Plecto cpan[4]> install Wx::Perl::ProcessStream Wx::Perl::ProcessStream is up to date (0.32).
22:44 Plecto cpan[2]> install Wx Wx is up to date (0.9922).
22:44 Plecto CPAN: Module::CoreList loaded ok (v2.80) Alien::wxWidgets is up to date (0.64).
22:45 bowtie_ Plecto: http://irclog.perlgeek.de/​padre/2013-09-17#i_7596537
22:48 Plecto bowtie: it returns 0.64
22:48 bowtie_ Plecto: it's almost midnight here so night
22:49 Plecto bowtie: thanks
22:49 Plecto here it's almost 1am
22:53 Plecto anyone that can help me with this issue?
22:53 Plecto sugar: can you?
23:01 Plecto bowtie: it seems I'm encountering the issue described int his ticket: http://padre.perlide.org/trac/ticket/1495
23:08 asarch joined #padre
23:27 Plecto bowtie: similar issue here: http://padre.perlide.org/trac/ticket/1507
23:33 Plecto bowtie: agot this error while trying touse debug: Debug: wxMacLaunch Bad bundle: /usr/local/ActivePerl-5.16/site/lib/au​to/Wx/wxPerl.app/Contents/MacOS/wxPerl

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary