Mountain Lion, Perl and DBD::mysql

so far it seems to be impossible to add the DBD::mysql extension for Perl under Mountain Lion 10.8.2. Is that right?

Nope.
What makes you think it is impossible? Are you getting some sort of error message? Have you installed Xcode? Have you installed the MySQL client libraries?

Similar Messages

  • Installing DBI and DBD::mysql in 10.4 Tiger, with MySQL 5.0

    After some discussion here http://discussions.apple.com/thread.jspa?threadID=546982&tstart=0
    I wanted to document what was required to get Bundle::DBI and DBD::mysql installed.
    I started off with the helpful info found on the following two pages, but I had to do more to get it working:
    http://www.truerwords.net/articles/osx/installdbdmysql.html
    http://www.gyford.com/phil/writing/2004/06/07/installingdbia.php
    Note: I am working with mysql-standard-5.0.15-osx10.4-powerpc,
    downloaded and configured according to the MySQL site instructions.
    If you are using an earlier version of MySQL, then you will need to adjust accordingly. The articles I link to above, may work for you verbatim.
    1. Download DBI 1.51 from CPAN:
    http://search.cpan.org/~hoymich/DBI-1.45-5.8.4/
    2. Unpack the file, eg: tar -xzvf DBI-1.51.tar.gz
    3. cd into the directory
    4. Type perl Makefile.PL
    5. Type make && make test
    6. sudo make install (NB: See below !)
    7. IMPORTANT: to get DBD to install, you may need to specify the location of your mysql_config file:
    perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpasswdused --testhost=localhost --mysqlconfig=/usr/local/mysql/bin/mysqlconfig
    If something goes wrong, backup by typing:
    make clean
    Another note: I granted full priveleges for the "test" user on the "test" database, which is accepting local connections only and will be removed after everything is configured.
    # now for DBD
    8. Download DBD::mysql from CPAN http://search.cpan.org/~capttofu/DBD-mysql-3.0006
    9. unpack the archive & cd into it
    10. perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpwdused --testhost=localhost
    11. make && make test
    12. sudo make install
    That's what it took, hopefully this will help others who need it, and not offend those who know more about it

    Hi David!
    I'm trying to help my incredibly frustrated boyfriend, who's trying to upgrade to Tiger on his 12" PB (1.3 MHz single processor).
    He does a lot of web design and development, so he formatted his drive as HFS+, case-sensitive, journaled, and has installed his Adobe apps on a dmg, which works great.
    BUT (and he says this is always a problem) installing DBD::mySQL is proving near-impossible! His install is failing 98% of the tests run during maketest. He thinks the problem may actually be occurring when he runs Makefile. Here's the error message he's getting, even after reading your posts:
    During Makefile.PL:
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 450.
    Do you have any idea of a direction to point him in? He's so frustrated he can't even post to the forum - language not suitable for family viewing at this time.
    Thanks!
    Natalie
    Dual 867MHz G4 MDD   Mac OS X (10.3.6)  

  • I was using OS Snow Leopard and on 8/1/13 I downloaded Mountain Lion and found out it was not compatible with my HP printer (HP photosmart C5580) so I called Apple and asked how to get Mountain Lion off and Snow Leopard back on.  The Tech told me to

    I was using OS Snow Leopard and on 8/1/13 I downloaded Mountain Lion.  Then I found out it was not compatible with my HP Printer (HP Photosmart C5580 all-in-one) so I called Apple support and the tech told me to erase the hard drive instead of going in the time machine.  Well I did that and then it took about three hours three days a week for about three weeks on the phone with an apple tech to get all my stuff back on my computer.  I have had trouble with my printer (won't do the scan anymore and wasn't printing on my DVDs.  Also the computer keeps freezing up when it is in the sleep mode, etc.
    When I tried to list my problem on this forum it lists your OS at the bottom and mine had Mountain Lion listed as what I was using so apparently it didn't erase it.  Want to know how to get Mountain Lion off and put my Snow Leopard on so things start working right.

    Go to the  menu/About This Mac - what OS version shows there?
    Do a backup, preferably 2 separate ones on 2 separate drives.
    Revert to a Previous OS X
    Revert to Snow Leopard
    If you do revert, I'd use Setup Assistant to restore your data. This process takes a while, so do it when you won't need the computer for several hours, based on my experience.

  • After installing Mountain Lion, iMessages and Facetime does not work. When I try to sign-in I get a message that says: The server encountered an error processing registration. Please try again later. Apple care does not know what is the cause. Please help

    After installing Mountain Lion, iMessages and Facetime does not work. When I try to sign-in I get a message that says: The server encountered an error processing registration. Please try again later. After 4 calls to apple and 8 and a half hours on the phone. The apple people does not how to solve the problem. The last thing they told me is that they will send the problem to their engineers and I will hear from them. unfortunately they have not contact me.
    During the phone calls I tried putting the date and time in automatic, changing the username and password, I even tried using somebody elses username and password. Please help, facetime is my tool to telecomute, and it is hurting my job.

    I had the same problem and found the solution here:
    https://discussions.apple.com/thread/3189272

  • IMac 27" (late 2011), Mountain Lion, Bootcamp, and OSX partition disappearing and refusing to mount

    Hey all,
    I'm putting this as a question in the discussion forms for bootcamp as I'm not sure where else to put it, but I resolved an issue I was having and having spent all of yesterday and the day before reading through this community and some others looking for answers and mostly seeing "hope you have backups, time to format!" (which to me is not always the best answer), I thought I would put it here for search purposes (with all the key words I had to use) in case anyone else has a similar issue.
    My scenario was this:
    2011 27" iMac with Mountain Lion installed and Windows 7 installed on a boot camp partition.
    1) Haven't been in windows in a while, wanted to play some windows only steam games. Load windows 7. All is well. Have fun. Time to reboot into osx.
    2) Reboot using bootcamp toolbar icon.
    3) Wander away from computer. Come back to find windows 7 has loaded again. "That's weird", I think. Reboot again, this time hold down option key to select boot device.
    4) Discover the only options are the Bootcamp partition and the Recovery partition. OSX "Macintosh HD" partition has disappeared. Huh.
    5) Load recovery partition and load disk utility.
    6) Review disk utility to discover the Macintosh HD partition shows up in the list, but won't mount. Run verify and repair tools. Errors are as follows: Invalid node structure, invalid key length, invalid record count, etc etc. Running a repair fails - disk utility advises me to back up and erase the drive and that the partition is unrepairable. No offense disk utility, but I think I'll try a few more options first.
    7) Purchase DiskWarrior on advice of multiple posters in other threads and general online consensus of it being capable of fixing these sorts of errors. Go through process of loading bootable dvd.
    8) Diskwarrior cannot see the Macintosh HD partition. This is bad. Review more threads. Advice is that if diskwarrior can't fix it, hope you have backups and wipe the drive. Likely to be hardware failure. I'm skeptical of hardware failure, because windows is chugging along running fine if I boot into it, and I ran a scan of the windows partition and it came back clean. SMART status is also showing the drive is ok. However, running out of options and starting to lose hope.
    9) Follow advice in this support topic: http://support.apple.com/kb/ts1417?viewlocale=de_de Both safe mode and disk utility aren't options (safe mode won't work without it seeing the partition) so sounds like fsck is the final option.
    10) Start up in Single User Mode (http://support.apple.com/kb/HT1492). Run fsck per instructions. It reports back ok.
    11) Realize fsck is checking the recovery partition, and not my damaged OSX partition. Realize I don't know anything about unix commands and have no idea how to tell fsck to check a different partition.
    12) Learn that I need to find out what the drive id is for the damaged partition. Reboot, load up disk utility, select greyed out "macintosh HD" partition, click info. Write down the id: disk0s2 (likely to be the default for you as well if you have one drive in your imac and a default bootcamp install).
    13) Go back into single user mode and type the following (without quotes): "fsck_hfs -fy /dev/disk0s2"
    14) (Forgot to copy down exactly what it said at this point, but gist of it was that the drive had errors and isnt repairable). Feel like ****, thinking this is unlikely to resolve itself nicely.
    15) With nothing to lose, try to force fsck to rebuild the catalog - "fsck_hfs -rc -d /dev/disk0s2" I found this syntax on some forums and can't find the thread again. I have no idea what the -rc and -d do that -fy don't, but if someone can let me know, that'd be cool. Either way, this resulted in something actually happening. Tells me it is "rebuilding catalogue b-tree". Still, finishes with a bunch of errors about improperly linked files, more node errors, etc etc.
    16) Retry "fsck_hfs -fy /dev/disk0s2". It seems to be doing stuff now, even though there are lots of errors. Continue to re-run fsck using this syntax. Probably ran it 10-15 times. Takes over an hour. Finally, minimal errors being reported.
    17) Realize that perhaps I should try Diskwarrior again now, since I've managed to do soemthing to the partition with fsck.
    18) Run Diskwarrior from bootable DVD. Success! It now sees the damaged partition. Reports that it has a bunch of damaged crtitical files, and needs to be repaired, but hey, at least it can see it.
    19) Let Diskwarrior do its thing, and reboot.
    20) Boot from repaired OSX partition. Rejoice. Immediately plug back in the timemachine drive you foolishly unplugged to take away over the holidays and neglected to plug back in before you had commenced work on stuff you didnt want to lose through formatting, which is why you are so desperate to recover files rather than wiping and restoring from time machine backups and avoiding this whole mess.
    TL;DR - If Disk Utility and DriveWarrior fail you, try running fsck (using different syntax that apple recommends) as many times as it takes to get the partition to a stage where diskwarrior can see it. All advice I saw for similar questions was to erase, reinstall OSX, and restore from time machine backup. For those of you who are foolish like me and had files that werent time machine'd, or those who operate without, maybe try this.
    Hope this helps!

    What -rc & -d do.
    From: The fsck_hfs manual page.
    https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages /man8/fsck_hfs.8.html
    -d      Display debugging information.  This option may provide useful information when fsck_hfs cannot repair a damaged file system.
    -r      Rebuild the catalog btree.  This is synonymous with -Rc.
    -R flags Rebuilds the requested btree.  The following flags are supported:
                             a       Attribute btree
                             c       Catalog btree
                             e       Extents overflow btree
    I had the same problem as you but unfortunately "fsck_hfs -rc -d /dev/disk0s2" is failing saying: "The volume   could not be verified completely." I believe it's supposed to be telling me the partition's name (normally "Macintosh HD") between 'volume' and 'could' because there's 3 spaces in between the words.
    "fsck_hfs -fy /dev/disk0s2" is failing with the same error.
    I tried "fsck_hfs -r -d /dev/disk0s2" since the c appears redundant with a lowercase R. and it again says it cannot be verified completely and adds "volume check failed with error 7". Which unfortunately is not documented on the fsck_hfs man page!
    Unfortunately for me, Diskwarrior still can't see my busted Mac OS partition.

  • I would like to upgrade my macbook from 10.6.8 to Mountain lion. however, the app store said that my macbook isn't compatible with the mountain lion . Why can't I update it to mountain lion? and How can I upgrade it to a newer version ?

    I would like to upgrade my macbook from 10.6.8 (Snow Leopard) to Mountain Lion. However, app store said that my macbook is not compatible with Mountain Lion? Why  can't I upgrade my macbook to mountain lion? And How can I upgrade my macbk to a newer version such that I can download the newest version of imovie?
    Here r the system info of my macbook:
    Mac oS X  (version 10.6.8)
    Processor :2.2 GHz Intel Core 2 Duo
    Memory: 2 GB 667 MHz DDR2 SDRAM
    Model Identifier:  Macbook 3,1
    I

    Requirements for Mountain Lion:
    http://www.apple.com/osx/specs/

  • Can I install windows 7 on my portable HDD from my Mountain lion? and how i need to do it?

    Can I Install Windows 7 on my portable HDD from Mountain lion ? And how i need to do it?

    Welcome to the Apple Support Communities
    Because of a Microsoft restriction, Windows can't be installed on an external drive (there are workarounds, but you need Windows). Apart from that, Boot Camp only works with the hard drive where you have installed OS X, so you can't use it to install Windows on an external drive

  • I have mountain lion OSX and parallels with Windows.  Every time I click on a hyperlink in other applications it opens - some 7 Zip file explorer inside Parallels but doesn't go to Safari.  Does anyone know solution?

    I have mountain lion OSX and parallels with Windows.  Every time I click on a hyperlink in other applications it opens - some 7 Zip file explorer inside Parallels but doesn't go to Safari.  Does anyone know solution?

    I suggest that you run software update, after which you should have Safari 6.0.5 - then check Safari - Preferences - Privacy & see that 'Block cookies' is not set to Always.
    Failing that - switch Safari extensions Off via Safari - Preferences - Extensions & test again

  • Using Mountain Lion iOS and audio output will not change from internal speakers to AppleTV so that sound can come from TV speakers, why??

    I am using Mountain Lion iOS and trying to connect my MacBook Pro to my plasma TV using AppleTV and AirPlay mirroring.     The video does just fine.     However, there is no audio coming from the TV.     After activating AirPlay I try to select Apple TV as the audio output in System Preferences and it highlights it but then immediately goes back to Internal Speakers and only has sound coming from the MacBook Pro..
    What's going wrong ?????
    AJ

    Are you sure that WIFI network doesn't have an AppleTV on it?  Just because you don't own it doesn't mean there isn't one on that network.  The laptop or better said the OS cannot differentiate between an AppleTV that you own or not.  If it sees one on the network, it will show you one as being available.  The automatic reconnection is happening probably because the last time you streamed to an AppleTV, you didn't drop that connection before sleeping the computer or shutting down iTunes.

  • I have two macs in my house.  One is newer and came with the os x mountain lion software and the other one needs to be upgraded.  I was wondering if there is a way to take upgrade from one to the other?  Should not have to buy this software again.

    I have two macs in my house.  One is newer and came with the os x mountain lion software and the other one needs to be upgraded.  I was wondering if there is a way to take upgrade from one to the other?  Should not have to buy this software again.

    Welcome to Apple Support Communities
    Buy it for the other computer. Mountain Lion is preinstalled on the new Mac, but you can only use it in the new one

  • I just upgraded to mountain lion osx and now my applications are crossed out and out of date. they will not run. how do i fix this?

    I just upgraded to mountain lion osx and now my applications are crossed out and out of date. they will not run. how do i fix this?

    Here is a recent post I assembled for a similar question:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PowerPC software or Lion/Mt. Lion;
    3.  Upgrade your software to Intel compatible versions if they are available, or find alternative software that will open, modify and save your data files;
    3.  Install Snow Leopard (with Rosetta) into Parallels:
                                  [click on images to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • I downloaded Mountain Lion OSX and I can't get onto YouTube, nor do I have facebook notifications on the new feature... Help?

    I downloaded Mountain Lion OSX and I can't get onto YouTube, nor do I have facebook notifications on the new feature... Help?

    Not sure about YouTube, but facebook integration isn't available until this fall.

  • HT1338 Yesterday, I purchased Mountain Lion OSX and tried to download it but I don't think it worked.  How can I tell if I am using Mountain Lion and how do I get help if the download was unsuccessful?

    Yesterday, I purchased Mountain Lion OSX and tried to download it but I don't think the download worked.  How can I tell if I am using Mountain Lion and how do I get help if the download was unsuccessful?

    Click your Apple menu icon top left corner of your screen.
    From the drop down menu click About This Mac.
    If Mountain Lion is installed, it will say:  v10.8
    If not, launch the App Store. From the App Store menu bar click Store > Check for Unfinished Downloads
    FYI ..  for downloading Mountain Lion from the App Store, a high speed (broadband) internet connection is strongly recommended by Apple as noted here > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you need to reinstall OS X or repair the the startup disk Mountain Lion Recovery, that requires broadband access to the internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the internet form Apple when OS X Recovery is used for reinstallation.

  • I updated my mac book pro to mountain lion recently and my safari is not loading few web pages including apple sites please help me

    i updated my mac book pro to mountain lion recently and my safari is not loading few web pages including apple sites please help me

    I have this problem too but it seems pot luck and only like 5% of the time, the website will say the page is loaded but the page is just blank white...refreshing does not work and I have to go back and navigate to the page again

  • Has anyone else put in for the Mountain Lion upgrade and not received a reply from apple

    Has anyone else gone through the update to Mountain Lion site and not heard from apple?

    a lot of us haven't heard back....
    takes a minimum of 72 hours since everyone wants it now...
    be a little patient and you'll get yours soon...
    cheers..

Maybe you are looking for