Re: make menuconfig deps

2016-07-22 Thread Rob Landley
On 07/22/2016 01:29 PM, David Henderson wrote: > Hmmm, I'll have to try that next time to see if it works for me. I'm > using glibc at the moment since that is what TinyCoreLinux uses (and > our fork of that OS - XiniX), but long term I have plans to move to > musl (which is why I asked Rob Landle

Re: make menuconfig deps

2016-07-22 Thread David Henderson
lol it does seem to work just fine though. I made a wrapper script so I didn't have to remember it. :) Dave On 7/22/16, ..mg.. wrote: > > On Thu, Jul 21, 2016 at 09:40:21PM +0200, Laurent Bercot wrote: >> >> make menuconfig \ >> HOST_EXTRACFLAGS='-I/opt/ncurses/include -DKBUILD_NO_NLS >>

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Hey Stephen! The version of gcc I'm using is actually 5.2.0 and I don't think the OS is configured incorrectly, that's just how TC was designed to run. Instead of installing packages in a traditional means like Debian, TC uses squashfs files and symlinks its contents to the /usr/local/ area of th

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Hmmm, I'll have to try that next time to see if it works for me. I'm using glibc at the moment since that is what TinyCoreLinux uses (and our fork of that OS - XiniX), but long term I have plans to move to musl (which is why I asked Rob Landley how his projects were coming). That's just more work

Re: make menuconfig deps

2016-07-22 Thread Stephen Beckwith
I ran into a similar issue with menuconfig not finding ncurses library as well. After talking with IT folks, we used HOSTCC='gcc -Wl, -llibtinfo' to get it to work - initially - the menu was "horrible". . . . After some debugging of other problems, I discovered that there were 2 different compiler

Re: make menuconfig deps

2016-07-22 Thread ..mg..
On Thu, Jul 21, 2016 at 09:40:21PM +0200, Laurent Bercot wrote: > > make menuconfig \ > HOST_EXTRACFLAGS='-I/opt/ncurses/include -DKBUILD_NO_NLS > -DCURSES_LOC=""' \ > HOST_LOADLIBES='-L/opt/ncurses/lib -static -lncurses' > > Yes, that's HOST_LOADLIBES with an 'E'. Ah! That's obnox

Re: make menuconfig deps

2016-07-22 Thread ..mg..
On Fri, Jul 22, 2016 at 11:11:23AM -0400, David Henderson wrote: > Thanks for the tip MG, but unfortunately this did not work... > > Dave Sorry, I'm getting confused with my library-finding tricks. LD_LIBRARY_PATH is for runtime. This trick works for me (tested) with ncurses in a non-standard l

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Thanks Laurent, after some tweaking to the values this ended up working out just fine! I appreciate everyone's help so that I could get this going! Thanks, Dave On 7/21/16, Laurent Bercot wrote: > > Kbuild, be it the kernel's or busybox, assumes that ncurses is available > in /usr or /usr/lo

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Thanks for the tip MG, but unfortunately this did not work... Dave On 7/21/16, ..mg.. wrote: > On Thu, Jul 21, 2016 at 11:41:10AM -0400, David Henderson wrote: > >> lrwxrwxrwx1 root root47 Jul 21 08:59 >> /usr/local/lib/libncurses.so -> >> /tmp/tcloop/ncurses/usr/local/lib/l

Re: make menuconfig deps

2016-07-21 Thread ..mg..
On Thu, Jul 21, 2016 at 11:41:10AM -0400, David Henderson wrote: > lrwxrwxrwx1 root root47 Jul 21 08:59 > /usr/local/lib/libncurses.so -> > /tmp/tcloop/ncurses/usr/local/lib/libncurses.so > > I don't see a libcurses.so file, but you may have meant libncurses.so > which is pr

Re: make menuconfig deps

2016-07-21 Thread Laurent Bercot
Kbuild, be it the kernel's or busybox, assumes that ncurses is available in /usr or /usr/local, and nowhere else. To override those assumptions if your ncurses package isn't installed in a "standard" location, you need a few workarounds, as in manual make variables. My hand-built ncurses is in

Re: make menuconfig deps

2016-07-21 Thread David Henderson
I'll need a little help with your suggestion. Where do I find that line? Thanks, Dave On 7/21/16, Bernhard Reutner-Fischer wrote: > On July 21, 2016 5:41:10 PM GMT+02:00, David Henderson > wrote: >>Thanks MG for the continued help. The results of the find call are as >>shown below: > >>lrwxr

Re: make menuconfig deps

2016-07-21 Thread David Henderson
No problem :) On 7/21/16, Rich Mahn wrote: > David Henderson wrote: > >> Good morning Rich, thanks for the response. I have ncurses-dev >> already installed. I'm surprised BB required qt and kmod dev packages >> installed to use the menuconfig. I don't recall installing those >> packages bef

Re: make menuconfig deps

