SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sqlite setup error

    Hi, I am trying to get started with sqlite and I get this error after I enter ./configure --prefix=/usr/local

    checking build system type... i386-apple-darwin9.3.0
    checking host system type... i386-apple-darwin9.3.0
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    Any help is greatly appreciated.

  2. #2
    SitePoint Enthusiast AllTom's Avatar
    Join Date
    Feb 2008
    Location
    Wherever danger lies...
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Which operating system (and distribution, if Linux) are you using?

    You need to install gcc and the C compiler in order to compile SQLite. In Ubuntu, you install the build-essentials package (with "sudo apt-get install build-essentials" or through Synaptic, or whichever package manager you're familiar with).
    There are some things you shouldn't try to code at home.

  3. #3
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am using Mac OS X 5. I thought it was supposed to be all set right out of the box...

  4. #4
    SitePoint Enthusiast AllTom's Avatar
    Join Date
    Feb 2008
    Location
    Wherever danger lies...
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need the XCode developer tools to get the GCC compiler. You can install it from the OS X CD, or by downloading XCode from Apple's web site.
    There are some things you shouldn't try to code at home.


Bookmarks

Posting Permissions

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