Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerging nano fails with utf-8 error

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
mystified
l33t
l33t
User avatar
Posts: 771
Joined: Sat Feb 14, 2004 1:33 am

emerging nano fails with utf-8 error

  • Quote

Post by mystified » Fri Jun 03, 2005 4:50 pm

I did an update world and the nano ebuild failed on me with the following:

Code: Select all

configure: error:
*** UTF-8 support was requested, but insufficient UTF-8 support was
*** detected in your curses and/or C libraries.  Please verify that your
*** slang was built with UTF-8 support or your curses was built with
*** wide character support, and that your C library was built with wide
*** character support.
any ideas?

TIA
Top
IvanYosifov
l33t
l33t
User avatar
Posts: 778
Joined: Fri Oct 15, 2004 6:33 pm
Location: Bulgaria

  • Quote

Post by IvanYosifov » Fri Jun 03, 2005 8:00 pm

Did you change useflags lately ?
If so, run emerge --deep --newuse world and try again.

Seems the package wants utf support in ncurses/libc, which ( I think ) has to enabled with a use flag + rebuild.
Top
mystified
l33t
l33t
User avatar
Posts: 771
Joined: Sat Feb 14, 2004 1:33 am

  • Quote

Post by mystified » Fri Jun 03, 2005 8:24 pm

No I didn't change my USE flags but I tried the command anyway and it didn't work. Thanks for the help.
Top
IvanYosifov
l33t
l33t
User avatar
Posts: 778
Joined: Fri Oct 15, 2004 6:33 pm
Location: Bulgaria

  • Quote

Post by IvanYosifov » Sat Jun 04, 2005 10:15 am

Ok, try adding 'unicode' to USE, run the commands again, and try again.
Top
kimptoc
n00b
n00b
User avatar
Posts: 36
Joined: Fri May 28, 2004 6:12 pm

  • Quote

Post by kimptoc » Sat Jun 04, 2005 2:04 pm

Hi,

The --newuse option did not help me at first - I had to manually re-emerge ncurses.

Thanks,
Chris
Top
IvanYosifov
l33t
l33t
User avatar
Posts: 778
Joined: Fri Oct 15, 2004 6:33 pm
Location: Bulgaria

  • Quote

Post by IvanYosifov » Sat Jun 04, 2005 2:38 pm

Did you use --deep ? If not portage will only consider packages in your world file - the ones you explicitly installed,not their deps.

If you do emerge X, only X will go in the world file, not it's deps.
Top
mystified
l33t
l33t
User avatar
Posts: 771
Joined: Sat Feb 14, 2004 1:33 am

  • Quote

Post by mystified » Sat Jun 04, 2005 3:39 pm

reemerging ncurses worked. Thanks for the help!
Top
leifbk
Guru
Guru
User avatar
Posts: 431
Joined: Mon Jan 05, 2004 9:18 am
Location: Bærum, Norway
Contact:
Contact leifbk
Website

  • Quote

Post by leifbk » Mon Jun 06, 2005 8:40 am

IvanYosifov wrote:Did you use --deep ? If not portage will only consider packages in your world file - the ones you explicitly installed,not their deps.
Having recently added the unicode use flag to /etc/make.conf, I ran into exactly the same problem. I can confirm that an "emerge -avuD world" does not list ncurses as a dependency for nano. You have to rebuild ncurses manually.

BTW, as the error message from configure suggested, I first rebuilt slang with unicode support.
Grumpy old man
Top
gentoo_dude
l33t
l33t
User avatar
Posts: 645
Joined: Sat May 08, 2004 10:29 pm
Location: Washington, DC

  • Quote

Post by gentoo_dude » Tue Jun 07, 2005 12:33 pm

re-emerging ncurses solved the problem for me too.
Thanks a lot for this post.
Top
pumbaa
n00b
n00b
Posts: 61
Joined: Fri Mar 12, 2004 2:24 pm
Location: 8° 53' E - 47° 48' N

  • Quote

Post by pumbaa » Mon Jun 13, 2005 2:19 pm

Same here ... re-emerging ncurses solved the problem...
Top
Merlin8000
n00b
n00b
Posts: 29
Joined: Wed Jan 26, 2005 5:11 am
Location: Louisiana
Contact:
Contact Merlin8000
Website

  • Quote

Post by Merlin8000 » Tue Jun 14, 2005 12:01 pm

I'm having the same issue, although for me

Code: Select all

emerge -puD --newuse world
listed ncurses first on the list of packages to be emerged
Top
dl7und
n00b
n00b
Posts: 13
Joined: Sat Nov 08, 2003 4:17 pm

  • Quote

Post by dl7und » Tue Dec 20, 2005 1:17 am

I am not that lucky. I have had "unicode" in my USE flags all the time and ncurses and slang are both labeled as built with that flag. Nano 1.3.7 however claims during the initial tests that both are lacking utf-8 support.

I re-emerged both packages, even glibc, since it too was mentioned by the error message (though glibc does not have any unicode flag). But I'm still stuck, nano still refuses to emerge, claiming ncurses and slang both do not have utf-8 support... :?
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Tue Dec 20, 2005 5:52 am

I seem to remember having to do 'revdep-rebuild -p' in connection with the unicode update..
Mvh
"I am not bound to please thee with my answers" W.S.
Top
dl7und
n00b
n00b
Posts: 13
Joined: Sat Nov 08, 2003 4:17 pm

  • Quote

Post by dl7und » Tue Dec 20, 2005 7:16 am

I found it, finally. :? This is one of the problems where the error message not necessarily tells you where to look for the cause. As I said, nano complained about slang and ncurses not having utf-8 support, although both clearly had. I had been using unicode right from the beginning, so there couldn't be a problem with packages not having utf-8 support.

However, I noticed that nano didn't have the "ncurses" flag set. And that was the solution: I added ncurses right into make.conf and at once nano compiled without further complaints.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic