Re: [Catalyst] installing catalyst on mac os
On Wed, Dec 24, 2008 at 10:08:16AM +, Tomas Doran wrote: This is more sage advice, the failures being seen weren't in the core Catalyst, but in addons, although the fact that Test::WWW::Mechanize::Catalyst is failing isn't good, as this is one of the things everyone should be encouraged to be using :( Has anyone looked into this yet? Cheers t0m Before the holiday this week I was also running into failing tests on Test::WWW::Mechanize::Catalyst on my OS X 10.5 installation. I believe it was trying to connect to localhost and not getting the result it expected. I don't have the test results on me now, but I will have to give it another try when I get back to work. My solution to the problem was to simply use Macports to install Catalyst and all of it's dependencies. A few things in there were a little dated, but for the most part things looked good. It also installs all of the Mac::Glue modules, which always seem to have test failures and compliations problems for me as well. Macports has both 5.8.8 and 5.10, but I'm using 5.10 as my default now, and all is working perfectly. -- Lee Aylward signature.asc Description: Digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
On Wed, Dec 24, 2008 at 06:51:08AM -0500, Filippo A. Salustri wrote: Just FYI, I'm a catalyst beginner, but I wrote my first perl script in 1986. So you can use big words and I'll very likely get it. Wow. Larry released 1.000 in december 1987, so you must have worked with him at NASA. -- Lars Balker RasmussenConsult::Perl ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a beginner. Catalyst runs *just fine* against the 5.8.6 that Apple ship. And I wouldn't recommend running 5.10.0 as that has a bug which makes it very hard to debug applications. You should probably avoid Task::Catalyst entirely. This is more sage advice, the failures being seen weren't in the core Catalyst, but in addons, although the fact that Test::WWW::Mechanize::Catalyst is failing isn't good, as this is one of the things everyone should be encouraged to be using :( Has anyone looked into this yet? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
Tomas, Ashley, et al, I've been using the installed version since I got the Mac - about 3 yrs ago. I've done alot in that time - /never/ had any trouble with perl 5.8.6. Just FYI, I'm a catalyst beginner, but I wrote my first perl script in 1986. So you can use big words and I'll very likely get it. I was trying to install Task::Catalyst cuz the online Catalyst manual says so. ...maybe the manual should be updated? I do recall trying just 'install Catalyst' some time ago, but that crapped out too. I'll try that again and see if the error messages look any different. Will post if there's anything new to report. I do appreciate all the input. Cheers. Fil Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a beginner. Catalyst runs *just fine* against the 5.8.6 that Apple ship. And I wouldn't recommend running 5.10.0 as that has a bug which makes it very hard to debug applications. You should probably avoid Task::Catalyst entirely. This is more sage advice, the failures being seen weren't in the core Catalyst, but in addons, although the fact that Test::WWW::Mechanize::Catalyst is failing isn't good, as this is one of the things everyone should be encouraged to be using :( Has anyone looked into this yet? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Filippo A. Salustri, Ph.D., P.Eng. Department of Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON, M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
Hi Fillipo, Have you checked out cat-install? It's located here: http://www.shadowcat.co.uk/static/cat-install Just wget that, and run perl cat-install and things should go as planned. HTH, -Devin On Wed, Dec 24, 2008 at 4:51 AM, Filippo A. Salustri salus...@ryerson.cawrote: Tomas, Ashley, et al, I've been using the installed version since I got the Mac - about 3 yrs ago. I've done alot in that time - /never/ had any trouble with perl 5.8.6. Just FYI, I'm a catalyst beginner, but I wrote my first perl script in 1986. So you can use big words and I'll very likely get it. I was trying to install Task::Catalyst cuz the online Catalyst manual says so. ...maybe the manual should be updated? I do recall trying just 'install Catalyst' some time ago, but that crapped out too. I'll try that again and see if the error messages look any different. Will post if there's anything new to report. I do appreciate all the input. Cheers. Fil Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a beginner. Catalyst runs *just fine* against the 5.8.6 that Apple ship. And I wouldn't recommend running 5.10.0 as that has a bug which makes it very hard to debug applications. You should probably avoid Task::Catalyst entirely. This is more sage advice, the failures being seen weren't in the core Catalyst, but in addons, although the fact that Test::WWW::Mechanize::Catalyst is failing isn't good, as this is one of the things everyone should be encouraged to be using :( Has anyone looked into this yet? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Filippo A. Salustri, Ph.D., P.Eng. Department of Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON, M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ http://deseng.ryerson.ca/%7Efil/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Devin Austin http://www.dreamhost.com/r.cgi?326568/hosting.html - Host with DreamHost! ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
Yes, Task::Catalyst is no longer used. The current tutorial says to use Task::Catalyst::Tutorial which is maintained. cpan Catalyst::Devel has been fine for me on Mac, Linux and even Strawberry perl on windows (with the exception of having to notest install HTTP::Server::Simple which is buried somewhere deep in the dependency chain) recently. On 24/12/2008, at 10:51 PM, Filippo A. Salustri wrote: Tomas, Ashley, et al, I've been using the installed version since I got the Mac - about 3 yrs ago. I've done alot in that time - /never/ had any trouble with perl 5.8.6. Just FYI, I'm a catalyst beginner, but I wrote my first perl script in 1986. So you can use big words and I'll very likely get it. I was trying to install Task::Catalyst cuz the online Catalyst manual says so. ...maybe the manual should be updated? I do recall trying just 'install Catalyst' some time ago, but that crapped out too. I'll try that again and see if the error messages look any different. Will post if there's anything new to report. I do appreciate all the input. Cheers. Fil Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a beginner. Catalyst runs *just fine* against the 5.8.6 that Apple ship. And I wouldn't recommend running 5.10.0 as that has a bug which makes it very hard to debug applications. You should probably avoid Task::Catalyst entirely. This is more sage advice, the failures being seen weren't in the core Catalyst, but in addons, although the fact that Test::WWW::Mechanize::Catalyst is failing isn't good, as this is one of the things everyone should be encouraged to be using :( Has anyone looked into this yet? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Filippo A. Salustri, Ph.D., P.Eng. Department of Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON, M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a beginner. He didn't say he was a Perl beginner. :) Yeah, sorry - total misreading on my part there.. He said he was new to Catalyst. The perl + libs OS X ships with have caused me many problems (nothing with Cat springs to mind, more C-based things like Storable) in the past from the public beta to 10.4. I've never had an issue with Apple's perl myself. I wouldn't use it for production (where I build my own from source), but I've always found it fine for development.. It's not bad advice, generally - but readers could have got the impression that Catalyst itself is unlikely to work on the perl which Apple ship, which isn't true.. This might be the problems with the temporarily out of sync content decoding layers in LWP v Mech. Which are all fixed in the newest versions. So installing LWP and WWW::Mechanize before Catalyst might be all that's needed. I think that is just idle speculation... I can confirm that right now for me, a freshly installed 5.8.8, pulling everything (including latest WWW::Mech, and latest LWP) from CPAN, WWW::Mech fails tests for me, as per: http://www.nntp.perl.org/group/perl.cpan.testers/2008/12/msg2920088.html https://rt.cpan.org/Ticket/Display.html?id=41834 Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
On 24 Dec 2008, at 11:51, Filippo A. Salustri wrote: I do recall trying just 'install Catalyst' some time ago, but that crapped out too. I'll try that again and see if the error messages look any different. How long ago is 'some time ago'? I did this on a fresh perl 5.8.8 less than two weeks ago, and Catalyst-Runtime + Catalyst-Devel (and all dependencies) installed cleanly from CPAN. Will post if there's anything new to report. Please do :) Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] installing catalyst on mac os
On Dec 24, 2008, at 2:07 PM, Tomas Doran wrote: On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a beginner. He didn't say he was a Perl beginner. :) Yeah, sorry - total misreading on my part there.. He said he was new to Catalyst. The perl + libs OS X ships with have caused me many problems (nothing with Cat springs to mind, more C-based things like Storable) in the past from the public beta to 10.4. I've never had an issue with Apple's perl myself. I wouldn't use it for production (where I build my own from source), but I've always found it fine for development.. It's not bad advice, generally - but readers could have got the impression that Catalyst itself is unlikely to work on the perl which Apple ship, which isn't true.. I've used every single OS X from the PB and I've had problems with all of them except 10.5 but I didn't keep it long enough to know if it would cause problems, I upgraded Perl as soon as I got my new machine. Maybe I do more odd things than you, but many system installs are not particularly hot. The vendors make goofy, subjective choices and releases get frozen with bugs. Red Hat Perl has also had big problems, which clobbered DBIC among other libs, just as another example. You should cook your own if you know how. This might be the problems with the temporarily out of sync content decoding layers in LWP v Mech. Which are all fixed in the newest versions. So installing LWP and WWW::Mechanize before Catalyst might be all that's needed. I think that is just idle speculation... I think that's just a cliche to fill space... There was an ongoing problem between Mech and LWP regarding decoding layers it was discussed on those lists, Perl Monks, and here too as it was messing with testing Cat apps. It was fixed. The last time I updated was about then and everything went fine. Without looking at test output it was a perfectly reasonable guess. I can confirm that right now for me, a freshly installed 5.8.8, pulling everything (including latest WWW::Mech, and latest LWP) from CPAN, WWW::Mech fails tests for me, as per: You're right. It's bad live tests. They're checking live sites which is prone to falling down, obviously, because sites change content. All the unit tests pass so a force install in this case is completely reasonable. j...@jasper[124]~/build/WWW-Mechanize-1.52prove -l lib t t/00-load.1/2 # Testing WWW::Mechanize 1.52, with LWP 5.822, Perl 5.01, /usr/bin/perl t/00-load.ok t/add_header..ok t/aliases.ok t/area_link...ok t/autocheck...ok t/clone...ok t/cookies.ok t/credentials-api.ok t/credentials.ok t/die.ok t/field...ok t/find_frame..ok t/find_image..ok t/find_inputs.ok t/find_link-warnings..ok t/find_link...ok t/find_link_idok t/form-parsingok t/frames..ok t/image-new...ok t/image-parse.ok t/link-base...ok t/link-relative...ok t/linkok t/new.ok t/pod-coverageok t/pod.ok t/regex-error.ok t/save_contentok t/select..ok t/taint...ok t/tickok t/upload..ok t/warnok t/warningsok All tests successful. Files=35, Tests=339, 20 wallclock secs ( 0.45 usr 0.41 sys + 14.26 cusr 2.88 csys = 18.00 CPU) Result: PASS ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/