From rjk-spug at tamias.net Sun Nov 1 05:41:30 2009 From: rjk-spug at tamias.net (Ronald J Kimball) Date: Sun, 1 Nov 2009 08:41:30 -0500 Subject: SPUG: O'Reilly User Group In-Reply-To: References: <3B81C2C962A2A04AB3086E8CEEA5124604578538@TACMAIL.tacoma.local> Message-ID: <20091101134130.GA22268@penkwe.pair.com> On Fri, Oct 30, 2009 at 08:08:25PM -0700, Andrew Sweger wrote: > On Fri, 30 Oct 2009, Worthey, Josh - Tacoma wrote: > > > I was wondering, is SPUG part of the O'Reilly User Group program? > > > > It looks like they provide decent discounts to members. > > Yes, I guess we are. It's not an exclusive club really. Are you looking > for a discount code or something? If so, I can do some digging (but I'm > also under a lot of time pressure with work, so if anyone else knows the > "secret", speak up!). The O'Reilly discount code for user group members is DSUG, which will save you 35% on all titles. Ronald From kevin-spug at fink.com Sun Nov 1 16:17:29 2009 From: kevin-spug at fink.com (Kevin Fink) Date: Sun, 1 Nov 2009 16:17:29 -0800 Subject: SPUG: mod_perl questions Message-ID: I'm building a fancy web redirector (can't say much about it beyond that) using mod_perl, but I'm finding that an awful lot of the literature out there (not to mention ALL of my limited experience) is rather outdated. It seems there is a plethora of modules, books, websites, etc discussing mod_perl wrt Apache 1.x, but there have been a lot of changes since then and I keep running into things that just don't work quite the same. I know a bunch of you are quite good at mod_perl (or at least were good enough to make me think you were back when you worked for me... :-) so I'm hoping for some pointers, both to general literature/websites/etc that I should be familiar with, as well as to some specific answers. For specifics: I am using the standard Test and Test::More modules to do most of my unit testing, as I have my various functional areas separated from the mod_perl-specific handlers. However, I would like to be able to unit test the mod_perl-specific stuff. Right now I'm doing some very simple stuff using Test::MockObject to create my $r, but it's kind of clunky. I tried using Test::Environment::Plugin::Apache2 but couldn't get it to work properly. I'm assuming I should be using Apache::Test but haven't found a good tutorial for it. Thoughts? I plan on doing two different kinds of logging - detailed logging of the requests and disposition of said requests, and logging of the intermediate external API calls that happen during the handling of the requests. My initial reading pointed me towards Apache::LogFile but that module seems to be woefully out of date - it isn't available in my Debian distribution, and I couldn't install it manually, as it required stuff that looks like it was from Apache 1.x. I could log directly to a DB (the data will end up in MySQL eventually, and this should be low-volume enough that performance shouldn't be an issue) but I'm not sure the best place to start with that. I saw a message from Ivan a while back talking about Apache::DBI but that doesn't seem to be available on my system (or at least I can't seem to find it - probably looking in the wrong place.) Pointers? Thanks in advance, Kevin From andrew at sweger.net Sun Nov 1 16:28:00 2009 From: andrew at sweger.net (Andrew Sweger) Date: Sun, 1 Nov 2009 16:28:00 -0800 (PST) Subject: SPUG: mod_perl questions In-Reply-To: Message-ID: On Sun, 1 Nov 2009, Kevin Fink wrote: > ...[snip]... I saw a message > from Ivan a while back talking about Apache::DBI but that doesn't seem > to be available on my system (or at least I can't seem to find it - > probably looking in the wrong place.) Pointers? Well, the first thing you need to do is upgrade from slink. ;) -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From kevin-spug at fink.com Sun Nov 1 16:38:46 2009 From: kevin-spug at fink.com (Kevin Fink) Date: Sun, 1 Nov 2009 16:38:46 -0800 Subject: SPUG: mod_perl questions In-Reply-To: References: Message-ID: Hey, if it was good enough for my Grandpappy, it's good enough for me! Next you'll be telling me I can't run my production web server on my VIC-20... I actually downgraded today, as I made the mistake of letting apt upgrade X, resulting in a couple hours of frustration while I tried to get it working on my old onboard video card. I finally gave up and forced it back down. Progress is annoying sometimes. On Sun, Nov 1, 2009 at 4:28 PM, Andrew Sweger wrote: > On Sun, 1 Nov 2009, Kevin Fink wrote: > >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ...[snip]... ?I saw a message >> from Ivan a while back talking about Apache::DBI but that doesn't seem >> to be available on my system (or at least I can't seem to find it - >> probably looking in the wrong place.) Pointers? > > Well, the first thing you need to do is upgrade from slink. ;) > > -- > Andrew B. Sweger -- The great thing about multitasking is that several > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?things can go wrong at once. > > > From jobs-noreply at seattleperl.org Tue Nov 3 17:07:40 2009 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Tue, 3 Nov 2009 17:07:40 -0800 (PST) Subject: SPUG: JOB: Perl webapp dev, Redmond, WA Message-ID: Perl Webapp Dev needed in the exciting document compliance industry Description ----------- If you're excited about the compliance industry (and who isn't) and have some of the following qualifications, we would love to know more about you. Even if you're not sure what this compliance stuff is (it does seem esoteric at times) or you suspect it might be extremely boring (this is true for most people), then you still might want to check this out. We think writing software that makes our customers awesome at managing documents and heroes when it comes to being audit-ready at the drop of a hat is actually kinda fun and very challenging. And frankly, we're warming up to all this compliance stuff. There's documents, revision histories, meta-data galore, workflow (state) diagrams, hierarchies, pointers going every-which-way, and even a good use for cryptographic checksums. Managing document compliance looks a lot like a good distributed source code management system when you look at it that way. So, have a closer look. If you're self-driven, love challenges, enjoy working with other geeks, and have at least half these qualifications (and want to develop the rest), then we want to hear from you. Our team is small, the job is daunting at times, and we need more talent to meet our development roadmap goals. You would be working on and using our core product, the Lucidoc Compliance Management Solution application; a web-based system largely developed in Perl, SQL, and JavaScript that has been in production use for ten years. Naturally, some of the work involves maintenance and customer support. But our primary efforts go toward adding new features based on customer, business, and market needs. Our management team is dedicated to keeping distractions to a minimum and roadblocks out of the way (although, they occasionally get through as I'm sure you're familiar with). The development team takes responsibility for deciding how things will be implemented within the framework of the development roadmap. We also have a lot of input into our future technical strategies. We're not just looking for another coder with the technical chops on some list of bullet points. We want someone who embodies The Three Great Virtues Of A Programmer. Someone with the fortitude to bring order to chaos, clarity to over-cleverness, and elegance to clumsy, brute-forced code. Someone fearless yet vindictive when faced with spaghetti code. Someone who demonstrates eternal vigilance against code entropy. Someone who strives to keep up with evolving development standards in web application infrastructure. Requirements ------------ This list is not necessarily complete but rather intends to give one a concept of the kind of developer we hope to work with. We don't expect anyone to make a "perfect score" and prefer that we are all striving for some unattainable perfection. A link to a more detailed job description is provided below. - Significant knowledge of and experience in Perl programming. - At least 5 years experience developing web-based applications, including working with session data storage, relational databases, caching, and inter-process communication. - A solid understanding of the "separation of concerns" and how it relates to a MVC application. - Experience and competence with Linux/UNIX, Subversion, Git, Mercurial or similar version control system, HTML & CSS, JavaScript, MySQL, and XML. - Understanding of professional software development processes. Including familiarity with the cycles of requirements definition, issue tracking, version control, automated testing, deployment and maintenance and Agile development methods. - The ability to think and make decisions rapidly based on business criteria, not exclusively on technical priorities. - Clear and articulate communication, both written and spoken. - Forward thinking mindset and the ability to consider future growth and analyze scalability of existing systems and software, and to apply those insights to current development. - The ability to quickly understand requirements, documentation and contribute code towards various project deliverables in a timely and professional manner is required. - Taking initiative beyond minimum expectations to determine long-term successes of the company. - Provide guidance and mentoring regarding best practices and software industry standards, code design and implementation. - Perform code reviews. Welcome augmentations --------------------- - Expertise with: JavaScript, mod_perl2, Oracle 10g database, MS SQL Server Other ----- - Working from home or telecommuting is occasionally possible but most work is done within our offices - we like white boards and solid, in-person architectural discussions. - No agencies or third party referrals. - No sponsorships available. - No relocation assistance is provided, however company will consider candidates willing to pay their own relocation expenses. - Full time, permanent position (W-2) - Stock options and a bonus plan are in place For a more complete job description, please see the following document: http://www.lucidoc.com/cgi/doc-gw.pl?ref=lcorp:10606 To apply for this position, please send your cover letter and resume to: careers-sd12-spug at lucidoc.com From jobs-noreply at seattleperl.org Sat Nov 7 13:34:59 2009 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Sat, 7 Nov 2009 13:34:59 -0800 (PST) Subject: SPUG: RoR Web Developer needed - Honolulu (full relo) Message-ID: EBS Northwest is conducting a search for a Senior Web Developer for a client in Honolulu. This is a contract-to-direct position. Full relocation is provided, telecommuting is not an option. Our client, a 2009 Best Places to Work winner, currently has a requirement for a Senior Web Developer. Requirements: Expert with HTTP, MVC, object oriented programming, unit testing, software patterns, relational databases and SQL, XML, XHTML, CSS, Ruby, Ruby on Rails. Candidate must have developed and delivered large web internal or public facing web applications. Experience with Linux, Java, and Apache is a plus. Experience with data warehouses, OLAP cubes, or large data sets is a plus. Job Duties: This person will join a fast moving and energetic team responsible for designing, developing, delivering and enhancing an enterprise web application. The ideal candidate must be energetic, a creative problem solver, contribute to team discussions and dynamics, and most importantly love what they do. Some travel to the mainland may be required. Minimum 4 year college degree required. Our client is a defense contractor and candidates must be eligible for a Secret Security Clearance. One requirement of the clearance is US Citizenship. Must be willing to relocate to Honolulu (relocation fully paid). Compensation is $90-115k base salary plus bonus eligibility. Extensive benefits. Please apply via our Hot Jobs page: http://www.ebs-northwest.com/hotjobs.asp Jeanine Kern EBS Northwest, Inc. Phone 360-863-0376 Fax 360-294-5082 Jeanine at ebs-northwest.com http://www.ebs-northwest.com/ http://www.linkedin.com/in/jeaninekern Executive Search and Recruiting Services From cmeyer at helvella.org Mon Nov 9 10:22:04 2009 From: cmeyer at helvella.org (Colin Meyer) Date: Mon, 9 Nov 2009 10:22:04 -0800 Subject: SPUG: RoR Web Developer needed - Honolulu (full relo) In-Reply-To: References: Message-ID: <20091109182204.GE7661@infula.marketoutsider.com> What, you can program RoR in Perl these days? That's an interesting development. :P -Colin. On Sat, Nov 07, 2009 at 01:34:59PM -0800, SPUG Jobs wrote: > EBS Northwest is conducting a search for a Senior Web Developer for a > client in Honolulu. This is a contract-to-direct position. Full > relocation is provided, telecommuting is not an option. > > Our client, a 2009 Best Places to Work winner, currently has a requirement > for a Senior Web Developer. > > Requirements: > > Expert with HTTP, MVC, object oriented programming, unit testing, software > patterns, relational databases and SQL, XML, XHTML, CSS, Ruby, Ruby on > Rails. Candidate must have developed and delivered large web internal or > public facing web applications. Experience with Linux, Java, and Apache is a > plus. Experience with data warehouses, OLAP cubes, or large data sets is a > plus. From andrew at sweger.net Mon Nov 9 15:01:45 2009 From: andrew at sweger.net (Andrew Sweger) Date: Mon, 9 Nov 2009 15:01:45 -0800 (PST) Subject: SPUG: RoR Web Developer needed - Honolulu (full relo) In-Reply-To: <20091109182204.GE7661@infula.marketoutsider.com> Message-ID: I dunno, if it includes relocation to Honolulu, maybe it's worth a shot. But then the cost of living there is a killer. The one that got me was: 2009 Best Places to Work includes the DoD On Mon, 9 Nov 2009, Colin Meyer wrote: > What, you can program RoR in Perl these days? That's an interesting > development. :P > > -Colin. > > On Sat, Nov 07, 2009 at 01:34:59PM -0800, SPUG Jobs wrote: > > EBS Northwest is conducting a search for a Senior Web Developer for a > > client in Honolulu. This is a contract-to-direct position. Full > > relocation is provided, telecommuting is not an option. > > > > Our client, a 2009 Best Places to Work winner, currently has a requirement > > for a Senior Web Developer. -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From MichaelRWolf at att.net Mon Nov 9 15:28:25 2009 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Mon, 9 Nov 2009 15:28:25 -0800 Subject: SPUG: RoR Web Developer needed - Honolulu (full relo) In-Reply-To: References: Message-ID: On Nov 9, 2009, at 3:01 PM, Andrew Sweger wrote: > I dunno, if it includes relocation to Honolulu, maybe it's worth a > shot. But then the cost of living there is a killer. > > The one that got me was: 2009 Best Places to Work includes the DoD Yeah, until we get another "Peace Dividend" and the layoffs begin.... No joke. A friend of mine was worried in the 90's that she'd loose her house because there was too much peace to keep her husband employed. -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From andrew at sweger.net Wed Nov 11 12:47:30 2009 From: andrew at sweger.net (Andrew Sweger) Date: Wed, 11 Nov 2009 12:47:30 -0800 (PST) Subject: SPUG: O'Reilly UG News: Try the all new Safari Books Online - 10 days free - no charge, no strings attached! Message-ID: News from O'Reilly User Groups If you would like to view this information in your browser, click here: http://post.oreilly.com/rd/9z1z337f8nicl6b8tp5ct7mk2ct2s47mujcu03ggkag *** All New Safari Books Online *** Try the new version of Safari Books Online during our Open House -- no charge, no strings attached! O'Reilly Media founder Tim O'Reilly is enthusiastic about the benefits of this new release: "Safari Books Online 6.0 is a complete, bottom-to-top revamping of the original service. The new UI is slicker and faster, with the kind of drag-and-drop goodness that people expect from a modern web application. In addition, we've added some long-requested features that take advantage of the online medium in ways that aren't possible with standalone ebooks." ** 10 Days Free ** Test drive Safari Books Online free for 10 days or 200 page views. Get your free trial now: http://post.oreilly.com/rd/9z1zg89j9uovr91umrij4cjlb5mrb0r45qhlgra07no There has never been a better time to check out Safari Books Online: - Access 8,500 Books & Videos Enjoy unlimited online access to more than 8,500 books and videos from the world's leading publishers, including O'Reilly Media, Addison-Wesley, Prentice Hall, Microsoft Press, Apress, Manning, Total Training, PeepCode and more. - Search Multiple Sources on One Platform Quickly search across the entire library to pinpoint just the information you need. You can even save your favorite searches as folders you name that automatically update as new information is added! - Read Books Before They are Published Be the first to learn about cutting edge topics. Read pre-publication manuscripts and interact with the authors. - Organize Your Favorites Create your own Favorites Folders for the books and videos you use the most. Drag and drop titles into folders. Build your own custom digital library within Safari Books Online. - Use Time-Saving Tools Rate and review books, attach your own notes, assign tags, highlight sections and bookmark pages of books as you read them. You can then search across your highlights, notes, and tags or even build and print custom summary documents. - Get Information Where You Need It Read mobile-friendly books directly from cell phones and mobile devices. Receive five download tokens per month to download chapters or full books to print or read offline. Whether you need to stay on the cutting edge of your field, learn new skills, or prepare for certification exams, you can learn more and spend less with Safari Books Online. See for Yourself. Try the New Safari Books Online On Us: http://post.oreilly.com/rd/9z1zu1i56dv5tsgk4e5hpdl0piplfout615bg3oe8j0 Forward It On! Know someone who might be interested? For a very limited time, try a Safari Library account on us -- no strings attached! Register during our Open House and test drive Safari Books Online for up to 10 days or 200 page views.* *Limited time offer ends November 24, 2009. Not available in all countries. Available to new subscribers only. Rough Cuts and Downloads not available during trial. Copyright 2009, Safari Books Online, LLC 1003 Gravenstein Hwy North | Sebastopol, CA 95472 All rights reserved. From cmeyer at helvella.org Wed Nov 11 13:35:50 2009 From: cmeyer at helvella.org (Colin Meyer) Date: Wed, 11 Nov 2009 13:35:50 -0800 Subject: SPUG: O'Reilly UG News: Try the all new Safari Books Online - 10 days free - no charge, no strings attached! In-Reply-To: References: Message-ID: <20091111213550.GR7661@infula.marketoutsider.com> Also note that, if you have a Seattle library card, then you can access Safari for free, via the spl website. Hmm. Not sure, but it appears to be an incomplete collection. I don't know if there are different levels of access to safari books. http://www.spl.org/default.asp?pageID=collection_db_subscription -Colin. On Wed, Nov 11, 2009 at 12:47:30PM -0800, Andrew Sweger wrote: > News from O'Reilly User Groups > > If you would like to view this information in your browser, click here: > > http://post.oreilly.com/rd/9z1z337f8nicl6b8tp5ct7mk2ct2s47mujcu03ggkag > > *** All New Safari Books Online *** > > Try the new version of Safari Books Online during our Open House -- no > charge, no strings attached! From MichaelRWolf at att.net Wed Nov 11 14:37:09 2009 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Wed, 11 Nov 2009 14:37:09 -0800 Subject: SPUG: O'Reilly UG News: Try the all new Safari Books Online - 10 days free - no charge, no strings attached! In-Reply-To: <20091111213550.GR7661@infula.marketoutsider.com> References: <20091111213550.GR7661@infula.marketoutsider.com> Message-ID: On Nov 11, 2009, at 1:35 PM, Colin Meyer wrote: > Also note that, if you have a Seattle library card, then you can > access > Safari for free, via the spl website. Hmm. Not sure, but it appears to [...] > http://www.spl.org/default.asp?pageID=collection_db_subscription And if you're an ACM member, there's a (different) subset here: http://pd.acm.org/books/saf_books.cfm ACM also has a subscription to "books 24x7" and Element K (online courses). -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From ssandv at gmail.com Mon Nov 16 14:30:51 2009 From: ssandv at gmail.com (Steve Sandvik) Date: Mon, 16 Nov 2009 14:30:51 -0800 Subject: SPUG: so is there a meeting tomorrow? Message-ID: <1f7343100911161430v1b163b47v39e96fee4008ce28@mail.gmail.com> Trying to figure out whether I should be planning to fight my way into downtown from Redmond tomorrow or not (it's not on my way home, really). I'd rather not do it and then find out it was all for naught. Steve Sandvik From jd at commandprompt.com Mon Nov 16 17:36:20 2009 From: jd at commandprompt.com (Joshua D. Drake) Date: Mon, 16 Nov 2009 17:36:20 -0800 Subject: SPUG: Speaking In-Reply-To: <20091022211817.GA6526@greengrey.org> References: <1256160608.22342.37.camel@jd-desktop.unknown.charter.com> <1256170051.4448.1.camel@norseth> <20091021.183558.71130498.kate@knavery.net> <1256225092.4956.6.camel@jd-desktop.unknown.charter.com> <20091022211817.GA6526@greengrey.org> Message-ID: <1258421780.5715.8.camel@jd-desktop.unknown.charter.com> On Thu, 2009-10-22 at 14:18 -0700, Ryan Corder wrote: > On Thu, Oct 22, 2009 at 08:24:52AM -0700, Joshua D. Drake wrote: > | Just so people are clear :). My idea on this is: > | > | I am a Perl developer > | I am not a DBA > | What are the 10 things to change in the postgresql.conf that can make > | postgresql go zip and what should I change them to? > > Well personally, even if with it not being a specifically Perl talk, I > would find this highly interesting. Mix some Perl things in and I think > you are set :) O.k. I feel dumb but I don't recall if we figured out if I was going to give this talk in December. > > -- PostgreSQL.org Major Contributor Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564 Consulting, Training, Support, Custom Development, Engineering If the world pushes look it in the eye and GRR. Then push back harder. - Salamander From steve at baylis.org Mon Nov 16 18:04:01 2009 From: steve at baylis.org (Steve Baylis) Date: Mon, 16 Nov 2009 18:04:01 -0800 Subject: SPUG: Speaking In-Reply-To: <1258421780.5715.8.camel@jd-desktop.unknown.charter.com> References: <1256160608.22342.37.camel@jd-desktop.unknown.charter.com> <1256170051.4448.1.camel@norseth> <20091021.183558.71130498.kate@knavery.net> <1256225092.4956.6.camel@jd-desktop.unknown.charter.com> <20091022211817.GA6526@greengrey.org> <1258421780.5715.8.camel@jd-desktop.unknown.charter.com> Message-ID: I for one would like to hear it, however the company that hosts SPUG is doing an office move in mid-December. Any chance you could give it at January's meeting and we'll kick the year off right by resurrecting SPUG? -Steve On Nov 16, 2009, at 5:36 PM, "Joshua D. Drake" wrote: > On Thu, 2009-10-22 at 14:18 -0700, Ryan Corder wrote: >> On Thu, Oct 22, 2009 at 08:24:52AM -0700, Joshua D. Drake wrote: >> | Just so people are clear :). My idea on this is: >> | >> | I am a Perl developer >> | I am not a DBA >> | What are the 10 things to change in the postgresql.conf that can >> make >> | postgresql go zip and what should I change them to? >> >> Well personally, even if with it not being a specifically Perl >> talk, I >> would find this highly interesting. Mix some Perl things in and I >> think >> you are set :) > > O.k. I feel dumb but I don't recall if we figured out if I was going > to > give this talk in December. > > >> >> > > > -- > PostgreSQL.org Major Contributor > Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564 > Consulting, Training, Support, Custom Development, Engineering > If the world pushes look it in the eye and GRR. Then push back > harder. - Salamander > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ From jd at commandprompt.com Tue Nov 17 09:02:17 2009 From: jd at commandprompt.com (Joshua D. Drake) Date: Tue, 17 Nov 2009 09:02:17 -0800 Subject: SPUG: Speaking In-Reply-To: References: <1256160608.22342.37.camel@jd-desktop.unknown.charter.com> <1256170051.4448.1.camel@norseth> <20091021.183558.71130498.kate@knavery.net> <1256225092.4956.6.camel@jd-desktop.unknown.charter.com> <20091022211817.GA6526@greengrey.org> <1258421780.5715.8.camel@jd-desktop.unknown.charter.com> Message-ID: <1258477337.9989.43.camel@jd-desktop.unknown.charter.com> On Mon, 2009-11-16 at 18:04 -0800, Steve Baylis wrote: > I for one would like to hear it, however the company that hosts SPUG > is doing an office move in mid-December. Any chance you could give it > at January's meeting and we'll kick the year off right by resurrecting > SPUG? Possibly. Let me look at my schedule. Joshua D. Drake > > -Steve > > > On Nov 16, 2009, at 5:36 PM, "Joshua D. Drake" > wrote: > > > On Thu, 2009-10-22 at 14:18 -0700, Ryan Corder wrote: > >> On Thu, Oct 22, 2009 at 08:24:52AM -0700, Joshua D. Drake wrote: > >> | Just so people are clear :). My idea on this is: > >> | > >> | I am a Perl developer > >> | I am not a DBA > >> | What are the 10 things to change in the postgresql.conf that can > >> make > >> | postgresql go zip and what should I change them to? > >> > >> Well personally, even if with it not being a specifically Perl > >> talk, I > >> would find this highly interesting. Mix some Perl things in and I > >> think > >> you are set :) > > > > O.k. I feel dumb but I don't recall if we figured out if I was going > > to > > give this talk in December. > > > > > >> > >> > > > > > > -- > > PostgreSQL.org Major Contributor > > Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564 > > Consulting, Training, Support, Custom Development, Engineering > > If the world pushes look it in the eye and GRR. Then push back > > harder. - Salamander > > > > _____________________________________________________________ > > Seattle Perl Users Group Mailing List > > POST TO: spug-list at pm.org > > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > > MEETINGS: 3rd Tuesdays > > WEB PAGE: http://seattleperl.org/ > -- PostgreSQL.org Major Contributor Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564 Consulting, Training, Support, Custom Development, Engineering If the world pushes look it in the eye and GRR. Then push back harder. - Salamander From jjuran at gmail.com Tue Nov 17 11:59:19 2009 From: jjuran at gmail.com (Joshua Juran) Date: Tue, 17 Nov 2009 11:59:19 -0800 Subject: SPUG: so is there a meeting tomorrow? In-Reply-To: <1f7343100911161430v1b163b47v39e96fee4008ce28@mail.gmail.com> References: <1f7343100911161430v1b163b47v39e96fee4008ce28@mail.gmail.com> Message-ID: On Nov 16, 2009, at 2:30 PM, Steve Sandvik wrote: > Trying to figure out whether I should be planning to fight my way into > downtown from Redmond tomorrow or not (it's not on my way home, > really). I'd rather not do it and then find out it was all for > naught. Survey says? Is there a meeting tonight? Josh From steve at baylis.org Tue Nov 17 12:20:50 2009 From: steve at baylis.org (Steve Baylis) Date: Tue, 17 Nov 2009 12:20:50 -0800 Subject: SPUG: so is there a meeting tomorrow? In-Reply-To: References: <1f7343100911161430v1b163b47v39e96fee4008ce28@mail.gmail.com> Message-ID: <314ddcbf0911171220p5aee69e8vb836be55c76a5c2b@mail.gmail.com> On Tue, Nov 17, 2009 at 11:59 AM, Joshua Juran wrote: > > Survey says? Is there a meeting tonight? > > I'm going to declare there's no meeting tonight. No one has asked me to play host and let people in, there's no presenter scheduled and there's been no announcement. Given the office move for Marchex next month and the lack of meetings lately, I'm going to assume we're also skipping December rather than finding an alternate host. Hopefully we can get things back on track and resume meetings in January. -Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From MichaelRWolf at att.net Tue Nov 17 13:33:17 2009 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Tue, 17 Nov 2009 13:33:17 -0800 Subject: SPUG: XPath on (less-than-perfect) HTML Message-ID: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> Yes, I know that XPath can only be applied to well-formed XML. That's the theoretical, pure, absolute truth. I'm working in the real world where I can't find a well-formed page. (For instance, http://validator.w3c.org does not validate such biggies as amazon.com, ask.com, google.com, or msn.com). For (my) practical purposes, there are no valid pages. What am I to (practically, not theoretically) do? What tricks do practical XPath users know that I might not? I'm trying to scrape pages across sites to aggregate data. I'm loathe to use regular expressions for all the pure reasons, but if pure isn't workable outside the ivory towers, that purity is useless in the real world. I've already tried: tidy -asxhtml tidy -asxml HTML::TokeParser XML::XPath XML::LibXML I can't take step #2 because step #1 (parsing the data) fails. Thanks for *practical* ideas, tricks, tips, and pointers.... Michael -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From skylos at gmail.com Tue Nov 17 13:55:59 2009 From: skylos at gmail.com (Skylos) Date: Tue, 17 Nov 2009 13:55:59 -0800 Subject: SPUG: XPath on (less-than-perfect) HTML In-Reply-To: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> References: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> Message-ID: <3650cdc00911171355n7449363csd2388ff317b84fd4@mail.gmail.com> Hm. Thats an interesting problem, but one I've handled. The approach I have pragmatically approached this kind of problem with is HTML::Parser - its just an event based parser that can fire my custom methods when hitting various data bits - start, end, comment, text, entities, etc. Throw a factory pattern in front of the parser object creation/accessor so that you get the right parser for the data source and just parse it. I just create a finite state machine for the particular data I'm tracking - example for "the text contents of the third TD on the second row of the table with the ID "explicit"" would result in something like the code below, which is probably wrong and won't compile because I didn't look at teh documentation and just typed it here. But at least you don't have to regexp and you don't have to worry about chunking and how that affects your expressions, right? pragmatically speaking, thats a win. Long as your data source types are fairly static, and limited in number. David package myHTMLParser::tabletr2td3; use base 'HTML::Parser'; sub text { my $text = shift; $DATA .= $text if ($state eq 'DATACOLLECT'); } sub start { my ($tag, $attr) = @_); if ($tag eq 'table') { if ($attr->{id} eq 'explicit') { $state = "INTABLE"; $tdcount = 0; $trcount = 0; $level = 0; } $level ++; } if ($tag eq 'tr') { $trcount ++ if ($level == 1 && $state eq 'INTABLE'); } if ($tag eq 'td') { $tdcount ++ if ($level == 1 && $trcount == 2 && $state eq 'INTABLE'); } if ($state eq 'INTABLE' && $tdcount == 3 && $trcount == 2 && level == 1) { $state = 'DATACOLLECT'; } } sub end { my ($tag) = @_; if ($tag eq 'table') { $level -- if ($level > 1); undef $state unless ($level); } if ($tag eq 'td' && $state eq 'DATACOLLECT') { $state = 'INTABLE'; } } "If only I could get rid of hunger by rubbing my belly" - Diogenes On Tue, Nov 17, 2009 at 1:33 PM, Michael R. Wolf wrote: > Yes, I know that XPath can only be applied to well-formed XML. > > That's the theoretical, pure, absolute truth. > > I'm working in the real world where I can't find a well-formed page. (For > instance, http://validator.w3c.org does not validate such biggies as > amazon.com, ask.com, google.com, or msn.com). For (my) practical > purposes, there are no valid pages. > > What am I to (practically, not theoretically) do? > > What tricks do practical XPath users know that I might not? > > I'm trying to scrape pages across sites to aggregate data. > > I'm loathe to use regular expressions for all the pure reasons, but if pure > isn't workable outside the ivory towers, that purity is useless in the real > world. > > I've already tried: > tidy -asxhtml > tidy -asxml > HTML::TokeParser > XML::XPath > XML::LibXML > > I can't take step #2 because step #1 (parsing the data) fails. > > Thanks for *practical* ideas, tricks, tips, and pointers.... > > Michael > > -- > Michael R. Wolf > All mammals learn by playing! > MichaelRWolf at att.net > > > > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cjac at colliertech.org Tue Nov 17 19:28:41 2009 From: cjac at colliertech.org (C.J. Adams-Collier) Date: Tue, 17 Nov 2009 19:28:41 -0800 Subject: SPUG: XPath on (less-than-perfect) HTML In-Reply-To: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> References: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> Message-ID: <1258514921.7075.19.camel@norseth> HTML::TreeBuilder::XPath On Tue, 2009-11-17 at 13:33 -0800, Michael R. Wolf wrote: > Yes, I know that XPath can only be applied to well-formed XML. > > That's the theoretical, pure, absolute truth. > > I'm working in the real world where I can't find a well-formed page. > (For instance, http://validator.w3c.org does not validate such biggies > as amazon.com, ask.com, google.com, or msn.com). For (my) practical > purposes, there are no valid pages. > > What am I to (practically, not theoretically) do? > > What tricks do practical XPath users know that I might not? > > I'm trying to scrape pages across sites to aggregate data. > > I'm loathe to use regular expressions for all the pure reasons, but if > pure isn't workable outside the ivory towers, that purity is useless > in the real world. > > I've already tried: > tidy -asxhtml > tidy -asxml > HTML::TokeParser > XML::XPath > XML::LibXML > > I can't take step #2 because step #1 (parsing the data) fails. > > Thanks for *practical* ideas, tricks, tips, and pointers.... > > Michael > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From MichaelRWolf at att.net Tue Nov 17 21:44:39 2009 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Tue, 17 Nov 2009 21:44:39 -0800 Subject: SPUG: XPath on (less-than-perfect) HTML In-Reply-To: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> References: <05999990-5A43-48C4-8AB4-FB84859EFE99@att.net> Message-ID: <2B2D3BF5-6D08-4925-9420-84FEFFB8AD30@att.net> On Nov 17, 2009, at 1:33 PM, Michael R. Wolf wrote: > Yes, I know that XPath can only be applied to well-formed XML. ...that is, unless it's told to recover from (and be quiet about) errors... XML::LibXML::Parser documents recover() and (obsolete) recover_silently() methods. Here's code that I got to work. Line 3 allows the parser to continue. Line 4 suppresses its warnings. 1. use XML::LibXML; 2. my $parser = XML::LibXML->new(); 3. $parser->recover(1); 4. $parser->recover(2); 5. my $doc = $parser->parse_html_string($scraped_content); 6. ($first_node, @nodes) = $doc->findnodes('/html/head/title'); 7. ok($first_node, 'HTML Title: Found one node...'); 8. ok(@nodes == 0, '... and no more nodes.'); 9. my $title = $first_node->textContent(); -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From andrew at sweger.net Sun Nov 22 17:49:14 2009 From: andrew at sweger.net (Andrew Sweger) Date: Sun, 22 Nov 2009 17:49:14 -0800 (PST) Subject: SPUG: Fwd: ISO location for perl/data center Message-ID: This message from Uri is kinda interesting. If you're excited about the idea of putting together a local development team and operating some hosting services, you might want to get in touch with Uri. There certainly is a rich Perl talent pool here. ------------------------ hello mongers, i have a client who has asked me an interesting question. they are in the discussion phase of opening a second data center for their hosting business. they are would like it to be west of the mississippi in the US but not california (too expensive) and east of there may work too. they are seeking a location where they could hire a small (maybe 3-6) staff of perl developers, but the number could grow over time. i am helping them with this search which is why i am bringing it to the pm groups. email me back if you think your area is a good fit for their needs. it should have an active perl community with hackers seeking work and decent rent and expenses for a data center. i already mentioned portland OR and boston. another area that works is seattle. what about your monger group's location? email me at uri at perlhunter.com with info about your perl monger group and such. thanx, uri -- Uri Guttman ------ uri at stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From MichaelRWolf at att.net Wed Nov 25 16:06:50 2009 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Wed, 25 Nov 2009 16:06:50 -0800 Subject: SPUG: XML::LibXSLT install on OS X produces "Non-aligned pointer being freed" Message-ID: <45DF1E83-F7FC-4FDF-BFB4-9717B926A58B@att.net> I'm trying to install XML-LibXSLT on OS X. My first attempts to install died with a bad version from 'xslt-config --version'. After doing a 'port install libxslt', that version went from 1.1.12 to 1.1.26, thus satisfying the need for 1.1.18. At that point the 'make test' phase ejects the errors I've listed in this message's subject. The previous 'make' phase succeeded, though it gave warnings about "file is not of required architecture". Running "file" on those files yields "Mach-O dynamically linked shared library i386", appropriate for my machine, and identical to all other files in that directory. Anyone with OS X have good results getting xsh (and all its dependencies) to install? Any suggestions for other fora (other than "google") to search or dig through? I've attached the output from "cpan XML::LibXSLT". Thanks, Michael ~ [0] $ cpan XML::LibXSLT CPAN: Term::ANSIColor loaded ok (v1.10) CPAN: Storable loaded ok (v2.15) Going to read '/Users/michael/.cpan/Metadata' Database was generated on Wed, 25 Nov 2009 21:28:45 GMT Running install for module 'XML::LibXSLT' CPAN: YAML loaded ok (v0.70) Running make for P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Module::Signature loaded ok (v0.61) WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Signature for /Users/michael/.cpan/sources/authors/id/P/PA/PAJAS/ CHECKSUMS ok CPAN: Compress::Zlib loaded ok (v2.023) Checksum for /Users/michael/.cpan/sources/authors/id/P/PA/PAJAS/XML- LibXSLT-1.70.tar.gz ok CPAN: Archive::Tar loaded ok (v1.54) XML-LibXSLT-1.70/ XML-LibXSLT-1.70/perl-libxml-mm.h XML-LibXSLT-1.70/t/ XML-LibXSLT-1.70/t/08literal.t XML-LibXSLT-1.70/t/09exslt.t XML-LibXSLT-1.70/t/02dromeds.t XML-LibXSLT-1.70/t/01basic.t XML-LibXSLT-1.70/t/14security.t XML-LibXSLT-1.70/t/12import.t XML-LibXSLT-1.70/t/05quick.t XML-LibXSLT-1.70/t/03input.t XML-LibXSLT-1.70/t/13error.t XML-LibXSLT-1.70/t/11utf8.t XML-LibXSLT-1.70/t/04params.t XML-LibXSLT-1.70/t/06entities.t XML-LibXSLT-1.70/t/06output.t XML-LibXSLT-1.70/t/07blankdoc.t XML-LibXSLT-1.70/t/10functions.t XML-LibXSLT-1.70/t/15misc.t XML-LibXSLT-1.70/testcases/ XML-LibXSLT-1.70/testcases/default.conf XML-LibXSLT-1.70/Changes XML-LibXSLT-1.70/example/ XML-LibXSLT-1.70/example/1.xsl XML-LibXSLT-1.70/example/2.xsl XML-LibXSLT-1.70/example/fatal.xsl XML-LibXSLT-1.70/example/nonfatal.xsl XML-LibXSLT-1.70/example/bad1.xsl XML-LibXSLT-1.70/example/1.xml XML-LibXSLT-1.70/example/bad3.xsl XML-LibXSLT-1.70/example/bad2.xsl XML-LibXSLT-1.70/example/2.xml XML-LibXSLT-1.70/MANIFEST XML-LibXSLT-1.70/typemap XML-LibXSLT-1.70/Driver/ XML-LibXSLT-1.70/Driver/LibXSLT.pm XML-LibXSLT-1.70/Driver/Sablotron.pm XML-LibXSLT-1.70/Driver/BaseClass.pm XML-LibXSLT-1.70/perl-libxml-mm.c XML-LibXSLT-1.70/LibXSLT.pm XML-LibXSLT-1.70/benchmark.pl XML-LibXSLT-1.70/ppport.h XML-LibXSLT-1.70/LibXSLT.xs XML-LibXSLT-1.70/Makefile.PL XML-LibXSLT-1.70/README XML-LibXSLT-1.70/META.yml CPAN: File::Temp loaded ok (v0.22) Package came without SIGNATURE CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz running xslt-config... ok looking for -lxslt... yes looking for -lexslt... yes running pkg-config libexslt... ok Checking if your kit is complete... Looks good Writing Makefile for XML::LibXSLT cp benchmark.pl blib/lib/XML/benchmark.pl cp LibXSLT.pm blib/lib/XML/LibXSLT.pm /usr/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp -typemap / System/Library/Perl/5.8.8/ExtUtils/typemap -typemap typemap LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c cc -c -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/ include -I/opt/local/include/libxml2 -arch ppc -arch i386 -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing - Wdeclaration-after-statement -I/usr/local/include -O3 -DVERSION= \"1.70\" -DXS_VERSION=\"1.70\" "-I/System/Library/Perl/5.8.8/darwin- thread-multi-2level/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c cc -c -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/ include -I/opt/local/include/libxml2 -arch ppc -arch i386 -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing - Wdeclaration-after-statement -I/usr/local/include -O3 -DVERSION= \"1.70\" -DXS_VERSION=\"1.70\" "-I/System/Library/Perl/5.8.8/darwin- thread-multi-2level/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT perl- libxml-mm.c Running Mkbootstrap for XML::LibXSLT () chmod 644 LibXSLT.bs rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.bundle LD_RUN_PATH="/opt/local/lib:/usr/lib" cc -mmacosx-version-min=10.5.7 - arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib LibXSLT.o perl-libxml-mm.o -o blib/arch/auto/XML/LibXSLT/ LibXSLT.bundle \ -L/opt/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lm -L/opt/ local/lib -lexslt -lpthread -liconv -ldbm -ldl -lm -lutil -lc \ ld warning: in /opt/local/lib/libxslt.dylib, file is not of required architecture ld warning: in /opt/local/lib/libxml2.dylib, file is not of required architecture ld warning: in /opt/local/lib/libz.dylib, file is not of required architecture ld warning: in /opt/local/lib/libexslt.dylib, file is not of required architecture chmod 755 blib/arch/auto/XML/LibXSLT/LibXSLT.bundle cp LibXSLT.bs blib/arch/auto/XML/LibXSLT/LibXSLT.bs chmod 644 blib/arch/auto/XML/LibXSLT/LibXSLT.bs Manifying blib/man3/XML::LibXSLT.3pm PAJAS/XML-LibXSLT-1.70.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/01basic.t ...... 1/4 Compiled against: libxslt 10126, libxml2 20616 Running: libxslt 10126, libxml2 20616 Compiled with EXSLT: yes t/01basic.t ...... ok t/02dromeds.t .... 1/6 perl(96104) malloc: *** error for object 0x83684c: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug t/02dromeds.t .... All 6 subtests passed t/03input.t ...... ok t/04params.t ..... 1/8 perl(96107) malloc: *** error for object 0x818a14: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug t/04params.t ..... Failed 2/8 subtests t/05quick.t ...... 1/11 perl(96108) malloc: *** error for object 0x837e88: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug t/05quick.t ...... Failed 7/11 subtests t/06entities.t ... ok t/06output.t ..... ok t/07blankdoc.t ... 1/5 perl(96111) malloc: *** error for object 0x1150: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug perl(96111) malloc: *** error for object 0x6174: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug t/07blankdoc.t ... All 5 subtests passed t/08literal.t .... ok t/09exslt.t ...... ok t/10functions.t .. ok t/11utf8.t ....... ok t/12import.t ..... ok t/13error.t ...... ok t/14security.t ... ok t/15misc.t ....... ok Test Summary Report ------------------- t/02dromeds.t (Wstat: 11 Tests: 6 Failed: 0) Non-zero wait status: 11 t/04params.t (Wstat: 11 Tests: 6 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 8 tests but ran 6. t/05quick.t (Wstat: 11 Tests: 4 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 11 tests but ran 4. t/07blankdoc.t (Wstat: 11 Tests: 5 Failed: 0) Non-zero wait status: 11 Files=16, Tests=222, 3 wallclock secs ( 0.11 usr 0.06 sys + 0.83 cusr 0.22 csys = 1.22 CPU) Result: FAIL Failed 4/16 test programs. 0/222 subtests failed. make: *** [test_dynamic] Error 255 PAJAS/XML-LibXSLT-1.70.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PAJAS/XML-LibXSLT-1.70.tar.gz Running make install make test had returned bad status, won't install without force ~ [0] $ -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From michaelrwolf at att.net Wed Nov 25 16:10:15 2009 From: michaelrwolf at att.net (Michael R. Wolf) Date: Wed, 25 Nov 2009 16:10:15 -0800 Subject: SPUG: Can you recommend an interactive XPath shell Message-ID: <457C0B30-3EE4-46B5-8F35-EAA046D80977@att.net> I tried the shell option to xmllint(1), but it's lack of command-line history (see "virtue, laziness") had me chase xsh(1), especially since Randal Schwartz had a nifty write-up on it a few years ago in Linux Journal. I'm unable to install XML::LibXSLT (see previous message), so I can't get xsh(1). Any other suggestions for a shell that can let me traverse an in- memory XML tree? -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From cjac at colliertech.org Wed Nov 25 17:40:11 2009 From: cjac at colliertech.org (C.J. Adams-Collier) Date: Wed, 25 Nov 2009 17:40:11 -0800 Subject: SPUG: XML::LibXSLT install on OS X produces "Non-aligned pointer being freed" In-Reply-To: <45DF1E83-F7FC-4FDF-BFB4-9717B926A58B@att.net> References: <45DF1E83-F7FC-4FDF-BFB4-9717B926A58B@att.net> Message-ID: <1259199611.12377.408.camel@norseth> does qemu run on OS X? jaunty will probably install it pretty easily On Wed, 2009-11-25 at 16:06 -0800, Michael R. Wolf wrote: > I'm trying to install XML-LibXSLT on OS X. My first attempts to > install died with a bad version from 'xslt-config --version'. After > doing a 'port install libxslt', that version went from 1.1.12 to > 1.1.26, thus satisfying the need for 1.1.18. At that point the 'make > test' phase ejects the errors I've listed in this message's subject. > The previous 'make' phase succeeded, though it gave warnings about > "file is not of required architecture". Running "file" on those files > yields "Mach-O dynamically linked shared library i386", appropriate > for my machine, and identical to all other files in that directory. > > Anyone with OS X have good results getting xsh (and all its > dependencies) to install? > > Any suggestions for other fora (other than "google") to search or dig > through? > > I've attached the output from "cpan XML::LibXSLT". > > Thanks, > Michael > > > > ~ [0] $ cpan XML::LibXSLT > CPAN: Term::ANSIColor loaded ok (v1.10) > CPAN: Storable loaded ok (v2.15) > Going to read '/Users/michael/.cpan/Metadata' > Database was generated on Wed, 25 Nov 2009 21:28:45 GMT > Running install for module 'XML::LibXSLT' > CPAN: YAML loaded ok (v0.70) > Running make for P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz > CPAN: Digest::SHA loaded ok (v5.47) > CPAN: Module::Signature loaded ok (v0.61) > WARNING: This key is not certified with a trusted signature! > Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F > 89EC > Signature for /Users/michael/.cpan/sources/authors/id/P/PA/PAJAS/ > CHECKSUMS ok > CPAN: Compress::Zlib loaded ok (v2.023) > Checksum for /Users/michael/.cpan/sources/authors/id/P/PA/PAJAS/XML- > LibXSLT-1.70.tar.gz ok > CPAN: Archive::Tar loaded ok (v1.54) > XML-LibXSLT-1.70/ > XML-LibXSLT-1.70/perl-libxml-mm.h > XML-LibXSLT-1.70/t/ > XML-LibXSLT-1.70/t/08literal.t > XML-LibXSLT-1.70/t/09exslt.t > XML-LibXSLT-1.70/t/02dromeds.t > XML-LibXSLT-1.70/t/01basic.t > XML-LibXSLT-1.70/t/14security.t > XML-LibXSLT-1.70/t/12import.t > XML-LibXSLT-1.70/t/05quick.t > XML-LibXSLT-1.70/t/03input.t > XML-LibXSLT-1.70/t/13error.t > XML-LibXSLT-1.70/t/11utf8.t > XML-LibXSLT-1.70/t/04params.t > XML-LibXSLT-1.70/t/06entities.t > XML-LibXSLT-1.70/t/06output.t > XML-LibXSLT-1.70/t/07blankdoc.t > XML-LibXSLT-1.70/t/10functions.t > XML-LibXSLT-1.70/t/15misc.t > XML-LibXSLT-1.70/testcases/ > XML-LibXSLT-1.70/testcases/default.conf > XML-LibXSLT-1.70/Changes > XML-LibXSLT-1.70/example/ > XML-LibXSLT-1.70/example/1.xsl > XML-LibXSLT-1.70/example/2.xsl > XML-LibXSLT-1.70/example/fatal.xsl > XML-LibXSLT-1.70/example/nonfatal.xsl > XML-LibXSLT-1.70/example/bad1.xsl > XML-LibXSLT-1.70/example/1.xml > XML-LibXSLT-1.70/example/bad3.xsl > XML-LibXSLT-1.70/example/bad2.xsl > XML-LibXSLT-1.70/example/2.xml > XML-LibXSLT-1.70/MANIFEST > XML-LibXSLT-1.70/typemap > XML-LibXSLT-1.70/Driver/ > XML-LibXSLT-1.70/Driver/LibXSLT.pm > XML-LibXSLT-1.70/Driver/Sablotron.pm > XML-LibXSLT-1.70/Driver/BaseClass.pm > XML-LibXSLT-1.70/perl-libxml-mm.c > XML-LibXSLT-1.70/LibXSLT.pm > XML-LibXSLT-1.70/benchmark.pl > XML-LibXSLT-1.70/ppport.h > XML-LibXSLT-1.70/LibXSLT.xs > XML-LibXSLT-1.70/Makefile.PL > XML-LibXSLT-1.70/README > XML-LibXSLT-1.70/META.yml > CPAN: File::Temp loaded ok (v0.22) > Package came without SIGNATURE > > > CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz > > running xslt-config... ok > looking for -lxslt... yes > looking for -lexslt... yes > running pkg-config libexslt... ok > Checking if your kit is complete... > Looks good > Writing Makefile for XML::LibXSLT > cp benchmark.pl blib/lib/XML/benchmark.pl > cp LibXSLT.pm blib/lib/XML/LibXSLT.pm > /usr/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp -typemap / > System/Library/Perl/5.8.8/ExtUtils/typemap -typemap typemap > LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c > cc -c -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/ > include -I/opt/local/include/libxml2 -arch ppc -arch i386 -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing - > Wdeclaration-after-statement -I/usr/local/include -O3 -DVERSION= > \"1.70\" -DXS_VERSION=\"1.70\" "-I/System/Library/Perl/5.8.8/darwin- > thread-multi-2level/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT > LibXSLT.c > cc -c -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/ > include -I/opt/local/include/libxml2 -arch ppc -arch i386 -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing - > Wdeclaration-after-statement -I/usr/local/include -O3 -DVERSION= > \"1.70\" -DXS_VERSION=\"1.70\" "-I/System/Library/Perl/5.8.8/darwin- > thread-multi-2level/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT perl- > libxml-mm.c > Running Mkbootstrap for XML::LibXSLT () > chmod 644 LibXSLT.bs > rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.bundle > LD_RUN_PATH="/opt/local/lib:/usr/lib" cc -mmacosx-version-min=10.5.7 - > arch ppc -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib > LibXSLT.o perl-libxml-mm.o -o blib/arch/auto/XML/LibXSLT/ > LibXSLT.bundle \ > -L/opt/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lm -L/opt/ > local/lib -lexslt -lpthread -liconv -ldbm -ldl -lm -lutil -lc \ > > ld warning: in /opt/local/lib/libxslt.dylib, file is not of required > architecture > ld warning: in /opt/local/lib/libxml2.dylib, file is not of required > architecture > ld warning: in /opt/local/lib/libz.dylib, file is not of required > architecture > ld warning: in /opt/local/lib/libexslt.dylib, file is not of required > architecture > chmod 755 blib/arch/auto/XML/LibXSLT/LibXSLT.bundle > cp LibXSLT.bs blib/arch/auto/XML/LibXSLT/LibXSLT.bs > chmod 644 blib/arch/auto/XML/LibXSLT/LibXSLT.bs > Manifying blib/man3/XML::LibXSLT.3pm > PAJAS/XML-LibXSLT-1.70.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/01basic.t ...... 1/4 > > Compiled against: libxslt 10126, libxml2 20616 > Running: libxslt 10126, libxml2 20616 > Compiled with EXSLT: yes > > t/01basic.t ...... ok > t/02dromeds.t .... 1/6 perl(96104) malloc: *** error for object > 0x83684c: Non-aligned pointer being freed > *** set a breakpoint in malloc_error_break to debug > t/02dromeds.t .... All 6 subtests passed > t/03input.t ...... ok > t/04params.t ..... 1/8 perl(96107) malloc: *** error for object > 0x818a14: Non-aligned pointer being freed > *** set a breakpoint in malloc_error_break to debug > t/04params.t ..... Failed 2/8 subtests > t/05quick.t ...... 1/11 perl(96108) malloc: *** error for object > 0x837e88: Non-aligned pointer being freed > *** set a breakpoint in malloc_error_break to debug > t/05quick.t ...... Failed 7/11 subtests > t/06entities.t ... ok > t/06output.t ..... ok > t/07blankdoc.t ... 1/5 perl(96111) malloc: *** error for object > 0x1150: Non-aligned pointer being freed (2) > *** set a breakpoint in malloc_error_break to debug > perl(96111) malloc: *** error for object 0x6174: Non-aligned pointer > being freed > *** set a breakpoint in malloc_error_break to debug > t/07blankdoc.t ... All 5 subtests passed > t/08literal.t .... ok > t/09exslt.t ...... ok > t/10functions.t .. ok > t/11utf8.t ....... ok > t/12import.t ..... ok > t/13error.t ...... ok > t/14security.t ... ok > t/15misc.t ....... ok > > Test Summary Report > ------------------- > t/02dromeds.t (Wstat: 11 Tests: 6 Failed: 0) > Non-zero wait status: 11 > t/04params.t (Wstat: 11 Tests: 6 Failed: 0) > Non-zero wait status: 11 > Parse errors: Bad plan. You planned 8 tests but ran 6. > t/05quick.t (Wstat: 11 Tests: 4 Failed: 0) > Non-zero wait status: 11 > Parse errors: Bad plan. You planned 11 tests but ran 4. > t/07blankdoc.t (Wstat: 11 Tests: 5 Failed: 0) > Non-zero wait status: 11 > Files=16, Tests=222, 3 wallclock secs ( 0.11 usr 0.06 sys + 0.83 > cusr 0.22 csys = 1.22 CPU) > Result: FAIL > Failed 4/16 test programs. 0/222 subtests failed. > make: *** [test_dynamic] Error 255 > PAJAS/XML-LibXSLT-1.70.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports PAJAS/XML-LibXSLT-1.70.tar.gz > Running make install > make test had returned bad status, won't install without force > > ~ [0] $ > > > -- > Michael R. Wolf > All mammals learn by playing! > MichaelRWolf at att.net > > > > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From bill at celestial.com Wed Nov 25 17:58:49 2009 From: bill at celestial.com (Bill Campbell) Date: Wed, 25 Nov 2009 17:58:49 -0800 Subject: SPUG: XML::LibXSLT install on OS X produces "Non-aligned pointer being freed" In-Reply-To: <45DF1E83-F7FC-4FDF-BFB4-9717B926A58B@att.net> References: <45DF1E83-F7FC-4FDF-BFB4-9717B926A58B@att.net> Message-ID: <20091126015849.GA31066@ayn.mi.celestial.com> On Wed, Nov 25, 2009, Michael R. Wolf wrote: > I'm trying to install XML-LibXSLT on OS X. My first attempts to install > died with a bad version from 'xslt-config --version'. After doing a > 'port install libxslt', that version went from 1.1.12 to 1.1.26, thus > satisfying the need for 1.1.18. At that point the 'make test' phase > ejects the errors I've listed in this message's subject. The previous > 'make' phase succeeded, though it gave warnings about "file is not of > required architecture". Running "file" on those files yields "Mach-O > dynamically linked shared library i386", appropriate for my machine, and > identical to all other files in that directory. > > Anyone with OS X have good results getting xsh (and all its > dependencies) to install? I haven't tried that, but did have some problems when moving to Snow Leopard from Leopard. First off it requires a new xcode. Then I ran into problems building python-2.4.6 as gcc was throwing various errors which required patches to python. I have built the OpenPKG version of libxslt-1.1.24 with all the necessary dependencies, but don't have either macports or fink on this machine. If the system is running Snow Leopard and was updated from a Leopard install, it's entirely possible that you would need to rebuild libraries and packages that were built under Leopard. Happy Thanksgiving folks. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 One of the ordinary modes, by which tyrants accomplish their purposes without resistance, is, by disarming the people, and making it an offense to keep arms. -- Constitutional scholar and Supreme Court Justice Joseph Story