Results 1 to 5 of 5

Thread: GCC Error.....

  1. #1

    Member Since
    Jan 28, 2009
    GCC Error.....
    Hi Good Morning,

    This is Srinivas. I'm doing a small application using Python and MySQL as front end and backend in MAC OS X. I have downloaded the MySQL from and also I have downloaded MySQLdb from After that I have modified the When I was install the from terminal I'm getting this error.
    running install
    running bdist_egg
    running egg_info
    writing MySQL_python.egg-info/PKG-INFO
    writing top-level names to MySQL_python.egg-info/top_level.txt
    writing dependency_links to MySQL_python.egg-info/dependency_links.txt
    reading manifest file 'MySQL_python.egg-info/SOURCES.txt'
    reading manifest template ''
    writing manifest file 'MySQL_python.egg-info/SOURCES.txt'
    installing library code to build/bdist.macosx-10.5-i386/egg
    running install_lib
    running build_py
    copying MySQLdb/ -> build/lib.macosx-10.5-i386-2.5/MySQLdb
    running build_ext
    building '_mysql' extension
    gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -pipe -Dversion_info=(1,2,2,'final',0) -D__version__=1.2.2 -I/usr/local/mysql/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c _mysql.c -o build/temp.macosx-10.5-i386-2.5/_mysql.o -g -Os -arch i386 -fno-common -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
    unable to execute gcc: No such file or directory
    error: command 'gcc' failed with exit status 1
    So, Please suggest me how to go further.
    Thank You in advance.....
    Warm Regards....

  2. #2

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Tucson, AZ
    Way... way too many specs to list.
    do a which gcc

    lets make sure you have that first.
    This machine kills fascists
    Got # ? phear the command line!

  3. #3

    cwa107's Avatar
    Member Since
    Dec 20, 2006
    Lake Mary, Florida
    15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD
    NOTE: Thread moved to appropriate forum. Not just anything goes in Anything Goes
    Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!

  4. #4

    Member Since
    Jan 28, 2009
    Good Morning Sir/Madam,

    Where The GCC finds. Can u give me a link or the url please.....

    Thank You in advance...

  5. #5

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Groves, Texas
    13in macbook - 10.11 --- 21in. iMac 10.11 --- HP win 8
    Xcode, and gcc, is not normally installed with the system. You can find it on your install disk, or download it from Apple Developer Connection.
    Apple Developer Connection
    Always listen to experts. They’ll tell you what can’t be done and why. Then do it!
    -Lazarus Long

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. gcc ld error under MacOs
    By daqi in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 05-14-2011, 01:02 AM
  2. How to upgrade gcc 3 to gcc 4 intel mac
    By jonnyd in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 12-29-2007, 05:34 PM
  3. GCC on 10.4.10
    By pokamonster in forum OS X - Operating System
    Replies: 1
    Last Post: 08-02-2007, 11:27 PM
  4. gcc and g++
    By fedesuarez in forum OS X - Operating System
    Replies: 4
    Last Post: 02-01-2006, 03:50 PM
  5. GCC error
    By the_jesus in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 07-17-2004, 08:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts