yosemite and 2008/9 macbookpro compatability, macports install settings for older architecture?

Rainer Müller raimue at macports.org
Thu May 28 09:24:39 PDT 2015


On 2015-05-28 15:16, ^. .^ wrote:
> i recently upgraded a late 2008 macbookpro to yosemite. with SSD it
> seems to work ok.

Did you follow the migration procedure?

http://trac.macports.org/wiki/Migration

> when running macports to install software i get the following error
> 
> <quote>
>  Error: Cannot install ImageMagick for the arch(s) 'x86_64' because
>  Error: its dependency libtool is only installed for the arch 'i386'
>  Error: and the configured universal_archs 'i386 ppc' are not sufficient.
>  Error: Unable to execute port: architecture mismatch
> </quote>
> 
> 
> I found the macports.conf file and uncommented
> build_arch   i386
> 
> and i cleaned all. but the error remains the same. this machine did not
> have macports on it last time around so i did not follow the whole list
> of migration commands. but should i?
> 
> or what else am i missing?

You probably migrated this MacPorts installation from an older machine,
which still used 32-bit as default build architecture.

After reinstalling MacPorts as recommended by the migration procedure,
please compare your macports.conf against the macports.conf.default. You
will find both files in /opt/local/etc/macports/ after installing the
latest MacPorts version.

Most probably you even want to replace the macports.conf entirely with
the default options unless you made any changes on purpose.

Rainer


More information about the macports-users mailing list