Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3975292
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:40:04+00:00 2026-05-20T04:40:04+00:00

I’m running 10.5.8 and did not have the developer tools installed (I run mostly

  • 0

I’m running 10.5.8 and did not have the developer tools installed (I run mostly on my Linux partition)… but I was trying to dry run the installation of a ruby app, timetrap, for a friend so that I could walk him through installation when we get together in a few weeks.

In any case, I kept getting failures of:

sudo gem install sqlite3
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
    ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite3-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/local/bin/ruby
    --with-sqlite3-dir
    --without-sqlite3-dir
    --with-sqlite3-include
    --without-sqlite3-include=${sqlite3-dir}/include
    --with-sqlite3-lib
    --without-sqlite3-lib=${sqlite3-dir}/lib   

Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/sqlite3-1.3.3 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/sqlite3-1.3.3/ext/sqlite3/gem_make.out

I actually had sqlite3.h in /usr/local/include but could not get anything different even when trying sudo gem install timetrap -- --with-sqlite3-include=/usr/local/include. I tried installing BitNami RubyStack to see if that helped and no dice.

In any case, I ran into some posts (several here) saying that c libraries were required for some gems, so I decided to install XCode and everything worked.

XCode is a space hog and I’ll hardly ever use it, but I’d like to be able to do what I need to with this. I tried installing only the gcc-4.2 package alone and got failures. I found that the package MacOSX10.5.pkg also did not sole the problem. Installing all of XCode (Build Tools Essentials and Unix Development options) takes 2+ GB.

It seems that just the gcc package should give me what I want, but something is awry.

Would someone suggest:
– if all of XCode really is required for some other thing included in that package?
– if installing XCode is setting a path/include variable somewhere such that it works when XCode gets installed but not when I try to do my a la carte install of gcc along?

I have several sqlite3.h’s scattered around with these individual packages as well as the ones that were already there. What’s my issue? Is it not really sqlite3.h but something else?

Goal: Install some basic package that lets me do this without needing various other tools I’ll never use. I dual boot on an older MacBook and only have 10GB left on my drive. Without XCode I had closer to 13! I realize I could install and then just trash XCode, but it seems like while I’m at it, gcc isn’t bad to have around.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:40:05+00:00Added an answer on May 20, 2026 at 4:40 am

    XCode’s installer has some options to let you strip out some things you won’t use, but it’s not going to let you strip everything and only keep gcc.

    Remember their saying “It just works”, well, they’re not going to make it easy to break it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.