error apache2 from macports 1.70

Ryan Schmidt ryandesign at macports.org
Sun Jan 18 19:53:27 PST 2009


On Jan 18, 2009, at 21:23, Jason Hirsh wrote:

> On Jan 18, 2009, at 7:54 PM, Bryan Blackburn wrote:
>
>> On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:
>>
>>> sh: /opt/local/bin/bzip2: Bad CPU type in executable
>>
>> Was this MacPorts install copied over from a different  
>> architecture (eg from
>> a PowerPC to Intel)?
>
> presuming wrong type  howdoI correct
>>

sudo port -nf upgrade bzip2

That will cause bzip2 to be rebuilt.

But if you copied this MacPorts installation from another machine,  
it's likely most or all of your other ports are also affected by this  
problem and you should do the same for all of them. But you would  
have to do it in the right order. It may be easier to uninstall all  
ports first, then install again what you need, which will do it in  
the right order for you.



More information about the macports-users mailing list