On Nov 23, 2007 3:56 PM, Xabriel J Collazo Mojica <[EMAIL PROTECTED]> wrote: > You're right! I tried /usr/local/bin/sqlite3 -version an it reports the > correct version 3.5.2: > > xabita:/ xabriel$ /usr/local/bin/sqlite3 -version > 3.5.2 > > I cannot remove the old one as I know some Mac programs (Mail, Safari, ...) > depend on it.
Good grief! you are so correct at not taking that suggestion... never mess with anything that came with the system, or be prepared for the consequences. > > Does anyone know if there's any other variable I should flush / reset / > anything to get sqlite3 3.5.2 as the default? did you try logging out and logging back in... I am wondering if some kind of caching is causing the problem. I have never seen this problem, and I routinely compile different versions of SQLite. If logging out/in doesn't help, how about restarting? This is so weird that I might also suggest facing East while starting your computer and making sure you are not wearing any socks when you touch the machine... > > thanks! > > -xabriel > > > On Nov 23, 2007 4:58 PM, Jonathan Otsuka <[EMAIL PROTECTED]> wrote: > > > > > On Nov 22, 2007, at 8:52 PM, Xabriel J Collazo Mojica wrote: > > > > > Hi all: > > > > > > I've just downloaded, compiled and installed SQLite3 3.5.2 on my mac. > > > Everything is working fine but the version number. I know OS X 10.4 > > > comes > > > with SQLite built-in on /usr/bin. I installed 3.5.2 on /usr/local and > > > updated my PATH so that is all right. Look at what I get: > > > > > > xabita:/ xabriel$ which sqlite3 > > > /usr/local/bin/sqlite3 > > > xabita:/ xabriel$ sqlite3 -version > > > 3.1.3 > > > > > > > > > As mentioned previously my PATH is all right: > > > > > > xabita:/ xabriel$ echo $PATH > > > /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/bin:/sbin:/usr/ > > > bin:/usr/sbin > > > > > > > > > Something weird is that 3.1.3 is the version that my Mac has built-in: > > > > > > xabita:/ xabriel$ /usr/bin/sqlite3 -version > > > 3.1.3 > > > > > > > > > So, do somebody see what I am missing? > > > > Not sure you are missing anything. I just mkdir ~/bin/ and copied it > > there and added that to my PATH. Try running: > > > > /usr/local/bin/sqlite3 -version > > > > You may need to remove the old or rename it so it isn't being called. > > > > > > ----------------------------------------------------------------------------- > > To unsubscribe, send email to [EMAIL PROTECTED] > > > > ----------------------------------------------------------------------------- > > > > > > > -- > Xabriel J. Collazo-Mojica > B.S. in Computer Engineering Student > University of Puerto Rico at Mayagüez > http://xabrielc.googlepages.com > ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------