Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging nano fails with utf-8 error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 748

PostPosted: Fri Jun 03, 2005 4:50 pm    Post subject: emerging nano fails with utf-8 error Reply with quote

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

Code:
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
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Fri Jun 03, 2005 8:00 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 748

PostPosted: Fri Jun 03, 2005 8:24 pm    Post subject: Reply with quote

No I didn't change my USE flags but I tried the command anyway and it didn't work. Thanks for the help.
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Jun 04, 2005 10:15 am    Post subject: Reply with quote

Ok, try adding 'unicode' to USE, run the commands again, and try again.
Back to top
View user's profile Send private message
kimptoc
n00b
n00b


Joined: 28 May 2004
Posts: 36

PostPosted: Sat Jun 04, 2005 2:04 pm    Post subject: Reply with quote

Hi,

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

Thanks,
Chris
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Jun 04, 2005 2:38 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 748

PostPosted: Sat Jun 04, 2005 3:39 pm    Post subject: Reply with quote

reemerging ncurses worked. Thanks for the help!
Back to top
View user's profile Send private message
leifbk
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 210
Location: Oslo, Norway

PostPosted: Mon Jun 06, 2005 8:40 am    Post subject: Reply with quote

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.
_________________
The Yggdrasil Genealogy Project
Back to top
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 638
Location: Washington, DC

PostPosted: Tue Jun 07, 2005 12:33 pm    Post subject: Reply with quote

re-emerging ncurses solved the problem for me too.
Thanks a lot for this post.
Back to top
View user's profile Send private message
pumbaa
n00b
n00b


Joined: 12 Mar 2004
Posts: 61
Location: 8° 53' E - 47° 48' N

PostPosted: Mon Jun 13, 2005 2:19 pm    Post subject: Reply with quote

Same here ... re-emerging ncurses solved the problem...
Back to top
View user's profile Send private message
Merlin8000
n00b
n00b


Joined: 26 Jan 2005
Posts: 29
Location: Louisiana

PostPosted: Tue Jun 14, 2005 12:01 pm    Post subject: Reply with quote

I'm having the same issue, although for me
Code:

emerge -puD --newuse world


listed ncurses first on the list of packages to be emerged
Back to top
View user's profile Send private message
dl7und
n00b
n00b


Joined: 08 Nov 2003
Posts: 13

PostPosted: Tue Dec 20, 2005 1:17 am    Post subject: Reply with quote

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... :?
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue Dec 20, 2005 5:52 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
dl7und
n00b
n00b


Joined: 08 Nov 2003
Posts: 13

PostPosted: Tue Dec 20, 2005 7:16 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum