problems after upgrading from darwinports

Ryan Schmidt ryandesign at macports.org
Wed Nov 15 11:35:53 PST 2006


I don't know why you're experiencing these problems but I'll try to  
make some suggestions.


On Nov 15, 2006, at 02:52, Dorian Mcfarland wrote:

> I just installed macports 1.320 from the dmg+installer on top of my  
> old darwinports installation,

First I have to ask why. Did "sudo port selfupdate" not work for some  
reason? That would be the normal way to update to the latest  
DarwinPorts/MacPorts version.


> subsequently I'm having great trouble installing or uprading a  
> number of ports, particularly ones that require db44. I'm running  
> OS X 10.4.8 on a 1.25 GHz PowerPC G4. I also installed the latest  
> developer tools and Xcode as recommended.

Oh. Shoot. Well, that was one thing I was going to suggest -- to make  
sure you have the latest Xcode (2.4.1).


> For instance, I get the following output when trying to install rb- 
> rmagick (imagemagick is up-to-date):

[snip errors I don't know how to solve]


> and then I get the following when trying to install db44 (needed  
> for apache 2.2.3 etc...):

[snip more strange errors]

Just a note: you do not need db44 for apache2. apache2 depends on apr- 
util, and apr-util depends on db44. But I think the main reason it  
does this is to support serving BDB-style repositories with  
subversion, which also requires apr-util. If you do not use  
subversion, or do not serve BDB-style repositories with it (they are  
no longer the default), then you do not require db44. To exclude it,  
first build apr-util with the +no_bdb variant. Then build apache2.  
(If you are using subversion, then build it with the +no_bdb variant  
also.)

This is not to say that something isn't wrong. Something *is* wrong;  
you should be able to compile db44. But I did want to point out that  
db44 is not strictly necessary for most cases.


> I'm at a bit of a loss as to how to proceed. It seems that I'm  
> missing something, perhaps some compiler or something, but I have  
> no idea what.

The only compiler you should need is gcc, the one included with Xcode.

However, it occurs to me that Xcode installs several versions of gcc,  
only one of which is the active one. Which one is active for you? It  
should be 4.0.1. What output does the command "gcc_select" produce on  
your system? I get this:


$ gcc_select
Current default compiler:
gcc version 4.0.1 (Apple Computer, Inc. build 5367)





More information about the macports-users mailing list