ok so macports installed sqlite3 just fine, but how do i check the version? 
i think i now have 3 versions of sqlite installed.  

1 - when i type sqlite3 --version i get version 3.4.0
2 - when i type usr/local/bin/sqlite3 --version i get version 3.5.4
3 - I know that macports has installed 3.6.11, but don't know where it was
installed.

How on earth do i get all these versions to be the same?

thanks

erfon

erfon haubenstock wrote:
> 
> Thanks for pointing me to that piece of the guide.  Copying the contents
> of my .profile into my .bash_login fixed the port command problem i was
> having : D
> 
> This is my first experience with paths, .profile, or .bash_login and
> macports so this has all be quite a learning experience for me.  I feel
> like neo from the matrix...
> 
> Trying to install sqlite3 now, I'll let you all know how it goes.
> 
> thanks
> 
> erfon
> 
> Lawrence Gold-3 wrote:
>> 
>> On Mar 19, 2009, at 4:29 PM, erfon haubenstock wrote:
>> 
>>>
>>> Hi again.  Thanks for trying to help me by the way : D
>>>
>>> I tried relauching terminal and even restarting my computer, but to no
>>> avail.
>>>
>>> I'm not totally sure I understand when you say:
>>>
>>> One common pitfall here is that you must open a new shell for the port
>>> command to be recognised (or re-export the correct PATH). This seems  
>>> likely
>>> as the default location for the port command is /opt/local/bin/port,  
>>> which
>>> is not in your PATH.
>>>
>>> Do I need to change my PATH?
>> 
>> The MacPorts installer is supposed to automatically set up the PATH  
>> for you.  I wonder if you might have a .bash_login or .bash_profile  
>> file that's taking precedence:
>> 
>>      http://guide.macports.org/#installing.shell
>> 
>> Regardless, typing
>> 
>>      /opt/local/bin/sqlite3
>> 
>> should bring up the version you expect.
>> 
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/sqlite3---version-showing-the-wrong-version-tp22596369p22611451.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to