You are not logged in.

#1 2016-09-27 00:29:08

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

make menuconfig characters issue

Hi all,

I new on arch and I'm experimenting issue with make menuconfig of yocto distribution sdk. There is a dependency with libncuses5, but I read arch is on version 6. So I installed ncurses5-compat-libs. I don't know if there is any link with that. Also, I set all the system with en_US.UTF-8. When I call the make menuconfig, I get this :

http://s15.postimg.org/k1vhc0awr/Screen … _56_18.png

Last edited by jasonwryan (2016-09-27 00:30:19)

Offline

#2 2016-09-27 00:31:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: make menuconfig characters issue

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

And your locale is not set correctly...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-09-27 00:41:17

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

Hi,

sorry for the image size, I will be awake next time. What do you mean by my locale is not set correctly ? I generate with locale-gen and and also set the locale.conf...

Offline

#4 2016-09-27 01:14:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: make menuconfig characters issue

eric.boutet wrote:

What do you mean by my locale is not set correctly ? I generate with locale-gen and and also set the locale.conf...

What is the output of localectl    ?

Out of curiosity, why are you configuring a kernel?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2016-09-27 01:18:19

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

if I do localectl I get this :

   System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

In fact, it's for an emmbedded system. I'm using petalinux (xilinx), it's a yocto distribution. I need this to set up correctly the project.

Offline

#6 2016-09-27 01:25:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: make menuconfig characters issue

Okay, I am a little bit confused here.  (By the way, that Xilinx board looks like a fun project)

As this is posted on an Arch Linux forum, I assume you are trying to build a kernel using an Arch host and cross compiling it for the Xilinx target?
And that locale output is from Arch?  Are you using ssh to connect from Arch to your target board and is that where you see those characters?

What is the output of echo $TERM from whatever console or terminal emulator you ran make menuconfig from ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2016-09-27 01:41:31

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

Yes Xilinx is a great company to make a lot a project.

Exactly, I'm trying to cross-compile using an Arch linux host. Xilinx gives a tool called "petalinux sdk", so you install it and after that, it is possible to compile whole project for a xilinx target. You can do all in the host without needing to connect to ssh. The console you saw is from arch linux console. I need to specify, it's not really make menuconfig I called, it is "petalinux-config" command, but it does the same behavior.

Output of echo $TERM:
    xterm-256color

Offline

#8 2016-09-27 01:43:16

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

Also, Xilinx does not officially support Arch, but I found all needed package to install it and run it. All software are ok, there is just this issue.

Offline

#9 2016-09-27 02:00:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: make menuconfig characters issue

Things look rational.  What terminal emulator are you using? Xterm?
Can I suggest you try urxvt?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-09-27 02:05:41

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

I'm using the gnome-terminal. I just tried with rxvt and it does the same things. Could it come from the compact-ncurses5 library from AUR ?

Offline

#11 2016-09-27 02:07:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: make menuconfig characters issue

No, I don't think so.  In Gnome terminal, try using a different font.  Maybe Deja-Vu Sans Mono?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2016-09-27 02:19:40

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

Same thing.. :-( The worst is I am a bit lost of what I must search.

Offline

#13 2016-09-27 02:31:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: make menuconfig characters issue

I'm running out of ideas.  Try TERM=linux make menucofig

-or-

make xconfig
smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#14 2016-09-27 02:34:44

eric.boutet
Member
Registered: 2016-09-25
Posts: 13

Re: make menuconfig characters issue

I cannot call make menuconfig because I don't have makefile. I need to call a binray created by xilinx that call the menuconfig console. What I tried is :  TERM=linux petalinux-config
But no more result. The character I see is a null character that the terminal tries to print ?

Offline

#15 2016-09-27 03:01:31

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: make menuconfig characters issue

When compiling linux-ck I got the same issue (except with `make nconfig`)  ~few days ago, and AFAIK nothing changed in the environment I used to run makepkg.

Funny thing is, now it is back to normal and I have no idea how I might go about getting the problem back! big_smile
Again, I haven't changed my locale, I am using the same terminal (guake), I *have* rebooted after installing a kernel update...

...

Other than aesthetics, the actual menu configuration was working fine though...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB