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

2015-05-31 Thread Dave Horsfall
On Sat, 30 May 2015, Ryan Schmidt wrote:

> Sure, you can copy (not rename) macports.conf.default to macports.conf, 
> if you've made no changes in macports.conf that you want to keep.

Done.

> No rebuild should be necessary.

No problem at all with this morning's update; it did build a bit more than 
usual, but that's probably normal anyway.

Thanks.

-- 
Dave Horsfall DTM (VK2KFU)   "Those who don't understand security will suffer."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-30 Thread Ryan Schmidt

On May 30, 2015, at 5:18 PM, Dave Horsfall wrote:

> On Fri, 29 May 2015, Ryan Schmidt wrote:
> 
>> You should probably migrate any relevant changes from 
>> macports.conf.default to macports.conf every time you upgrade MacPorts, 
>> as described in the Migration instructions, section 2 a.
> 
> Well, I've never made any changes (as I said, I don't know my way around 
> MacPorts yet), so I should be safe in merely renaming them?

Sure, you can copy (not rename) macports.conf.default to macports.conf, if 
you've made no changes in macports.conf that you want to keep.


> And anyway, what then?  Force a massive rebuild somehow, or will it happen 
> all by itself?

No rebuild should be necessary.


> I thought I'd followed the instructions when going to Yosemite (it was the 
> free upgrade from Snow Leopard), but I guess not...

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-30 Thread Dave Horsfall
On Fri, 29 May 2015, Ryan Schmidt wrote:

> You should probably migrate any relevant changes from 
> macports.conf.default to macports.conf every time you upgrade MacPorts, 
> as described in the Migration instructions, section 2 a.

Well, I've never made any changes (as I said, I don't know my way around 
MacPorts yet), so I should be safe in merely renaming them?

And anyway, what then?  Force a massive rebuild somehow, or will it happen 
all by itself?

I thought I'd followed the instructions when going to Yosemite (it was the 
free upgrade from Snow Leopard), but I guess not...

-- 
Dave Horsfall DTM (VK2KFU)   "Those who don't understand security will suffer."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-29 Thread Ryan Schmidt

On May 28, 2015, at 4:45 PM, Dave Horsfall wrote:

> On Thu, 28 May 2015, Ryan Schmidt wrote:
> 
>> No; the MacPorts default build_arch is x86_64 on Yosemite, but the user 
>> can override it by changing build_arch to i386 in macports.conf. In this 
>> case, the user probably didn't meant to do that, he just imported a 
>> pre-Snow Leopard Intel MacPorts installation onto his Yosemite Mac, and 
>> should now fully follow the Migration instructions to set things right.
> 
> Hmmm...  I've never touched macports.conf in my life (because I won't know 
> what I'm doing), but I see this:
> 
> -rw-r--r--  1 root  admin  5787 Dec  1  2010 macports.conf
> -r--r--r--  1 root  admin  8248 Nov 22  2014 macports.conf.default
> 
> The first would be the original Snow Leopard file, and the second would be 
> Yosemite (with attendant differences in default build architectures).
> 
> Am I in trouble?  I've had no problems with ports.

You should probably migrate any relevant changes from macports.conf.default to 
macports.conf every time you upgrade MacPorts, as described in the Migration 
instructions, section 2 a.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread ^. .^
ok. so it works now.

i did 2 things.
first i set the universal to also include x86_64
tried again and no luck

then i went through the entire migration steps and now i'm up and running.
i hadn't installed macports in my last 2 os upgrades so i wasn't thinking i
had to migrate.
but i guess it was left over from very first os on the machine when i used
it a bunch. so i thought it was gone but obviously it was not. thanks for
all the help, sorry for not doing that step to begin with.


thanks!
-dan



On Thu, May 28, 2015 at 2:26 PM, René J.V.  wrote:

> On Thursday May 28 2015 13:33:45 Lawrence Velázquez wrote:
> > On May 28, 2015, at 1:01 PM, René J.V. Bertin 
> wrote:
>
> > OP is on Yosemite. MacPorts defaults to x86_64 builds on Yosemite.
>
> even if build_arch is set to i386 only, as was the case for him? Isn't
> that a bug?
>
> R
>



-- 

i'm leaving gmail in 2014, new email address is danjo.m...@runbox.com
my cell phone has poor reception 617-504-9619
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread Dave Horsfall
On Thu, 28 May 2015, Ryan Schmidt wrote:

> No; the MacPorts default build_arch is x86_64 on Yosemite, but the user 
> can override it by changing build_arch to i386 in macports.conf. In this 
> case, the user probably didn't meant to do that, he just imported a 
> pre-Snow Leopard Intel MacPorts installation onto his Yosemite Mac, and 
> should now fully follow the Migration instructions to set things right.

Hmmm...  I've never touched macports.conf in my life (because I won't know 
what I'm doing), but I see this:

-rw-r--r--  1 root  admin  5787 Dec  1  2010 macports.conf
-r--r--r--  1 root  admin  8248 Nov 22  2014 macports.conf.default

The first would be the original Snow Leopard file, and the second would be 
Yosemite (with attendant differences in default build architectures).

Am I in trouble?  I've had no problems with ports.

