From doug at veritablesoftware.com Wed Sep 1 09:37:56 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Wed, 01 Sep 2010 09:37:56 -0700 Subject: [Phoenix-pm] Reminder: Meeting 09/02/2010 In-Reply-To: <4C731AF0.80105@veritablesoftware.com> References: <4C731AF0.80105@veritablesoftware.com> Message-ID: <4C7E8164.8080506@veritablesoftware.com> This is a reminder for the Thursday 09/02/2010 Perl meeting. We're expecting a large crowd, so please try to arrive as close to 7:00PM as possible. As a reminder, the front doors will be locked, so if you are late, call 480-788-PERL (480-788-7375), and someone will come and let you in. See you there! On 08/23/2010 06:05 PM, Douglas E. Miles wrote: > I am happy to announce that we will be having the first meeting of the > reconstituted Phoenix.pm on Thursday 09/02/2010 at 7:00PM! The meeting > is being hosted by Liquid Web, a new (opened this year) Perl shop in > the Scottsdale area. The plan is to hold the meeting at 7:00PM on the > first Thursday of the month. The meeting details are below. Please > RSVP so we know to expect you... > > Waste Management Building > 7025 N. Scottsdale Rd. > Ste. 230 > Scottsdale, AZ 85258 > > The cross-streets are Scottsdale Rd. just North of Indian Bend. There > is a light at 7025 and Scottsdale Rd. Here is a Google Map with > directions from Indian Bend: > > http://maps.google.com/maps?f=d&source=s_d&saddr=N+Scottsdale+Rd+%26+E+Indian+Bend+Rd,+Scottsdale,+Maricopa,+Arizona&daddr=E+Apartment&geocode=FY_C_wEdeiZU-SmV17ocPwsrhzHgZVw84qEytg%3BFf7I_wEdkyhU-Q&hl=en&mra=pd&mrcr=0&sll=33.539526,-111.925475&sspn=0.010767,0.022058&ie=UTF8&ll=33.539615,-111.92524&spn=0.002692,0.005515&t=h&z=18 > > > Do not trust the directions from Google Maps if you type the address > in yourself. In fact, don't trust anything Google Maps has to say > about Scottsdale. ;) > > The doors are locked, so there will be someone waiting to let you in. > Please be prompt. If you are late, call 480-788-PERL (480-788-7375), > and someone will come and let you in. > > I will be presenting: An HTML Wiki: The Interesting Parts. We will > also discuss further topics, take presentation volunteers, and other > Phoenix.pm business. > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm From doug at veritablesoftware.com Fri Sep 3 18:13:22 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Fri, 03 Sep 2010 18:13:22 -0700 Subject: [Phoenix-pm] Meeting Followup Message-ID: <4C819D32.4090601@veritablesoftware.com> Thanks to everyone who made it out for the meeting last night! I enjoyed meeting you or seeing you again. Here are the slides from the presentation: http://pm.veritablesoftware.com/slides/viki/index.html The link to the video will be posted once we have it. As I promised, I verified that yes, 'tie'ing to an incomplete class will blow up as demonstrated here: #!/usr/bin/perl use strict; use warnings; my %broken_hash; tie(%broken_hash, 'Tie::Broken'); $broken_hash{foo} = "Foobar'd"; package Tie::Broken; # TIEHASH ###################################################################### sub TIEHASH { my $package = shift; my $class = ref($package) || $package; my $self = {@_}; bless($self, $class); return $self; } # END: TIEHASH will give you: Can't locate object method "STORE" via package "Tie::Broken" at ./tie_broken line 10. But, Good news everyone! There are base classes available which prevent you from having to implement everything. See more here: http://perldoc.perl.org/Tie/Hash.html From doug at veritablesoftware.com Fri Sep 3 18:19:12 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Fri, 03 Sep 2010 18:19:12 -0700 Subject: [Phoenix-pm] Bill's Security Question Message-ID: <4C819E90.8090806@veritablesoftware.com> Bill, Unless I misunderstood what you were saying last night, you actually can't do anything nasty through the wiki page naming mechanism. I just created a page named 'rm -rf *' and it happily created a page with that name with no ill effects. Also I should mention that the path normalization code prevent you from going above the specified root directory. Sorry I didn't think this through last night, but we got some good humor out of it anyway. :) From doug at veritablesoftware.com Fri Sep 3 18:32:49 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Fri, 03 Sep 2010 18:32:49 -0700 Subject: [Phoenix-pm] Bob Lindley's Question Message-ID: <4C81A1C1.7080207@veritablesoftware.com> Bob, Were you asking about compiling Tk, or did I mis-hear you? If you were, I just installed it from CPAN on Ubuntu 10.04 under Perl 5.10.1 with no problems. Please let me know if you were asking about something else, and I'll give it a try. From lefthandskeletonkey at gmail.com Fri Sep 3 18:58:23 2010 From: lefthandskeletonkey at gmail.com (Erik Tank) Date: Fri, 3 Sep 2010 18:58:23 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: <4C81A1C1.7080207@veritablesoftware.com> References: <4C81A1C1.7080207@veritablesoftware.com> Message-ID: I thought it was Tkx. I'm running Wubi on my laptop (yes one of these days I'll nuke Windows and install real Ubuntu) and I couldn't get it to install with a combination of CPAN and apt-get. I only spent about 30 minutes on it. If Bob could post some sample code that might help in figuring out what needs to be installed. Erik On Fri, Sep 3, 2010 at 6:32 PM, Douglas E. Miles wrote: > Bob, > > Were you asking about compiling Tk, or did I mis-hear you? If you were, > I just installed it from CPAN on Ubuntu 10.04 under Perl 5.10.1 with no > problems. Please let me know if you were asking about something else, > and I'll give it a try. > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at veritablesoftware.com Fri Sep 3 19:17:37 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Fri, 03 Sep 2010 19:17:37 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: References: <4C81A1C1.7080207@veritablesoftware.com> Message-ID: <4C81AC41.3020706@veritablesoftware.com> An HTML attachment was scrubbed... URL: From doug at veritablesoftware.com Fri Sep 3 21:04:17 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Fri, 03 Sep 2010 21:04:17 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: <4C81A1C1.7080207@veritablesoftware.com> References: <4C81A1C1.7080207@veritablesoftware.com> Message-ID: <4C81C541.3040508@veritablesoftware.com> On 09/03/2010 06:32 PM, Douglas E. Miles wrote: > Bob, > > Were you asking about compiling Tk, or did I mis-hear you? If you were, > I just installed it from CPAN on Ubuntu 10.04 under Perl 5.10.1 with no > problems. Please let me know if you were asking about something else, > and I'll give it a try. > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm > OK, I just got Tkx-1.08 to install from CPAN on Ubuntu 10.04 under Perl 5.10.1. I just installed tcl8.5-dev from the repository before installing. tcl8.5 was already installed on my system. I hope this helps, Bob, and I'm not installing the wrong module. :) From emmaus at gmail.com Sat Sep 4 10:55:54 2010 From: emmaus at gmail.com (John Jackson) Date: Sat, 4 Sep 2010 10:55:54 -0700 Subject: [Phoenix-pm] Video of the 2010-09-02 Perl Mongers meeting Message-ID: <021001cb4c5a$6ceb7910$46c26b30$@com> Here is the link to a playlist. I divided the video into six parts in order to upload to YouTube. http://www.youtube.com/view_play_list?p=29405D95E2C998BE John Jackson -------------------------- Jesus is my Life! -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at veritablesoftware.com Sat Sep 4 17:02:53 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Sat, 04 Sep 2010 17:02:53 -0700 Subject: [Phoenix-pm] Video of the 2010-09-02 Perl Mongers meeting In-Reply-To: <021001cb4c5a$6ceb7910$46c26b30$@com> References: <021001cb4c5a$6ceb7910$46c26b30$@com> Message-ID: <4C82DE2D.4000308@veritablesoftware.com> An HTML attachment was scrubbed... URL: From bob at brogmoid.com Sun Sep 5 17:49:06 2010 From: bob at brogmoid.com (Robert Lindley) Date: Sun, 05 Sep 2010 17:49:06 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: <4C81AC41.3020706@veritablesoftware.com> References: <4C81A1C1.7080207@veritablesoftware.com> <4C81AC41.3020706@veritablesoftware.com> Message-ID: <4C843A82.3050907@brogmoid.com> Doug, I followed your link to the Perl Testers report. I have not looked at Perl Testers for a very long time. The last time that I looked all I found was an incomprehensible information overload. That chart that they have now tells you what you want to know. I looks like Tkx worked on 5.10.0 and not on 5.10.1. Clicking on the bar at version 5.10.1 and Linux the report show a pass for i686 and a fail for s390. So it should work on i686 Perl 5.10.1. Tried again, cpan will not install Tkx because it lacks prerequisite Tcl. Tried again to install Tcl. cpan output: CPAN.pm: Going to build V/VK/VKON/Tcl-0.98.tar.gz LIBS = -Ltcl-core/linux-i686 -ltclstub8.4 INC = -Itcl-core/include DEFINE = -DUSE_TCL_STUBS Checking if your kit is complete... Looks good Warning: -Ltcl-core/linux-i686 changed to -L/root/.cpan/build/Tcl-0.98-Ip73er/tcl-core/linux-i686 Writing Makefile for Tcl cp Tcl.pm blib/lib/Tcl.pm /usr/bin/perl /usr/local/share/perl/5.10.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Tcl.xs > Tcl.xsc && mv Tcl.xsc Tcl.c Please specify prototyping behavior for Tcl.xs (see perlxs manual) cc -c -Itcl-core/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC "-I/usr/lib/perl/5.10/CORE" -DUSE_TCL_STUBS Tcl.c Tcl.xs: In function 'NpLoadLibrary': Tcl.xs:210: warning: format not a string literal and no format arguments Tcl.xs: In function 'NpInitialize': Tcl.xs:396: warning: format not a string literal and no format arguments Tcl.xs: In function 'Tcl_EvalInPerl': Tcl.xs:782: warning: format '%d' expects type 'int', but argument 2 has type 'I32' Tcl.xs: In function 'Tcl_PerlCallWrapper': Tcl.xs:862: warning: format '%d' expects type 'int', but argument 2 has type 'I32' Tcl.xs: In function 'XS_Tcl_Eval': Tcl.xs:1026: warning: format not a string literal and no format arguments Tcl.xs: In function 'XS_Tcl_EvalFile': Tcl.xs:1087: warning: format not a string literal and no format arguments Tcl.xs: In function 'XS_Tcl_EvalFileHandle': Tcl.xs:1112: warning: format not a string literal and no format arguments Tcl.xs: In function 'XS_Tcl_invoke': Tcl.xs:1246: warning: format not a string literal and no format arguments Tcl.xs: In function 'XS_Tcl_icall': Tcl.xs:1313: warning: format not a string literal and no format arguments Tcl.xs: In function 'XS_Tcl_Init': Tcl.xs:1388: warning: format not a string literal and no format arguments Running Mkbootstrap for Tcl () chmod 644 Tcl.bs rm -f blib/arch/auto/Tcl/Tcl.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector Tcl.o -o blib/arch/auto/Tcl/Tcl.so \ -L/root/.cpan/build/Tcl-0.98-Ip73er/tcl-core/linux-i686 -ltclstub8.4 \ chmod 755 blib/arch/auto/Tcl/Tcl.so cp Tcl.bs blib/arch/auto/Tcl/Tcl.bs chmod 644 blib/arch/auto/Tcl/Tcl.bs Manifying blib/man3/Tcl.3pm VKON/Tcl-0.98.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/call.t ....... NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/call.t line 6. BEGIN failed--compilation aborted at t/call.t line 6. t/call.t ....... Dubious, test returned 2 (wstat 512, 0x200) There was a lot more output but it just repeated the "NpLoadLibrary: could not find Tcl dll" for each test module. As I recall I got the same result when I tried to install Tkx from cpan for perl 5.10.1 on Novell SLES 11.0. Ran Google and looked for the Tcl message "NpLoadLibrary: could not find Tcl dll" and found two queries and neither had an answer as to what the cause was. Perl Testers shows that Tkx works with all version 5.12 or perl. Tried to upgrade Ubuntu 10.4 to have Perl 5.12. But, it is not in their program repository. ActivePerl Perl/Tkx works fine on Ubuntu 10.4 installed in the users directory. ----------------------------------------------------------------------------------------------- Perl/Tk was great! Trouble is that Nick Ing-Simmons lead a one man band. He did a wonderful job of porting Tcl/Tk into Perl/Tk. He basically recoded the underlying C code into C code for Perl. Thus the interface fit very closely into Perl. When he died a few years ago, some folks tried, but nobody was able to bring his code up to date or maintain it. So, Perl/Tk was frozen in time. ActivePerl in the upgrade from 5.8 to 5.10 dropped Perl/Tk. They introduced Perl/Tkx in ActivePerl 5.8. Someone, I believe at ActiveState, really wanted to retain that functionality in Perl. The result was a very neat methodology. They created Perl/Tkx. What that is is a very thin syntactic transform of Perl statements into Tcl/Tk statements. The really neat part about this is that any upgrades to Tcl/Tk are almost immediately available to Perl/Tkx without much effort. Thus, eliminating the need for tons of opaque C code that had a huge learning curve for anybody that tried to maintain it. Also, you are now able to use all the Tck/Tk modules that are out there -- and there are plenty of them. Perl/Tkx works super with ActivePerl. ActivePerl is great on Windoze that I use at Boeing. ActivePerl has a distribution for Linux. However, if you install it as root, your Linux system has just been destroyed. Many of the system utilities are in Perl and they all quit working because various Perl modules have been overlayed by other modules. I know that from first hand experience! It is only safe to install it for a single non-root user which I have done at home on my Ubuntu Linux. I would really like to be able to use Perl/Tkx on our Novell SLES 11 Linux server at work. The Tcl.pm and Tkx.pm modules from CPAN will not install (at least last March). Both were seriouly broken when last I tried. To get arould the problem, I tried to make stand alone Perl executables that anyone on the server could run, Wow! Making a stand alone Perl executable is some kind of very black magic. Unfortunately my magic wand got lost. Spent many hours of time with no result except for frustration. Somebody told me that Strawberry Perl does it easily. But that is back to Windows only. One of those things that works on windows, but I can't make it work on Linux (for all users that is). If you have an ActivePerl installation somewhere, give their Perl Package Manager a try to see what Perk/Tkx can do. On 09/03/2010 07:17 PM, Douglas E. Miles wrote: > OK, if that's the case, then yes, it failed for me, and there seems to > be a lot of fail here: > > http://matrix.cpantesters.org/?dist=Tkx+1.08 > > On 09/03/2010 06:58 PM, Erik Tank wrote: >> I thought it was Tkx. I'm running Wubi on my laptop (yes one of these days >> I'll nuke Windows and install real Ubuntu) and I couldn't get it to install >> with a combination of CPAN and apt-get. I only spent about 30 minutes on >> it. If Bob could post some sample code that might help in figuring out what >> needs to be installed. >> >> Erik >> >> On Fri, Sep 3, 2010 at 6:32 PM, Douglas E. Miles> >>> wrote: >>> >> >>> Bob, >>> >>> Were you asking about compiling Tk, or did I mis-hear you? If you were, >>> I just installed it from CPAN on Ubuntu 10.04 under Perl 5.10.1 with no >>> problems. Please let me know if you were asking about something else, >>> and I'll give it a try. >>> _______________________________________________ >>> Phoenix-pm mailing list >>> Phoenix-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/phoenix-pm >>> >>> >> >> >> >> _______________________________________________ >> Phoenix-pm mailing list >> Phoenix-pm at pm.org >> http://mail.pm.org/mailman/listinfo/phoenix-pm > > > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at slowass.net Sun Sep 5 20:05:28 2010 From: scott at slowass.net (Scott Walters) Date: Sun, 5 Sep 2010 23:05:28 -0400 Subject: [Phoenix-pm] Bill's Security Question In-Reply-To: <4C819E90.8090806@veritablesoftware.com> References: <4C819E90.8090806@veritablesoftware.com> Message-ID: Which Wiki? The TinyWiki on phoenix.pm.org? It shouldn't actually name a page 'rm -rf *': umask 0; my $wiki = qr{[A-Z][a-z]+[A-Z][A-Za-z]+}; my $sn = $ENV{SCRIPT_NAME}; my $rip = $ENV{REMOTE_ADDR}; # ... $word =~ s/((\A|\s)[a-z])/\U$1/g; $word =~ s/\s//g; $word = 'HomePage' unless $word and $word =~ m/^$wiki$/o; If you give it something that doesn't look like a WikiWord, it should fall back on using HomePage. The question of securing <% ... Perl code ... %> is a far more open one. -scott On 9/3/10, Douglas E. Miles wrote: > Bill, > > Unless I misunderstood what you were saying last night, you actually > can't do anything nasty through the wiki page naming mechanism. I just > created a page named 'rm -rf *' and it happily created a page with that > name with no ill effects. Also I should mention that the path > normalization code prevent you from going above the specified root > directory. Sorry I didn't think this through last night, but we got some > good humor out of it anyway. :) > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm > From doug at veritablesoftware.com Sun Sep 5 22:54:54 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Sun, 05 Sep 2010 22:54:54 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: <4C843A82.3050907@brogmoid.com> References: <4C81A1C1.7080207@veritablesoftware.com> <4C81AC41.3020706@veritablesoftware.com> <4C843A82.3050907@brogmoid.com> Message-ID: <4C84822E.60102@veritablesoftware.com> An HTML attachment was scrubbed... URL: From bob at brogmoid.com Mon Sep 6 15:35:37 2010 From: bob at brogmoid.com (Robert Lindley) Date: Mon, 06 Sep 2010 15:35:37 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: <4C84822E.60102@veritablesoftware.com> References: <4C81A1C1.7080207@veritablesoftware.com> <4C81AC41.3020706@veritablesoftware.com> <4C843A82.3050907@brogmoid.com> <4C84822E.60102@veritablesoftware.com> Message-ID: <4C856CB9.4000709@brogmoid.com> Thanks, that allowed cpan to do the installation of both Tcl and Tks and run the tests successful. I would not have guessed to try that. New lesson learned. Here is a sample program tkx-hello.pl... ------------------------------------------------------------- #!/usr/bin/perl -w use strict; use Tkx; my $mw = Tkx::widget->new("."); $mw->g_wm_title("Hello, world"); $mw->g_wm_minsize(300, 200); my $b; $b = $mw->new_button( -text => "Hello, world", -command => sub { $b->m_configure( -text => "Goodbye, cruel world", ); Tkx::after(1500, sub { $mw->g_destroy }); }, ); $b->g_pack( -padx => 10, -pady => 10, ); Tkx::tk___messageBox( -parent => $mw, -icon => "info", -title => "Tip of the Day", -message => "Please be nice!", ); ------------------------------------------------------------- When I ran it, I got: root at bob:/home/bob/work/Tkx# which perl /usr/bin/perl root at bob:/home/bob/work/Tkx# ./tkx-hello.pl Segmentation fault root at bob:/home/bob/work/Tkx# perl -d ./tkx-hello.pl Loading DB routines from perl5db.pl version 1.32 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. Signal SEGV at /usr/local/lib/perl/5.10.1/Tcl.pm line 420 require Tcl.pm called at /usr/local/share/perl/5.10.1/Tkx.pm line 215 Tkx::i::BEGIN() called at /usr/local/lib/perl/5.10.1/Tcl.pm line 0 eval {...} called at /usr/local/lib/perl/5.10.1/Tcl.pm line 0 require Tkx.pm called at ./tkx-hello.pl line 3 main::BEGIN() called at /usr/local/lib/perl/5.10.1/Tcl.pm line 0 eval {...} called at /usr/local/lib/perl/5.10.1/Tcl.pm line 0 Aborted No clue what is wrong even from the debugger! Well, it does say to look at line 420 of Tcl.pm and the analysis is left to the student. When I ran it with ActivePerl, I got: root at bob:/home/bob/work/Tkx# which aperl /usr/local/bin/aperl root at bob:/home/bob/work/Tkx# aperl ./tkx-hello.pl root at bob:/home/bob/work/Tkx# This works as expected. On 09/05/2010 10:54 PM, Douglas E. Miles wrote: > I was getting the "NpLoadLibrary: could not find Tcl dll" error until > I installed the dev package for Tcl. It may actually be looking for > header files or something. Make sure you have that installed on your > system and try again. > > On 09/05/2010 05:49 PM, Robert Lindley wrote: >> Doug, >> >> I followed your link to the Perl Testers report. I have not looked at >> Perl Testers for a very long time. The last time that I looked all I >> found was an incomprehensible information overload. That chart that >> they have now tells you what you want to know. I looks like Tkx >> worked on 5.10.0 and not on 5.10.1. Clicking on the bar at version >> 5.10.1 and Linux the report show a pass for i686 and a fail for s390. >> So it should work on i686 Perl 5.10.1. >> >> Tried again, cpan will not install Tkx because it lacks prerequisite >> Tcl. >> >> Tried again to install Tcl. >> >> cpan output: >> >> CPAN.pm: Going to build V/VK/VKON/Tcl-0.98.tar.gz >> >> LIBS = -Ltcl-core/linux-i686 -ltclstub8.4 >> INC = -Itcl-core/include >> DEFINE = -DUSE_TCL_STUBS >> Checking if your kit is complete... >> Looks good >> Warning: -Ltcl-core/linux-i686 changed to >> -L/root/.cpan/build/Tcl-0.98-Ip73er/tcl-core/linux-i686 >> Writing Makefile for Tcl >> cp Tcl.pm blib/lib/Tcl.pm >> /usr/bin/perl /usr/local/share/perl/5.10.1/ExtUtils/xsubpp -typemap >> /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Tcl.xs > >> Tcl.xsc && mv Tcl.xsc Tcl.c >> Please specify prototyping behavior for Tcl.xs (see perlxs manual) >> cc -c -Itcl-core/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN >> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g >> -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC >> "-I/usr/lib/perl/5.10/CORE" -DUSE_TCL_STUBS Tcl.c >> Tcl.xs: In function 'NpLoadLibrary': >> Tcl.xs:210: warning: format not a string literal and no format arguments >> Tcl.xs: In function 'NpInitialize': >> Tcl.xs:396: warning: format not a string literal and no format arguments >> Tcl.xs: In function 'Tcl_EvalInPerl': >> Tcl.xs:782: warning: format '%d' expects type 'int', but argument 2 >> has type 'I32' >> Tcl.xs: In function 'Tcl_PerlCallWrapper': >> Tcl.xs:862: warning: format '%d' expects type 'int', but argument 2 >> has type 'I32' >> Tcl.xs: In function 'XS_Tcl_Eval': >> Tcl.xs:1026: warning: format not a string literal and no format >> arguments >> Tcl.xs: In function 'XS_Tcl_EvalFile': >> Tcl.xs:1087: warning: format not a string literal and no format >> arguments >> Tcl.xs: In function 'XS_Tcl_EvalFileHandle': >> Tcl.xs:1112: warning: format not a string literal and no format >> arguments >> Tcl.xs: In function 'XS_Tcl_invoke': >> Tcl.xs:1246: warning: format not a string literal and no format >> arguments >> Tcl.xs: In function 'XS_Tcl_icall': >> Tcl.xs:1313: warning: format not a string literal and no format >> arguments >> Tcl.xs: In function 'XS_Tcl_Init': >> Tcl.xs:1388: warning: format not a string literal and no format >> arguments >> Running Mkbootstrap for Tcl () >> chmod 644 Tcl.bs >> rm -f blib/arch/auto/Tcl/Tcl.so >> cc -shared -O2 -g -L/usr/local/lib -fstack-protector Tcl.o -o >> blib/arch/auto/Tcl/Tcl.so \ >> -L/root/.cpan/build/Tcl-0.98-Ip73er/tcl-core/linux-i686 >> -ltclstub8.4 \ >> >> chmod 755 blib/arch/auto/Tcl/Tcl.so >> cp Tcl.bs blib/arch/auto/Tcl/Tcl.bs >> chmod 644 blib/arch/auto/Tcl/Tcl.bs >> Manifying blib/man3/Tcl.3pm >> VKON/Tcl-0.98.tar.gz >> /usr/bin/make -- OK >> Running make test >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> t/call.t ....... NpLoadLibrary: could not find Tcl dll >> Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. >> Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. >> Compilation failed in require at t/call.t line 6. >> BEGIN failed--compilation aborted at t/call.t line 6. >> t/call.t ....... Dubious, test returned 2 (wstat 512, 0x200) >> >> There was a lot more output but it just repeated the "NpLoadLibrary: >> could not find Tcl dll" for each test module. >> >> As I recall I got the same result when I tried to install Tkx from >> cpan for perl 5.10.1 on Novell SLES 11.0. >> >> Ran Google and looked for the Tcl message "NpLoadLibrary: could not >> find Tcl dll" and found two queries and neither had an answer as to >> what the cause was. >> >> Perl Testers shows that Tkx works with all version 5.12 or perl. >> Tried to upgrade Ubuntu 10.4 to have Perl 5.12. But, it is not in >> their program repository. >> >> ActivePerl Perl/Tkx works fine on Ubuntu 10.4 installed in the users >> directory. >> >> >> >> ----------------------------------------------------------------------------------------------- >> >> >> Perl/Tk was great! >> >> Trouble is that Nick Ing-Simmons lead a one man band. He did a >> wonderful job of porting Tcl/Tk into Perl/Tk. He basically recoded >> the underlying C code into C code for Perl. Thus the interface fit >> very closely into Perl. When he died a few years ago, some folks >> tried, but nobody was able to bring his code up to date or maintain >> it. So, Perl/Tk was frozen in time. ActivePerl in the upgrade from >> 5.8 to 5.10 dropped Perl/Tk. They introduced Perl/Tkx in ActivePerl 5.8. >> >> Someone, I believe at ActiveState, really wanted to retain that >> functionality in Perl. The result was a very neat methodology. They >> created Perl/Tkx. What that is is a very thin syntactic transform of >> Perl statements into Tcl/Tk statements. The really neat part about >> this is that any upgrades to Tcl/Tk are almost immediately available >> to Perl/Tkx without much effort. Thus, eliminating the need for tons >> of opaque C code that had a huge learning curve for anybody that >> tried to maintain it. Also, you are now able to use all the Tck/Tk >> modules that are out there -- and there are plenty of them. >> >> Perl/Tkx works super with ActivePerl. ActivePerl is great on Windoze >> that I use at Boeing. ActivePerl has a distribution for Linux. >> However, if you install it as root, your Linux system has just been >> destroyed. Many of the system utilities are in Perl and they all quit >> working because various Perl modules have been overlayed by other >> modules. I know that from first hand experience! It is only safe to >> install it for a single non-root user which I have done at home on my >> Ubuntu Linux. I would really like to be able to use Perl/Tkx on our >> Novell SLES 11 Linux server at work. The Tcl.pm and Tkx.pm modules >> from CPAN will not install (at least last March). Both were seriouly >> broken when last I tried. >> >> To get arould the problem, I tried to make stand alone Perl >> executables that anyone on the server could run, Wow! Making a stand >> alone Perl executable is some kind of very black magic. Unfortunately >> my magic wand got lost. Spent many hours of time with no result >> except for frustration. Somebody told me that Strawberry Perl does it >> easily. But that is back to Windows only. >> >> One of those things that works on windows, but I can't make it work >> on Linux (for all users that is). >> >> If you have an ActivePerl installation somewhere, give their Perl >> Package Manager a try to see what Perk/Tkx can do. >> >> >> >> On 09/03/2010 07:17 PM, Douglas E. Miles wrote: >>> OK, if that's the case, then yes, it failed for me, and there seems >>> to be a lot of fail here: >>> >>> http://matrix.cpantesters.org/?dist=Tkx+1.08 >>> >>> On 09/03/2010 06:58 PM, Erik Tank wrote: >>>> I thought it was Tkx. I'm running Wubi on my laptop (yes one of >>>> these days >>>> I'll nuke Windows and install real Ubuntu) and I couldn't get it to >>>> install >>>> with a combination of CPAN and apt-get. I only spent about 30 >>>> minutes on >>>> it. If Bob could post some sample code that might help in figuring >>>> out what >>>> needs to be installed. >>>> >>>> Erik >>>> >>>> On Fri, Sep 3, 2010 at 6:32 PM, Douglas E. >>>> Miles>>>> wrote: >>>>> Bob, >>>>> >>>>> Were you asking about compiling Tk, or did I mis-hear you? If you >>>>> were, >>>>> I just installed it from CPAN on Ubuntu 10.04 under Perl 5.10.1 >>>>> with no >>>>> problems. Please let me know if you were asking about something else, >>>>> and I'll give it a try. >>>>> _______________________________________________ >>>>> Phoenix-pm mailing list >>>>> Phoenix-pm at pm.org >>>>> http://mail.pm.org/mailman/listinfo/phoenix-pm >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Phoenix-pm mailing list >>>> Phoenix-pm at pm.org >>>> http://mail.pm.org/mailman/listinfo/phoenix-pm >>> >>> >>> _______________________________________________ >>> Phoenix-pm mailing list >>> Phoenix-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/phoenix-pm >> >> >> >> _______________________________________________ >> Phoenix-pm mailing list >> Phoenix-pm at pm.org >> http://mail.pm.org/mailman/listinfo/phoenix-pm > > > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug at veritablesoftware.com Tue Sep 7 11:15:53 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Tue, 07 Sep 2010 11:15:53 -0700 Subject: [Phoenix-pm] Bob Lindley's Question In-Reply-To: <4C856CB9.4000709@brogmoid.com> References: <4C81A1C1.7080207@veritablesoftware.com> <4C81AC41.3020706@veritablesoftware.com> <4C843A82.3050907@brogmoid.com> <4C84822E.60102@veritablesoftware.com> <4C856CB9.4000709@brogmoid.com> Message-ID: <4C868159.5000002@veritablesoftware.com> An HTML attachment was scrubbed... URL: From doug at veritablesoftware.com Tue Sep 7 11:36:05 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Tue, 07 Sep 2010 11:36:05 -0700 Subject: [Phoenix-pm] RFP (Request for Presentations) Message-ID: <4C868615.2000209@veritablesoftware.com> All, I have a couple of people lined up for future meetings, but nobody for 10/7. Anybody want to volunteer? Feel free to reply if you want to volunteer for a future meeting instead, and I'll start a list. I have a few presentation ideas, but nothing I have ready. Become the envy of your peers! Amaze and impress your friends! :) From bdg at hushmail.com Tue Sep 7 18:00:46 2010 From: bdg at hushmail.com (Bryan) Date: Tue, 07 Sep 2010 18:00:46 -0700 Subject: [Phoenix-pm] Perl Shopping Cart Message-ID: <20100908010046.282C82003D@smtp.hushmail.com> Hi All, After the meeting, someone was asking for recommendations on a good Perl shopping cart. I used to use Interchange quite a bit. It's open source and has been around for over a decade (under different names) but is still actively developed. It used to be maintained by Red Hat but is now community maintained and on github. http://www.icdevgroup.org >From the about page: " At its core, Interchange is a flexible and high-performance application server that handles state and session management, authentication, click trails, filtering, URL encoding, security policy, and much more. Interchange is well suited for a variety of purposes, and has been set up to perform sales, order processing, content management, customer service, reporting and analysis, personalization, traditional retail sales, digital goods delivery, B2B parts re- ordering, auctions, order status checking, supply chain management, project management, online collaboration, and even an MP3 jukebox. " Hope this helps, Bryan Gmyrek http://www.facebook.com/gmyrek http://www.twitter.com/physic From perladdict at gmail.com Wed Sep 8 17:34:36 2010 From: perladdict at gmail.com (d t) Date: Wed, 8 Sep 2010 17:34:36 -0700 Subject: [Phoenix-pm] Phoenix-pm Digest, Vol 66, Issue 7 In-Reply-To: References: Message-ID: That would have been me, and thank you Bryan. I was suggesting different projects to look at for John Jackson, our most generous key grip / youtube pm meeting poster. The type of system it sounded like John was seeking needed to handle service based rather than product based type transactions. Really I'm not sure if it even matters because they should be able to be swapped. The only difference being that John was wondering if something existed to manage/track the individual lifespan of the services rendered activity. Doug Thompson On Wed, Sep 8, 2010 at 12:00 PM, wrote: > Send Phoenix-pm mailing list submissions to > ? ? ? ?phoenix-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > ? ? ? ?http://mail.pm.org/mailman/listinfo/phoenix-pm > or, via email, send a message with subject or body 'help' to > ? ? ? ?phoenix-pm-request at pm.org > > You can reach the person managing the list at > ? ? ? ?phoenix-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Phoenix-pm digest..." > > > Today's Topics: > > ? 1. Perl Shopping Cart (Bryan) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 07 Sep 2010 18:00:46 -0700 > From: "Bryan" > Subject: [Phoenix-pm] Perl Shopping Cart > To: phoenix-pm at pm.org > Message-ID: <20100908010046.282C82003D at smtp.hushmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hi All, > > After the meeting, someone was asking for recommendations on a good > Perl shopping cart. > > I used to use Interchange quite a bit. ?It's open source and has > been around for over a decade (under different names) but is still > actively developed. ?It used to be maintained by Red Hat but is now > community maintained and on github. > > http://www.icdevgroup.org > > >From the about page: > " > At its core, Interchange is a flexible and high-performance > application server that handles state and session management, > authentication, click trails, filtering, URL encoding, security > policy, and much more. > > Interchange is well suited for a variety of purposes, and has been > set up to perform sales, order processing, content management, > customer service, reporting and analysis, personalization, > traditional retail sales, digital goods delivery, B2B parts re- > ordering, auctions, order status checking, supply chain management, > project management, online collaboration, and even an MP3 jukebox. > " > > Hope this helps, > > Bryan Gmyrek > > > http://www.facebook.com/gmyrek > > http://www.twitter.com/physic > > > > ------------------------------ > > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm > > End of Phoenix-pm Digest, Vol 66, Issue 7 > ***************************************** > From doug at veritablesoftware.com Wed Sep 29 18:51:53 2010 From: doug at veritablesoftware.com (Douglas E. Miles) Date: Wed, 29 Sep 2010 18:51:53 -0700 Subject: [Phoenix-pm] Meeting 10/07/2010 7:00 PM Message-ID: <4CA3ED39.60506@veritablesoftware.com> An HTML attachment was scrubbed... URL: From jrowe at jrowe.org Thu Sep 30 21:55:57 2010 From: jrowe at jrowe.org (Joshua T. Rowe) Date: Thu, 30 Sep 2010 21:55:57 -0700 Subject: [Phoenix-pm] Meeting 10/07/2010 7:00 PM In-Reply-To: <4CA3ED39.60506@veritablesoftware.com> References: <4CA3ED39.60506@veritablesoftware.com> Message-ID: 2010/9/29 Douglas E. Miles : > Erik Tank will be presenting "The Perl Debugger: Getting Fleas off of Your > Camel" on Thursday 10/07/2010 at 7:00 PM. Please RSVP so we know to expect > you... I will be there. -- Joshua T. Rowe http://www.jrowe.org/