Discussion:
mconf in ubuntu 12.04
reynoldxmh
2013-01-24 04:39:33 UTC
Permalink
Hi all:
I'm just start to use nuttx and try to port it to 51 and STM32F103.
but when I'm start to build mconf according to/misc/tools/README.txt ,I failed:

./configure --disable-gconf --disable-qconf
make
make install

it install these things to /usr/local/bin :
conf
diff
gettext
kconfig-conf
kconfig-diff
kconfig-gettext
kconfig-merge
kconfig-tweak
merge
tweak

without mconf,so how to build mconf ? is there something I missed?
I use Ubuntu 12.04 x86_64

thanks everyone.
Gregory N
2013-01-24 13:06:28 UTC
Permalink
Hi,
Post by reynoldxmh
I'm just start to use nuttx and try to port it to 51 and STM32F103.
The F103 is a great match with NuttX, but I would not spend much time with the 8051, that port mostly worked some years back but I would not not recommend it. The 8051 is not a good match with NuttX (or any other RTOS for that matter).
Post by reynoldxmh
./configure --disable-gconf --disable-qconf
make
make install
conf
diff
gettext
kconfig-conf
kconfig-diff
kconfig-gettext
kconfig-merge
kconfig-tweak
merge
tweak
without mconf,so how to build mconf ? is there something I missed?
I use Ubuntu 12.04 x86_64
I did not have any problem building kconfig-mconf on Ubuntu. Did kconfig-mconfg build but just fail to install? Did you see any error messages when it built. During the build I see this:

...
Making all in mconf
CC mconf-mconf.o
CCLD mconf
...

Do you see that? After building I find the mconf executable at:

./frontends/mconf/.libs/mconf
./frontends/mconf/mconf

If you do not see these programs, then there is a problem with your configuration. Look at the config.log: Are there any complaints? Are there any missing dependencies? kconfigs-mconf needs ncurses and several other libraries.

Then at installation time, I see:

...
Making install in mconf
/bin/sh ../../libtool --mode=install /usr/bin/install -c mconf.exe '/usr/local/bin/./kconfig-mconf'
...

Greg
reynoldxmh
2013-01-24 13:56:44 UTC
Permalink
I see,I start Nuttx with STM32F103.
Today,I try to build kconfig-frontends again,but still failed.
Is there some other way to build mconf?

Thanks,
reynolds.
Post by Gregory N
Hi,
Post by reynoldxmh
I'm just start to use nuttx and try to port it to 51 and STM32F103.
The F103 is a great match with NuttX, but I would not spend much time with the 8051, that port mostly worked some years back but I would not not recommend it. The 8051 is not a good match with NuttX (or any other RTOS for that matter).
Post by reynoldxmh
./configure --disable-gconf --disable-qconf
make
make install
conf
diff
gettext
kconfig-conf
kconfig-diff
kconfig-gettext
kconfig-merge
kconfig-tweak
merge
tweak
without mconf,so how to build mconf ? is there something I missed?
I use Ubuntu 12.04 x86_64
...
Making all in mconf
CC mconf-mconf.o
CCLD mconf
...
./frontends/mconf/.libs/mconf
./frontends/mconf/mconf
If you do not see these programs, then there is a problem with your configuration. Look at the config.log: Are there any complaints? Are there any missing dependencies? kconfigs-mconf needs ncurses and several other libraries.
...
Making install in mconf
/bin/sh ../../libtool --mode=install /usr/bin/install -c mconf.exe '/usr/local/bin/./kconfig-mconf'
...
Greg
Jose Pablo Carballo
2013-01-24 14:25:19 UTC
Permalink
Hi,

I built kconfig-frontends without a problem in Ubuntu 12.04 64-bits. I
documented my notes on how to install this package,
http://nuttx.org/doku.php?id=wiki:howtos:build-and-install-nuttx-for-the-lm3s6965-ek-in-linux#building_nuttx,
see step 3. I do get kconfig-mconf:

ls /usr/local/bin/ | grep kconfig
kconfig-conf
kconfig-diff
kconfig-gettext
*kconfig-mconf*
kconfig-merge
kconfig-nconf
kconfig-tweak

