Re: Erlang Build Failing on configure

2009-12-20 Thread Ryan Schmidt
On Dec 20, 2009, at 17:39, Robert Sanford wrote:

 Running Snow Leopard on MacBookPro 2,2 (32 bit Core2Duo).

FYI, the Core2Duo is a 64-bit processor.


 It says that SMP Emulator was enabled by user but I didn't explicitly enable 
 anything.

It was enabled by the portfile on your behalf.


 I'm clueless and any help is much appreciated.
 
 rjsjr
 
 Macintosh-2:~ wobbet$ sudo port install erlang
 Password:
 ---  Computing dependencies for erlang
 ---  Configuring erlang
 Error: Target org.macports.configure returned: configure failure: shell 
 command  cd 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02

[snip]

Your port definitions are out of date; the portfile was updated to R13B03 a 
week ago. The way to fix that would be to selfupdate:

sudo port selfupdate


 checking whether an emulator with smp support should be built... yes; enabled 
 by user
 configure: error: cannot build smp enabled emulator since no thread library 
 was found

I see the same error on Snow Leopard with R13B03 as you did with R13B02 -- when 
trying to build erlang universal x86_64/i386. I requested for universal builds 
to occur by default on my MacPorts installation by putting +universal in my 
variants.conf; perhaps you did the same? The port builds fine if I don't do a 
universal build, e.g.

sudo port clean erlang
sudo port install erlang -universal

Please file a ticket in the issue tracker for this problem so the port's 
maintainer can fix it (either by fixing the universal build or by disabling it).


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


Re: Erlang Build Failing on configure

2009-12-20 Thread Robert Sanford
I did the selfupdate and clean and ran the install w/ -universal (you are 
correct in my having +universal in the config although that doesn't always 
work) and it installed/activated/cleaned. Need to do some testing but am 
confident at this point. But...

What is the -univeral going to do to my ports that require universal (Python26 
comes to mind) and share dependencies w/ Erlang? Is that going to change my 
dependencies at all when I want/need to upgrade those? Will I just need to make 
sure that I use +universal for those?

rjsjr


On Dec 20, 2009, at 7:45 PM, Ryan Schmidt wrote:

 On Dec 20, 2009, at 17:39, Robert Sanford wrote:
 
 Running Snow Leopard on MacBookPro 2,2 (32 bit Core2Duo).
 
 FYI, the Core2Duo is a 64-bit processor.
 
 
 It says that SMP Emulator was enabled by user but I didn't explicitly enable 
 anything.
 
 It was enabled by the portfile on your behalf.
 
 
 I'm clueless and any help is much appreciated.
 
 rjsjr
 
 Macintosh-2:~ wobbet$ sudo port install erlang
 Password:
 ---  Computing dependencies for erlang
 ---  Configuring erlang
 Error: Target org.macports.configure returned: configure failure: shell 
 command  cd 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02
 
 [snip]
 
 Your port definitions are out of date; the portfile was updated to R13B03 a 
 week ago. The way to fix that would be to selfupdate:
 
 sudo port selfupdate
 
 
 checking whether an emulator with smp support should be built... yes; 
 enabled by user
 configure: error: cannot build smp enabled emulator since no thread library 
 was found
 
 I see the same error on Snow Leopard with R13B03 as you did with R13B02 -- 
 when trying to build erlang universal x86_64/i386. I requested for universal 
 builds to occur by default on my MacPorts installation by putting 
 +universal in my variants.conf; perhaps you did the same? The port builds 
 fine if I don't do a universal build, e.g.
 
 sudo port clean erlang
 sudo port install erlang -universal
 
 Please file a ticket in the issue tracker for this problem so the port's 
 maintainer can fix it (either by fixing the universal build or by disabling 
 it).
 
 

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


Re: Erlang Build Failing on configure

2009-12-20 Thread Ryan Schmidt

On Dec 20, 2009, at 20:18, Robert Sanford wrote:

 I did the selfupdate and clean and ran the install w/ -universal (you are 
 correct in my having +universal in the config although that doesn't always 
 work) and it installed/activated/cleaned. Need to do some testing but am 
 confident at this point. But...
 
 What is the -univeral going to do to my ports that require universal 
 (Python26 comes to mind) and share dependencies w/ Erlang? Is that going to 
 change my dependencies at all when I want/need to upgrade those? Will I just 
 need to make sure that I use +universal for those?

If +universal is in your variants.conf, +universal will be applied to every 
port you install or upgrade. For ports where the universal variant is broken, 
like apparently erlang at least on Snow Leopard when building x86_64/i386, you 
should specify -universal on the command line when you install or upgrade. This 
will affect the port you are installing or upgrading, and any dependencies that 
get installed or upgraded at the same time. You probably don't want that for 
the dependencies -- you probably want them to be universal even if erlang is 
not -- so manually install or upgrade any needed dependencies first, so that 
they get done +universal per your variants.conf.


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