-- 
Dave Horsfall DTM (VK2KFU)   "Those who don't understand security will suffer."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread Ryan Schmidt

On May 28, 2015, at 1:26 PM, René J.V. Bertin wrote:
> On Thursday May 28 2015 13:33:45 Lawrence Velázquez wrote:
> 
>> OP is on Yosemite. MacPorts defaults to x86_64 builds on Yosemite.
> 
> even if build_arch is set to i386 only, as was the case for him? Isn't that a 
> bug?

No; the MacPorts default build_arch is x86_64 on Yosemite, but the user can 
override it by changing build_arch to i386 in macports.conf. In this case, the 
user probably didn't meant to do that, he just imported a pre-Snow Leopard 
Intel MacPorts installation onto his Yosemite Mac, and should now fully follow 
the Migration instructions to set things right.

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread René J . V . Bertin
On Thursday May 28 2015 13:33:45 Lawrence Velázquez wrote:
> On May 28, 2015, at 1:01 PM, René J.V. Bertin  wrote:

> OP is on Yosemite. MacPorts defaults to x86_64 builds on Yosemite.

even if build_arch is set to i386 only, as was the case for him? Isn't that a 
bug?

R
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread Lawrence Velázquez
On May 28, 2015, at 1:01 PM, René J.V. Bertin  wrote:

> On Thursday May 28 2015 12:42:20 Lawrence Velázquez wrote:
> 
>> So the OP is trying to build ImageMagick x86_64.
> 
> Are there ways to that other than requesting a +universal build of it, or of 
> another port which has ImageMagick as its first dependency?

OP is on Yosemite. MacPorts defaults to x86_64 builds on Yosemite.

vq
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread René J . V . Bertin
On Thursday May 28 2015 12:42:20 Lawrence Velázquez wrote:

> So the OP is trying to build ImageMagick x86_64.

Are there ways to that other than requesting a +universal build of it, or of 
another port which has ImageMagick as its first dependency?

I must have assumed that the OP would have found the universal_archs setting in 
macports.conf if he wanted to install a universal variant...

R
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread Lawrence Velázquez
On May 28, 2015, at 11:22 AM, René J.V. Bertin  wrote:

> Was he doing a universal build? ImageMagick doesn't have +universal as a 
> default variant, so I don't see why one would need universal_archs if one 
> just wants or needs to build the entire tree in 32bit mode ...

MacPorts tries to remedy architecture mismatches by building dependencies 
+universal.

So the OP is trying to build ImageMagick x86_64. Its dependency libtool is 
already installed, but its architecture is unsatisfactory. MacPorts tries to 
fix this by rebuilding libtool +universal, but it notices that universal_archs 
doesn't contain "x86_64" and bails out.

vq
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread Rainer Müller
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
> 
> 
>  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
> 
> 
> 
> 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
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread René J . V . Bertin
On Thursday May 28 2015 11:02:08 Lawrence Velázquez wrote:

>You may have to edit macports.conf again and set "universal_archs x86_64 i386".

Was he doing a universal build? ImageMagick doesn't have +universal as a 
default variant, so I don't see why one would need universal_archs if one just 
wants or needs to build the entire tree in 32bit mode ...

R
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread Lawrence Velázquez
On May 28, 2015, at 9:16 AM, ^. .^  wrote:

> when running macports to install software i get the following error
> 
> 
>  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
> 
> 
> 
> I found the macports.conf file and uncommented 
> build_arch   i386 
> 
> and i cleaned all. but the error remains the same.

You may have to edit macports.conf again and set "universal_archs x86_64 i386".


> 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?

Was MacPorts present on the machine when you upgraded to Yosemite? If so, then 
you should follow the migration instructions. If not, you don't have to.

vq
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread René J . V . Bertin
On Thursday May 28 2015 09:16:46 ^. .^ wrote:

>i recently upgraded a late 2008 macbookpro to yosemite. with SSD it seems

Does it have a 64bit processor? 

>
> 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
>
>
>
>I found the macports.conf file and uncommented
>build_arch   i386

Apparently MacPorts was configured for 32bit only when you installed it, but 
somehow ImageMagick wants to be built for 64bit only.
I don't see anything in the Portfile that causes that, so maybe it's 
ImageMagick itself that enforces that choice.
You'd probably need to file a ticket on trac for that.

>have macports on it last time around so i did not follow the whole list of
>migration commands. but should i?

No.

>Family Early 2009 ID MacBookPro5,2
Apple/About This Mac/"More Information" will give you the correct ID

R
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


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

2015-05-28 Thread ^. .^
hey all,

i recently upgraded a late 2008 macbookpro to yosemite. with SSD it seems
to work ok.

when running macports to install software i get the following error


 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



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?



Thanks,
danjo

my machine is this one i think:
   MacBook Pro "Core 2 Duo" 2.66 17" (Unibody)

2.66
GHz Core 2 Duo (T9550)

Intro. January 6, 2009 Disc. June 8, 2009 Order MB604LL/A Model A1297
 (EMC
2272 )
Family Early 2009 ID MacBookPro5,2

RAM 4 GB VRAM 512 MB* Storage 320 GB (5400 RPM) Optical 8X DL
"SuperDrive" Complete
MacBook Pro "Core 2 Duo" 2.66 17" (Unibody) Specs

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users