Building sqlite3 fails
Normen Müller
normen.mueller at googlemail.com
Sat Sep 13 13:38:00 PDT 2008
Bryan Blackburn wrote:
> 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
>
I tried that, but got the following error:
--------------------------------------------------------------
sudo port uninstall sqlite3 @3.6.1_0
---> Unable to uninstall sqlite3 3.6.1_0, the following ports depend on it:
---> apr-util
---> apr-util
Error: port uninstall failed: Please uninstall the ports that depend on sqlite3 first.
--------------------------------------------------------------
> then activate the new version
>
> $ sudo port activate sqlite3
>
> In the future, you can avoid that by just using
>
> $ sudo port upgrade sqlite3
>
In the future, can I even perform
$ sudo port -u upgrade sqlite3
and
$ sudo port -u upgrade outdated
respectively?
> 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>
>
That's the section I read, but still I don't know what to do with the above mentioned error, cause I don't want to break my configuration wrt. dependencies.
Thank you very much, for your patience and help!
Cheers,
/nm
More information about the macports-users
mailing list