Building sqlite3 fails

Bryan Blackburn 0x62_0x6c_0x62 at pobox.com
Sat Sep 13 13:24:02 PDT 2008


On Sat, Sep 13, 2008 at 09:58:00AM +0200, Normen Müller said:
[...]
> 
> --------------------------------------------------------
> # sudo port clean --work sqlite3
> --->  Cleaning sqlite3
> brain:~ root# sudo port install sqlite3
> --->  Fetching sqlite3
> --->  Verifying checksum(s) for sqlite3
> --->  Extracting sqlite3
> --->  Configuring sqlite3
> --->  Building sqlite3 with target all
> --->  Staging sqlite3 into destroot
> --->  Installing sqlite3 3.6.2_0
> --->  Activating sqlite3 3.6.2_0
> Error: Target org.macports.activate returned: Image error: Another version of this port (sqlite3 @3.6.1_0) is already active.
> Error: Status 1 encountered during processing.
> --------------------------------------------------------
> 
> As I am still new to macprots, could you please give me further advices?
> 

Since you already have a version of sqlite3 installed (3.6.1_0), install (or
technically, activate) fails.  Since you've already done the install, you
can simply uninstall the older version with

$ sudo port uninstall sqlite3 @3.6.1_0

then activate the new version

$ sudo port activate sqlite3

In the future, you can avoid that by just using

$ sudo port upgrade sqlite3

See the guide's section on this (and the guide in general if you're new to
MacPorts):

<http://guide.macports.org/#using.port.upgrade>

Bryan


> Cheers,
>   /nm
> 


More information about the macports-users mailing list