Slashdot Mirror


Apple's Mac OS X Update Breaks Perl

mir writes "It looks like if you use CPAN to install modules, Apple's latest security update might just have broken your Perl. According to Tatsuhiko Miyagawa 'The Security Update brings (old) IO.bundle with version 1.22 but your IO.pm has been updated to the latest 1.23 on CPAN shell. (But hey, 1.23 was released in 2006...Why do you bring that ancient version back, Apple!?)'."

264 comments

  1. Apple by Anonymous Coward · · Score: 3, Insightful

    "It just works"

    1. Re:Apple by telchine · · Score: 5, Funny

      Some would argue that Perl has been broken for a long time before Apple started meddling!

    2. Re:Apple by ThePhilips · · Score: 3, Informative

      This is not a first Apple's blopper. Any OS vendor might have those.

      The question is how long would it take for Apple to fix that. In the blog post linked Fedora Perl issues actually took about year to deliver fix for RHEL.

      While compiling and using your own build of Perl (or using Fink) on Mac OS X is absolutely OK, under RHEL that might easily screw up your RH support contract...

      --
      All hope abandon ye who enter here.
    3. Re:Apple by Gadget_Guy · · Score: 5, Funny

      Oh, I see. I was under the impression that the phrase "It just works" was a synonym for something like "It simply works". Apparently it is a synonym for "It barely works".

      OK, that was a bit unfair. Every OS gets the occasional problem when doing updates. Assuming that there is a forthcoming fix in the near future, there is no need to obsess about it.

    4. Re:Apple by icannotthinkofaname · · Score: 2, Funny

      Oh, I see. I was under the impression that the phrase "It just works" was a synonym for something like "It simply works". Apparently it is a synonym for "It barely works".

      I thought "It barely works" is M$ Windows. Or is there less difference between the companies than one would initially guess?

      --
      Let q be a radix > 1. I am in ur base-q, killing 10 d00ds.
    5. Re:Apple by Anonymous Coward · · Score: 0

      "This is another reason why you shouldn't use Perl that comes from vendors," Miyagawa says. "Apple isn't any different from Fedora on this!"

    6. Re:Apple by leamanc · · Score: 1

      It does just work, if you take what Apple gives you and don't customize it too much. Installing your own modules? Not the Apple way. Go to Linux for that kind of thing. Who would use OS X for serious Perl work anyway?

      --
      :q!
    7. Re:Apple by hobbit · · Score: 1

      Flamebait? Get a sense of humour (and perspective).

      --
      "Wise men talk because they have something to say; fools, because they have to say something" - Plato
    8. Re:Apple by Sillygates · · Score: 1

      under RHEL that might easily screw up your RH support contract

      It's unfortunate that the package was broken, though compiling your own version will not void any service contracts.

      See: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-filesystem-fhs.html
      /usr/local/, its taken from fhs, which redhat honors.

      Also, the standard redhat PATH contains /usr/local/bin before /usr/bin, or even /bin.

      --
      I fear the Y2038 bug
    9. Re:Apple by emm-tee · · Score: 2, Informative

      Oh, I see. I was under the impression that the phrase "It just works" was a synonym for something like "It simply works". Apparently it is a synonym for "It barely works".

      OK, that was a bit unfair. Every OS gets the occasional problem when doing updates. Assuming that there is a forthcoming fix in the near future, there is no need to obsess about it.

      That is rather unfair -

      The problem only affects certain "knowledgeable" users who changed certain operating system files.

      An operating system update can hardly be expected to work-around all the hacks people have made to the operating system's own files.

      If different versions of the files were required by the user, they should have been installed in a separate location.

    10. Re:Apple by ThePhilips · · Score: 2, Interesting

      It's unfortunate that the package was broken, though compiling your own version will not void any service contracts.

      They can't void service contract.

      Disclaimer: I never used RHEL, only talked in past on several occasions with frustrated users. (Frustration mainly coming from the fact that they expected more freedom from RHEL, yet in the end got pretty much the same deal (albeit cheaper) as from proprietary *nix vendors.)

      I was under impression that if RH support finds some custom build application, they would first ask to remove it (or restore system from backup) before they would start actually helping your with problem. At least I know of one such case with custom build Apache server.

      --
      All hope abandon ye who enter here.
    11. Re:Apple by Gadget_Guy · · Score: 1

      Flamebait? Get a sense of humour (and perspective).

      Hey thanks for sticking up for me, but you don't have to worry. The people who mod first are the ones who don't read the entire message. Right now I am considered to be an insightful (30%) and funny (20%) troll (20%).

      Plus I'm 30% Dolomite, so I can take the flames anyway.

    12. Re:Apple by Anonymous Coward · · Score: 0

      "It just works"

      Matt here. (No, I don't feel like making ANOTHER freaking account!)

      CPAN and Perl have been trouble since 10.5.0, how is this news? As for the Anon posting "It just works", yah buddy, I bet your whole computing prowess involves turning on the switch and that is it.

      I hear complaints from end users about this and that doesn't work blah blah blah and yet they can't do even the most mundane technical tasks. Windows users do it just the same.

    13. Re:Apple by shutdown+-p+now · · Score: 1

      The slogan in its fullest is actually:

      "It just works; we reserve exclusive rights to define what 'it' and 'works' mean."

    14. Re:Apple by jbolden · · Score: 2, Informative

      You can use the darwin ports version and get the latest perl. Apple supports a stable Perl in line with their mainstream users and an up to the minute Perl for their development community.

    15. Re:Apple by Anonymous Coward · · Score: 0

      "It just works"

      Horseshit. Apple told us that Mac's are already secure, so obviously this "security update" is simply a scam.

    16. Re:Apple by SanityInAnarchy · · Score: 0

      Well, Apple does more DRM, more vendor lock-in, more proprietary secrets, and more evil business practices (suing anyone who says bad things about them) than Microsoft ever did.

      My assumption was that the only advantage of Apple is that there isn't a market where they have a huge enough marketshare to relax, especially when they have such a reputation for quality. So while Microsoft can put out Windows ME and Vista and still make money, a release like that could kill Apple.

      So, if Apple ever stops "just working", you really do have a point.

      However, Apple does ship with Perl preinstalled on every copy of OS X I've ever used. Leopard ships with Ruby on Rails, and Rubygems to make it easy to upgrade if you need to. Windows ships with neither of these things. So to have a feature fall short of "just working" when Microsoft doesn't have that feature at all isn't really a point MS has over Apple.

      Then again, on Ubuntu, CPAN is something which usually Just Works.

      --
      Don't thank God, thank a doctor!
    17. Re:Apple by SanityInAnarchy · · Score: 2, Informative

      Who would use OS X for serious Perl work anyway?

      I suppose, people who prefer OS X to Linux. In fact, the Ruby community seems to be using OS X quite a lot, lately.

      --
      Don't thank God, thank a doctor!
    18. Re:Apple by leamanc · · Score: 1

      I prefer OS X to Linux, but I'm not going to use Apple's Perl distribution. It's just too much of a hassle to do anything beyond plain-vanilla stuff. If you install third-party stuff, you run the risk of having Apple overwrite, or end up with a broken Perl, just like in this case.

      --
      :q!
    19. Re:Apple by CAIMLAS · · Score: 1

      Correct me if I'm wrong here, but Apple doesn't even offer something akin to a RH support contract.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    20. Re:Apple by falconwolf · · Score: 1

      Correct me if I'm wrong here, but Apple doesn't even offer something akin to a RH support contract.

      I'm not sure what you mean but Apple does offer software support.

      Falcon

    21. Re:Apple by falconwolf · · Score: 1

      The problem only affects certain "knowledgeable" users who changed certain operating system files.

      You have it backwards. Apple's OS X upgrade affected Apple's implementation of Perl. If you built Perl yourself the update doesn't affect you.

      If different versions of the files were required by the user

      The update affected files that Apple provided. The "Security Update brings (old) IO.bundle with version 1.22 but your IO.pm has been updated to the latest 1.23 on CPAN shell." Replacing the new bundle with an older one is what caused the breakage.

      Falcon

    22. Re:Apple by falconwolf · · Score: 1

      Well, Apple does more DRM, more vendor lock-in, more proprietary secrets, and more evil business practices

      Citation needed.

      Apple does ship with Perl preinstalled on every copy of OS X I've ever used. Leopard ships with Ruby on Rails

      Having switched from Windows to OS X I haven't tried Perl on my Mac yet. Ruby in Rails comes with Leopard? I didn't know that, as I've been thinking about learning it it's nice to know I already have it installed, or can install it from the Leopard install disks.

      Falcon

    23. Re:Apple by aevans · · Score: 1

      not for Perl.

    24. Re:Apple by trouser · · Score: 2, Insightful

      Hey, does anybody remember that awesome time long ago when Apple first included Python with OSX? For awhile there the version installed was Python 2.3. Not 2.3.x like the versions that actually exist and everybody else uses. Just Python 2.3. It was like a special Apple only version of Python.

      My favourite feature was that it didn't pass all the tests in the test suite, like it was so special that they just knew they didn't have to test their special Apple build of Python. In particular the pickle module was hosed which maybe didn't bother all that many people but if you happened to be working on something in Python on a Mac using that build of Python all those years ago then maybe, just briefly, you sensed the reality distortion field weakening and maybe you even uttered a few harsh words about Apple under your breath.

      That was the best Python ever.

      And now you can use special Apple Perl. Apple is just so awesome.

      --
      Now wash your hands.
    25. Re:Apple by Anonymous Coward · · Score: 0

      English. Do you speak it?

    26. Re:Apple by Denny · · Score: 1

      This is /. - some people here will argue anything. :)

      --
      Police State UK - news and
    27. Re:Apple by moof1138 · · Score: 2, Interesting

      not for Perl.

      It's not cheap but you can get support for Perl:

      http://www.apple.com/support/products/macosxserver_sw_supt.html

      I've asked them Perl questions and they've always worked on the questions me (and gotten me a good answer).

      --

      Hyperbole is the worst thing ever.
    28. Re:Apple by jonadab · · Score: 1

      > Some would argue that Perl has been broken for a long time before Apple started meddling!

      Apparently you've never used CPAN.pm (much less any of the improved versions, e.g., CPANPLUS).

      I wondered for years whether other packaging and installation systems (urmpi, portage, BSD ports, ...) can't seem to manage to be as convenient or do a similarly good job.

      Then I started using Debian again (which I hadn't messed with since the bad old days of dselect), and I discovered that while I was away they'd got a new and much improved system for this (apt), which does a lot of the things CPAN.pm has always done. It's a big step in the right direction. Hopefully other distributions will take note.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    29. Re:Apple by jonadab · · Score: 1

      > The problem only affects certain "knowledgeable" users who changed certain operating system files.
      > An operating system update can hardly be expected to work-around all the hacks people have made
      > to the operating system's own files.

      You're not making any sense.

      Installing modules from the CPAN is not some weird hack that alters the operating system in unexpected ways. It's a normal, expected, and frequently required activity. A mechanism specifically designed the express purpose of doing this, CPAN.pm, is included as a core part of Perl (not the "core language" in the sense a linguistic purist would mean, but one of the core modules that ship with every major distribution of Perl, _including_ Apple's).

      Why would Apple include CPAN.pm in their OS if you aren't supposed to use CPAN.pm? Why would they include a tool the use of which constitutes a "hack" that would screw up "the operating system's own files" if you use it?

      --
      Cut that out, or I will ship you to Norilsk in a box.
    30. Re:Apple by Hognoxious · · Score: 1

      They can't void service contract.

      For those of us who aren't legal geniuses like you, can you explain why?

      While you're at it, a few citations would be nice.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  2. WTF by Anonymous Coward · · Score: 0, Insightful

    Is this even English?

    1. Re:WTF by Goaway · · Score: 1, Informative

      The person quoted is Japanese, in case you didn't notice.

    2. Re:WTF by Sinning · · Score: 0

      So, the answer is: yes, it is Engrish.

      On another note, how did the OP get modded insightful but yet above poster modded Flamebait?

  3. Fighting over the same file by Ed+Avis · · Score: 5, Insightful

    Why are Apple's updater and Perl's CPAN shell both trying to update the same file? If the file's there as part of the Apple OS then only the OS's package manager should touch it, and Perl should leave it alone (installing its own version in /usr/local if necessary). It's exactly the same on Linux distributions: the CPAN shell doesn't try to mess with the system perl which is updated using rpm or dpkg.

    --
    -- Ed Avis ed@membled.com
    1. Re:Fighting over the same file by warren.oates · · Score: 5, Informative

      We don't exactly have "package managers" in OS X. The BSD side of OS X is only barely "maintained" at all, and then in some truly obscure and incoherent bubble-headed Cupertino fashion. Anything you really want to actually work with, you have to maintain yourself: PHP, Apache, rsync, ffmpeg, Perl -- all the seriously useful stuff like that you put into /usr/local and set your $PATH accordingly. You _cannot_ trust Apple not to break things.

      --
      Doh.
    2. Re:Fighting over the same file by 99BottlesOfBeerInMyF · · Score: 5, Insightful

      We don't exactly have "package managers" in OS X.

      Sure we do, a bunch of them. That's kind of the problem.

      Anything you really want to actually work with, you have to maintain yourself

      That's a bit of an overstatement. Anything you want a cutting edge version of you'd do well to install and maintain yourself outside of Apple's update path, but for most people just using the Apple installed versions is fine.

    3. Re:Fighting over the same file by pegdhcp · · Score: 4, Informative

      Why are Apple's updater and Perl's CPAN shell both trying to update the same file?

      Probably this is the real point, as mentioned in the TFA:

      "This is another reason why you shouldn't use Perl that comes from vendors," Miyagawa says. "Apple isn't any different from Fedora on this!"

      I might add Mandriva, SuSe and most others. Distribution managers want it just run and be stable for users who do not want to know what is going on inside. If there is a need for messing with details, originally packaged software by developer is the best alternative...

    4. Re:Fighting over the same file by Anonymous Coward · · Score: 0

      Serious question. When they could use Debian instead, and given these problems, why does anyone use Apple servers?

    5. Re:Fighting over the same file by Aram+Fingal · · Score: 1

      You could help fix that problem by participating with projects such as Fink , MacPorts or OSXPM.

    6. Re:Fighting over the same file by Alrescha · · Score: 5, Insightful

      "Why are Apple's updater and Perl's CPAN shell both trying to update the same file? If the file's there as part of the Apple OS then only the OS's package manager should touch it, and Perl should leave it alone (installing its own version in /usr/local if necessary)."

      Why must we learn these lessons again and again? Back in the beginning of time (1983), we learned the following:

      Rule #1: Never change *anything* that [vendor] sends you

      Rule #2: Always keep your stuff separate from [vendor]

      (thank you Melinda)

      --
      ...bringing you cynical quips since 1998
    7. Re:Fighting over the same file by morgan_greywolf · · Score: 2, Interesting

      Some shops (mainly design studios, video studios, sound studios, etc., aside from the education market), use Macs almost exclusively and if you're going for a single-vendor solution to improve stability, supportability, etc., then that's why you'd want OS X on your server.

      Personally, I think single-vendor solutions tend to trade a lack of flexibility, functionality and performance to get that stability, hence, I tend to favor 'best-of-breed' approaches, but to each his own.

    8. Re:Fighting over the same file by fuzzyfuzzyfungus · · Score: 1

      Probably for roughly the same reason that people use Microsoft servers: If you want all the little secret sauce and special polish bits and bobs built into a company's client OS to actually work(and, if you are deploying large numbers of the things, yes, you do want this) then using their server OS is close to obligatory.

      For basic commodity Unixy stuff, I have no idea why you would use Apple stuff(this doesn't necessarily mean Linux. Sun, for instance, makes the Unix server OS that OSX is (slowly) attempting to absorb features from, and has a much wider range of available server hardware).

    9. Re:Fighting over the same file by Anonymous Coward · · Score: 0

      since when have any two package managers gotten along? Remember we're already talking about CPAN, which never seems to tell apt about what it's doing, or to pick up on what apt has already done, for example.

      Until package managers learn to get along with eachother, none of this will ever work.

    10. Re:Fighting over the same file by Ed+Avis · · Score: 3, Insightful

      On a modern Linux distribution, it's actually okay to modify stuff that the vendor sends you, provided you do it using the same infrastructure as the vendor. For example, on an RPM-based system, you can easily build and install your own local RPM packages, with dependencies and all that, and they integrate nicely with the vendor-supplied ones. I wanted a newer version of the Perl LWP library than was in Fedora 10, so I grabbed the source RPM, updated it and built my own RPM package which I installed. Fedora then won't overwrite this unless they push out an even newer LWP release. Exactly the same can be done with dpkg-based systems.

      If your vendor is incompetent, or you are paranoid and don't trust them, or some mixture of the two, then there may still be political reasons not to alter the vendor packages and instead put duplicate copies in a different directory. But nowadays there aren't always technical reasons why you shouldn't.

      --
      -- Ed Avis ed@membled.com
    11. Re:Fighting over the same file by Ed+Avis · · Score: 1

      since when have any two package managers gotten along?

      Never. My point is that having two different package managers operating on the same file is a bad idea. Each should keep to its own business and leave alone files managed by the other.

      --
      -- Ed Avis ed@membled.com
    12. Re:Fighting over the same file by Bearhouse · · Score: 1

      Personally, I think single-vendor solutions tend to trade a lack of flexibility, functionality and performance to get that stability, hence, I tend to favor 'best-of-breed' approaches, but to each his own.

      Agree. You also avoid single point of failure and the "I know this, it looks just like my desktop..." 'superuser' toasting your server...

    13. Re:Fighting over the same file by 99BottlesOfBeerInMyF · · Score: 3, Informative

      Serious question. When they could use Debian instead, and given these problems, why does anyone use Apple servers?

      If you're a sysadmin, I imagine it is because you need one of the few bits Apple does better right now (like CalDAV) or some Apple specific technology to support Mac clients (Spotlight Server).

      If you're not a sysadmin, because you're looking for an easy to admin server that you don't need any real skills to get configured and keep running.

    14. Re:Fighting over the same file by cayenne8 · · Score: 1
      "It's exactly the same on Linux distributions: the CPAN shell doesn't try to mess with the system perl which is updated using rpm or dpkg."

      Or emerge......

      :)

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    15. Re:Fighting over the same file by Tanktalus · · Score: 1

      Yeah, until you update a package that breaks [vendor]'s supplied system administration tools, whether that be by accident (bug injection/exposure) or on purpose (bug fixed, but the tool relied on the broken behaviour). That seems like a fairly technical reason to me...

    16. Re:Fighting over the same file by QuoteMstr · · Score: 1

      Still works a lot better than make install.

    17. Re:Fighting over the same file by SanityInAnarchy · · Score: 1

      We don't exactly have "package managers" in OS X.

      Sure we do, a bunch of them. That's kind of the problem.

      Can anyone give me a good reason Apple can't simply open up Software Update to third party developers, and end that debate?

      For that matter, would it be terribly difficult for Microsoft to open up Microsoft Update?

      --
      Don't thank God, thank a doctor!
    18. Re:Fighting over the same file by Almahtar · · Score: 1

      So how easy is it to install MySQL 5+ and PHP 5+? That seems like a sane enough expectation, right?

      Not actually asking out of curiosity. It's actually really annoying and tedious. Yay macports! Yay dependencies! Yay command line! There really isn't a way to do it with a "click next now" installer on mac. Not yet. Just one reason I put a tick in the "Ubuntu did something better" column. I have plenty in the Windows and Mac ones, but Ubuntu (ok it really came from Debian) did this one seriously well. A few clicks and I have an Apache Mysql PHP ready test machine. The least and most predictable steps of any other OS. That means something to lots of people I know.

    19. Re:Fighting over the same file by Anonymous Coward · · Score: 0

      Arch takes the opposite approach, and writes .pkgbuild/packages wrapper scripts for CPAN modules and other libraries as a matter of policy. If you need a package outside of the repository, you are "expected" -- as a power user -- to write a pkgbuild file and share. It takes about a minute, and well help automate later deployments, so it is worth people's while to participate.

    20. Re:Fighting over the same file by 99BottlesOfBeerInMyF · · Score: 1

      Can anyone give me a good reason Apple can't simply open up Software Update to third party developers, and end that debate? For that matter, would it be terribly difficult for Microsoft to open up Microsoft Update?

      First, to be clear, updating is only one of the functions of a package manager. Usually they also handle discovery, installation, and uninstallation as well. Ideally, they would also handle software registration and other universal functions.

      Apple and MS could allow third parties to update software through updater, but currently they would have to host all that data and pay for the bandwidth. Additionally, they would have to perform some level of testing and security auditing lest they be blamed for malware or misconfigurations. Ideally, both companies would greatly expand their offerings to have a more full fledged package manager that can handle multiple repositories, application signing, installation/uninstallation etc.

    21. Re:Fighting over the same file by 99BottlesOfBeerInMyF · · Score: 1

      So how easy is it to install MySQL 5+ and PHP 5+? That seems like a sane enough expectation, right? Not actually asking out of curiosity. It's actually really annoying and tedious.

      Umm, OS X on my laptop shipped with PHP 5.2.x (although the man page is out of date). My version of MySQL is at 5.1.x and I installed it by double clicking the .pkg file I downloaded and clicking through the prompts. I'm not sure what kind of problems you had, but I certainly did not seem to have much of a problem. It has worked fine for my light testing and dev. Are you, by any chance, running an old version of OS X?

    22. Re:Fighting over the same file by lixlpixel · · Score: 1

      Actually you don't have to click anything.
      just download http://mamp.info/ and drag the MAMP folder to your Applications.

      Voilá, PHP 5 and MySQL 5 on your Mac.

    23. Re:Fighting over the same file by aftk2 · · Score: 1

      I second this. Makes it really easy to install eAccelerator/Xcache as well.

      --
      concrete5: a cms made for marketing, but strong enough for geeks.
    24. Re:Fighting over the same file by SanityInAnarchy · · Score: 1

      Usually they also handle discovery, installation, and uninstallation as well. Ideally, they would also handle software registration and other universal functions.

      That is true. However, all of the components are there -- on OS X, in mpkg; on Windows, in MSI.

      Apple and MS could allow third parties to update software through updater, but currently they would have to host all that data and pay for the bandwidth.

      It can't be that hard to allow the files to come from an arbitrary URL, can it?

      Additionally, they would have to perform some level of testing and security auditing lest they be blamed for malware or misconfigurations.

      On some level, yes -- although it's worth mentioning, Apple does this with the App Store. All that's needed is to open it up to third parties, with an appropriate warning -- for example, Ubuntu easily allows third-party repositories, but it's unlikely Canonical will support any of them.

      The frustrating thing is, decent package managers already exist. Why not just write a frontend for them?

      --
      Don't thank God, thank a doctor!
    25. Re:Fighting over the same file by bcrowell · · Score: 2, Insightful

      "This is another reason why you shouldn't use Perl that comes from vendors," Miyagawa says. "Apple isn't any different from Fedora on this!"

      I might add Mandriva, SuSe and most others. Distribution managers want it just run and be stable for users who do not want to know what is going on inside. If there is a need for messing with details, originally packaged software by developer is the best alternative...

      I don't think the situations on Linux and MacOS are as similar as you're making them out to be. Every Linux distro explicitly tries to support as many CPAN modules as possible, and every Linux distro has as one of its main goals making it easy in general for users to install open-source software. These are just not high priorities for Apple. You want to use OSS on MacOS? Sure, you can try to get it from Apple, you can try to get it via Fink, you can try to get it via MacPorts, or, in the case of a perl module, you can try to get it via CPAN. It's a mess, especially considering that option #1 has very little coverage, and options #2-4 are not supported by Apple.

      Sure, this type of conflict can occur on Linux, but it's much easier to avoid. Basically, whenever I need a CPAN module I check whether there's an Ubuntu package for it. 99% of the time there is, and I install it via apt. The other 1% of the time, I install it via CPAN instead. No conflicts, because there's no overlap between the two sets.

    26. Re:Fighting over the same file by 99BottlesOfBeerInMyF · · Score: 1

      That is true. However, all of the components are there -- on OS X

      For OS X and Windows the components are only there if you are ignoring other software installation methods and locations, such as installation from a Web page, arguably the most common use case.

      Ubuntu easily allows third-party repositories, but it's unlikely Canonical will support any of them.

      Well, sort of. They easily allow third party repositories that are appropriate for free software, but not so much for commercial payware. They do a good enough job for the level of usability expected by Linux users in general, but maybe not so much for OS X users. For example, if you install software from a Web page or CD there is no easy way to automatically add a repository for updates to that software without running an arbitrary binary or following a series of instructions to do so manually.

      It can't be that hard to allow the files to come from an arbitrary URL, can it?

      That depends upon if you care about security I suppose. OS X and Vista have signing frameworks, but they are not used so much by third party developers, something they would have to correct somehow.

      On some level, yes -- although it's worth mentioning, Apple does this with the App Store.

      Its true, but it is debatable if that model scales. A more reasonable alternative is to open u the verification process to third parties via subscribable feeds as well, but then that's a lot of work to code and get participation in.

      The frustrating thing is, decent package managers already exist. Why not just write a frontend for them?

      I's argue that most package managers these days don't have very good usability for the average user. They work well for FOSS software, less well for commercial freeware, and pretty terribly for commercial payware. Even on Linux you'll not most all pay software comes via a stand alone binary installer.

      Apple has some distinct advantages with their "software is a folder" model, but it also means a lot more work to adapt package managers to work well with that style of software. OpenStep could certainly be extended to handle it, but it simply hasn't been done. I know that both myself and others have suggested it to Apple and proper package management is something desired by both power users and old school UNIX guys inside Apple. It's just not quite as straightforward as you seem to imply, once you look at the details of the situation.

    27. Re:Fighting over the same file by SanityInAnarchy · · Score: 1

      For OS X and Windows the components are only there if you are ignoring other software installation methods and locations, such as installation from a Web page, arguably the most common use case.

      And that is a flaw in the Windows software ecosystem.

      It's worth mentioning that the same works elsewhere -- I can download an installer binary from a website and run it. The problem is, on Windows and OS X, there really isn't a good alternative.

      They easily allow third party repositories that are appropriate for free software, but not so much for commercial payware.

      Canonical does this.

      It can't be that hard to allow the files to come from an arbitrary URL, can it?
      That depends upon if you care about security I suppose. OS X and Vista have signing frameworks

      So do open source repositories. They generally use PGP, as it's easier to manage without having to pay absurd signing keys.

      Which means that you set up the repository once, and you obtain a key for it. After that, assuming the key was correct, the software itself can come from any arbitrary URL, as long as the repository maintainer has signed it.

      The frustrating thing is, decent package managers already exist. Why not just write a frontend for them?

      I's argue that most package managers these days don't have very good usability for the average user.

      Perhaps, but they are the best we've got.

      And that is why I suggested writing a frontend. I see no reason something like dpkg/apt can't be used, given a sufficiently usable (and pretty) frontend.

      Apple has some distinct advantages with their "software is a folder" model, but it also means a lot more work to adapt package managers to work well with that style of software.

      That makes sense... Wait, what?

      Traditional package managers tend to distribute packages as single files, containing both package metadata and an archive. That archive contains many files, in many directories -- also known as folders -- and Apple has certainly shown that it can embed metadata in formats like Zip. In fact, I know I've seen OS X .app files distributed as zipfiles.

      So, in what way would a package manager make that difficult?

      Of course, the better approach might be to put package metadata inside the .app folder, and simply distribute them as zips or dmgs, with a central listing. But then you lose the functionality you get with a good package manager (or even an ok one, like mpkg), which is why I suspect the best approach would be for Apple to simply enhance the Finder view of the Applications folder -- drag an app to the trash, and it runs an uninstall script, if present.

      It's just not quite as straightforward as you seem to imply

      It's very straightforward.

      The only part that's not straightforward is making it usable, making it more convenient than downloading a dmg/zip, and getting people interested, even excited. But Apple is very good at that -- they even made backup sexy, so I see no reason they couldn't do the same to package management.

      --
      Don't thank God, thank a doctor!
    28. Re:Fighting over the same file by 99BottlesOfBeerInMyF · · Score: 1

      For OS X and Windows the components are only there if you are ignoring other software installation methods and locations, such as installation from a Web page, arguably the most common use case.

      And that is a flaw in the Windows software ecosystem. It's worth mentioning that the same works elsewhere -- I can download an installer binary from a website and run it. The problem is, on Windows and OS X, there really isn't a good alternative.

      Having multiple methods of installation is problematic from both a security and usability perspective. Also, the usability of repositories right now can be pretty poor for methods where it is easy on Windows and OS X. Here's a really common use case:

      I need software to do something. I research on the Web until I find a package I want to try. I go to my package manager, re-enter the name and try to find it in the repository, and install it from there.

      It's a lot easier to simply, click a link on the Web page I already have open, but very rarely does that properly add the software in my package manager under Ubuntu. It is possible to make a Web link to do this but only if you're only targeting one package manager in one Linux distro and if you go out of you way to deal with the complexity. The right way to do it (IMHO), is simply have packages contain a standard link to their repository and let the package manager be the default program for that file type. It can be done, but generally isn't today for Linux.

      They easily allow third party repositories that are appropriate for free software, but not so much for commercial payware.

      Canonical does this [ubuntu.com].

      Yeah, it is possible to have payware in a repository, it just sucks badly for software developers, sellers so very few of them do it. Package managers that are popular were designed to work with freeware and none I've seen contains any service for checking registration info or selling the software and no one package will work on all distros so every commercial developer just rolls their own installer. This is a serious failing of package managers for use in the mainstream. Users have to learn two methods of software installation and don't know when each will happen, leaving room for social engineering malware.

      So do open source repositories. They generally use PGP, as it's easier to manage without having to pay absurd signing keys.

      You're mistaking authenticating servers and authenticating software packages. These are different problems. Much software ships on CD or DVD or is downloaded. One mechanism for authenticating the packages is a lot simpler than trying to authenticate all the sources via different means. It also complicates mirroring. I don't care where a package comes from so long as it is the valid package. Signing solves this problem and there is no need for keys to cost money.

      I's argue that most package managers these days don't have very good usability for the average user.

      Perhaps, but they are the best we've got. And that is why I suggested writing a frontend. I see no reason something like dpkg/apt can't be used, given a sufficiently usable (and pretty) frontend.

      Right, which is not good enough for mainstream use (IMHO) and it takes more than a frontend. The package managers in use today don't handle the currently used package formats for Windows and OS X and reverting to Linux style packages loses significant functionality on OS X.

      Traditional package managers tend to distribute packages as single files, containing both package metadata and an archive. That archive contains many files, in many directories -- also known as folders -- and Apple has certainly shown that it can embed metadata in formats like Zip. In fact, I know I've seen OS X .app files distributed as zipfiles. So, in what way would a pa

    29. Re:Fighting over the same file by db32 · · Score: 1

      Uhm...just to be fair here you cannot trust ANYONE not to break things.

      I use Windows, Linux (mostly Debian, Ubuntu, and Gentoo), and OS X. I would have to guess that I have had the least problems with debian updates, but they move slow as molasses anyways so that isn't a real surprise. The others I have a hard time ordering in terms of updates screwing things up. Windows and Gentoo probably do it the most while at the same time making it nearly impossible to undo but I have no shortage of Ubuntu upgrade nightmares. I suspect OS X hasn't given me as many problems simply because I have only been using it since 10.5.4, but 10.5.5 did break some iCal stuff for me so it certainly isn't innocent. I will say that I called Apple to gripe about this to see what changed and how to fix it (not really expecting anything) and they actually had one of their engineer types call me back a few days later to help him investigate the problem. I have NEVER received that kind of treatment from a commercial software vendor, especially one that large. They definitely earned some brownie points with that one.

      --
      The only change I can believe in is what I find in my couch cushions.
    30. Re:Fighting over the same file by sloth+jr · · Score: 1

      quoth warren.oates (luved ya in Stripes), "Anything you really want to actually work with, you have to maintain yourself: PHP, Apache, rsync, ffmpeg, Perl -- all the seriously useful stuff like that you put into /usr/local and set your $PATH accordingly. You _cannot_ trust Apple not to break things."

      That is definitely true under just about any distribution, as well. If you build your python or perl app against distro-provided packages, you can definitely expect breakage at some time in the future. If you've an application you need stability on, build and deploy your own just as you say.

    31. Re:Fighting over the same file by Wheat · · Score: 1

      Good advice. Although it shouldn't be a rigid rule, sometimes it's a lot of hassle to install your own separate versions of your own stuff's dependencies. Especially for your own stuff which is install more ephemerally, such as development sandboxes.

      For example, Mac OS X provides a working OpenLDAP install. You can make LDAP instances from this install into your own stuff, but rely on their openldap binaries. A lot easier than compiling your own version of OpenLDAP.

      But then, it would be nice if Apple kept this rule in mind themselves, and had the distinction between, "Core Apple OS stuff" and "Apple Applications stuff". For example, the Apple Python install is pretty useless, you need to use virtualenv to isolate yourself from all the ancient libraries that are in there to support iCal server. It would be much better if Apple shipped a bare bones Perl and a Python w/ standard library only and said, "We aren't going to provide any form of library management, but we also aren't going to pollute the standard library paths with a bunch of half-maintained crap that our own Apple apps happen to depend upon."

    32. Re:Fighting over the same file by SanityInAnarchy · · Score: 1

      It's a lot easier to simply, click a link on the Web page I already have open, but very rarely does that properly add the software in my package manager under Ubuntu.

      I've found that this is actually less usable, in most cases, even on Windows. Best case, you've got something that allows you to run the executable from the browser -- which means at least one, sometimes two security prompts (one from Firefox, one from Windows, I wouldn't be surprised to see a third from UAC if I was on Vista) -- then click next-next-next.

      Versus, check a box in add/remove programs, click "apply", done.

      But you are right -- that is why I suggested that a frontend for OS X is about all that would be needed. After all, what you're describing is not a symptom of the package manager itself, but of the various frontends for it...

      Package managers that are popular were designed to work with freeware and none I've seen contains any service for checking registration info or selling the software

      In other words, none contain a DRM check.

      Actually, what I've found to be the sanest method is to include a demo in the repository, and let the software itself manage actual license keys.

      You're mistaking authenticating servers and authenticating software packages.

      No, a GPG key authorizes whoever controls that key. There's no reason they couldn't distribute a signed package via CD, DVD, or a non-repository download.

      Package managers need to handle software not just from repositories, but from other sources. If I download a .app "folder" in a DMG file,

      You're already outside the package manager -- you should ideally have clicked a link that instructed your package manager to install something. But ok...

      how is the package manager going to know where the repository to get updates is located? It either has to be able to contact a giant database of all software, or the .app folder needs to have data to tell it. That means an extension to current openstep bundle formats.

      Exactly.

      It's not hard to do, it just needs to be done.

      So why are we still talking about this?

      Ug, please no. I like it simple and applications self contained. When you start running scripts things get complicated and can break.

      The fact that scripts aren't run means you're going to have people using another package format (like a .mpkg), or people running scripts on the app's first run.

      And then how are you going to remove things like that menu it added to your menu bar?

      Simple is good.

      Simplicity from the user's perspective is good. But make things as simple as possible; no simpler.

      I'm not suggesting that the majority of apps should have scripts run. I'm suggesting that some of them will need to run scripts, and some of them will have dependencies (which is part of the point).

      You even have to consider applications designed for running in your VMs and APIs for other OS's

      Having a package manager run on multiple OSes isn't really a big deal -- Rubygems is proof of that.

      The other features you're talking about, I would say we have to go farther than that -- design a system which can handle things we haven't thought of yet.

      This is probably getting a bit offtopic, but the simplest solution I can think of is to make the package manager pluggable, and specify whatever plugins you need as dependencies. Thus, if your package depends on package-manager-VM-plugin, it will have that functionality available once actually installed.

      I guess I'm just not seeing the complexity, except in the UI itself, and we mostly know how that would look.

      --
      Don't thank God, thank a doctor!
    33. Re:Fighting over the same file by Alrescha · · Score: 2, Insightful

      "On a modern Linux distribution, it's actually okay to modify stuff that the vendor sends you"

      Let me fix that for you. "On Linux, there's an attitude that it's ok to modify stuff the vendor sends you."

      Good luck with that.

      (I'm on a Mac, and I download ported-from-linux, OS X-installer packaged stuff from time to time, and more often than not it wants to install into /usr or /usr/bin with no option to go anywhere else (asterisk comes to mind). In my world, that means it doesn't get installed. Period. Yea, maybe I'll hack it up to install into /usr/local, but I generally don't have the time or inclination to fix broken stuff)

      A.

      --
      ...bringing you cynical quips since 1998
    34. Re:Fighting over the same file by jonadab · · Score: 1

      > Why are Apple's updater and Perl's CPAN shell both trying to update the same file?
      > If the file's there as part of the Apple OS then only the OS's package manager should touch it,

      I would say the reverse: if the file is part of Perl, then CPAN.pm should handle all updates to it. That's what CPAN.pm is *for*. If Apple's system-wide automatic updates system wants a certain Perl module to be updated, it should just tell CPAN.pm to do that. Why re-invent the wheel?

      Especially if the best you can do is a wooden octagon and the built-in wheel (CPAN.pm) is nice and round with a steel rim and a good radial tire. When it comes to updating Perl modules, there *are* other tools that are better than CPAN.pm, e.g., CPANPLUS, but I triple-guarantee you the operating system's "automatic updates" facility is *NOT* in that category, on any platform.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    35. Re:Fighting over the same file by Ed+Avis · · Score: 1

      I have found maintaining and updating a perl installation using rpm and yum to be considerably more reliable than the CPAN shell, which tends to trip over with build failures or mirror site failures... YMMV. I don't think it is practical however for every Mac across the globe to download files from the CPAN mirrors, including all the extra packages needed to get 'Build' and 'Build test' working, and trust that every Mac will build the package correctly without odd bugs creeping in. At least with distribution of binary packages you know what you're getting. Even Linux vendors (with the exception of Gentoo) ship pre-built packages for everything; I can't imagine Apple doing anything else.

      --
      -- Ed Avis ed@membled.com
  4. Why does this "break" anything? by mi · · Score: 4, Insightful

    The Security Update brings (old) IO.bundle with version 1.22 but your IO.pm has been updated to the latest 1.23 on CPAN shell. (But hey, 1.23 was released in 2006...Why do you bring that ancient version back, Apple!?)'."

    The real question is (or ought to be), why is the 1-digit difference in the minor version number break things? If the 1.22 -> 1.23 change was important (as in interface-changing or something), shouldn't the new version have been named 1.3 or even 2.0?

    --
    In Soviet Washington the swamp drains you.
    1. Re:Why does this "break" anything? by Anonymous Coward · · Score: 0

      Yes. This is one of the primary rules when updating an API - make it backwards compatible to the previous one. If you need to refactor it because it is a big pile of poo, then that's a major version number, and you can have both versions installed for backwards compatibility.

      So something must require a new method on the API introduced in that .1 update. Big whoop.

    2. Re:Why does this "break" anything? by Anonymous Coward · · Score: 5, Informative

      It's an XS module: They include components that are written in a language other than Perl, and have to be compiled against perl.

      Which means that if the perl binary they are pointing to changes, they break. The code itself is fine: You just need to recompile.

      Apple helpfully recompiled all the ones they shipped, so they would work. The only problem is for people who updated the modules that Apple shipped: They now have a miss-match between the Perl code that is running (that they updated) and the code that is compiled (that Apple shipped).

      Basically, you've got a library header and the library object. If the header and the object don't match exactly, you've got problems. No interface was changed, no major important pieces were changed, but now you've got 1.23 headers and a 1.22 object. Change one or the other, and everything will be fine again.

    3. Re:Why does this "break" anything? by ekidder · · Score: 2, Informative

      Well, 1.3 would be going backwards. 22 > 3 after all. Perl module versions can be a bit confusing. You'll find there are a lot of modules that break older versions.

    4. Re:Why does this "break" anything? by compro01 · · Score: 1

      The issue is that 1.23 is from over two years ago.

      I believe the current version of CPAN shell is 1.93.

      --
      upon the advice of my lawyer, i have no sig at this time
    5. Re:Why does this "break" anything? by Anonymous Coward · · Score: 1, Informative

      More importantly, 1.22 is the version of the IO module that ships with Perl 5.8.8, which is the version of Perl that ships with OS X 10.5.

      They are simply keeping the version stable with the version they shipped. (And they only updated it because - due to the update in Perl - it would have broken otherwise.)

    6. Re:Why does this "break" anything? by PerlDudeXL · · Score: 5, Informative

      This is a classic problem with most *nix distribution packages and CPAN usage. This is not Apple specific.

    7. Re:Why does this "break" anything? by fl!ptop · · Score: 3, Informative

      shouldn't the new version have been named 1.3 or even 2.0?

      from the IO.pm changelog:

      IO 1.23 -- Sat Mar 25 19:28:28 CST 2006

      • Adjust the regression tests to use t/test.pl when $ENV{PERL_CORE} is defined
      • Reduce number of calls to getpeername
      • Call qualify on format name passed to format_write. Bug reported by Johan Vromans
      • Reduce calls to getprotobyname/number. Patch from Gisle Aas
      • Remove references to file TEST used in core so appropriate tests are skipped during an install from CPAN
      • Add method say to IO::Handle
      • Performance improvement for IO::File::open
      • Don't warn about a directory being closed in the DESTROY

      looks to me like it's mostly bug fixes and optimization, and not a major rewrite (which would more likely warrant a major version change).

      --
      When you recognize love in another and realize how precious it is, everything else seems so insignificant.
    8. Re:Why does this "break" anything? by Anonymous Coward · · Score: 0

      Calling Apple versions "stable" is an understatement, the binutils version that e.g. their iPhone SDK uses is (based on a version) about 12 years old and buggy as hell!

    9. Re:Why does this "break" anything? by xenocide2 · · Score: 1

      Why do all these languages reinvent the package manager? Perl has CPAN, PHP has PEAR, python has pypi, and ruby has rubygems. In my experience they're all a massive pita to make cooperate with dpkg...

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    10. Re:Why does this "break" anything? by dkf · · Score: 1

      It's an XS module: They include components that are written in a language other than Perl, and have to be compiled against perl.

      Which means that if the perl binary they are pointing to changes, they break. The code itself is fine: You just need to recompile.

      You mean that Perl doesn't maintain a stable ABI from one version to another, at least for the parts that existed in the old version? What a bunch of amateurs! It's a long-solved problem outside Perl-land.

      And my point is actually a serious one. It is possible to take code compiled against Tcl 8.1 (a decade old) and load it into a build of 8.6b1 (from last December) and have it work. Really. If you choose to do so, you've got a superb chance that the code will Just Work, despite substantive API changes over the intervening time. It's not rocket science, guys!

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    11. Re:Why does this "break" anything? by Lars+T. · · Score: 1
      Because that's the way things are done in Perl (just search for "io object" on perl.org):

      http://www.nntp.perl.org/group/perl.par/2008/11/msg3821.html

      I've built the perl binary with pp on HP UX 11.23 & while running the same on another test machine, the build fails with the following error:

      IO object version 1.22 does not match bootstrap parameter 1.23 at /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/DynaLoader.pm line 252. Compilation failed in require at /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 263.

      http://www.perlmonks.org/?node_id=490413

      I ask the assistance of the monks concerning error reports I am getting from some -- but not all -- automated testers at testers.cpan.org.

      t/02_bad_constructor..............IO object version 1.21 does not matc +h bootstrap parameter 1.22 at /usr/local/perl-5.8.5/lib/5.8.5/sun4-so +laris-thread-multi/DynaLoader.pm line 253.

      Add to that the problems with RedHat Linux mentioned in TFA, you don't need Perl for pattern matching.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    12. Re:Why does this "break" anything? by mi · · Score: 1

      looks to me like it's mostly bug fixes and optimization, and not a major rewrite (which would more likely warrant a major version change).

      So, why did things break suddenly — as the the article claims they did?

      --
      In Soviet Washington the swamp drains you.
    13. Re:Why does this "break" anything? by fl!ptop · · Score: 1

      why did things break suddenly -- as the the article claims they did?

      i really can't answer any better than this.

      --
      When you recognize love in another and realize how precious it is, everything else seems so insignificant.
    14. Re:Why does this "break" anything? by chromatic · · Score: 1

      You mean that Perl doesn't maintain a stable ABI from one version to another, at least for the parts that existed in the old version? What a bunch of amateurs!

      That's not the problem in this case. By default, the shared library loader for XS components performs an exact version check against the Perl portion and the compiled portion, and refuses to load the latter unless the two match. Some combination of Apple's update plus how Apple ordered Perl's library include directory search order caused this problem. It has nothing to do with binary compatibility in the Perl core.

      Perl 5 binary compatibility can change only between major version numbers -- that is, the 5.8.x releases are all binary compatible, but not necessarily binary compatible with the 5.10.x releases. (Breaking binary compatibility helped 5.10 have smaller and faster internal data structures.)

  5. Apple: Breakin' a bunch of crap recently by Protocron · · Score: 1, Informative

    My wife's Mac just recently broke her only game (Sims 2) because of an Apple update. She updated Quicktime (we think) and that completely broke Aspyr's version of the Sims 2. http://support.aspyr.com/ "We are aware of the issues arising with the latest QuickTime update in 10.4.11 and are working with Apple to get it resolved. Please bear with us as we work with Apple to find the source of and fix for this problem." Yeah, nice work there Apple. What's next?

    --
    CAPS LOCK: ITS LIKE THE CRUISE CONTROL FOR AWESOME
  6. re: OS X and package management by King_TJ · · Score: 3, Informative

    Umm, what about Fink?

    http://www.finkproject.org/

  7. Here's why... by bogaboga · · Score: 0, Troll

    I believe they believe Perl is dead...do they?

    1. Re:Here's why... by Icegryphon · · Score: 0

      Why is this tagged troll? I mean it is a valid question, does able believe this? They are not the only vendor with problems though.

  8. What about the CPAN command line tool? by Aram+Fingal · · Score: 1

    I'm not having this problem so I can't verify but does the inability to update IO.pm still apply if you do: "$cpan -i IO" or only if you do use "perl -MCPAN?"

    1. Re:What about the CPAN command line tool? by chromatic · · Score: 2, Informative

      The cpan command is a thin wrapper around the CPAN module.

  9. How will I regex? by M4N14C · · Score: 1

    Real men regex in VIM!

    1. Re:How will I regex? by AndrewNeo · · Score: 1

      Or with grep.

    2. Re:How will I regex? by Anonymous Coward · · Score: 0

      Real men realise regex is not a verb.

    3. Re:How will I regex? by Anonymous Coward · · Score: 0

      Real men know that any word can be verbed.

    4. Re:How will I regex? by kongit · · Score: 1

      I regularly express myself

    5. Re:How will I regex? by Anonymous Coward · · Score: 0

      I regularly touch myself.

  10. Re: OS X and package management by 1stvamp · · Score: 4, Informative

    Or MacPorts, formerly DarwinPorts: http://macports.org/

    --
    Wes
  11. Re:Apple: Breakin' a bunch of crap recently by elrous0 · · Score: 4, Funny

    All part of Apple's plan to ensure that no one can ever use a Mac for gaming.

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
  12. Re:Apple: Breakin' a bunch of crap recently by Doctor_Jest · · Score: 2

    Right. Let's see... Quicktime still works but the Sims 2 doesn't. Quicktime doesn't seem to break anything else, so logically, it MUST be Apple's fault. I think the rest of the Quicktime users who aren't playing the Sims 2 would disagree with your placement of blame. :)

    --
    It's the Stay-Puft Marshmallow Man.
  13. Re: OS X and package management by warren.oates · · Score: 1

    What I meant was that there are no Apple-supplied package managers. Fink is a good add-on, but for some folks it's just got too much stuff in it. There's a good discussion here . While we're on that subject, there's also MacPorts.

    --
    Doh.
  14. Re:Apple: Breakin' a bunch of crap recently by Stewie241 · · Score: 1

    Well, what changed? Quicktime or Sims 2?

  15. Use CPAN? You deserve to lose by Jay+Maynard · · Score: 4, Informative

    CPAN is the closest thing to DLL hell on Unix systems. Modules are updated willy-nilly. No attempt is made to preserve compatibility between versions, or between modules and their dependencies. A company I used to work for had to totally abandon a large program because it was impossible to keep it working in the face of CPAN-driven upgrades, even if they did manage to get it installed the first time (by totally bypassing CPAN).

    --
    Disinfect the GNU General Public Virus!
    1. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 3, Insightful

      This is certainly a comment by someone who doesn't understand a single piece of Perl, and how Perl developers work.

      CPAN *is* Perl, if you take it out, Perl has little more value than any other modern VHLL (python, ruby etc).

      The problem is that if you're going to develop a large system, you need both a development methodology and a maintainance methodology, if you don't plan those, "You deserve to lose".

      In a modern environment, like Debian, you manage all your CPAN dependencies as debian packages, hopefully integrating them into the debian main archive (through the pkg-perl group). That way, it will be easier to keep them up-to-date both in Debian and obviously in your machine later, where you will be able to do just a apt-get dist-upgrade to have that done.

      daniel

    2. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 4, Informative

      Huh? The opposite is true. CPAN, if anything, is more akin to a Linux distribution's package repository.

      Would you say the same thing about, say, Debian's apt-get and friends?

      Chances are you wouldn't, but that's exactly what CPAN's like. You have to use it correctly, though, and chances are that if you had trouble with it, you weren't.

      (In particular, you should not blindly install updates all the time when there's no need, without even so much as testing them on non-production systems first. Again, consider following the trunk of any Linux distro, package-wise - would you expect things that aren't part of the distro to never break when libraries etc. are updated and new versions installed? Of course not.)

    3. Re:Use CPAN? You deserve to lose by The+Moof · · Score: 1

      CPAN is the closest thing to DLL hell on Unix systems

      I don't know. Shared objects make a pretty good run for that title.

    4. Re:Use CPAN? You deserve to lose by fl!ptop · · Score: 3, Interesting

      CPAN is the closest thing to DLL hell on Unix systems

      while i prefer centos for my production systems and don't use osx, i recommend implementing a solution i've found to work well. first, disable any rpmforge repos on your production machine. second, install new cpan stuff on your development server. test, then install on the production machine (if it passes the tests).

      if you need a cpan module that's not available from the regular repositories, or from rpmforge, *never* install anything from cpan using make, make all, etc. always make an rpm using the makerpm.pl script, and install that instead. and never, ever install anything that's a Bundle::somepackage. build all the dependent packages by hand using makerpm.pl instead.

      i've found that these methods help cool the 'dll hell' on my production machine. i rarely have any problems. i can't comment on how well this would work w/ a debian-based system that doesn't use rpm, however. not sure what kind of package management osx uses, either.

      --
      When you recognize love in another and realize how precious it is, everything else seems so insignificant.
    5. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 0

      Chances are you wouldn't

      The problem isn't CPAN alone. The problem is that using CPAN on a system that has some other installer installing other packages is like installing RPM on a debian system so you can install this one .rpm file (that probably was also available in a .deb, just like most cpan modules) then complaining when it blows up in your face.

    6. Re:Use CPAN? You deserve to lose by $RANDOMLUSER · · Score: 1

      Perl as modern VHLL

      Let me think about tha

      HEAD ASPLODES

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    7. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 0

      it was impossible to keep it working in the face of CPAN-driven upgrades

      Can you explain what you mean by this? CPAN never upgrades a package unless you ask it to, in my experience. Once you have your program running there is no reason to upgrade CPAN modules, unless you have too much time on your hands.

      I suspect your experience is unusual. I've enjoyed working with CPAN modules and I think most people who use Perl consider the project a huge success.

    8. Re:Use CPAN? You deserve to lose by stevied · · Score: 1

      In the very old days, it seems like people were quite disciplined with shared objects: if a change didn't break backward compatibility, bump the minor version or revision number; if it did, bump the major number (the one that's treated as part of the library name, e.g. libncurses4 v. libncurses5)

      Then somehow not long after glibc 2.0, things seemed to get a lot more complicated (or maybe I just got very confused). Anyone who wants to explain what goes on now would be very welcome; in the meantime I'm sticking with Debian & Ubuntu and apt-get ..

    9. Re:Use CPAN? You deserve to lose by avajcovec · · Score: 1

      What are CPAN-driven upgrades?

      The way you describe it, it sounds like CPAN was using some sort of push technology to force-feed you upgrades. If the program was working, and the company was just trying to "keep it working" then why the upgrades? Or could they not get it installed and working in the first place because of something on CPAN?

      I'm honestly curious. I haven't used perl or CPAN in years but if memory serves, installing the latest and greatest modules all the time has always been a recipe for disaster.

    10. Re:Use CPAN? You deserve to lose by mabinogi · · Score: 3, Interesting

      CPAN _was_ an excellent thing - in 1997.
      Now, the GP is exactly right - it's a mess.

      You absolutely need to install the latest perl before you use it - because the perl (or the modules installed with it) installed with your OS is always too old for any particular module you want to install, and even then you have a chance that the module you want is either broken, or depends on a currently broken module.

      CPAN is the heart of perl, but that doesn't mean it's perfect. It seriously needs fixing.

      --
      Advanced users are users too!
    11. Re:Use CPAN? You deserve to lose by mabinogi · · Score: 2, Insightful

      Would you say the same thing about, say, Debian's apt-get and friends?

      No, because they are done correctly.

      if CPAN is to be likened to apt, then it's like using Debian Experimental all the time with no option to switch to Unstable, Testing or Stable - or to switch to a particular numbered release and stay there, only getting bugfixes.
      It's latest bleeding mess or nothing.

      --
      Advanced users are users too!
    12. Re:Use CPAN? You deserve to lose by Jay+Maynard · · Score: 1

      The problem was that the program was written to work with one revision of the modules...and then when the admin put another package on the system, or upgraded another package, that used the same modules, they would get upgraded from CPAN without any way to control or isolate them. Since module authors don't give a fuzzy rat's ass about backward compatibility, things broke, badly.

      There's no way to tell CPAN "don't upgrade this module unless it's compatible". There's also a total lack of concern for compatibility within the CPAN developer community. That's why the project I was involved with failed, and a large part of the reason I personally switched to Python.

      --
      Disinfect the GNU General Public Virus!
    13. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 0

      CPAN obviously has dependency checking and compatibility checks. More importantly, every module comes with a significant number of test cases that verify that it actually works after you install it.

      Having to "by pass CPAN" sounds like the sort of brain dead incompetents who refuse to understand a system and then complain when it breaks.

    14. Re:Use CPAN? You deserve to lose by Jay+Maynard · · Score: 1

      It may have been improved since we gave up a few years back...but at the time, it was extremely common for a program to break badly when a CPAN module it used was updated, and there was no way to prevent it from being updated if another program being installed called for it.

      I don't use CPAN any more for the same kind of reason I don't deal with the Ford Motor Company any more, even though I unloaded my last Ford 13 years ago: they burned me so badly that I cannot afford another failure of that magnitude, and the alternatives did not have the same problems at all when I tried them.

      --
      Disinfect the GNU General Public Virus!
    15. Re:Use CPAN? You deserve to lose by bcrowell · · Score: 2, Informative

      You absolutely need to install the latest perl before you use it - because the perl (or the modules installed with it) installed with your OS is always too old for any particular module you want to install

      I've been using perl for about 8 years, and I've never encountered any such problem. For example, I stayed with perl 5.8 for quite a long time before switching to 5.10, and I never had any problem getting CPAN modules to compile.

      and even then you have a chance that the module you want is either broken, or depends on a currently broken module.

      This isn't a problem with CPAN, it's a problem with the author or maintainer of that module. For instance, I made the mistake of writing an app that depended on Audio::Play and Audio::Data. Then when I switched my desktop machine from BSD to Linux, I found out that I couldn't get it to compile on Linux. I'm a little less naive now. If you check the CPAN bug reporting system, you'll see that there are several important bugs in these modules that are years old, and haven't been fixed. If you look at the reviews on CPAN, you'll see clear signs of trouble. If you go to the parent module's page on cpan, and click on Perl/Platform Version Matrix, you'll see that it fails its test suite on a lot of platforms, on a lot of versions of perl. None of this is a big secret. You just have to do a little bit of homework before you hitch your wagon to a particular CPAN module.

    16. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 0

      Yes, it is a problem with CPAN.

      Any system that requires thousands of people to do the right thing for it to work is going to have problems.

    17. Re:Use CPAN? You deserve to lose by Anonymous Coward · · Score: 0

      Jay, I am sorry but in short you are an idiot. And the "company you worked for" is probably also run by idiots. (hey they hired you didn't they?)

      The other posters address the details nicely but, wow, I mean seriously.. I'm speechless, your profound ability to spotlight your ineptness is amazing.

  16. Re:Apple: Breakin' a bunch of crap recently by Colonel+Korn · · Score: 5, Funny

    Right. Let's see... Quicktime still works but the Sims 2 doesn't. Quicktime doesn't seem to break anything else, so logically, it MUST be Apple's fault. I think the rest of the Quicktime users who aren't playing the Sims 2 would disagree with your placement of blame. :)

    Brainwashed much? You're basically implying that if I hit you in the head with a hammer and you're knocked out, but the hammer, nearby mailbox, and tree are unharmed, that proves that the hammer isn't to blame - your head is.

    --
    "I zero-index my hamsters" - Willtor (147206)
  17. Re:Apple: Breakin' a bunch of crap recently by Drizzt+Do'Urden · · Score: 1

    It's 1996 over again..

    Remmember when a game made Win95 BSOD? It was the game that made the computer crash.

    Remmember when a game made MacOS 7 bomb? It was the Mac that made the computer crash. Why? Because it's a frigggin' Mac!

    The Sims 2 smeans to be quite borked. You can't move the App once it's installed or it will break it.

  18. Re: OS X and package management by Jay+Maynard · · Score: 2, Insightful

    I refuse to use both Fink and MacPorts because they insist on bringing in huge amounts of other stuff whenever I try to install anything. I'll build for myself from source first.

    --
    Disinfect the GNU General Public Virus!
  19. Scripting Languages not good for most applications by MrData · · Score: 3, Interesting

    In the flamebait but true category, this is further evidence why scripting languages are not suitable for most application development ... because they are much more brittle than a traditionally compiled application. True you can site examples of traditionally compiled applications breaking due to missing dependencies, in which (like with this Perl example) the underlying deployment platform is a fault, but this type of problem is much more common with scripting languages (Perl, PHP, Python, etc), and vastly harder to debug and defend against.

  20. Super bad for Servers by geekmansworld · · Score: 5, Informative

    As an XServe administrator, Apple's cryptic security updates are really starting to get on my nerves.

    You would expect that, since it is based on multiple open-source projects that are freely available, Apple would push compiled updates through Software Update to its OS X Server users. Instead, they wait so long to patch things (like Amavis or the BIND patch for Dan Kaminsky's DNS bug) that I just get frustrated and apply the patch myself. Then, when a Apple Software Update does come down the pipe, I have to consider if installing it will break my configuration and land me in hot water with my boss when he can't get his e-mail anymore.

    Apple needs to decide if they're going to regularly and consistently update the open-source software that their Server OS runs. If not, leave it alone and let the users apply and configure updates. This wishy-washy, middle-ground, Jobsy-come-lately approach is just an annoyance and an inconvenience.

    1. Re:Super bad for Servers by Ash-Fox · · Score: 0, Redundant

      Apple needs to decide if they're going to regularly and consistently update the open-source software that their Server OS runs. If not, leave it alone and let the users apply and configure updates. This wishy-washy, middle-ground, Jobsy-come-lately approach is just an annoyance and an inconvenience.

      I completely agree.

      Mod parent up.

      --
      Change is certain; progress is not obligatory.
    2. Re:Super bad for Servers by tbuddy23 · · Score: 2, Interesting

      If you don't look at every file or at least the general path of what you are installing then you deserve it. Fink, SuspiciousPackage and the like all are very good for this.
      If you need excessive amounts of PERL modules why aren't you using a generic *NIX server rather than OS X Server? The only compelling reasons I could use for using OS X Server is 1) Provide excellent AFP file services 2) You really love Mac OS X and want the whole barrage of services in the form of one mediocre server. I think Windows has an offering like that coming out soon in the form of Window Small Business Server 2008.

    3. Re:Super bad for Servers by ducomputergeek · · Score: 5, Interesting

      I love Apple laptops and desktops. Hate Xserve and I've found OSX-Server to be nothing to write home about. When I was an Apple Certified consultant, I saw a much higher than average failure rate with Xserve hardware. It got to the point to where we'd only deploy OSX-server on PowerMac/MacPro machines. I know some people love their OSX-server tools admin package. It is a pretty slick GUI. I will give them that. But really, I can do just about anything OSX-Server can on a default OSX install. And for the price, I can build reliable servers with FreeBSD a lot cheaper with the same functionality, and arugably even more functionality than OSX-Server.

      --
      "The problem with socialism is eventually you run out of other people's money" - Thatcher.
    4. Re:Super bad for Servers by geekmansworld · · Score: 1, Insightful

      I use OS X server because I am a Mac-booster and because my associates and I are familiar with *nix conventions and the open-source services that generally run on them. I'd much rather deal with this than run a Windows Server platform.

      And for the love of the Gods, don't try to sell me on fink and darwinports. Some people seem to think that dports putting everything it installs in a separate directory is a good thing. It's just confusing and messy.

      I've tried fink and dports several times and they've never worked correctly for various reasons. If I can download and gcc compile a project's source in a reasonable amount of time, why would I bother wrestling with fink and dports?

    5. Re:Super bad for Servers by fuzzyfuzzyfungus · · Score: 3, Insightful

      The question isn't Apple vs. Microsoft, it is Apple vs. other Unixlikes. Why run OSX server rather than Solaris, one of the BSDs, or linux?

    6. Re:Super bad for Servers by mr_mischief · · Score: 1

      To be fair to Apple, it's considered good practice to not manage the modules provided by the distro with CPAN on Unix/Linux systems in general. Let the distro manage its own updates and manage updates of stuff you got from CPAN using CPAN.

    7. Re:Super bad for Servers by guruevi · · Score: 1

      I have the exact opposite results actually. I love XServe's since they're easy to work on (hardware) and have great interfaces for monitoring and management. If you've ever used Dell's interface then you'll know what CAN be wrong about it. The only ones that come close are HP and IBM only IF you buy they're (quite expensive) management packages. Next to that, the pricing on similar 1U servers from HP, Dell and IBM is far higher than Apple's XServe unless you're assembling yourself (and having worked on SuperMicro cases: not a good idea).

      On the longevity: my XServe's are still chugging along after 5 years without as much as a dead hard drive (although I am going to replace them as a precaution soon) while the PowerMac's and Dell servers, workstations and desktops are dying left and right (almost all hard drives have been replaced over the last year and most are only 3 years old), 1 Dell and 1 Mac with a dead video card and 1 iMac and a few Dells with blown power supplies).

      There is indeed somewhat of a tradeoff that the packages are somewhat older (especially on 10.4) but I like that it doesn't break spectacularly like some of Red Hat's updates have done in the past (SpamAssassin and Amavis having new configuration file styles) even on production systems. On 10.5 the package ages are very similar to Debian installations unless a security update requires different which gives for a very stable system. What I would like is the interfaces to expand much more than they do now and allow for more advanced settings. Currently I'm still regularly messing with raw configuration files for certain setups.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    8. Re:Super bad for Servers by Anonymous Coward · · Score: 0

      Dude, that's called job security, stop your complaining.

    9. Re:Super bad for Servers by geekmansworld · · Score: 1

      I'm very fond of the Server Admin and Workgroup Manager apps that enable clean, easy, GUI-based, remote admin. Also, it's an operating system I'm very familiar with, mostly in terms of directory structure (where everything is) and the way users work.

      In theory, I was also hoping that Software Update would streamline the update process, but that doesn't seem to be the case. Strike one.

    10. Re:Super bad for Servers by Trogre · · Score: 1

      .. like the broken nVidia drive update they pushed out in January and silently pulled in February, with no subsequent fix.

      Their official position on such situations? Back up and re-install.

      Grrr

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    11. Re:Super bad for Servers by falconwolf · · Score: 1

      when a Apple Software Update does come down the pipe, I have to consider if installing it will break my configuration and land me in hot water with my boss when he can't get his e-mail anymore.

      Isn't this true with most software updates? I'm not an IT administrator of Windows or any other platform but in medium and larger organizations doesn't IT first test bug fixes, updates, and upgrades on test beds before deploying them on production systems? I imagine the same applies to Linux and other platforms.

      Falcon

  21. Re:Apple: Breakin' a bunch of crap recently by Anonymous Coward · · Score: 0

    my thought exactly: wtf is sims doing with quicktime?

  22. Re:Apple: Breakin' a bunch of crap recently by Protocron · · Score: 1

    I'm of two opinions here:

    1) I agree with Stewie241. The Sims 2 was not updated, the Quicktime update broke something that was previous working.

    2) That said, Aspyr sucks. They have many problems that we have never been able to resolve. Sims has a problem where the graphics kinda freak out and only shows the wire frames. Aspyr blames this on the differences in Apple drivers (ATI/Nvidia). And the expansion packs have frequently been the cause of teeth knashing (yeah I'm looking at you Bon Voyage.)

    So Apple or Aspyr? I blame both. Apple isn't as great as it once was, and Aspyr just sucks.

    --
    CAPS LOCK: ITS LIKE THE CRUISE CONTROL FOR AWESOME
  23. Re:Apple: Breakin' a bunch of crap recently by Protocron · · Score: 1

    I would guess and say that it plays a video as you start the game. The intro screen shows something that looks like the name "Aspyr" in a flame and it says, "Aspyr." Then the intro plays that shows the Sims doing different actions (related to expansion packs.)
    My guess is that they are all part of a Quicktime video.

    --
    CAPS LOCK: ITS LIKE THE CRUISE CONTROL FOR AWESOME
  24. Re: OS X and package management by Ash-Fox · · Score: 1

    Umm, what about Fink?

    Fink has a tendency to have compile issues, segfaults etc. with random packages. ...

    Then again, one gets the same problems generally under OS X when compiling the forementioned software manually, although it will generally work in more instances than Fink/Macports does.

    --
    Change is certain; progress is not obligatory.
  25. Re:Scripting Languages not good for most applicati by Stewie241 · · Score: 1

    Hmmm... I do a lot of work in PHP and haven't had *too much* trouble with this. It has been fairly simple, actually. Where things get tricky is web server environments (not getting consistent variables in $_SERVER - SELF, etc.) and various configuration restraints that some hosts seem to think they need for security's sake. I've done work on a fairly significant script that runs on most version of PHP from 4.3 to 5.2 (a few exceptions of versions in there that are notoriously buggy).

  26. Progress! by rockmuelle · · Score: 1

    1990s ... Apple stops using 5 1/4" floppies in favor of 3 1/2" disks ... Apple standardizes on Firewire/USB, obsoletes parallel and RS-232 ports ... Apple stops using floppy disk drives all together
    2000s ... Apple introduces LCD iMac, no longer sells CRTs ... Apple locks the battery in the MacBook Air - replacable batteries obsolete! (ugh) ... Apple breaks Perl in OS X, the world moves away from write-only languages

    *ducks*

    -Chris

    1. Re:Progress! by morgan_greywolf · · Score: 3, Informative

      Not to pick nits too much here, but

      1) Apple stopped using 5.25" FDDs well before the 1990s. Every Mac that came with a floppy drive from their inception in 1984 came with a 3.5" FDD.

      2) You can always buy a third-party CRT if you want a CRT on your Mac, iMac excepted (obviously). Aside from that, having used expensive color-calibrated displays and printers and so forth with high-end color management, etc., I'll let you all in on a big secret: There's no such thing as true color matching. The laws of physics don't allow for it (light vs. pigment).

      3) By the time most need to replace the battery in your notebook, it's usually time to get a new notebook. ;)

      4) Another big secret: It's perfectly possible to write clear, self-documenting code in Perl. It's only the fact that Perl programmers seem to refuse to do this that allows Python to exist ;).

    2. Re:Progress! by ericrost · · Score: 1

      As to #4 its possible but not necessary where python lends itself to being readable by default. /ducks

    3. Re:Progress! by shutdown+-p+now · · Score: 1

      Another big secret: It's perfectly possible to write clear, self-documenting code in Perl.

      It's perfectly possible to write object-oriented code in C, too (see GLib/Gtk+), and even in assembly. It's still much harder than it should be, however, because the tools are not designed well for it, so it's generally not a good idea.

    4. Re:Progress! by drinkypoo · · Score: 1

      Well, you can match to a reference for video display or something. That way you have some idea of how most people are going to see your content. You're right that nothing you can do on the monitor is going to make it look identical to what's going to be printed (or whatever - talk to me about auto paint.) :P On the other hand my last HP laptop had a shitty power cable on the brick (I wasn't even abusive, and I know abusive, talk to me about NES controllers and the 23472348237th run through Contra) which led to the premature death of its battery, so there are definitely some not-uncommon cases in which you need a new one.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:Progress! by WMD_88 · · Score: 1

      > 1) Apple stopped using 5.25" FDDs well before the 1990s. Every Mac that came with a floppy drive from their inception in 1984 came with a 3.5" FDD.

      Apple sold the Apple //e until 1993 or so, which had a 5.25" floppy drive. I guess that's even more nitpicky than you, because the Apple // had nothing to do with the Mac anyway.

    6. Re:Progress! by sydneyfong · · Score: 1

      4) Another big secret: It's perfectly possible to write clear, self-documenting code in Perl. It's only the fact that Perl programmers seem to refuse to do this that allows Python to exist ;).

      Yes, yes. Tell me how bless() works again?

      --
      Don't quote me on this.
    7. Re:Progress! by Anonymous Coward · · Score: 0

      i used to fuck a designer/artist/illustrator who won a lot of price for her work and she used to say that you only truly know how the color are when you print it using the same ink as the commercial printer but most of the time it does not matter anyways.

  27. Re:Apple: Breakin' a bunch of crap recently by DJRumpy · · Score: 2, Informative

    Did you ever consider that Sims 2 may not have implemented Quicktime to Apples standard? Since nothing else appears to have broken, then it is also possible that Sims 2 has a poor or improperly coded implementation. As a designer, I'v done this myself a few times by not following the documentation.

  28. Re: OS X and package management by truthsearch · · Score: 2, Insightful

    Same here. I don't understand why I need the X11 sources compiled from fink just to get apache 2 and php.

  29. Re: OS X and package management by AlexCV · · Score: 1

    Fink and MacPorts both have the same problems:

    1) It's impossible to successfully compile anything complex with 64-bit compiler flags (i.e.: -arch x86_64 -m64) since all libraries will be built without said flags... So you have to manually figure out all the dependencies yourself or backtrack the 32-bit install piecemeal.

    2) X11 is/was often broken and needed XFree86 compiled instead of Apple's X11. This might have been dealt with in all cases now.

    3) They are hopelessly behind every major O/S release. It took forever to have a 10.5 compatible fink and/or macport that was officially released.

    All in all, I had to build a 64-bit application chain for 10.5/Intel and it took me two days to get ~30 packages compiled and linked successfully and fink/macport couldn't be used. I often had to reverse engineer fink mac patches for the packages that it did have, it's silly that I couldn't use fink to build them in 64-bit!

    The rationale for a 64-bit build was a 40% performance improvement.

  30. you never update a live system .. by viralMeme · · Score: 1

    "It looks like if you use CPAN to install modules, Apple's latest security update might just have broken your Perl"

    Doesn't matter, no one in his right mind updates a live system. Especially with some third-party update package, never nada ...

  31. Re:Apple: Breakin' a bunch of crap recently by Gilmoure · · Score: 1

    SMAC/X is still working ok. 'Course, I had to track down a past developer of the Mac version to get a carbon version of the game engine to get it to work on an Intel Mac but no crashes in the last couple years. And it's on 24/7 on my home machine.

    --
    I drank what? -- Socrates
  32. Re: OS X and package management by SuperIceBoy · · Score: 3, Interesting

    Same here. I don't understand why I need the X11 sources compiled from fink just to get apache 2 and php.

    Not sure about on Mac, but on FreeBSD I define WITHOUT_X11 so that it doesn't do that.

  33. Didn't break my Perl, did break Catalyst by Kostya · · Score: 3, Insightful

    The update reverted Scalar::Util, which disabled the weak reference stuff needed by a lot of Catalyst libs. I just re-installed it and it worked again.

    But on all my new machines, I just use a local lib instead of the system stuff. I don't need sudo access and then the whole lib gets backed up by Time Machine. If you just upgrade the system perl, you have to re-do it every time you restore from a Time Machine backup (it doesn't copy system stuff as near as I can tell).

    Also, as some have observed, CPAN is a bad idea. I say this as someone who got screwed when Catalyst went to 5.7100 (I was at 5.7015). When I did a restore to a new machine, CPAN got all the new Catalyst libs and all my customizations blew up spectacularly.

    If you are doing serious Perl development on your local Mac, use a local lib and do not rely on CPAN to automatically handle your dependencies. Install things by hand or create a (perl) script to handle the deps for you. That's what we had to do, as we needed to make sure the module version we used matched our production systems--where we do NOT use CPAN and where we upgrade manually and with careful thought.

    --
    "Doubt your doubts and believe your beliefs." -- Switchfoot, Ode to Chin
  34. Time to migrate by AntEater · · Score: 1

    I guess it's time for me to learn python.

    --
    Alex, I'll take keybindings not used by Emacs for $400....
  35. Perl already broken by Anonymous Coward · · Score: 0

    Perl was already broken by design. Ba doom, crash. I'll be here all week ladies and gentleman.

    1. Re:Perl already broken by toadlife · · Score: 1

      It is NOT BROKEN. It's just misunderstood!!

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  36. Re: OS X and package management by geekmansworld · · Score: 1

    Hear, hear.

    Sometimes it's a pain to get the ./configure right on a build, but it can't possibly be more painful than dealing with the fact that dports and fink have a steep learning curve and don't PUT stuff in the RIGHT PLACES. Meaning I have to reconfigure my other programs to tell them where to find supporting libraries and programs.

    If the build-savvy Apple community wanted to help distribute ports, they should just build a whole bunch of .pkg's. Until then, I'll stick with gcc-compiling from source.

  37. Re: OS X and package management by Jay+Maynard · · Score: 1

    Amen. This is why Hercules is distributed as a .pkg for OS X. I don't want to put Hercules users through the pain of dealing with Fink or MacPorts.

    --
    Disinfect the GNU General Public Virus!
  38. Re:Apple: Breakin' a bunch of crap recently by Kenshin · · Score: 1

    The Sims 2 was not updated, the Quicktime update broke something that was previous working.

    That, or Sims 2 was using an "Undocumented Feature".

    --

    Does it make you happy you're so strange?

  39. Re:Apple: Breakin' a bunch of crap recently by neuromanc3r · · Score: 1

    [...] that proves that the hammer isn't to blame - your head is.

    Well, actually that's not too far from the truth...

  40. Re: OS X and package management by TJamieson · · Score: 5, Informative

    With MacPorts you can provide a keyword before installing to see what options an install might have.

    So for instance, for apache2 you might type:
    port install apache2

    to install. Before doing this, try:
    port variants apache2

    This should produce a list. Hopefully X11 is in there (I can't verify right now). Anyway, find any options you want to enable or disable, and reform your install to look like this:
    port install apache2 +enable_option -disable_option

    This will usually let you strip away a goofy dep like X11 from programs that don't really need it.

    --
    For the last time, PIN Number and ATM Machine are redundancies!
  41. Re:Apple: Breakin' a bunch of crap recently by steelfood · · Score: 1

    That's because the hammer didn't hit your head; your head hit the hammer!

    --
    "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
  42. Re: OS X and package management by Colonel+Fahlt · · Score: 1

    If you're going to the length of building from source yourself, you might also want to try pkgsrc.org, depending on your needs.

  43. Um, hello moderators? by Tokerat · · Score: 1, Funny

    Good points and all, man, but um...

    -1: Offtopic

    --
    CAn'T CompreHend SARcaSm?
  44. Easy fix: Stop changing Apple's files. by Trillan · · Score: 2, Insightful

    It's easy enough to install an up-to-date Perl in another location and use it instead of updating the Apple-placed Perl files and relying on them never changing.

    Disk space is cheap. If it might change, don't rely on it not changing.

  45. Re:Apple: Breakin' a bunch of crap recently by Tokerat · · Score: 4, Informative

    Quicktime is used on the Mac for much more than just showing a video - converting sound and image files from any format to any format (the reason my program can play AIFF, wav, MP3, AAC, etc is because Quicktime converts it to a stardard format for me). Therefore if the game is multiplatform like the Sims and all the sound effects are .wav files, Quicktime will probably be used as the standard API to convert them for playback.

    --
    CAn'T CompreHend SARcaSm?
  46. Hear Hear (for client, too)! by MisterSquid · · Score: 4, Informative

    Apple seems to have a separation between its left-brain UNIX underpinnings and its right-brain Quartz GUI.

    For example, with the last several Security Updates, which contain very little information about what all's rolled in, Apple modifies /etc/postfix/main.cf

    inet_interfaces = all

    to

    inet_interfaces = localhost.

    This effectively breaks all Internet-accessible postfix installs. Now, the question is why does Apple apply this to postfix installations explicitly enabled as Internet-accessible? I can't think of any good answer for this except as part of some other bass-ackwards security measures Apple applies in a schizophrenic attitude to the server functions of its UNIX-based client OS.

    For another example, the Aiport Extreme Base Station prior to firmware 7.3.1 had a version of DMZ host (default host in Apple bizarro-world) that worked flawlessly. In April 2007 or thereabouts, Apple rolls out firmware 7.3.1, since which default host is broken for only for BIND (UDP port 53) and all mail ports (587, 110. 995, etc) but works for WoW, BitTorrent, and all other ports. WTF?! If I set my router to designate one computer as the default/universal host, why is it still blocking certain ports that have to be opened using port mapping?

    This split-mind on UNIX vs. GUI seems to pervade Apple's mentality everywhere which is especially problematic to people like me that are not full-time developers but make extensive use of UNIX-layer services.

    Really stupid stuff, Apple. I wish you'd cut it out.

    --
    blog
  47. Re:Scripting Languages not good for most applicati by mr_mischief · · Score: 1

    It's common practice in the Perl community to keep the production tools separate from the OS distro's tools. Not only can the OS break your stuff, but if you're not careful you can break parts of the distro that depend on Perl.

    Mandriva for one has many system tools that depend on a certain version. Fedora doesn't have this problem so much with Perl, but only because it does with Python.

    Don't let your environments intermingle. You can even deploy an application written in Perl with its own copies of the modules it needs in its own directory quite easily. That means if one project needs a newer version of something, you don't even need to update other projects using older versions. You can share easily enough, but you can keep them separate too.

  48. Any OS vendor? But Apple is not ANY OS vendor by Anonymous Coward · · Score: 0, Insightful

    Yes, any OS vendor might have such problems. Why Apple is treated specially here is because:
    1. The fanbois jump up and down all the time crying out "Apple is teh best" and "it just works" so loud they they shit in their pants.
    2. The same fanbois will murder Microsoft if this happened to them.

    1. Re:Any OS vendor? But Apple is not ANY OS vendor by ThePhilips · · Score: 0, Flamebait

      1. IMHO, at the moment, Apple offers the best quality PC you can get for money. Though I'm not a fanboi since I also generally take into account that money is (very) limited entity. If you are in market for tool with particular price/performance ratio, than Apple is definitely not for you. Yet, Apple "Just Works" with much higher probability than M$ or Linux powered systems. (Though with some vendors' systems Linux too reached the point of "Just Works".)

      2. It happens all the time to Microsoft. Mostly because of their archaic, backward APIs they never really even attempt to clean up or provide clean way to access particular functionality. As Microsoft vs. fanbois case goes, it's more like everybody hates to be the slave of the M$ release strategy. And hey, I'd love to "murder" M$ too, since I'm dealing with the crap on daily basis.

      Since M$ always sees the end-users of Windows only as a number on an accounting sheet, there are no true M$ fanbois (only people who forced themselves to like it because they have no choice). So obviously fanboism-wise there is a bias toward Apple (which sometimes actually listens to the unfiltered feedback from its users).

      --
      All hope abandon ye who enter here.
    2. Re:Any OS vendor? But Apple is not ANY OS vendor by SaDan · · Score: 1

      I really have an issue with your #1 statement. I have an office full of 24" iMacs that appear to be dropping like flies, just after their one-year warranty. Power supplies, logic boards, and hard drives (some machines have all three go bad because of the power supply).

      The Apple Store near me is absolutely worthless for warranty repair. I now take machines to a non-Apple repair center, and have had much better service.

      Two more years until the hardware refresh! I can't wait.

    3. Re:Any OS vendor? But Apple is not ANY OS vendor by mdwh2 · · Score: 1

      Yet, Apple "Just Works" with much higher probability

      So it probably just works?

      Not exactly a ringing endorsement, if that's the best that can be said of it. And if my computer didn't work, I'd take it back.

  49. Why did the installer allow this? by MobyDisk · · Score: 1

    Why did the updater/installer even allow a file to be overwritten with a previous version? Does it not skip files if the one already present is newer?

  50. Re:Apple: Breakin' a bunch of crap recently by AioKits · · Score: 1

    Is this taking place in Soviet Russia?

    --
    "Quote me as saying I was mis-quoted." -Groucho Marx
  51. Re: OS X and package management by Sancho · · Score: 1

    The rationale for a 64-bit build was a 40% performance improvement.

    Wow, what software was that? Most of the time, I find that 32-bit software benchmarks a bit faster than the same software compiled for 64-bit on the same machine.

    Only if I'm using memory-intensive applications and have gobs of RAM in the machine have I found this to be different. Even then, I've never seen anything get near to a 40% performance boost.

  52. Re:Scripting Languages not good for most applicati by dodobh · · Score: 4, Informative

    No, this is a compiled language problem. The module is an XS module, and it has components written in C. The Perl update causes a mismatch between the library referenced by the user's compile and the system supplied one.

    Just another form of DLL hell.

    If this was a Pure Perl module, this issue would never have mattered. Scripting languages have the same problems as any compiled language when you break libraries.

    And if you are upgrading your base code in production without any form of testing, your code deserves to crash.

    --
    I can throw myself at the ground, and miss.
  53. fink + dports by commodoresloat · · Score: 1

    I've had mixed experiences with both of these. Ultimately gave up on fink. I had problems with ports too but I think I figured out that you just need to treat it like apt-get and only install using the ports command. If you try to install anything separately or configure things yourself outside of ports you may run into problems. I don't know enough about UNIX to understand why this caused problems but when I did things like install w3m (which at the time I couldn't get via ports) it broke some other stuff. My sense is that if you *really* know what you're doing you should just avoid both of these and compile everything yourself from source but if you're like me and do most of your work in os x anyway, using dports is fine as long as you stick with the tools provided. But any unholy combination of one of these and your own installations is bound to cause trouble.

    1. Re:fink + dports by drinkypoo · · Score: 1

      My sense is that if you *really* know what you're doing you should just avoid both of these and compile everything yourself from source but if you're like me and do most of your work in os x anyway, using dports is fine as long as you stick with the tools provided.

      I think you had it right the first time - mostly you need to pick one or the other. If dports is anything like the other ports then it has OSX-specific patches, which you'd have to track down manually and apply yourself (Assuming they are worthy/necessary - but more often than not they are at least the latter) if you were going to build everything from source. They also provide a system for removing packages, although I suppose there are tools which handle that (e.g. by wrapping file copy commands, or through other means.)

      If you use dports and want to compile something yourself, then you should be able to do that if you know what you're doing :) provided you install all the available dependencies through dports. Your best bet after that is to actually make your own ports (dunno how hard it is for dports, I did it once on obsd or something maybe, and I've made a couple debian packages which don't really enter into this conversation I guess) so that if someone actually makes a managed port for one of your deps, it can be brought gracefully on to your system.

      Note that this advice is worth what you paid for it (unless you're a subscriber, in which case it may be worth far less) since I've never actually used dports. But this is pretty much what it's like to use a package management system on any operating system I've ever used. Bottom line: If you're not going to work within their package management system, don't work within their filesystem tree either. Head off to /usr/local or whatever the OSX equivalent might be (if it differs?) and do all your work there. This has the advantage that if you want to bring the binaries etc. to another system you know just which ones are managed (and thus would better be installed from your package cache) and which aren't.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  54. Re: OS X and package management by drinkypoo · · Score: 1

    I just can't help it but... this is what gentoo's USE flags are all about. Does MacPorts let you set an environment variable to do something similar, and is there even any point (i.e. do the port maintainers use the same name for options?)

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  55. Re:Scripting Languages not good for most applicati by shutdown+-p+now · · Score: 3, Insightful

    this type of problem is much more common with scripting languages

    I don't see how this follows in any way. Can you give some examples of why it would be more common for scripting languages? In this case, the compat problem is not with a Perl script, as I understand it - it's with a binary Perl extension that got linked against the wrong version of Perl library; so, really, it is rather an example of how brittle compiled stuff is...

  56. Re:Apple: Breakin' a bunch of crap recently by Doctor_Jest · · Score: 1

    No, remember when Windows 98 DirectX updates broke certain games (the list is too long to mention), and it was the GAME's fault not Windows?

    Who was brainwashed again? Never let that get in the way of a silly argument, though...

    --
    It's the Stay-Puft Marshmallow Man.
  57. Re: OS X and package management by jbolden · · Score: 1

    The no X11 variant isn't there because GP is wrong about apache2 wanting X11:

    apache2 @2.2.10 (www)
    Variants: darwin, darwin_7, darwin_9, eventmpm, no_startupitem, openbsd,
                              openldap, preforkmpm, universal, workermpm

    Library Dependencies: apr, apr-util, expat, openssl, pcre

    (and none of those are X11 either).

  58. Re: OS X and package management by abigor · · Score: 2, Interesting

    You've got it backwards - Gentoo's system is ports-inspired, as they freely acknowledge. MacPorts is more or less the BSD ports system running on OS X.

    You can set environment variables like so:

    default_variants +ssl -X11 ...and so forth.

  59. DLL hell on Windows by Anonymous Coward · · Score: 0

    I don't know. Have you seen DLL hell on Windows?

    There, if a DLL with the same *basename* as your DLL is already loaded into memory (not loaded by YOU, mind you - but by anyone) it will give you that one when you say "Load my DLL".

    On the other hand, if the other DLL happens not to be loaded into memory at the time, it will load yours fine when you say "Load my DLL". But the other app, trying to load its version of the DLL after you will now get yours. This is true no matter in which directory which DLL is.

    Essentially what Windows does:

    DLL_images = {} # system global

    def load_DLL(environment, DLL_path):
        global DLL_images

        DLL_basename = os.path.basename(DLL_path)

        if DLL_basename in DLL_images: # hellooooo
            return DLL_images[DLL_basename]

        if DLL_path is absolute:
            DLL_actual_path = DLL_path
        else:
            DLL_actual_path = search(environment["PATH"], DLL_basename)

        content = PE.load(DLL_actual_path)
        DLL_images[DLL_basename] = content
        return content

    Dunno if that's fixed nowadays. But this was SO stupid it hurt.

  60. Re:Scripting Languages not good for most applicati by drinkypoo · · Score: 1

    The problem isn't inherent to scripting languages. Lots of systems have inherent failings that are not present in other systems. It's hard to find a more excellent simple system than that which is used for dynamic libraries on Unix systems, where you can have multiple versions of a library peacefully coexisting and even upgrade-in-place with few to no consequences. By comparison, "DLL hell" is a staple of the geek lexicon. (I am aware that Windows offers alternate technologies which mitigate these problems to varying degrees. None of them are as simple as loading a DLL, though they may be easier for the programmer.)

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  61. Re:Apple: Breakin' a bunch of crap recently by Doctor_Jest · · Score: 1

    I remember when games on the Amiga would use shortcuts and tricks in the architecture to squeeze out performance, but if you updated your Workbench and/or Kickstart, Commodore acknowledged some stuff would break. Them's the breaks. :)

    Perhaps Aspyr was using a deprecated function call that changed, was warned it would change (or Apple's more like Microsoft and just doesn't tell anyone), and forgot (or just plain didn't) fix it before the inevitable breakage would occur? If Apple changed something out from under the API and didn't tell anyone (I find that hard to believe), then yes, Apple's to blame and the Quicktime engineers should be forced to watch Steel Magnolias as a punishment. Otherwise, let's be sure we aren't flailing the blamestick all over the place because of something someone "assumes" is the cause of the Sims 2 breaking.

    But never let that stop a non-Sequitur! :)

    --
    It's the Stay-Puft Marshmallow Man.
  62. Re:Apple: Breakin' a bunch of crap recently by CAIMLAS · · Score: 1

    Is it possible to just uninstall the update, or the full Quicktime and install the older version? I seem to recall that there are certain things within OS X, like Windows, which can not be "uninstalled": once it's in, it's in for keeps. RealPlayer, Adobe Reader, and Quicktime on Windows all do this, as does any non-Office/"free" MS add-on product.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  63. Re:Scripting Languages not good for most applicati by Anonymous Coward · · Score: 0

    >because they are much more brittle than a traditionally compiled application.

    I'm sorry, but I found the opposite to be the case. Once a function symbol in a shared object vanishes, the traditionally compiled application will not even start up, let alone be able to do something about it (like using an emulation of the now missing function, or running without it with reduced functionality).

    And that's just for the function symbol itself. I don't even want to think about what happens when a C++ class changes or a function parameter list.

    I know that there are hybrid approaches like dlopen, but I meant it in black and white terms :-).

    >but this type of problem is much more common with scripting languages (Perl, PHP, Python, etc), and vastly harder to debug and defend against.

    I'm not sure why scripting languages keep changing their C interface either. But I think it's more of an attitude problem than a technical problem ("nobody but us is using the C interface anyway, so let's change it to improve it").

    That said, in this specific case, it was the user updating a file he wasn't supposed to update (one under package management; probably updated half of PERL).

  64. Re:Scripting Languages not good for most applicati by CAIMLAS · · Score: 1

    I'm not going to disagree with your initial premise, but: isn't this specific problem being caused by a binary blob module, where the perl module was compiled against a different perl binary? It's a packaging and version control issue, not a scripting language/perl problem. Though CPAN could, arguably, be partially to blame for this snafu, from the sound of it.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  65. site vs vendor Perl installations by atomic-penguin · · Score: 1

    Well if you keep separate vendor and site Perl directories then this is an easily amended situation. What is described in the article is one or a few broken Perl modules, with that said, Perl itself is NOT broken.

    On the Linux systems I manage, there is a separate 'site' and 'vendor' directory. If a vendor supplied Perl module breaks something I delete or rename the offending module in the vendor directory. Likewise, if a CPAN module breaks something then I can delete or rename the offending module in the site directory.

    If you have 'use warnings' and 'use strict' in your Perl applications you should get an error or warning complete with module name, and line number when this sort of thing happens. It sounds to me that Apple might be at fault for rolling back to a previous version of a module. However, whoever initially configured CPAN could have created a separate site directory and avoided this whole mess. So in the big picture, it is not Apple's fault so much as it is the Administrator.

    --
    /^([Ss]ame [Bb]at (time, |channel.)){2}$/
  66. Apple was right to break it! by Budenny · · Score: 2, Insightful

    "Why do you bring that ancient version back, Apple!?"

    You fail to grasp the essence of the situation. It is not your copy of OSX, it belongs to Apple. You did not buy it. You merely paid some money, and got a license to use it. Well, the same thing is true of the hardware - has to be in fact, because of course OSX and its hardware are seamlessly connected and integrated.

    So, what went wrong was that you did not get your copy of Perl from the app store. Your copy of Perl was not approved for use with the new version of OSX. This is your fault, not Apple's. You should have checked and got permission before you installed it. It is not like you were installing it on your own property, after all. If you go and plant a cabbage in someone else's garden without permission, don't be surprised if they spray it with weedkiller.

    Its exactly the same thing. Its completely weird how many people think they somehow bought a copy of the software, or bought a computer, and now they for some reason think they have the right to install whatever they want on it, and Apple has to somehow protect whatever silly thing they did to it.

    Idiots! Next thing, they will be wanting to buy retail copies of OSX and install them on hardware made by any Tom Dick or Harry.

    1. Re:Apple was right to break it! by stim · · Score: 1

      I can't tell, is this a joke?

      --
      Browse at -1 to keep an eye out for abuses.
  67. Only occurred if core system was modified by Killer+Eye · · Score: 3, Insightful

    This problem occurred only for people who updated their system's Perl distro via CPAN.

    A vendor is free to do what it wants in the part of the system it supports. This isn't new, it's been done for decades on Unix with the distinction between the /usr/local hierarchy (a.k.a. "your crap, not ours") and the rest of /usr (i.e. "our crap, not yours").

    People need to know that it's better to install customizations in /usr/local/lib/perl5, or even their home directory, than to fiddle with the vendor setup. This not only avoids vendor clobbering, but the separation is cleaner: mistakes are easier to contain and undo, you can easily test whether a problem is with your customizations or the vendor defaults, you don't necessarily need admin privileges, etc.

    --
    "Microsoft killed my company, I hold a personal grudge. I don't use Microsoft products and neither should you."-JWZ
    1. Re:Only occurred if core system was modified by Anonymous Coward · · Score: 0

      If in - in apple's view - users ought to avoid cpan, why do they ship it then?

    2. Re:Only occurred if core system was modified by Anonymous Coward · · Score: 0

      I've got perl installed in many nooks and crannies as does anyone who has had to deal with the infinite dependency tree of ImageMagick. Several within /usr space. The main one is in /opt/local/bin/perl which I think was DarwinPorts' doing. Apple's update hosed the IO of that one. I'm not sure Apple's installer is smart enough to know not to look for things in /usr space, I think it just clobbers whatever is in the root's PATH.

  68. Anonymous Coward by Anonymous Coward · · Score: 0

    Isn't Perl broken anyway?

  69. Comparing Apple's Release Cycle to MS by aztracker1 · · Score: 4, Insightful

    That's funny... since 2000, MS has had two releases you'd have to pay to upgrade to... How many has Apple had? more than two... As for being constrained to the release cycle most new software runs in XP still... how much new Mac software runs in less than 10.3? not much.

    I actually like OSX, it has a consistent UI on a Unix core. But your arguments only show your ignorance. For the record I like different aspects of a lot of OSes. There are even parts of Vista I like (mainly the restructuring of the user paths... though would rather have an "ALL" user back, opposed to the new location for global settings. I like that Linux has a FLOSS mindset, even if the zealots can't find a balance with commercial software.

    I don' like a lot of the more politically minded decisions MS and others have taken. I find it ironic that Linux fanbois will use Samba, but ignore Mono because of patent concerns. Zealots from every corner are wrong, and spread FUD, it's what they do... the truth is generally somewhere in the middle.

    -- happy Windows, Linux, BSD & Mac User

    --
    Michael J. Ryan - tracker1.info
    1. Re:Comparing Apple's Release Cycle to MS by falconwolf · · Score: 2, Informative

      That's funny... since 2000, MS has had two releases you'd have to pay to upgrade to... How many has Apple had? more than two...

      How much do those upgrades cost? The cheapest Best Buy sells is the Microsoft Windows Vista(TM) Home Premium Upgrade with Service Pack 1 - Windows for $130, the same as an Apple upgrade. And a Leopard family pack which allows Leopard to be installed on 5 Macs costs $200. - Microsoft Windows Vista(TM) Ultimate with Service Pack 1 cost $320 at Best Buy. Microsoft Windows Server 2003 Enterprise Edition w/SP1, with 25 clients costs more than $3000. Meanwhile Mac OS X Server v10.5.4 with a 10 client license cost $500.

      So yes Apple upgrades come more frequently, and who doesn't want frequent upgrades, however they cost less than Microsoft upgrades.

      Falcon

    2. Re:Comparing Apple's Release Cycle to MS by Neanderthal+Ninny · · Score: 1

      Also for those that need to run XP for whatever reason you need to PAY $99 for the downgraded from Vista if they are buying new hardware. WTF!
      Who in their right mind, except for MS, want to pay for a downgrade?!

    3. Re:Comparing Apple's Release Cycle to MS by trouser · · Score: 1

      Apple released 10.0 in 2001. Since then they have released five major versions (10.1 - 10.5) with the average time between releases being about 18 months. In Australia we pay about AU$150 a pop so if I had kept a single Mac up to date over than period of time my total cost for OSX upgrades not counting the cost of the version bundled with the machine would be about AU$750.

      Of course the minimum hardware requirements for 10.5 exclude any hardware Apple was making in 2001. There are known hacks to get 10.5 running on unsupported hardware. I'm not paying money for software that requires known hacks.

      Microsoft released Windows XP in 2001. I have a legit XP Home OEM installed on a HP box manufactured around that time. I have not had to pay for a single update or upgrade to XP in that time. The operating system while no longer available for retail is still supported and updates are installed regularly. So the total cost of upgrades so far is AU$0.

      Of course the minimum hardware requirements for Vista exclude my old PC. Known hacks, etc.....

      So if I feel inclined to run Vista or Windows 7 I'll probably buy a new box with the OS included and I'll run that box for 7 or 8 years and I probably won't have to pay for a single software update along the way.

      --
      Now wash your hands.
    4. Re:Comparing Apple's Release Cycle to MS by falconwolf · · Score: 1

      Apple released 10.0 in 2001. Since then they have released five major versions (10.1 - 10.5) with the average time between releases being about 18 months. In Australia we pay about AU$150 a pop so if I had kept a single Mac up to date over than period of time my total cost for OSX upgrades not counting the cost of the version bundled with the machine would be about AU$750.

      Ah but are all those upgrades needed? I bought my Mac months before Leopard was released and even though I got an upgrade to Leopard when it came out, I finally installed it about 2 months ago. More than a year went by before the upgrade. And the only reason I did upgrade from Tiger, 10.4, to Leopard or 10.5 was because the Java 6 SDK requires 10.5.

      if I feel inclined to run Vista or Windows 7 I'll probably buy a new box with the OS included and I'll run that box for 7 or 8 years and I probably won't have to pay for a single software update along the way.

      I can do the same thing with my Mac, that's not unique to Windows PCs.

      Falcon

    5. Re:Comparing Apple's Release Cycle to MS by trouser · · Score: 1

      The parent posts discuss the relative costs of keeping the operating system up to date for OS X and Windows, not the merits of upgrading nor the savings to be made by not upgrading.

      To upgrade incrementally from 10.0 to 10.5 costs money every step of the way.

      To upgrade XP incrementally from the original release to the latest service pack costs nothing.

      And yes, you can buy a new Mac, install Vista at your own cost and then expect regular gratis updates for the next 7 or 8 years. Or you can buy a new Mac with and keep 10.5 installed. And then pay to upgrade to 10.6 and 10.7 and .......

      If you choose to stick with an old version of OS X how long can you expect it to be supported? I can't find anything obvious about EOL for various versions of OS X on the Apple website.

      I've heard, but can't confirm, that security updates are only made available for the current and previous major versions of OS X. If this is the case then updates for 10.4, released mid 2005, will cease with the release of 10.6. That's a service life of maybe 5 years.

      Meanwhile XP, released in 2001, is *still* actively supported today.

      --
      Now wash your hands.
    6. Re:Comparing Apple's Release Cycle to MS by falconwolf · · Score: 1

      To upgrade incrementally from 10.0 to 10.5 costs money every step of the way.

      Upgrading OX S from 10.0 to 10.1 and all the way up to 10.5 is upgrading the OS not installing service packs as with Windows. Windows Vista Service Pack 1 is a bug fix, and Macs do the same thing. I have Leopard installed and what I installed was 10.5, after having run update I now have 10.5.6, which is like 6 service packs for Vista. And none of those updates cost me a dime. I can also update Leopard for some years to come if I want to. Even now Apple still supports Mac OS 9 and it's been out longer than Windows XP which MS has been extending support for because of the demand for it. MS originally End of Lifed XP last year.

      Falcon

    7. Re:Comparing Apple's Release Cycle to MS by Anonymous Coward · · Score: 0

      Mac OSX Server sucks, I'm not even going to bother listing why here, go Google it.
      Also a single license of Leopard costs $130 as well so your figures are bullshit.

    8. Re:Comparing Apple's Release Cycle to MS by trouser · · Score: 1

      The most recent update available for Mac OS 9 via the Apple support page linked in your post is 9.2.2. It was released in December 2001. Support means more than hosting a very old update. There have been no bug fixes, improvements or changes of any kind to the OS 9 code since that release.

      Service packs are just bug fixes? Service packs have included bug fixes, security updates, new applications, the introduction of the .NET framework, support for new hardware eg. USB 2.0 and SATA, support for IPv6, etc. Rather telling that the version number reported by Windows XP changes when a service pack is installed. Almost like you have upgraded. To a new version.

      MS originally planned to stop retail sales of XP last year. EOL is not end of retail. It marks the date after which we can no longer expect support. The EOL date for the extended support period for XP is April 8th, 2014.

      You know I'm posting these comments from a GNU/Linux box. I really couldn't give a shit, you're just annoying me.

      --
      Now wash your hands.
    9. Re:Comparing Apple's Release Cycle to MS by Anonymous Coward · · Score: 0

      You're right, that sucks. How much do Apple sell their downgrades for? Oh yeah, that's right, you can't downgrade, you're stuck with whatever His Royal Highness the Almighty Lord Steve Jobs tells you will have, even if it sucks arses(see OS X Leopard)

    10. Re:Comparing Apple's Release Cycle to MS by falconwolf · · Score: 1

      The most recent update available for Mac OS 9 via the Apple support page linked in your post is 9.2.2. It was released in December 2001. Support means more than hosting a very old update. There have been no bug fixes, improvements or changes of any kind to the OS 9 code since that release.

      I have a PC I bought brand new in December 1997 with Windows NT 4.0. The last tyme I was able to download an update was in 2000. The last update I got for it was in 2001, when I had to take it to the Geek Squad to have it installed.

      Service packs are just bug fixes?

      To make my post short I left stuff out. They service packs are still part of the Windows they are issued for. OS X 10.5 is a different OS than 10.4. Snow Leopard, 10.6, is another OS upgrade. Upgrade not update. Update vs Upgrade:
      "An Apple "software upgrade" means a major, standalone version of a software product."
      "A "software update" updates a major (reference release) version of software, but does not upgrade it to the next major version (if one exists)."

      you're just annoying me.

      And you're annoying me. Bye.

      Falcon

    11. Re:Comparing Apple's Release Cycle to MS by Veetox · · Score: 1

      Zealots from every corner are wrong, and spread FUD, it's what they do... the truth is generally somewhere in the middle.

      So, if you're a zealot from the middle, does that make you right? ...And is it right for a zealot for the middle to spread FUD in the corners?

    12. Re:Comparing Apple's Release Cycle to MS by Anonymous Coward · · Score: 0

      SAMBA is based on the SMB protocol. SMB existed before Microsoft "embraced" it. At least get your facts right before spreading FUD yourself.

    13. Re:Comparing Apple's Release Cycle to MS by badkarmadayaccount · · Score: 1

      Somehow, I felt a need to post here...

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    14. Re:Comparing Apple's Release Cycle to MS by Anonymous Coward · · Score: 0

      *cough* CIFS *cough*

    15. Re:Comparing Apple's Release Cycle to MS by jonadab · · Score: 1

      > As for being constrained to the release cycle most new software runs in
      > XP still... how much new Mac software runs in less than 10.3? not much.

      Indeed, this is really my biggest beef with the system I'm currently using (Debian).

      Take right now, for instance. A new release (5.0 Lenny) just came out a few days ago. I don't really want to upgrade my entire system, lock stock and barrel, to the new version. I mean, upgrading is kind of a pain. But I will have to do it, because otherwise I'll be stuck in Fi^H^HIceweasel 2.x indefinitely, among other things. New versions of applications won't run on the old version of the OS. Frankly, there are a couple of things that I've wanted to upgrade for several months now, but I can't, because, you know, they won't run on the old version of the OS. So I've got to do the whole OS upgrade.

      In this case, I don't think it's the OS distributor's fault, though. I can't upgrade to Firefox 3.0 on Debian 4.0 Etch, *not* because Debian doesn't provide the update (that would be very understandable) but rather because the Mozilla folks chose to require a hyper-recent version of some system library or another. I couldn't install Firefox 3 on my current OS even if I were willing to compile it myself -- which I might be, but it's not an option. It's not just Firefox either. Firefox springs immediately to mind (perhaps because I use it a lot, but also perhaps at least partly because the Mozilla folks have been haranguing for months and months that version 2.x is worse than a poke in the eye with a sharp stick and nobody should even think about using it anymore), but there are several other applications I might want to update, if only I could, but I can't unless I update the whole OS.

      This despite the fact that the version of Debian that I'm using is less than two years old -- or, at least, it was declared stable and officially released less than two years ago. I SHOULDN'T HAVE to update it yet, just to be able to run current applications. New releases of applications SHOULD run just fine on a two-year-old OS. But no.

      Perl works just fine, though.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  70. Re:Scripting Languages not good for most applicati by Draek · · Score: 1

    but this type of problem is much more common with scripting languages (Perl, PHP, Python, etc), and vastly harder to debug and defend against.

    Any source for that? because logic says problems arising from upgrading only part of the underlying platform would be much more common with compiled languages, and judging from both DLL and dependency hell, that seems to be the case.

    --
    No problem is insoluble in all conceivable circumstances.
  71. Re:Scripting Languages not good for most applicati by Anonymous Coward · · Score: 1, Insightful

    How the fuck does this get modded up? You can't even fucking define a 'scripting' language you ignorant fuck. Should I start bringing up C interpreters?

    More to the point, the term "DLL hell" was caused ENTIRELY BY compiled C applications. This was the ORIGINAL example of this sort of dependency problems.

    How the fuck is an application missing a dependency "more brittle" depending on the language its written in? If I compiled the Perl to C, would that suddenly make it less brittle? If your C application is missing dependencies, does it magically track them down and then install them?

    As for "debug and defend", an error message that says "Exiting because I can't find this dependency" is pretty fucking clear no matter the language.

  72. Re:Scripting Languages not good for most applicati by dkf · · Score: 1

    In the flamebait but true category, this is further evidence why scripting languages are not suitable for most application development ... because they are much more brittle than a traditionally compiled application.

    Only because too many scripting language implementations are done by people who don't actually care about compatibility or the difficulty of deployment. Of course, it's dangerous to generalize from "all the ones I know" to "all"; some of us actually give a shit about such important stuff.

    In my experience, it tends to be best to use a language like C, C++, Java or C# to write components, and to use a scripting language to stick those components together. (Yes, of course the components should be tested thoroughly.) Sticking independently-developed components using just a low-level language tends to be hard, dull, and error-prone work due to all the type-conversion gunk that you need. Using a higher-level language to hide most of the crap makes programmers more effective since it lets the real program be closer to the pseudo-code that people really work with in their heads.

    Alas, it's when the people working on doing the code that connects different languages get it wrong that this whole sweet process is made much more painful. Perl isn't stellar in this regard; you can do better for yourself.

    --
    "Little does he know, but there is no 'I' in 'Idiot'!"
  73. Re:Apple: Breakin' a bunch of crap recently by ThrowAwaySociety · · Score: 1

    Right. Let's see... Quicktime still works but the Sims 2 doesn't. Quicktime doesn't seem to break anything else, so logically, it MUST be Apple's fault. I think the rest of the Quicktime users who aren't playing the Sims 2 would disagree with your placement of blame. :)

    Brainwashed much? You're basically implying that if I hit you in the head with a hammer and you're knocked out, but the hammer, nearby mailbox, and tree are unharmed, that proves that the hammer isn't to blame - your head is.

    If there are a dozen other people in the room at the time, and only I get hit, then yeah, my head probably is at fault. Either it didn't get me out of the way fast enough, or it said something that pissed you off.

    Seriously, QT is a fundamental API on OS X. If your app breaks when it changes, and your app is the only one that breaks when it changes, then your app is the one with the problem. QED.

  74. Who cares by Jane+Q.+Public · · Score: 0, Flamebait

    if Perl is broken? Seriously.

  75. Re: OS X and package management by Anonymous Coward · · Score: 0

    prometeus:~ brian$ port variants apache2 apache2 has the variants: darwin: Platform variant, do not select manually darwin_7: Platform variant, do not select manually darwin_9: Platform variant, do not select manually openbsd: Platform variant, do not select manually openldap preforkmpm workermpm eventmpm no_startupitem universal: Build for multiple architectures

  76. Re: OS X and package management by Anonymous Coward · · Score: 0

    People who start their messages "Umm" should be dragged out in the street and shot in the head repeatedly for being huge douchebags.

  77. Re: OS X and package management by antime · · Score: 1

    X11 is/was often broken and needed XFree86 compiled instead of Apple's X11. This might have been dealt with in all cases now.

    You pretty much have to install XQuartz to get X11 programs working nowadays. Even applications not installed via Fink or MacPorts like Gimp needs it. But it sure beats having to compile it yourself.

    The rationale for a 64-bit build was a 40% performance improvement.

    Ignorance, insane optimism or some single special case application?

  78. Re:Apple: Breakin' a bunch of crap recently by Anonymous Coward · · Score: 0
    "Is this taking place in Soviet Russia?"

    Based upon the amount of "bail-out" spending... yes, yes it is.

  79. Roll your own... by Anonymous Coward · · Score: 0

    I installed my own after this. I don't have to rely on the Apple version if I don't want to and Apple has given me a reason to do so.

  80. Why Apple is treated specially here is because: by falconwolf · · Score: 1

    1. The fanbois jump up and down all the time crying out "Apple is teh best" and "it just works" so loud they they shit in their pants.

    And Apple foes jump up and down whenever something doesn't "just work". What I noted in reading tfa and bog post is that the software update only breaks the perl that's build into Macs, but if someone builds and installs their owe Perl won't be broken.

    2. The same fanbois will murder Microsoft if this happened to them.

    Does Microsoft even ship Windows with Perl installed?

    Falcon

  81. Re:Apple: Breakin' a bunch of crap recently by VGPowerlord · · Score: 1

    Therefore if the game is multiplatform like the Sims and all the sound effects are .wav files, Quicktime will probably be used as the standard API to convert them for playback.

    I'm surprised, I would have thought either OpenAL or CoreAudio would be used to play them.

    --
    GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  82. Re:Apple: Breakin' a bunch of crap recently by Anonymous Coward · · Score: 0

    If your app breaks when it changes, and your app is the only one that breaks when it changes, then your app is the one with the problem.

    Not when the breakage is due to Apple unilaterally deciding to remove some existing feature. Recently they e.g. decided to remove existing support for palettized graphics, which broke a bunch of old programs. Blizzard updated their old games so they started working again, but not many vendors will do that.

  83. Re: OS X and package management by NadNad · · Score: 1

    Er, the whole point of each of those package-managers dragging in a whole stack of stuff is to avoid the whole "one manager/upgrader stomped another's files" problem that got this whole thread started. Fink and MacPorts each have their own (for example) libxml2 so that neither one's nor apple's feature-enable/disable, interface-compatibility, or other changes affects anything except its own packages, which presumably know how their own lib is built. If CPAN had behaved the same way, we wouldn't be here, because apple would know exactly how its versions of things were and its upgrades would be self-consistent, and user-installed versions *somewhere else* would not be touched and would remain self-consistent with themselves. That's really the only solution that's easy to make work well (or at all) as a few-parentlevels-up notes, and that's precisely what you criticize Fink/MacPorts for doing. If you build from source yourself, you're using apple's versions of libs, which is fine as long as you trust apple not to change things like this. If you do so and keep your files in /usr/local like you're supposed to, at worst, you'll have to recompile when an OS lib changes. The problem here is when users *didn't* restrict locally-installed things to /usr/local, which is just silly.

  84. Re:Scripting Languages not good for most applicati by VGPowerlord · · Score: 1

    PHP has had its share of gotchas.

    Just in the core, you've had the following changes:
    4.1 to 4.2: register_globals default was changed from on to off.
    4.x to 5.0: $HTTP_GET_VARS and $HTTP_POST_VARS are now disabled by default. Note that 4.0 didn't even have their replacements ($_GET and $_POST); they were introduced in 4.1.
    5.x to 6.0 (coming soon): Safe mode is going to be removed entirely. magic_quotes_gpc is going to be removed entirely. Both of the settings mentioned in the previous lines are going to go (they were just disabled by default before).

    That's completely ignoring things like the XSLT libraries being switched around... to my knowledge the 4.x library doesn't work on 5.x and vice versa.

    --
    GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  85. Re:Apple: Breakin' a bunch of crap recently by MmmmAqua · · Score: 2, Insightful

    That doesn't really matter as much as how Sims 2 is using Quicktime. If they are sticking to the published API and an update broke the game, then, yeah, Apple screwed up. But if they are using an undocumented macro, function, or method, then Apple isn't at fault.

    FWIW, I have a few apps written against QTKit that have worked unmodified for some time now. So at least some of the API is stable. Who knows what arcane corners Aspyr is delving into, though?

    --
    Arr! The laws of physics be a harsh mistress!
  86. Not to worry, Randal's on it by mikeraz · · Score: 1

    Randal Schwartz uses a Mac book. He'll get a fix, work around or something soon to scratch his personal itch.

    --

    There's more to it than this.

  87. Re: OS X and package management by Anonymous Coward · · Score: 0

    Or for macports put something like this in /opt/local/etc/macports/variants.conf
    +no_x11
    -x11

    And it's also easy enough to create your own local port repository and alter the Portfile to your satisfaction.

  88. It does just work by falconwolf · · Score: 1

    if you take what Apple gives you and don't customize it too much. Installing your own modules? Not the Apple way.

    Like other's you have it backwards. Apple's update only affects Apple's implementation of Perl. If you built your own Perl implementation it wasn't affected.

    Go to Linux for that kind of thing. Who would use OS X for serious Perl work anyway?

    I plan to use OS X, and Linux, for Perl. Can you tell me why Perl does not work well with OS X?

    Falcon

    1. Re:It does just work by leamanc · · Score: 1

      Like other's you have it backwards. Apple's update only affects Apple's implementation of Perl. If you built your own Perl implementation it wasn't affected.

      Well, I was being somewhat sarcastic in response to a very sarcastic comment. I know you can use Fink or ports, or even compile from source, your own Perl on OS X. But my point remains the same...if you are going to mess with Apple's Perl, you can't do much because it will break at some point with an update. This applies to many of the *nix-y parts of OS X. Your config files get overwritten by Software Update. The extensions you configured and compiled yourself because they weren't there get disabled because all of a sudden, Apple decides to include it (but an old version).

      So that's where my comment came from: You can use Perl fine on OS X as long as you don't dick around with it too much. Unless that is, you are willing to build it yourself, in which case I have to say Linux is better. In most distros, you get a more flexible, up-to-date distribution that is less likely to break if you play around with it too much.

      --
      :q!
  89. Re: OS X and package management by 1stvamp · · Score: 1

    Don't blame the package manager because you don't know how to configure options on the package. ;)

    --
    Wes
  90. preinstalling MySQL and PHP by falconwolf · · Score: 1

    So how easy is it to install MySQL 5+ and PHP 5+?

    If you have OS X server MySQL is already installed. And in Leopard PHP is as well. Substituting "OS X" for "L" OS X has everything to run LAMP.

    Falcon

  91. Haven't applied yet by Anonymous Coward · · Score: 0

    After crashing gpgmail on leopard while applying updates a few weeks ago I tend to wait and see if there's any trouble doing upgrade and I'ven't applied recent updates yet.

    Not installaling sec-updates might crash my computer, Installing sec updates will crash my computer (I won't be able to work with perl (at least) and some other programs using perl as well (perhaps)

    Thus I prefer risky in favor of trashy ;)

  92. Re:Apple: Breakin' a bunch of crap recently by Farmer+Tim · · Score: 1

    Is it possible to just uninstall the update, or the full Quicktime and install the older version?

    Yes: delete the installer package receipt from the Library folder and run the older installer. Alternatively, tools like Pacifist can be used to install the Quicktime components from any Quicktime, OS or combined update installer package.

    I seem to recall that there are certain things within OS X, like Windows, which can not be "uninstalled": once it's in, it's in for keeps.

    Significant parts of OS X and many applications rely on the Quicktime shared libraries, so if you did remove Quicktime in its entirety a lot would break, assuming it would even boot to the desktop in the first place. For this reason you can't simply uninstall the update. But delete the Quicktime Player application and it stays deleted (until the next update, anyway).

    As for other software, I've never seen anything mysteriously reinstall itself the way things do on Windows. For the most part, when you delete the application package you delete everything except preferences (which is the whole point of the app. package concept), and those vendors that do use installers usually provide uninstaller scripts or instructions on manual removal of components. The exception is where vendors use anti-piracy measures (like iLok or whatever Adobe uses to scan your LAN) but they can still be deleted manually if you know where to look.

    To be honest, I think any company that tried the "you can't uninstall me ever" trick with OS X would end up with so much bad publicity that they'd be forced to drop the scheme or leave the Mac market. Sometimes a whiny user base has its advantages...

    --
    Blank until /. makes another boneheaded UI decision.
  93. but my point remains the same.. by falconwolf · · Score: 1

    if you are going to mess with Apple's Perl, you can't do much because it will break at some point with an update. This applies to many of the *nix-y parts of OS X. Your config files get overwritten by Software Update. The extensions you configured and compiled yourself because they weren't there get disabled because all of a sudden, Apple decides to include it

    I think you miss my point. You say if you do something yourself eventually an Apple update will overwrite what you did. But in this case it was Apple's own implementation that was broken. If you had built and installed Perl yourself it was not broken by the update.

    I have to say Linux is better. In most distros, you get a more flexible, up-to-date distribution that is less likely to break if you play around with it too much.

    I don't know how the Linux distros work, but I may find out soon. I plan on installing Ubuntu on my Mac RSN and if I do I want to setup both Leopard and Ubuntu as development platforms.

    Falcon

    1. Re:but my point remains the same.. by leamanc · · Score: 1

      I think you miss my point. You say if you do something yourself eventually an Apple update will overwrite what you did. But in this case it was Apple's own implementation that was broken.

      The summary states that Apple's Perl is broken--if you installed third-party modules. People who use Perl out of the box the way Apple shipped it (which is quite old, by the way) don't have a broken Perl at the moment. But that Perl is quite boring.

      Yes, you could have gotten around this by using Fink or ports version of Perl, or a compiled-from-source version. But that's where my point about Linux comes in. In nearly any distro, the version you can play around with safely is already there, and is kept as up-to-date as you like, depending on whether you subscribe to stable or unstable repositories.

      I love OS X, I really do. It's the best desktop environment out there. It's a good development environment, but not great. You really have to know what you're doing, and Linux is just plain better in this area. I think after you have played with your dual-boot Mac for a while, you will agree. OS X is great for the everyday tasks, but you can't beat the freedom and flexibility of a more traditional *nix when it comes to development.

      --
      :q!
    2. Re:but my point remains the same.. by falconwolf · · Score: 1

      The summary states that Apple's Perl is broken--if you installed third-party modules

      If you read the actual article, and not rely on summaries, three conditions need to be met: "Perl breakage only occurs if you're running Leopard (Mac OS X 10.5), you're using the Perl distro baked into the OS, and you've updated the distro via CPAN (Comprehensive Perl Archive Network), a widely-used collection of existing Perl modules." How many modules does Apple provide? How many who use Perl do not use CPAN?

      Falcon

    3. Re:but my point remains the same.. by leamanc · · Score: 1

      How many modules does Apple provide?

      Not many.

      How many who use Perl do not use CPAN?

      About half of the CPAN modules I've tried to install on OS X (roughly a dozen or so) failed to install. So I had to look elsewhere for ways to run cool Perl scripts on OS X, until finally I just said screw it, anything with a .pl extension, I'll run on my Dell with Ubuntu. There, I can use the package manager that I use for the rest of the OS to install my CPAN modules.

      --
      :q!
    4. Re:but my point remains the same.. by mmkkbb · · Score: 1

      You can handle CPAN but not MacPorts?

      --
      -mkb
    5. Re:but my point remains the same.. by leamanc · · Score: 1

      You can handle CPAN but not MacPorts?

      I can handle them both, but there's a difference. CPAN is a way to add modules to existing software. ports is a way to add software that should be there in the first place on a *nix system, or more standard versions of software that is already there. Before I'm going to go through that trouble, I will just use my Linux box.

      So I guess I should say I won't do MacPorts. Except maybe to install watch. Come on Apple, give us that already!

      --
      :q!
  94. Re: OS X and package management by falconwolf · · Score: 1

    Same here. I don't understand why I need the X11 sources compiled from fink just to get apache 2 and php.

    I don't know about Apache but PHP comes with Leopard.

    Falcon

  95. Re:Apple: Breakin' a bunch of crap recently by Anonymous Coward · · Score: 0

    So true. I will never use a Mac OS until they have directX, and just about anybody can guarantee that will never happen.

  96. I doesn't break perl in most part. by Neanderthal+Ninny · · Score: 1

    This is a fairly unique problem from what I can tell. I ran several perl commands on my MacBookPro running 10.5.6 and here are the results:

    perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION;'
    0.999

    perl -MIO::Socket -le 'print $IO::Socket::INET::VERSION'
    1.29

    I appears that this problem unique to UTF8, adding or modifying CPAN and the Security 2009-001 update. I think that this is perl module problem that is causing this issue and they need to fix at that level.
    Again perl is not broken unless you have done certain things on the Mac.

  97. CPAN doesn't need Apple's help by aevans · · Score: 1

    CPAN doesn't need Apple's help to break. Every third time I install a package it breaks my whole install. Then occasionally, when I try and fail to install a package manually, it fixes everything automagically and becomes self aware. Over night, while tapping into an alternate power source (like on Superman 3) it manages to screw itself up again with an upgrade Bundle::CPAN.

  98. Re: OS X and package management by Anonymous Coward · · Score: 0

    Wow, that information would have been incredibly useful to me before I gave up MacPorts. Too bad the documentation is abysmal.

    I generally find it easier to resolve dependencies myself rather than use MacPorts.

  99. Re: OS X and package management by AlexCV · · Score: 1

    3D MRI registration using X-correllation as objective function as implemented by DL Collins et al. It's available as part of the MINC package.

  100. Re: OS X and package management by AlexCV · · Score: 1

    Specific special case. Basically large 3D matrices of doubles.

  101. uhm, ... by reiisi · · Score: 1

    Okay, somebody at Apple screwed up and put an old bit in the update.

    But you shouldn't be using CPAN to update your vendor perl. Period. (As is mentioned in threads below.)

    Perl is easy to install your own copy of. The default install sets your own copy up in /usr/local where it is out of the way. That is what you should do with perl on _any_ OS that uses perl as a part of the OS. Why is that so hard to understand?

    In fact, it's what you should do with Python, or with basically any piece of software that you want to customize.

    Use CPAN to update and manage that install and let the OS tools manage the OS installs of whatever.

    --
    Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
  102. Re:Apple: Breakin' a bunch of crap recently by Anonymous Coward · · Score: 0

    Note that The Sims 2 regression testing is very popular, and there are both QA at both companies and devseeds who test a variety of combinations of recent The Sims 2 engines (Bon Voyage, OFB, Pets, etc.) and major upgrades from Apple most recently including 10.5.6 and QT. A combination of an older TS2 engine (e.g. Nightlife or the bare game) and 10.4.11 + a new QT simply might not have been regressed.

    FWIW TS2 Bon Voyage + fully up to date 10.5 works on both Intel and PPC Macs.

    Make sure you tell Aspyr and bugreporter.apple.com exactly what TS2 engine you are running, and provide the output of "/usr/sbin/system_profiler -xml -detailLevel full" in both reports.

    Let me stress this: it is CRITICAL that the exact version of the TS2 engine is part of the report. It's helpful to also list the order of the expansion kit installations you performed, if you know that, and to supply the contents ~/Documents/EA Games/The Sims 2/Logs/ and ~/Documents/EA Games/The Sims 2/Config/. If you can test as a new user which has never before played the game, and which has no custom content whatsoever, that would be very helpful too. Otherwise, a list of your custom content would be helpful. Don't worry about being judged; TS2-using Apple-people are probably more perverted than you anyway.

    "we are working with Apple to get it resolved" is useless without a radarweb URL / bugid, which you will be provided with in reply to a submission at bugreporter.apple.com. You will also be provided with the master bugid (if one exists already) if your report is really a duplicate of the report the Aspyr message you quote implies.

    Finally, you might try seeking help at moreawesomethanyou.com (a small amount of intelligence & skill testing is involved; be sure to find and read the FAQ first) where there are a number of technically competent Mac-using TS2 users. Warning: generally responsive, often helpful, but almost never polite. Be technical there, and assume that there are people much more aware of the innards of the systems involved than you can imagine. It'll help.

    Finally, to be preemptive, you should locate -- arrr if necessary -- an upgrade to 10.5.6 for your wife's Mac to test whether it works fine under 10.5.6 or not. Backups. Backups. Make backups. Save a bootable image backup ('man asr' on your mac) before you do the upgrade. Save two on two separate disks, even, put one in a safe, and use the other as the target of the upgrade and for testing. Even if you decide to stay in 10.4.11, knowing whether it works for your wife in 10.5.6 is useful for diagnostics.

  103. Re:Apple: Breakin' a bunch of crap recently by Anonymous Coward · · Score: 0

    QT is mainly used for showing video in the TV and game console objects in TS2 for Mac OS X. It is also used for some sound (notably playing custom radio channels).

    Custom content that plays un-nicely with QT may cause the game to have seizures. So might anything custom in /Library/QuickTime/ (which tends to accumulate 3rd party codecs etc.)

    However, QT is also used for saving movies of the game and taking snapshots, and a few other things which are unaffected by custom content, and it is possible that something weird is happening in some corner case.

    The oddity here is 10.4.11 with an unknown TS2 game engine on an unknown platform, since we were not supplied that information.

    Multiprocessor/multicore issues may arise (this includes cases where things break only on older uniprocessor/unicore Macs)

    GL issues may arise (10.5 through to 10.5.6 have seen many revisions to OpenGL processing compared to 10.4), so it may be important to know what video system is in use on the Mac in question.

    Graphics system problems may cause issues with QT projecting non-custom content onto OGL surfaces, or with animations, or with some texture handling.

    The TS2 Bon Voyage game engine is a very different and newer beast than that in TS2 Nightlife, for example. I wouldn't trust the latter to play well any more (it had sick bugs to start with).

    However, you hit the nail on the head: this is a weird case that was either mysteriously not regressed (or caught in regression testing) by either Aspyr or Apple (or their nontrivially shared devseed communities). Only a tiny number of problems were reported to Apple after the (long-seeded!) QT upgrade hit the software update servers, and most of them are related to issues you mention in your third sentence.

    The real problem here is that there is a disconnect between what users think are helpful bug reports and what bughunters think of as an actually useful bug report (let alone one with a reduced test case that is nearly 100% reproducible).

  104. Re: OS X and package management by mzs · · Score: 1

    I wish more people would know about and use pkgsrc. This is the single reason that pkgsrc is better than all of the other alternatives, security/audit-packages:

    http://www.netbsd.org/docs/pkgsrc/using.html#vulnerabilities

  105. Re: OS X and package management by mzs · · Score: 1

    Recently more of X11 got added into macports, but I prefer to keep an eye on http://xquartz.macosforge.org/ so I have added +system_x11 to the end of my variants.conf file.

    It is not perfect yet in 1.7, but works quite well most of the time:

    http://lists.macosforge.org/pipermail/macports-users/2009-January/013494.html

  106. Re:Apple: Breakin' a bunch of crap recently by mzs · · Score: 1

    I keep a partition of 10.4 around solely so that my wife and oldest son can keep playing RCT3. I received a very similar "We are aware of the issues..." email from Aspyr and got tired of waiting.

  107. Bastardization by Anonymous Coward · · Score: 0

    I've been using Mac OS X since the Rhapsody Developer Preview days. I caught on to this fact a long time ago: They are bastardizing *NIX. They have not grasped the meaning, spirit, or intent of *NIX. Whenever some n00b touts OS X's UNIX underpinnings as a feature I just laugh and say, "Oh, you mean they're bastardizing UNIX and giving you the worst of both worlds? Yeah sign me up." Truth is they are using the open source community for their own selfish goals. Their "contributions" back to the open source movement? Puh-leeze. Tell me all about their additions to open source and for each one I can tell you why its useless to me as an open source developer and is only meant to further their proprietary agenda. They don't make improvements to open source technology, they introduce their own tech, with or without marginal additional benefit, which you may utilize only if you let them turn your open source world on its ear and adopt the philosophy that they are the greatest force in the software development world. ("They" are not just Apple, but most/all commercial companies that "embrace", "adopt", or "contribute" to open source.) I am sick of companies "adopting" open source only to push basically "lite" versions of _their_ crap and/or stubs to their over priced proprietary tie-ins.

    That ranting aside I will admit that they are my primary desktop platform and their usability is far beyond that of Windows, GNOME, and KDE. I just refuse to develop for their platform (be it at the Darwin interface level or especially not at the Cocoa interface level.) I use my Mac for connecting to my Slackware and FreeBSD servers, editing text, emailing, and web browsing. Use proprietary software where it excels but beware of allowing it to infect our open source way of life. We will get there someday (to where we never need proprietary software and the world as a whole has truly embraced open source) only if we don't let them have their way of turning open source in to their marketing playground.

  108. Stop whining by Anonymous Coward · · Score: 0

    No matter whose fault you *think* it is:

      it takes 15 minutes to fix it

    follow the error trail, reinstall (i.e to build the compiled goods against the right version)

    If you really think this is Apple or CPAN's fault (more the former than the latter if you get down to it) then you need to dig a hole, get in it, and never come out