JP
Post by reynoldxmh
**
I see,I start Nuttx with STM32F103.
Today,I try to build kconfig-frontends again,but still failed.
Is there some other way to build mconf?
Thanks,
reynolds.
Post by Gregory N
Hi,
Post by reynoldxmh
I'm just start to use nuttx and try to port it to 51 and STM32F103.
The F103 is a great match with NuttX, but I would not spend much time
with the 8051, that port mostly worked some years back but I would not not
recommend it. The 8051 is not a good match with NuttX (or any other RTOS
for that matter).
Post by Gregory N
Post by reynoldxmh
but when I'm start to build mconf according to/misc/tools/README.txt
./configure --disable-gconf --disable-qconf
make
make install
conf
diff
gettext
kconfig-conf
kconfig-diff
kconfig-gettext
kconfig-merge
kconfig-tweak
merge
tweak
without mconf,so how to build mconf ? is there something I missed?
I use Ubuntu 12.04 x86_64
I did not have any problem building kconfig-mconf on Ubuntu. Did
kconfig-mconfg build but just fail to install? Did you see any error
Post by Gregory N
...
Making all in mconf
CC mconf-mconf.o
CCLD mconf
...
./frontends/mconf/.libs/mconf
./frontends/mconf/mconf
If you do not see these programs, then there is a problem with your
configuration. Look at the config.log: Are there any complaints? Are there
any missing dependencies? kconfigs-mconf needs ncurses and several other
libraries.
Post by Gregory N
...
Making install in mconf
/bin/sh ../../libtool --mode=install /usr/bin/install -c mconf.exe
'/usr/local/bin/./kconfig-mconf'
Post by Gregory N
...
Greg
Richard Cochran
2013-01-24 14:43:04 UTC
Permalink
Post by reynoldxmh
Today,I try to build kconfig-frontends again,but still failed.
Is there some other way to build mconf?
If you run './configure --help' then you will see the various options,
including:

--disable-mconf mconf, the traditional ncurses-based frontend
(default=auto)

The default auto means that the script will try to auto-detect the
presence of ncurses development library and headers. I would guess
that you don't have this installed. You can force the option by adding
'--enable-mconf' to the command line.

I think for ubuntu 12.04 the ncurses package is called
libncurses5-dev.

HTH,
Richard
Jose Pablo Carballo
2013-01-24 15:02:46 UTC
Permalink
Hi Richard,

If I understood correctly, you were able to solve your problem by forcing
--enable-mconf. That detected you had an unresolved dependency with
libncurses5-dev?
I'm just trying to be clear how can we enhance the README and my notes to
build kconfig-frontends for NuttX in Ubuntu.

JP

On Thu, Jan 24, 2013 at 8:43 AM, Richard Cochran
Post by Richard Cochran
**
Post by reynoldxmh
Today,I try to build kconfig-frontends again,but still failed.
Is there some other way to build mconf?
If you run './configure --help' then you will see the various options,
--disable-mconf mconf, the traditional ncurses-based frontend
(default=auto)
The default auto means that the script will try to auto-detect the
presence of ncurses development library and headers. I would guess
that you don't have this installed. You can force the option by adding
'--enable-mconf' to the command line.
I think for ubuntu 12.04 the ncurses package is called
libncurses5-dev.
HTH,
Richard
Richard Cochran
2013-01-24 15:43:06 UTC
Permalink
Post by Jose Pablo Carballo
Hi Richard,
If I understood correctly, you were able to solve your problem by forcing
--enable-mconf. That detected you had an unresolved dependency with
libncurses5-dev?
No, actually I never had a problem at all. I am used to working with
mconf for compiling the Linux kernel, and so having to install ncurses
is not suprising to me.

What I meant about --enable-mconf was that if you put this on the
command line, and you don't have the ncurses library, then the script
will complain loudly. Without --enable-mconf, the script will not
complain, but it will not try to build mconf either.
Post by Jose Pablo Carballo
I'm just trying to be clear how can we enhance the README and my notes to
build kconfig-frontends for NuttX in Ubuntu.
I think it would be good for the README to mention that the ncurses
development library is required. Adding --enable-mconf to the example
wouldn't hurt, either.

HTH,
Richard
reynoldxmh
2013-01-25 14:50:30 UTC
Permalink
Thinks all:
I find out what's the problem ,I just install libncurses5,but without libncurses5-dev the configuration process will not compile the mconf and nconf

thanks again,
Reynolds
Post by Richard Cochran
Post by Jose Pablo Carballo
Hi Richard,
If I understood correctly, you were able to solve your problem by forcing
--enable-mconf. That detected you had an unresolved dependency with
libncurses5-dev?
No, actually I never had a problem at all. I am used to working with
mconf for compiling the Linux kernel, and so having to install ncurses
is not suprising to me.
What I meant about --enable-mconf was that if you put this on the
command line, and you don't have the ncurses library, then the script
will complain loudly. Without --enable-mconf, the script will not
complain, but it will not try to build mconf either.
Post by Jose Pablo Carballo
I'm just trying to be clear how can we enhance the README and my notes to
build kconfig-frontends for NuttX in Ubuntu.
I think it would be good for the README to mention that the ncurses
development library is required. Adding --enable-mconf to the example
wouldn't hurt, either.
HTH,
Richard
Jose Pablo Carballo
2013-01-28 02:51:35 UTC
Permalink
Post by Richard Cochran
What I meant about --enable-mconf was that if you put this on the
command line, and you don't have the ncurses library, then the script
will complain loudly
Yes, I think that making the ./configure output louder is a good idea.
Attached is a recommended patch for misc/tools/README, which explicitly
recommends --enable-mconf (and also --disable-nconf which was mentioned in
the text, but not in the command).

