Mysql python snow leopard, won't compile - warning: "HAVE_WCSCOLL" redefine

I am trying to crack open python for web development.
step one ... get some db connectivity going. MySQL, Postgres (i don't really care) i have both installed and working within another php project.
when trying to build and install the MySQL driver (mySQL-python-1.2.3
i am getting the following errors
building '_mysql' extension
creating build/temp.macosx-10.6-universal-2.6
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -Dversion_info=(1,2,3,'final',0) -D_version_=1.2.3 -I/usr/local/mysql/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.6-universal-2.6/_mysql.o -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL
In file included from _mysql.c:36:
/usr/local/mysql/include/my_config.h:1053:1: warning: "HAVE_WCSCOLL" redefined
In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Pyth on.h:8,
from pymemcompat.h:10,
from _mysql.c:29:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pycon fig.h:803:1: warning: this is the location of the previous definition
gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup build/temp.macosx-10.6-universal-2.6/_mysql.o -L/usr/local/mysql/lib -lmysqlclient_r -lz -lm -lmygcc -o build/lib.macosx-10.6-universal-2.6/_mysql.so -arch x86_64
10.6.4, python 2.65, most recent developer tools installed
system was originally set up with 10.5 and upgraded to 10.6
i have looked a hundred post on this issue and coming up dry.

Post to the Unix or developer forums under OS X Technologies.

Similar Messages

  • Mysql python snow leopard, won't compile

    I am trying to crack open python for web development.
    step one ... get some db connectivity going. MySQL, Postgres (i don't really care) i have both installed and working within another php project.
    when trying to build and install the MySQL driver (mySQL-python-1.2.3
    i am getting the following errors
    building '_mysql' extension
    creating build/temp.macosx-10.6-universal-2.6
    gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -Dversion_info=(1,2,3,'final',0) -D_version_=1.2.3 -I/usr/local/mysql/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.6-universal-2.6/_mysql.o -g -Os -arch x86_64 -fno-common -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -DDONTDECLARE_CXA_PUREVIRTUAL
    In file included from _mysql.c:36:
    /usr/local/mysql/include/my_config.h:1053:1: warning: "HAVE_WCSCOLL" redefined
    In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Pyth on.h:8,
    from pymemcompat.h:10,
    from _mysql.c:29:
    /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pycon fig.h:803:1: warning: this is the location of the previous definition
    gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup build/temp.macosx-10.6-universal-2.6/_mysql.o -L/usr/local/mysql/lib -lmysqlclient_r -lz -lm -lmygcc -o build/lib.macosx-10.6-universal-2.6/_mysql.so -arch x86_64
    10.6.4, python 2.65, most recent developer tools installed
    system was originally set up with 10.5 and upgraded to 10.6
    i have looked a hundred post on this issue and coming up dry.

    Post to the Unix or developer forums under OS X Technologies.

  • My 2006 iMac running Snow Leopard won't boot even after erasing and re-installing Snow Leopard (via my MacBookPro), either from the HD or DVD drive.  Can't get it to run Hardware Test.  Disk Utility says disk OK - files are there. What can I do?

    My 2006 iMac running Snow Leopard won't boot even after erasing and re-installing Snow Leopard.   I erased and re-installed by putting the iMac in Target Disk mode and usin my MacBookPro as the host.  But after numerous attempts I still can't get it to boot either from the HD or DVD drive. I just get the white screen after the wheel stops spinning.  I can't get it to run Hardware Test - just get the white screen.  If I use Disk Utility via my MBP it says the disk appears OK. All the Snow Leopad files appear to have been installed. What can I do?

    Hi-NRG Bwoy wrote:
    I erased and re-installed by putting the iMac in Target Disk mode and using my MacBookPro as the host.
    Reet the SMC and the PRAM
     Cheat sheet to help diagnose and fix your Mac
    Perhaps you installed the wrong version OS X onto the iMac, you can't use the disk from another Mac.
    clean the disk.
    If it's not working then use this method to create a bootable 10.6 USB from the iMac machine specific 10.6 disk or the 10.6.3 retail disk on your other Mac, use it to boot the iMac with.
    http://www.maciverse.com/install-os-x-snow-leopard-from-usb-flash-drive.html
    How to erase and install Snow Leopard 10.6

  • IMac 27' (year 2010 - Snow Leopard) won't boot - white screen only

    Hi,
    my 2010 iMac 27in running Snow Leopard won't start - when I switch it on, I can hear the chime, the screen goes white and gets stuck at this (no Apple logo, no question mark, no mouse pointer). I have waited for minutes but it's definitely stuck.
    When there is a DVD in (tried both OSX Instal and Apps Instal), I can hear the drive reading for a few seconds, then it goes silent.
    I have found a few similar topics in this and other forums - the issue was solved or helped by entering one of the special boot modes via keyboard shortcuts upon startup. In my case though, none of these shortcuts work - with the sole exception of Cmd+Alt+P+R to reset the NVRAM. What I tried was: C, D, Alt, Eject, N, T, Shift, Cmd-V, Cmd-S ...none of them has any effect.
    I learned there are some issues with a wireless keyboard when using these shortcuts, so I got a USB one to rule that out - but it didn't help.
    In the beginning, I heard "clicking" noise I am not used to hearing - so I suspect a HDD failure but it would surprise me the machine would not indicate that in some better way than a blank white screen. The clicking then went away - could be after I did the NVRAM reset - not sure.
    I also performed an SMC reset by unplugging the power cord for a while - no effect.
    As per one recommendation, I tried NVRAM reset a few times in a row. Didn't help but, interestingly, I found that after 3 such resets, holding D will eject the DVD (without the 3 resets, "D" won't do it). Prior to that I had no way of getting the DVD out.
    The computer was running fine before I switched it off for the night on the previous day. There was no system update, no change I am aware of.
    The only thing beyond default is extra RAM but that has been there for months now without problems (and just to be super sure, I removed the modules but no effect).
    At this point I have run out of ideas - any suggestions are very welcome.

    Some things you can try.
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • When Verify permissions in "Snow Leopard", I get this warning-

    When Verify permissions in “Snow Leopard”, I get this warning:
    "Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired."
    Does anybody know what this means and is something that I need to be concerned about?

    Does anybody know what this means
    It means you have an ARD update installed.
    is something that I need to be concerned about?
    No. Ignore it.
    (46957)

  • Snow leopard won't boot, but windows bootcamp does.

    My mac has a partitioned hardrive. I have xp on one side and snow leopard on the other. Starting yesterday, snow leopard won't boot. I ran the apple hardware test and came up with these 2 codes: 4MOT/4/40000003:HDD-1347 and -1352. The mac still runs properly though if started with xp.

    That error is the HDD cooling fan I believe.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, or are running 10.7+, at least try it from the Safe Boot part onward.
    Re-install if that doesn't work.

  • V10.6.8 Snow leopard won't update

    Snow Leopard won't update, no matter how many times I try. I suspect Flashback is the reason. How can I scan and remove it? Complete Mac novice. Any assistance is appreciated!!!

    I doubt that very much. I'd also be sure to do the following:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Cloned HD running Snow Leopard won't boot in new MBP running Lion., cloned HD running Snow Leopard won't boot in new MBP running Lion.

    Hi, I've seen a lot of discussion on this topic but nothing specific to my situation.  I have two macs, a personal mac (macbook running Snow Leopard vers. 10.6) and a newer work macbook pro (late 2011 running Lion vers. 10.7.5).  I want to use some of the applications at work (that is on the Macbook Pro) that are on my home macbook with Snow Leopard.  I cloned the entire HD of my Macbook onto an external drive.  The clone seems to have worked as I can use it as a boot disk for the macbook (from which it was cloned).  However, if I try to boot the MacBook Pro running Lion, with this same clone on the external drive it won't work.  I get a bit of text in the background and an overlay in dark grey saying (in several languages) restart the Mac by holding down the start key etc.  I don't know if this has to do with the kernel panic problem or the Lion restore disk business.  I don't see the point in trying to do an internal partition of the MacBook Pro hard drive and then add the cloned Snow Leopard, if I can't get the thing to boot externally as it is. 
    Does anyone have any fixes for what really should be a simple proceedure but is not?

    Make sure the mac you are cloning from has the combo 10.6.8 update applied to it. The late 2011 models need at least 10.6.7 and better with 10.6.8. So if your older mac is running anything lower than 10.6.7 it will not boot on the 2011 model.

  • Mac book pro is stuck on installing snow leopard. won't work.

    i recently was mucking around with my mac book pro and soon found my self stcuk with the installation of the 'snow leopard mac OS X' no matter what i did it just wouldn't go away, all i wanted was for my laptop to just go back to normal and get back to what i had been doing only a few hours ago but nope nothing, not even the snow leopard would download to finish things off. so i contacted apple support whom we spent about an hour chatting with. that was basically hopeless, they were very nice but they just didn't know what they were doing, and best of all they wanted to charge me. so at the very ending when they told me that my hard drive was fried and there was absolutely nothing i could do but to get it taken to an apple store and pay for them to replace my hard drive i asked them if i should do the online repair thing, and he told me no i shouldn't its just a waste of time and it won't work.  so i neglected him told him a thank you and guess what, i got it to work. now my laptop is good as new and i didn't need to pay to get the hard drive replaced. lol. ok so for the people who are facing this oh my gosh its such a headache but we can do thins. so write these steps down and i promise they will work and you don't need to pay to get your perfectly fine hard drive replaced. ok so shut down your laptop completely. then when its completely off. hold don't the command button and R hold them both down and then at the same time press the on button keep holding them, you can take your finger off the on button but keep the others on the command and R until a white screen appears it will ask for wifi and then it will reset everything for you like when you first got your laptop. just follow through the instructions they give you and all is well. i hope this was help full for you if this happens.! (btw i can't remember if it was command and R or the option, alt button and R but just try the command one first and if that doesn't work then the other one)

    Hello roscomom,
    The following article details a number of steps that may be helpful in getting your TV working with your MacBook Pro again.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Cheers,
    Allen

  • Snow leopard won't boot up on lion

    I have been using a Mac Mini with Snow Leopard to run my adobe suite programs. It worked fine. A few months ago the hard drive failed on the Mac Mini and I purchased a new Mac Mini running Lion. I'm having problem with my adobe suite running these programs with Lion.
    The solution I came up with was to partition an external hard drive and install Snow Leopard as a startup disk. I used an iMac to do this and Snow Leopard runs fine on my partitioned disk with the iMac that is running Snow Leopard. When I try to run Snow Leopard as a startup disk on my new Mac Mini with Lion, it will not start up and run. I've visited a number of forums online on the subject and spend time with apple tech support. So far no one has come up with a solution. When I try to run it on my new Mac Mini with Lion, it will proceed through the start screen past the apple icon until it reaches the main program screen, then it stops and no applications appear.
    I'm wondering if you have any ideas I could try? It would be nice if the adobe products run well on Lion but I'm finding that's not the case.

    rkaufmann87 wrote:
    Yes you are right Snow Leopard will not run on a Mac that was built after Lion came out. Apple has seen to that with some type of hardware or firmware block.
    No that isn't it at all! When OS X is installed on a Mac the version of OS X is formulated for the hardware of that Mac. Attempting to run earlier versions of OS X than what the machine initially shipped with will be missing drivers and not run. Some hacks have been done to force earlier versions to run however they usually don't run well because they don't have the correct drivers and never will. BTW this has always been the case with OS X and is NOT specific to Lion.
    Well if you look at the early 2011 MBPs they came with Snow Leopard and the hardware is just about the same as late 2011 MBPs and you can't even try to install SL on the late models. It won't let you as I have tried. All the computer does is Beep   Beep   Beep
    Why is that? Becasue Apple has lock out the hardware or in firmware, EFI, code to not allow it.
    Formulate this.
    I have a brand new Dell E6420 notebook that came with Winidows 7. If I wanted to I could install Windows XP or Vista on it. Would I need SOME drivers after the install? Yes I would. Would the system run without those drivers being installe? Yes it would. But it would still install and run.
    Oh and by the way PCs and Mac use the exact same hardware.
    So why can't you install a version of SL that originally came on a early 2011 model MBP on a late 2011 model MBP.

  • Snow Leopard Won't Install

    I get maybe 15 minutes into the install, and my MacBook restarts; Snow Leopard is not installed. I didn't notice any error message before this happened.
    This happened 3 times.

    Greetings,
    It takes around 45 minutes for the install to complete. After the first 15 minutes, or so, it will reboot, and then continue the installation. Hopefully you didn't interrupt it at a critical moment.
    If you did and it won't boot at all, you may have to insert the DVD in the drive, start it up, and hold the "C" key down until you see the Apple, and little spinning graphic.
    After it boots in to the DVD, then install.
    Cheers,
    M.

  • Snow Leopard Won't Install Even With Replacement Disk

    I got my original Snow Leopard, that I bought at Apple, a week ago. I went through the whole installation process, and about halfway through, it restart and ejected the disc. After that the disc wouldn't read. So I got support from Apple and they sent me out a replacement disk that I got today. I start installing and the EXACT same thing happens again. Any ideas on what the problem is? And yes, the disc drive is working fine.

    Make sure that at least 1 GB of memory is recognized in System Profiler with status "OK" -- it is possible that some of your installed memory is defective or not properly seated. Since Snow Leopard requires at least 1 GB, your MacBook won't start up from the DVD if can only use less than this amount.
    Also consider running the Apple Hardware Test and/or Kelley Computing's Rember on your MacBook, especially if you have replaced any of its original memory with third party parts.
    Because Snow Leopard is more demanding of memory performance than Leopard & has a higher minimum requirement for memory size as well, sometimes slightly out-of-spec memory modules will work fine with the earlier OS version but not with the later one.

  • My Address Book on Snow Leopard won't Search!

    When I type something in on the search field on my address book in Snow Leopard, it won't filter out the search, meaning that nothing new will show up. It will act as if I didn't type anything into the search field at all since nothing changes. I already tried uninstalling the Address Book and reinstalling it from the Snow Leopard DVD but that didn't fix the problem. Any advice?

    I just had this same problem. I use multiple mac computers that I sync manually because of a previous idisk issue. I noticed as I updated my cloud, the search function in address book quit working properly on each computer.
    So created a new group list and I attempted to copy "All Contacts" into that group. It would not copy all my contacts into that group in one paste function. So I took all the the first 25 names and copied them. That worked. Then I moved to the next 26-50 names and so on. I noticed when I got to the fourth group of copying contacts that it did not paste and froze the application.
    I quit address book, reopened it. All the contacts before the the fourth group were in the file. The search function worked on those names. I then went card by card and found one that had a "string" of data listed where an email address should I have been. So I deleted the corrupt card and now my address book search is working again.
    Here is the short solve. Look for a corrupt card in your address book. I found the corrupt card by trying to copy it over to a new address group. The card that was corrupt just happened to be one that I had updated in the last week or so...
    Hope this helps.

  • Upgrade MySQL in Snow Leopard Server

    Hi all. This is my first post.
    I have a Mac Mini Server with Mac OS X Server 10.6.8 (aka. Snow Leopard Server)
    wanted to update the native MySQL. I followed these instructions
    http://support.apple.com/kb/HT4006
    Now I know that it is parallel installation of MySQL.
    https://discussions.apple.com/message/15535136#15535136
    Finally,I installed MySQL 5.5.15 from MySQL.com (x86 dmg file)
    Now I have three MySQL servers in the system. Runs only the oldest (native 5.0.92)
    I want to:
    1) Remove unnecessary MySQL servers.
    2) I would like to MySQL service could be run in the Server Admin.app. If this is not possible to run the “MySQL Preference Pane” in System Preferences.
    If this is not possible then I would be able to run in "MySQL Preference Pane" in System Preferences.
    Working with AS is probably possible.http://www.jamesbantz.com/2010/08/08/upgrading-mysql-on-mac-os-x-10-6-snow-leopa rd-server/#more-172 (See step 6)
    Now I have a “little problem” with the distinction which files belong which MySQL.
    Please help
    Thanks

    Welcome to the forums.
    The cited Apple directions in HT4006 are for adding headers and client components for Mac OS X Server for MySQL, and not particularly for upgrading MySQL on Mac OS X Server.  (That may well cause problems.)
    How good are your pre-installation backups?  I'd roll those in, and undo the HT4006 changes, and (if you're not going to scratch this whole upgrade) follow what Mr Bantz describes in his posting.
    Irrespective of the particular path followed here, you do also still get to "own" all of these changes, including the on-going maintenance and upgrades, which means that you own any security problems, the inevitable software upgrades and updates, and whatever other fixes might be needed.
    Alternatively, consider moving to Mac OS X Server Lion (10.7), as it does not contain MySQL, so you can load whatever MySQL you want and (so long as you keep it from getting tangled with PostgreSQL) you're good to go.
    I would not generally expect to be able to use Server Admin or the other tools to use or manage your local MySQL.  The Server Admin tools are not set up for these sorts of changes and have a history of getting tangled when the underlying servers are changed.   If you do manage this goal and do have Server Admin working and whether following Mr Bantz's directions or via some other means, then your changes still might not survive any particular future Mac OS X Server upgrade, or Server Tools upgrade.  (Which means you'll have to debug and rework the changes, or find somebody that has figured out what broken and follow those instructions.)
    If you discover you have the need for these sorts of upgrades often, I'd suggest loading and using Linux or one of the BSDs.  Installing newer versions of stuff means more work and sometimes far more work, and tends to un-do what Apple provides, and tends to cause problems like you've encountered here.  In all seriousness, Linux or BSD is the platform you'll want, if you find yourself tweaking; they're set up for exactly this sort of tweaking.  Mac OS X and Mac OS X Server aims at a different market.

  • Snow Leopard won't print graphics in Word 2008

    When I updated to Snow Leopard and Office 2008, everything seemed to work perfectly, open, and run well. However, my .doc files previously created in Office X that include graphics from the draw program will print ONLY text and text boxes--no graphics. I get the same in compatibility mode (.doc), when I "save as" to DocX format, and when I try to save as a PDF--text floating in a sea of non-graphic white. I sent the file to my husband's computer running Leopard, and it prints perfectly. Similarly, if I open Word 2008 and create a fresh, native docx file with graphics, those graphics DO print. So this seems to be a Snow Leopard problem with compatibility Word files using graphic elements (nothing fancy--just flow chart stuff.) Any ideas anyone? I am a small educational publisher and do NOT relish the thought of redoing a boatload of work in another program. Help!

    As near as I can tell, the printer is not the problem. I have tried three different printers, all with the most up-to-date drivers, and even tried Adobe Acrobat 9 Pro, which should bypass all of the above. The graphic elements that worked perfectly in my previous system simply disappear in Snow Leopard. My workaround is to send them to an "older" Mac NOT running Snow Leopard, then convert them to PDF files, then print from Snow Leopard, and all is well. Absolutely frosted! I have publishing deadlines to meet!

Maybe you are looking for

  • Interactive reports in abap objects

    Hi,        plz send me the code of  interactive report using ABAP Objects . Thanks, T.Sreekanth.

  • Very Strange error and can't find any answer anywhere in the net

    I created a login form (see below). If I use the regular HTML form and form fields for the username, password and submit button I don't get any problem viewing my form But if I use cfform and cfinput form fields I get this error. Here is my cfform co

  • RUN SERVER SIDE OS COMMAND OR ANY EXECUTABLE FILE FROM CLIENT

    Would you provide a complete example regarding execution Server side OS command or program from ORACLE SQL CLIENT OR FORM. This client may be a remote client.

  • How to fetch the xml data in webdynpro java

    Hi all, i have an xml data which contains the fields as 1.user type, 2. client, 3.vendor number in webdynpro java how i validate or fetch the details of  the user type, when ever user login's in portal i can show some data to user 'A' and invisible t

  • Follow-up Irecruitment Questions...

    I copied the Irecruitment External Candidate Responsibility to xxIrecruitment External Candidate Responsibility. Now I want to make that responsibility as a default when somebody for outside register in the Irec site. The IRC: Registration Business G