![]() |
#151 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Since my machine keeps hanging (I´m pretty sure it´s the cinnamon process but time will tell...) hello from lxde, complete with incorrect keymappings. sigh.
I did put a long answer thinking you both. then my machine hung. Sufficed to say thanks, I will act on this. |
![]() |
![]() |
![]() |
#152 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Who would want to download an archive of ed and get all the binaries of OpenOffice thrown in free-of-charge because we did not rm -fr /mnt/us/* between building different things? There are a lot of advantages to "staging" package builds; Even if it means you have to run an extra tar -xzf command yourself to get copies into the final destination. For one thing, that means your testing/using the files from the same archive that you ship(ped). |
|
![]() |
![]() |
Advert | |
|
![]() |
#153 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: Depends on what you intend to do
![]() ![]() Last edited by NiLuJe; 08-08-2012 at 05:22 PM. |
![]() |
![]() |
![]() |
#154 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
@knc1 Iḿ happy to do it that way.
Just need clarification. We do that for JUST the /mnt/us version right? because that´s how I thought it read. Thanks!! @Niluje Better to KIS at this point for me reckon ; ) (as borne out by the above stupid question) EDIT: I installed the /home configged with a DESTDIR (i.e. /home) Last edited by twobob; 08-08-2012 at 05:27 PM. Reason: added what I did |
![]() |
![]() |
![]() |
#155 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
PEBCAK!
When attempting to reference the built libs in the next apps ./configure via
(armv6l:1) /home/lynx2-8-7 # ./configure --prefix=/mnt/us --libdir=/home/lib -- with-curses-dir=/home/bin I get.. Code:
configure: error: No curses header-files found (armv6l:1) /home/lynx2-8-7 # ./configure --help=short Any clues? EDIT: Err no: (armv6l:1) /home/ncurses-5.9 # ./configure --prefix=/mnt/us --libdir=/home/lib --with-curses-dir=/home/share/terminfo Yeah. that would make more sense. nope. still not getting it... Last edited by twobob; 08-08-2012 at 05:35 PM. Reason: Added solution err no I didnt |
![]() |
![]() |
Advert | |
|
![]() |
#156 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I would have expected that to work.
Oops . . . Did you mean: --with-libdir=/home/lib rather than -libdir=/home/lib? or, maybe, --with-ncurses-lib= ? if the ./configure --help says its available (the ./configure --short might not mention it). Double oops . . . That message is refering to <include>/ncurses/header_files.h --with-include-dir= if offered by the ./configure --help command. Otherwise you might have to force the situation with something like: LDFLAGS=-L/home/us/lib CFLAGS=-I/home/us/include ./configure --prefix= ..... That way, configure will generate the Makefiles with those settings included. Last edited by knc1; 08-08-2012 at 06:06 PM. |
![]() |
![]() |
![]() |
#157 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm. Am I just doing something stupid.
Code:
(armv6l:1) /home/lynx2-8-7 # ./configure --prefix=/mnt/us --with-libdir=/home/lib ... checking for extra include directories... no checking if we have identified curses headers... none configure: error: No curses header-files found Options from configure (relevant looking candidates) Code:
--libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR --with-build-libs=XXX the build libraries (${BUILD_LIBS}) --with-curses-dir=DIR directory in which (n)curses is installed ERR if this is too OT I can move it? but I suppose this is REAL LIFE monkey at typewriter stuff so possibly useful to future monkeys : ) HMM: Iḿ reading this. look relevant. http://lists.gnu.org/archive/html/ly.../msg00038.html From ncurses' NEWS file: 20100403 + build-fixes for OpenSolaris aka Solaris 11, for wide-character configuration as well as for rpath feature in *-config scripts. Code:
(armv6l:1) /home/lynx2-8-7 # ./configure --prefix=/mnt/us --with-include-dir=/ho me/include --with-curses-dir=/home/lib --with-screen=ncurses LDFLAGS="-R/home/li b" blah... checking for screen type... ncurses Looking for ncurses-config checking for ncurses6-config... no checking for ncurses5-config... no so I´ll switch the the latest dev version and see how I fare. Last edited by twobob; 08-08-2012 at 06:49 PM. |
![]() |
![]() |
![]() |
#158 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
ncurses defaults (sometimes? there's a weird runtime check to detect the current ncurses setup) to installing the headers in /usr/include/ncurses (probably to be able to keep the unicode support in a distinct directory, usually /usr/include/ncursew), while most stuff will only look for ncurses headers in the root of /usr/include, not /usr/include/ncurses.
You might have to reconfigure/build/install ncurses with --includedir=/usr/include, or play with CPPFLAGS="-I/usr/include/ncurses" when building stuff ![]() Last edited by NiLuJe; 08-08-2012 at 06:36 PM. Reason: Fix path, include != includes |
![]() |
![]() |
![]() |
#159 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
NiLuJe ncurses stage
Quote:
Spoiler:
|
|
![]() |
![]() |
![]() |
#160 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
I cant write anywhere else |
|
![]() |
![]() |
![]() |
#161 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Yep, I don't set includedir, and am indeed overriding CPPFLAGS when building stuff that depends on ncurses, like htop
![]() includedir should default to ${prefix}/include, and prefix defaults to /usr, so just adapt that to your setup ![]() While we're talking about paths, I also don't set a custom terminfo path, because I'm not deploying the lib to my Kindle, I'm just using it to link stuff against it. So, to fix the crappy terminfo db available on the Kindle, I ship one with usbnetwork, and hardcode the TERMINFO env var to point to it in the apps I care about (htop). Last edited by NiLuJe; 08-08-2012 at 06:46 PM. |
![]() |
![]() |
![]() |
#162 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
I can grasp the overall but when things go wrong I am somewhat at a loss right now. Thanks for the pointers. Coming from a much closeted world of .Net development is all feels a bit spaghetti junction right now, but doubtless it will come clear in the fullness of time. I fully intend to rebuild the underlying libraries before I actually build lynx for real, however until Lynx even finds those libraries (mangled or otherwise) that is issue number 2 on the list ![]() Iĺl give the tweak I found above a go and see if this resolves my issue with Lynx, perhaps it is app specific, then revisit my ncurses implementation. thanks mate. Last edited by twobob; 08-08-2012 at 06:58 PM. Reason: bit not nit |
|
![]() |
![]() |
![]() |
#163 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
EDIT: I FIXED THIS RECOMPILING NCURSES WITH ./configure --prefix=/home blah blah BELOW
![]() Okay Ill try to config it for /home - that would test if that is the case. (armv6l:1) /home/lynx2-8-8 # ./configure --prefix=/home LDFLAGS="-R/home/lib" CPPFLAGS="-I/home/include/ncurses" checking for extra include directories... no checking if we have identified curses headers... none configure: error: No curses header-files found Hmm.. *head scratch* (armv6l:1) /home/lynx2-8-8 # ./configure --prefix=/home LDFLAGS="-R/home/lib" --with-curses-dir=/home/include/ncurses checking whether to enable ipv6... no checking for screen type... curses checking for specific curses-directory... /home/include/ncurses Is my best attempt so far.. but it just hangs... forever Last edited by twobob; 08-09-2012 at 08:23 AM. Reason: added fix |
![]() |
![]() |
![]() |
#164 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay well I think a properly referenced version of ncurses wouldn´t go amiss for the emulator.
Iĺl try a rebuild of that perhaps as you suggest. :§ Get thing: wget ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz -O- | tar zxvf - cd ncurses-5.9/ Configure thing: (armv6l:1) /home/ncurses-5.9 # ./configure --prefix=/home --with-normal --with- chtype=long --with-mmask-t=long --disable-ext-colors --disable-ext-mouse --witho ut-pthread --without-reentrant --with-terminfo-dirs="/home/etc/terminfo:/home/sh are/terminfo" --with-shared --without-hashed-db --without-ada --without-cxx --wi thout-cxx-binding --without-debug --without-profile --without-gpm --disable-term cap --enable-symlinks --with-rcs-ids --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-echo --enable-pc-files --includedir=/home/include ...Blah ** Configuration summary for NCURSES 5.9 20110404: extended funcs: yes xterm terminfo: xterm-new bin directory: /home/bin lib directory: /home/lib include directory: /home/include man directory: /home/man terminfo directory: /home/share/terminfo ** Include-directory is not in a standard location make thing: make cd man && make DESTDIR="" all make[1]: Entering directory `/home/ncurses-5.9/man' blah blah blah Drink a large sup of tea. make[1]: Entering directory `/home/ncurses-5.9/misc' WHICH_XTERM=xterm-new \ ticdir=/home/share/terminfo \ /bin/sh ./gen_edit.sh >run_tic.sed echo '** adjusting tabset paths' ** adjusting tabset paths sed -f run_tic.sed ../misc/terminfo.src >terminfo.tmp make[1]: Leaving directory `/home/ncurses-5.9/misc' Make Install Thing: make install Blah blah DESTDIR= \ prefix=/home \ exec_prefix=/home \ bindir=/home/bin \ top_srcdir=.. \ srcdir=. \ datadir=/home/share \ ticdir=/home/share/terminfo \ source=terminfo.tmp \ cross_compiling=no \ /bin/sh ./run_tic.sh ** Building terminfo database, please wait... Running sh ./shlib tic to install /home/share/terminfo ... You may see messages regarding extended capabilities, e.g., AX. These are extended terminal capabilities which are compiled using tic -x If you have ncurses 4.2 applications, you should read the INSTALL document, and install the terminfo without the -x option. 1600 entries written to /home/share/terminfo ** built new /home/share/terminfo ** sym-linked /home/lib/terminfo for compatibility Last edited by twobob; 08-08-2012 at 08:50 PM. Reason: added what Iḿ up to |
![]() |
![]() |
![]() |
#165 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Environment variables get set before the application call, not after.
I.E: DESTDIR="" make . . . . . not: make DESTDIR="" . . . . . That is a general rule, not just for "make". |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessories DIY KT Case | echo013 | Amazon Kindle | 2 | 01-27-2012 06:53 PM |
DIY Stylus | scottjl | Apple Devices | 3 | 05-10-2010 01:52 AM |
DIY Scanner | Eratosthenes | News | 14 | 04-16-2010 04:21 PM |
DIY Idea | sřrensundsans | Sony Reader | 6 | 01-26-2010 01:25 AM |
DIY stylus | -Thomas- | iRex | 5 | 02-12-2009 12:05 PM |