Perl 6 - the future is here, just unevenly distributed

IRC log for #padre, 2013-12-07

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

All times shown according to UTC.

Time Nick Message
02:07 jayallen joined #padre
02:37 kaare joined #padre
03:48 asarch joined #padre
06:13 jayallen joined #padre
08:11 dod joined #padre
08:30 dod joined #padre
08:47 sewi joined #padre
12:25 jayallen joined #padre
12:31 sewi joined #padre
13:44 dolmen1 joined #padre
13:48 asarch joined #padre
14:24 kaare_ joined #padre
14:58 dolmen1 joined #padre
16:11 sewi joined #padre
17:11 Di-ima joined #padre
18:31 dolmen1 joined #padre
19:07 PeterM joined #padre
19:11 PeterM Hello, I'm trying to install Padre on Mac OSX 10.9 under citrus perl. Under CPAN I've downloaded Padre and ran install. Several dependencies were missing and I've resolved all but DebugClient which needs Term-ReadLine-Gnu-1.20 which will not install
19:14 PeterM Not sure how to proceed from here. Being new to perl and cpan etc. I'm not sure where to get help on this sort of issue. Will someone point me in the right direction. Thanks
19:16 El_Che hi
19:17 El_Che bowtie_ is the author of DebugClient
19:17 El_Che hij very often around
19:17 El_Che PeterM: do you have an output of the error?
19:18 PeterM Hello. Yes here's the cpan msg: '/Applications/Citrus_perl/bin/perl Makefile.PL' returned status 256, won't make
19:19 PeterM while running  H/HA/HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz
19:21 PeterM I also got this warning a few lines up: The libreadline you are using is the libedit library.  Use the GNU Readline Library.
19:45 dod joined #padre
19:56 asarch joined #padre
20:03 El_Che PeterM: it means you need to point the install the the gnu readline library. I don't know if it's installed by default on osx (but elsewhere) or if it needs a third party install
20:03 El_Che the perl lib uses the C lib
20:06 El_Che http://blogs.perl.org/users/aristotle/2013/07/easy-osx-termreadlinegnu.html
20:06 El_Che Alternatively: MacOS X users may obtain MacOS X packages for readline-5.0 from Fink, readline-6.0 from DarwinPorts, or readline-6.1 from MacPorts.
20:24 PeterM OK thanks, I'll look into it and get back to you soon.
20:24 dolmen1 left #padre
20:32 El_Che np
20:33 PeterM A further question if I may, I've been using the perl that came with the Mac to learn the basic 'hello world' program and used CPAN to install packages.
20:34 PeterM A few days later having tried to get Padre running (hopefully better than GDB in terminal) I discovered citrus perl. That seems to have worked well. But I'm unclear if CPAN
20:36 PeterM is working with the system perl or the citrus perl. Does this matter once the $PATH is set?
20:37 El_Che it depends on how you call cpan
20:37 El_Che PATH indeed
20:37 El_Che echo $PATHubuntu natural scrolling
20:37 El_Che oops
20:37 El_Che echo $PATH
20:37 El_Che you can change the path or call cpan like this:
20:37 El_Che /pathtoyourcitrusperldirhere/cpan
20:39 PeterM my path now read: /Applications/Citrus_perl/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin  which looks good, I think. So is CPAN agnostic about this?
20:39 El_Che no, there are to cpan binaries on your system
20:39 El_Che each is configure to install modules in its own directory
20:40 El_Che the cpan binary is tied with the perl version
20:41 PeterM Ok, I suspect as much. Does this mean I must navigate to citrus perl and reload every thing under CPAN again?
20:50 PeterM Just tried install Padre under citrus perl and its now doing the build. It seems my previous install was under the system perl only. Thanks for your help - Peter
20:53 PeterM Well that failed quickly some error msgs: Available configurations: wxWidgets 2.009004 for mac; compiler compatibility: gcc 3.4; options: no debug, unicode, no mslu
20:53 PeterM BEGIN failed--compilation aborted at Makefile.PL line 52.
20:54 PeterM Failed during this command:  PLAVEN/Padre-1.00.tar.gz                     : writemakefile NO '/Applications/Citrus_perl/bin/perl Makefile.PL' returned status 512
20:58 PeterM When I tried this under the system perl I got several dependencies and loaded them in turn. This time not so much as the errors above show. Suggestions?
21:10 PeterM When I invoked cpan I get the msg: Reading '/Users/Peter/.cpan/Metadata' which is the directory cpan used when working under the system perl. It seems cpan
21:10 El_Che rm -rf the directory to be sure
21:10 El_Che cpan will recreate it
21:11 El_Che my $wxw = eval { use Alien::wxWidgets; 1; };
21:11 El_Che that's the line
21:11 El_Che so it can't load Alien::wxWidget
21:11 El_Che so it can't load Alien::wxWidgets
21:11 El_Che maybe cpan that first
21:12 PeterM is cross linked at some level. ...
21:13 PeterM I'll try removing the directory - hope it does not screw up the system perl.
21:16 El_Che no it will not
21:16 El_Che don't worry
21:16 El_Che .cpan are user-created config and tmp files
21:17 El_Che it's the same on all unix-like systems
21:18 PeterM Is It just the metadata dir or the whole .cpan dir I remove?
21:21 El_Che do all the .cpan dir (do a "mv .cpan .cpan_orig") if feeling unsure
21:22 El_Che (I'd say don't worry, but backing up stuff is a good reflex)
21:23 PeterM tried: rm -rf /Users/Peter/.cpan and got:  Permission denied on all dirs. :rm: /Users/Peter/.cpan: Directory not empty
21:25 El_Che sudo rm -rf /Users/Peter/.cpan ?
21:25 user_5036 joined #padre
21:25 botbot Welcome user_5036
21:32 PeterM ok thanks, tried install after the sudo rm command and got: Reading '/Applications/Citrus_perl/cpan/Metadata' but got the same error as before. I'll try installing Alien::wxWidget
21:34 PeterM mmm... seems citrus perl has it: Alien::wxWidgets is up to date (0.64). I'll try DebugClient as that was the offending module using readline
21:55 PeterM El_Che, thanks for your help. Debug client still needs readline but it called for installing xquarts x11 server which needs a reboot to take effect. back soon - Peter
22:59 asarch joined #padre
23:06 sewi joined #padre
23:32 sugar_ joined #padre
23:57 PeterM joined #padre

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