Opened 14 years ago

Closed 14 years ago

#25527 closed defect (invalid)

Can't install gettext for x86_64 because ncurses only contains i386

Reported by: daledouglas@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), imajes@…, bhadder@…
Port: ncurses

Description (last modified by ryandesign (Ryan Carsten Schmidt))

$ sudo port install octave
--->  Computing dependencies for gettext
--->  Configuring gettext
Error: You cannot install gettext for the architecture(s) x86_64 because
Error: its dependency ncurses only contains the architecture(s) i386.

Change History (14)

comment:1 in reply to:  description ; Changed 14 years ago by gnw3

Replying to daledouglas@…:

$ sudo port install octave ---> Computing dependencies for gettext ---> Configuring gettext Error: You cannot install gettext for the architecture(s) x86_64 because Error: its dependency ncurses only contains the architecture(s) i386.

I just now built octave for SL. ncurses and gettest were already installed and /opt/local/lib/libncurses.dylib is x86_64. Did you try rebuilding ncurses? The news is not all good: imread give "Assertion failed" and "plot 0:10" gives "error:plot no data to plot". I am however pleased to report that 2+2 gives ans = 4.

comment:2 in reply to:  1 Changed 14 years ago by gnw3

Replying to gnwiii@…:

Replying to daledouglas@…:

$ sudo port install octave ---> Computing dependencies for gettext ---> Configuring gettext Error: You cannot install gettext for the architecture(s) x86_64 because Error: its dependency ncurses only contains the architecture(s) i386.

I just now built octave for SL. ncurses and gettest were already installed and /opt/local/lib/libncurses.dylib is x86_64. Did you try rebuilding ncurses? The news is not all good: imread give "Assertion failed" and "plot 0:10" gives "error:plot no data to plot". I am however pleased to report that 2+2 gives ans = 4.

Killing old gnuplot windows fixed the "no data to plot" problem for me.

comment:3 in reply to:  1 Changed 14 years ago by daledouglas@…

Upgrade ncurses? You mean: sudo port upgrade ncurses?

I did that (no response from port), and then tried to reinstall octave, and got the same error.

Replying to gnwiii@…:

Replying to daledouglas@…:

$ sudo port install octave ---> Computing dependencies for gettext ---> Configuring gettext Error: You cannot install gettext for the architecture(s) x86_64 because Error: its dependency ncurses only contains the architecture(s) i386.

I just now built octave for SL. ncurses and gettest were already installed and /opt/local/lib/libncurses.dylib is x86_64. Did you try rebuilding ncurses? The news is not all good: imread give "Assertion failed" and "plot 0:10" gives "error:plot no data to plot". I am however pleased to report that 2+2 gives ans = 4.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: Snow Leopard ncurses removed
Priority: HighNormal
Summary: Snow Leopard: Can't install ncursesCan't install gettext for x86_64 because ncurses only contains i386

Please remember WikiFormatting.

Why did ncurses only contain the architecture i386? Did you perhaps upgrade from Leopard to Snow Leopard without following the Migration procedure?

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Cc: imajes@… added

comment:6 in reply to:  4 Changed 14 years ago by daledouglas@…

Replying to ryandesign@…:

Please remember WikiFormatting.

Why did ncurses only contain the architecture i386? Did you perhaps upgrade from Leopard to Snow Leopard without following the Migration procedure?

No, the box is a brand new Macbook that has only ever known Snow Leopard. Is there some some subset of the migration procedure that I should follow anyway?

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Did you use Migration Assistant (or some other method) to copy information (including a MacPorts installation) from a pre-Snow Leopard machine to this one? There must be some explanation for why you had an i386 ncurses.

comment:8 Changed 14 years ago by bhadder@…

Cc: bhadder@… added

Cc Me!

comment:9 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Dale, any ideas? If you can't explain why your ncurses is i386-only (migration from a pre-Snow Leopard Intel Mac still seems likely to me), then you could simply rebuild it; it should be x86_64 this time:

sudo port -n upgrade --force ncurses

However, if you don't know why ncurses is i386, it's possible other ports are inadvertently installed i386 as well. You may have a less-problematic future if you uninstall this questionable MacPorts installation (instructions are in the guide) and then reinstall it.

comment:10 Changed 14 years ago by daledouglas@…

Even this doesn't work. BTW, I _believe_ I couldn't easily get migration to work, so I sneakernet'ed everything over. But I am not positive.

Dale-Douglass-MacBook:~ daledouglas$ sudo port -n upgrade --force ncurses
Password:
--->  Computing dependencies for ncurses
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Unable to uninstall ncurses 5.7_0, the following ports depend on it:
--->      gettext
--->      readline
--->      gnuplot
--->      texinfo
--->      octave
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating ncurses @5.7_0
--->  Uninstalling ncurses @5.7_0
--->  Computing dependencies for ncurses
--->  Installing ncurses @5.7_0
--->  Activating ncurses @5.7_0
--->  Cleaning ncurses
Dale-Douglass-MacBook:~ daledouglas$ sudo port install octave
Password:
--->  Computing dependencies for gettext
--->  Configuring gettext
Error: You cannot install gettext for the architecture(s) x86_64 because
Error: its dependency expat only contains the architecture(s) i386.

comment:11 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, you fixed ncurses. Now you're having the same problem with expat. Since you appear to have multiple ports installed for the wrong architecture and cannot explain how this occurred (though copying from a pre-Snow Leopard machine via whatever means (including sneakernet) would be a likely culprit), I recommend you follow the Migration procedure anyway.

comment:12 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Have you been able to resolve these issues? Please let us know.

comment:13 Changed 14 years ago by daledouglas@…

Status: Resolved. Root Cause: Total stupidity on my part. Solution: Digging through my harddrive, it looks like a migration assistant migration from a pre-snow leopard box was attempted, but only partially completed before failing. All problems were fixed by following the migration procedure.

comment:14 Changed 14 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.