I also updated the wiki I
mentioned<http://www.nuttx.org/doku.php?id=wiki:howtos:build-and-install-nuttx-for-the-lm3s6965-ek-in-linux>to
include a dependency on
*libncurses5-dev*.

JP
Post by Richard Cochran
**
I find out what's the problem ,I just install libncurses5,but without
libncurses5-dev the configuration process will not compile the mconf and
nconf
thanks again,
Reynolds
Post by Richard Cochran
Post by Jose Pablo Carballo
Hi Richard,
If I understood correctly, you were able to solve your problem by
forcing
Post by Richard Cochran
Post by Jose Pablo Carballo
--enable-mconf. That detected you had an unresolved dependency with
libncurses5-dev?
No, actually I never had a problem at all. I am used to working with
mconf for compiling the Linux kernel, and so having to install ncurses
is not suprising to me.
What I meant about --enable-mconf was that if you put this on the
command line, and you don't have the ncurses library, then the script
will complain loudly. Without --enable-mconf, the script will not
complain, but it will not try to build mconf either.
Post by Jose Pablo Carballo
I'm just trying to be clear how can we enhance the README and my notes
to
Post by Richard Cochran
Post by Jose Pablo Carballo
build kconfig-frontends for NuttX in Ubuntu.
I think it would be good for the README to mention that the ncurses
development library is required. Adding --enable-mconf to the example
wouldn't hurt, either.
HTH,
Richard
reynoldxmh
2013-01-24 15:17:01 UTC
Permalink
Hi JP
I checkout a copy from SVN according to the web site,and follow the step1,step2,and step3,but there's still no mconf and nconf,like this:
ls /usr/local/bin/ | grep kconfig
kconfig-conf
kconfig-diff
kconfig-gettext
kconfig-merge
kconfig-tweak

I'm really confused,maybe some environmental problem cause this,I'm going to Install Ubuntu 12.04.1 LTS again on virtualbox and have a try.

Thanks,
Reynolds
Post by Jose Pablo Carballo
Hi,
I built kconfig-frontends without a problem in Ubuntu 12.04 64-bits. I
documented my notes on how to install this package,
http://nuttx.org/doku.php?id=wiki:howtos:build-and-install-nuttx-for-the-lm3s6965-ek-in-linux#building_nuttx,
ls /usr/local/bin/ | grep kconfig
kconfig-conf
kconfig-diff
kconfig-gettext
*kconfig-mconf*
kconfig-merge
kconfig-nconf
kconfig-tweak
JP
Post by reynoldxmh
**
I see,I start Nuttx with STM32F103.
Today,I try to build kconfig-frontends again,but still failed.
Is there some other way to build mconf?
Thanks,
reynolds.
Post by Gregory N
Hi,
Post by reynoldxmh
I'm just start to use nuttx and try to port it to 51 and STM32F103.
The F103 is a great match with NuttX, but I would not spend much time
with the 8051, that port mostly worked some years back but I would not not
recommend it. The 8051 is not a good match with NuttX (or any other RTOS
for that matter).
Post by Gregory N
Post by reynoldxmh
but when I'm start to build mconf according to/misc/tools/README.txt
./configure --disable-gconf --disable-qconf
make
make install
conf
diff
gettext
kconfig-conf
kconfig-diff
kconfig-gettext
kconfig-merge
kconfig-tweak
merge
tweak
without mconf,so how to build mconf ? is there something I missed?
I use Ubuntu 12.04 x86_64
I did not have any problem building kconfig-mconf on Ubuntu. Did
kconfig-mconfg build but just fail to install? Did you see any error
Post by Gregory N
...
Making all in mconf
CC mconf-mconf.o
CCLD mconf
...
./frontends/mconf/.libs/mconf
./frontends/mconf/mconf
If you do not see these programs, then there is a problem with your
configuration. Look at the config.log: Are there any complaints? Are there
any missing dependencies? kconfigs-mconf needs ncurses and several other
libraries.
Post by Gregory N
...
Making install in mconf
/bin/sh ../../libtool --mode=install /usr/bin/install -c mconf.exe
'/usr/local/bin/./kconfig-mconf'
Post by Gregory N
...
Greg
Loading...