Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: granaos on September 11, 2010, 02:10:19 PM
-
Hello everebody my goal is to compile TC.
I was having problems at compiling time over tinycore.
Well every time I tried to run "make menuconfig" I get this
...
HOSTCC scripts/kconfig/kxgettext.o
*** Unable to find the ncurses libraries or the
*** requiered header files
*** 'make menuconfig' requires the ncurses libraries.
***
***Install ncurses (ncurses-devel) and try again.
***
make [1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
Before that I have done this
1) I've Boot from cd (with tinycore-current.iso )
2) I've downloaded linux-2.6.33.3-patched.tbz2 , config-2.6.33.3-tinycore and compiletc.tcz(with AppBrowser)
3) Then on linux-2.6.33.3 (after tar jvxf linux...) with config-2.6.33.3 as .config in there I ran "make menuconfig".
Thanks
-
to compile the kernel, you'll need the ncurses, ncurses-dev, perl5 and bash extensions as well as compiletc
-
thanks a lot for your help.
Well I've downloaded:
- compiletc.tcz
- perl5.tcz
- ncurses.tcz
- bash.tcz
And using AppsAudit I can see this:
base-dev.tcz
bash.tcz
binutils.tcz
bison.tcz
cloog.tcz
compile.tcz
diffutils.tcz
file.tcz
findutils.tcz
flex.tcz
gawk.tcz
gcc.tcz
gcc_libs.tcz
gmp.tcz
gperf.tcz
grep.tcz
m4.tcz
make.tcz
mPfr.tcz
ncurses-common.tcz
ncurses.tcz
patch.tcz
perl5.tcz
pkg-config.tcz
ppl.tcz
sed.tcz
-
I forgot
I have downloaded ncurses-dev.tcz too.
-
Hi everybody.....is there anyone who can help me? I would appreciate.
-
If you have everything loaded it should work.
You could try:
1. "make mrproper", copy the .config again and then "make menuconfig"
2. "make mrproper", copy the .config again and then "make oldconfig"
-
I see the problem now, ncurses was recently moved out of the base to an extension - this means its location moved from /usr to /usr/local and "make menuconfig" only looks in /usr.
To get around this problem, you need to symlink /tmp/tcloop/ncurses-dev/usr/local/include/ncurses -> /usr/include/ncurses and symlink the static libs /tmp/tcloop/ncurses-dev/usr/local/lib/lib*.a -> /usr/lib/lib*.a
This is perhaps easiest done by starting emelfm as root
-
Perhaps that ncurses-dev extension should create those symlinks so they are available without manual intervention, since it seems to be a hardcoded file location looked for by the kernel build process.
-
The other issue with the current ncurses-dev is that the headers are in include/ncurses instead of include/, which also trips some packages.
-
The other issue with the current ncurses-dev is that the headers are in include/ncurses instead of include/, which also trips some packages.
New package is tested and ready to submit.
-
Maybe /usr/include should simply be symlinked to /usr/local/include in the initrd.
-
Updated ncurses-dev.tcz sent for publication.
-
'Looks like the start-up script should test for the presence of /usr/include and create it if required?
$ tce-load -i ncurses-dev
ncurses-common.tcz: OK
ncurses.tcz: OK
ln: /usr/include/etip.h: No such file or directory
ln: /usr/include/cursslk.h: No such file or directory
ln: /usr/include/cursesw.h: No such file or directory
ln: /usr/include/cursesp.h: No such file or directory
ln: /usr/include/cursesm.h: No such file or directory
ln: /usr/include/cursesf.h: No such file or directory
ln: /usr/include/cursesapp.h: No such file or directory
ln: /usr/include/form.h: No such file or directory
ln: /usr/include/menu.h: No such file or directory
ln: /usr/include/eti.h: No such file or directory
ln: /usr/include/panel.h: No such file or directory
ln: /usr/include/nc_tparm.h: No such file or directory
ln: /usr/include/term_entry.h: No such file or directory
ln: /usr/include/tic.h: No such file or directory
ln: /usr/include/ncurses_dll.h: No such file or directory
ln: /usr/include/termcap.h: No such file or directory
ln: /usr/include/unctrl.h: No such file or directory
ln: /usr/include/ncurses.h: No such file or directory
ln: /usr/include/curses.h: No such file or directory
ln: /usr/include/term.h: No such file or directory
ncurses-dev.tcz: OK