Trying to rebuild on 10.6

Mark Hattam mark at dxradio.demon.co.uk
Fri Sep 4 17:02:10 PDT 2009


On 2 Sep 2009, at 15:26, Ryan Schmidt wrote:

>
> On Aug 31, 2009, at 22:41, Joshua Root wrote:
>
>> On 2009-9-1 11:06, Ryan Schmidt wrote:
>>> I updated the Migration page BTW. I have not tested the new  
>>> instructions
>>> so they may still need tweaking.
>>
>> With the instructions as written, "sudo port install grep" will fail
>> because its dependencies have not been reinstalled yet.
>
> So it is. Thanks for fixing it. The new instructions to simply  
> uninstall grep, gawk and gsed first seem correct to me. And if  
> they're not, I'm sure somebody will let us know! :)


Another day, another 4 hours wasted ...

TimeMachine backup
OS 10.6 install
XCode install
Macports install (for SnowLeopard)

Follow the "Automatic method" instructions at
http://trac.macports.org/wiki/Migration

Last login: Fri Sep  4 21:34:34 on console
iMac:~ mark$ sudo port -f uninstall installed and \( gawk grep gsed \)

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
--->  Unable to uninstall gawk 3.1.7_0, the following ports depend on  
it:
--->  	autoconf213
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating gawk @3.1.7_0
--->  Uninstalling gawk @3.1.7_0
--->  Unable to uninstall gsed 4.2.1_0, the following ports depend on  
it:
--->  	php5
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating gsed @4.2.1_0
--->  Uninstalling gsed @4.2.1_0

So ...
iMac:~ mark$ sudo port upgrade --force installed

sit back and wait ... not too long

--->  Activating p5-locale-gettext @1.05_0
--->  Cleaning p5-locale-gettext
--->  Computing dependencies for help2man
--->  Fetching help2man
--->  Verifying checksum(s) for help2man
--->  Extracting help2man
--->  Applying patches to help2man
--->  Configuring help2man
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_textproc_help2man/work/help2man-1.36.4"  
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man -- 
infodir=/opt/local/share/info " returned error 1
Command output: checking for perl... /opt/local/bin/perl
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed
checking for library containing dlsym... none required
checking for module Locale::gettext... no
configure: error: perl module Locale::gettext required

Error: Unable to upgrade port: 1


Which after some searching of tickets comes up looking like (plus a  
few others marked as duplicates)
http://trac.macports.org/ticket/20953
resolution "wontfix"

that's handy

So as the Migration page says ... "please report it so we can fix  
it." ...


[[ TimeMachine'd it back to 10.5.8 ... why does Mail then insist on  
reimporting mail ... which is exactly the same mail that it had on the  
TimeMachine backup? Just adds another half hour to the process. ]]



Mark


More information about the macports-users mailing list