2016-07-21 Thread Rich Mahn
David Henderson wrote: > Good morning Rich, thanks for the response. I have ncurses-dev > already installed. I'm surprised BB required qt and kmod dev packages > installed to use the menuconfig. I don't recall installing those > packages before when I recompiled BB. Tinycore does have a qt-de

Re: make menuconfig deps

2016-07-21 Thread Bernhard Reutner-Fischer
On July 21, 2016 5:41:10 PM GMT+02:00, David Henderson wrote: >Thanks MG for the continued help. The results of the find call are as >shown below: >lrwxrwxrwx1 root root47 Jul 21 08:59 >/usr/local/lib/libncurses.so -> >/tmp/tcloop/ncurses/usr/local/lib/libncurses.so So in t

Re: make menuconfig deps

2016-07-21 Thread David Henderson
Thanks MG for the continued help. The results of the find call are as shown below: drwxr-xr-x3 root root26 Apr 22 2015 /tmp/tcloop/ncurses drwxr-xr-x3 root root26 Apr 22 2015 /tmp/tcloop/ncurses-dev -rw-r--r--1 root root 93600 Apr 22 2015

Re: make menuconfig deps

2016-07-21 Thread ..mg..
On Thu, Jul 21, 2016 at 09:07:09AM -0400, David Henderson wrote: > No problem, here's the entire output: [snip...] > HOSTCC scripts/kconfig/zconf.tab.o > In file included from scripts/kconfig/zconf.tab.c:152:0: > scripts/kconfig/zconf.hash.c:155:43: warning: > 'kconf_id_strings_contents' is sta

Re: make menuconfig deps

2016-07-21 Thread David Henderson
No problem, here's the entire output: HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc GEN include/applets.h GEN include/usage.h GEN miscutils/Kbuild GEN miscutils/Config.in GEN scripts/Kbuild GEN libpwdgrp/Kbu

Re: make menuconfig deps

2016-07-21 Thread David Henderson
Good morning Rich, thanks for the response. I have ncurses-dev already installed. I'm surprised BB required qt and kmod dev packages installed to use the menuconfig. I don't recall installing those packages before when I recompiled BB. Tinycore does have a qt-dev package, but no kmod... Thanks

Re: make menuconfig deps

2016-07-20 Thread Rich Mahn
Rob Landley wrote: > On 07/20/2016 10:45 AM, David Henderson wrote: > > Good morning everyone. I'm trying to run the 'make menuconfig' to > > configure BB but I keep getting a 'collect2: error:'. What are the > > dependencies that are necessary to get this going? Currently I have > > the basic

Re: make menuconfig deps

2016-07-20 Thread Rob Landley
On 07/20/2016 03:49 PM, David Henderson wrote: > msgbox.c:(.text+0x130): undefined reference to `waddch' > msgbox.c:(.text+0x160): undefined reference to `wrefresh' > msgbox.c:(.text+0x190): undefined reference to `wgetch' > msgbox.c:(.text+0x1a1): undefined reference to `delwin' > msgbox.c:(.text+

Re: make menuconfig deps

2016-07-20 Thread David Henderson
You're absolutely right Waldemar, sorry! Here's the snippet from the compile output: util.c:(.text+0x326): undefined reference to `waddch' scripts/kconfig/lxdialog/util.o: In function `print_button': util.c:(.text+0x74a): undefined reference to `wmove' scripts/kconfig/lxdialog/util.o: In function

Re: make menuconfig deps

2016-07-20 Thread David Henderson
Hey Rob, thanks for getting back to me on this! How's all your projects going? I'm currently using TinyCoreLinux v7.x to compile BB and have not had problems compiling other software such as ssmtp, sshpass, wmctrl, dvb-apps, etc so there isn't a problem with compiling per se which is why I'm left

Re: make menuconfig deps

2016-07-20 Thread Waldemar Brodkorb
Hi, David Henderson wrote, > Hey Rob, thanks for getting back to me on this! How's all your projects > going? > > I'm currently using TinyCoreLinux v7.x to compile BB and have not had > problems compiling other software such as ssmtp, sshpass, wmctrl, > dvb-apps, etc so there isn't a problem wi

Re: make menuconfig deps

2016-07-20 Thread Rob Landley
On 07/20/2016 10:45 AM, David Henderson wrote: > Good morning everyone. I'm trying to run the 'make menuconfig' to > configure BB but I keep getting a 'collect2: error:'. What are the > dependencies that are necessary to get this going? Currently I have > the basics like gcc, ncurses-dev, ncurse

make menuconfig deps

2016-07-20 Thread David Henderson
Good morning everyone. I'm trying to run the 'make menuconfig' to configure BB but I keep getting a 'collect2: error:'. What are the dependencies that are necessary to get this going? Currently I have the basics like gcc, ncurses-dev, ncurses, etc. Thanks, Dave _