From daniel at coder.com Fri Sep 9 12:31:08 2011 From: daniel at coder.com (Daniel R. Allen) Date: Fri, 9 Sep 2011 15:31:08 -0400 (EDT) Subject: [kw-pm] Talk next Thursday: Node.js, Part Two Message-ID: The September KW Perl Mongers talk is next Thursday, Sept. 15th. The main topic will (again) be Node, a flexible event-driven I/O framework for server-side Javascript. http://nodejs.org/ baud will present on Haraka, a speedy little node SMTP server. https://github.com/baudehlo/Haraka/blob/master/README.md You're not required to have come to the July talk. (In fact, some of us may be hoping we still remember any of the content from July- MONTHS ago!) Pizza and pop/water are provided, sponsored by $anonymous. By next Thursday please put yourself on the pizza-list at: http://kw.pm.org/wiki/index.cgi?PizzaList We are meeting in our usual location, DC 3323, at 7pm. Various other details can be found on our webpage at http://kw.pm.org/ Any questions, give a shout; either on this list, or irc.perl.org, channel #uc -Daniel From matt at sergeant.org Tue Sep 13 08:40:06 2011 From: matt at sergeant.org (Matt Sergeant) Date: Tue, 13 Sep 2011 11:40:06 -0400 Subject: [kw-pm] Talk next Thursday: Node.js, Part Two In-Reply-To: References: Message-ID: <4E6F7956.30208@sergeant.org> FWIW I'll only touch on Haraka - mostly I'll talk about Perl vs Node.js Daniel R. Allen wrote: > The September KW Perl Mongers talk is next Thursday, Sept. 15th. > The main topic will (again) be Node, a flexible event-driven I/O framework > for server-side Javascript. http://nodejs.org/ > > baud will present on Haraka, a speedy little node SMTP server. > https://github.com/baudehlo/Haraka/blob/master/README.md > > You're not required to have come to the July talk. (In fact, some of us > may be hoping we still remember any of the content from July- MONTHS > ago!) > > Pizza and pop/water are provided, sponsored by $anonymous. > > By next Thursday please put yourself on the pizza-list at: > http://kw.pm.org/wiki/index.cgi?PizzaList > > We are meeting in our usual location, DC 3323, at 7pm. > > Various other details can be found on our webpage at http://kw.pm.org/ > > Any questions, give a shout; either on this list, or irc.perl.org, > channel #uc > > -Daniel > > > _______________________________________________ > kw-pm mailing list > kw-pm at pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From daniel at coder.com Wed Sep 14 09:40:51 2011 From: daniel at coder.com (Daniel R. Allen) Date: Wed, 14 Sep 2011 12:40:51 -0400 (EDT) Subject: [kw-pm] Talk tomorrow: Node.js, Part Two Message-ID: Pizza-list reminder for tomorrow's meeting! http://kw.pm.org/wiki/index.cgi?PizzaList ---------- Forwarded message ---------- Date: Fri, 9 Sep 2011 15:31:08 -0400 (EDT) From: Daniel R. Allen To: kw-pm at mail.pm.org Subject: [kw-pm] Talk next Thursday: Node.js, Part Two The September KW Perl Mongers talk is next Thursday, Sept. 15th. The main topic will (again) be Node, a flexible event-driven I/O framework for server-side Javascript. http://nodejs.org/ You're not required to have come to the July talk. (In fact, some of us may be hoping we still remember any of the content from July- MONTHS ago!) Pizza and pop/water are provided, sponsored by $anonymous. By next Thursday please put yourself on the pizza-list at: http://kw.pm.org/wiki/index.cgi?PizzaList We are meeting in our usual location, DC 3323, at 7pm. Various other details can be found on our webpage at http://kw.pm.org/ Any questions, give a shout; either on this list, or irc.perl.org, channel #uc -Daniel _______________________________________________ kw-pm mailing list kw-pm at pm.org http://mail.pm.org/mailman/listinfo/kw-pm From rpjday at crashcourse.ca Wed Sep 21 05:13:40 2011 From: rpjday at crashcourse.ca (Robert P. J. Day) Date: Wed, 21 Sep 2011 08:13:40 -0400 (EDT) Subject: [kw-pm] numerous "perl: symbol lookup error" issues in a large software build Message-ID: i'm hoping one of you perl wizards can help me with something, as i need to resolve an annoying issue ASAP (as in, this morning if possible). if you're the first one to come up with the solution, the next time i am in K-W, i will buy you a *case* of beer. so here it is. i have my 64-bit laptop running a fully-updated ubuntu 11.04, and i'm using a proprietary build system to create an embedded linux image. (if you're familiar with openembedded, poky or yocto, you're thinking along the right lines.) the build involves creating a root filesystem full of stuff for a target board, so it involves starting with a number of pristine software tarballs, untarring each one, configuring, possibly applying some patches, then (cross-)compiling each one and installing it in a root filesystem location. eventually, once all of the packages are built and installed, that root filesystem is turned into an appropriate binary image and flashed to the target board. so, as i said, part of the process is to untar a pristine tarball, possibly patch it, configure it, then compile it, and that's where the problems start, as a number of those patches fail their config step looking for missing perl symbols. the first package that failed that way was the pacemaker package, and it failed simply trying to create the documentation that would be installed in the docs directory using publican, thusly: ===== big snip here ===== cd Pacemaker_Explained && /usr/local/bin/publican build --publish --langs=all --formats=pdf,html,html-single,txt perl: symbol lookup error: /usr/lib/perl5/auto/HTML/Parser/Parser.so: undefined symbol: Perl_Istack_sp_ptr Makefile:617: *** [Pacemaker_Explained.txt] Error 127 ===== end build ===== obviously(?), the publican package is invoking perl, and there's some XML and HTML parsing going on behind the scenes, at which point we have that symbol lookup error. i had no idea how to start debugging that so i posted to the perl beginners list and one person said he'd run into the same problem and solved it by installing the HTML::Parser module from CPAN. now, i have the ubuntu "libhtml-parser-perl" package installed which gives me that module but, as i understand it (and i might have misunderstood), i need to replace/update that with the CPAN module. if that's correct, i don't understand why. also, i would think i'd have to remove that ubuntu package first, and there's a *ton* of packages that depend on it, so that's not going to happen. would i simply use CPAN to install that module? and would it take precedence? and, ***most importantly***, why would that solve things? what kind of problem is this that installing a newer module would solve? and does it represent something in the build software itself that needs to be tweaked? in short, i not only want a solution, i want to know why this is happening and how to avoid it in the future. but wait, there's more. to get around that offending package, i simply removed it from the list of packages to be built. at which point, the next package (and a few more) failed similarly looking for a *different* symbol: + autoreconf perl: symbol lookup error: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr autoreconf: gnu-configize failed with exit status: 127 so it's a different missing symbol but i'm guessing this would have a similar solution (at last count, four packages failed looking for precisely that symbol). so ... what do i do? do i just install a newer CPAN module, which would override the current ubuntu package module? is that the recommended solution? and why? oh, one last thing. this is happening on ubuntu 11.04. officially, this build should simply work on ubuntu 10.04. i haven't verified that personally, but it's supposed to. so that suggests there's something that changed between ubuntu 10.04 and 11.04 that's causing this. anyway, thoughts? i'd really like to resolve this as quickly as possible. thanks. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== From fulko.hew at gmail.com Wed Sep 21 06:39:58 2011 From: fulko.hew at gmail.com (Fulko Hew) Date: Wed, 21 Sep 2011 09:39:58 -0400 Subject: [kw-pm] numerous "perl: symbol lookup error" issues in a large software build In-Reply-To: References: Message-ID: On Wed, Sep 21, 2011 at 8:13 AM, Robert P. J. Day wrote: ... snip ... > ===== big snip here ===== > cd Pacemaker_Explained && /usr/local/bin/publican build --publish > --langs=all --formats=pdf,html,html-single,txt > perl: symbol lookup error: /usr/lib/perl5/auto/HTML/Parser/Parser.so: > undefined symbol: Perl_Istack_sp_ptr > Makefile:617: *** [Pacemaker_Explained.txt] Error 127 > ===== end build ===== > > ?obviously(?), the publican package is invoking perl, and there's > some XML and HTML parsing going on behind the scenes, at which point > we have that symbol lookup error. My take on this is that Parser is written partly in Perl, and partly in (probably) C. (the stuff in the .so file). When 'Parser' was packaged/installed on Ubuntu, they packaged up/installed the Perl part, but not the corresponding .so file (or its an _incompatible_ version of the .so file). ... snip ... > i need to replace/update that with the CPAN module. Because that would provide you with the appropriate (working) _pair_ of files. > ?if that's correct, i don't understand why. ?also, i would think i'd > have to remove that ubuntu package first, and there's a *ton* of > packages that depend on it, so that's not going to happen. ?would i > simply use CPAN to install that module? ?and would it take precedence? > and, ***most importantly***, why would that solve things? ?what kind > of problem is this that installing a newer module would solve? ?and > does it represent something in the build software itself that needs to > be tweaked? ?in short, i not only want a solution, i want to know why > this is happening and how to avoid it in the future. ?but wait, > there's more. Hopefully when you rebuild it, it will be built (to install) in the same places as what Ubuntu does when they create their distribution. When you rebuild, you should pay attention to what is being installed and where, so that you can console yourself that you've done the right thing to the right places. ... snip ... > ?so ... what do i do? ?do i just install a newer CPAN module, which > would override the current ubuntu package module? ?is that the > recommended solution? ?and why? Yup, that would be my first approach (short of getting Ubuntu to fix their distribution, but you said you need the problem fixed 'this morning'). Fulko From tyler at piwebsolutions.ca Tue Sep 27 22:55:33 2011 From: tyler at piwebsolutions.ca (Tyler Slijboom) Date: Wed, 28 Sep 2011 01:55:33 -0400 Subject: [kw-pm] Perl Weekly Message-ID: <4E82B6D5.2070006@piwebsolutions.ca> I recently joined this weekly newsletter on Perl, and I find it can be helpful. http://perlweekly.com/ -- Sincerely, Tyler Slijboom PI Web Solutions, Inc. www.piwebsolutions.ca