[procps] nls wrap up

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Wed, 21 Dec 2011 13:41:39 -0600

Hi All,

The attached tarball contains the resolved top patches.

It also includes the pending patch Craig is holding.

Thus they could be applied to Sami's nls branch before the merge or applied to 
Craig's master after the merge.

But please, somebody, just apply the darn things :)


In my testing, there were a few apparent anomalies:

        ------------------------------
bash 4.2, nls$ ./configure --help
        under Optional Packages, there is this duplication
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
        seems to be a problem with autogen supplied: m4/lib-ld.m4
        it was not present under the pre-nls 3.3.2 master

        ------------------------------
bash 4.2, nls$ ./configure --without-ncurses --enable-watch8bit
        succeeds, but shouldn't it fail?
        make was ok, but no watch program and no messages

        ------------------------------
bash 4.2, nls$ ./configure --enable-watch8bit
        make then fails with these errors
/bin/bash ./libtool --tag=CC   --mode=link gcc -Iproc -g -O2 
./proc/libprocfs.la  -o watch watch.o strutils.o -lncurses
libtool: link: gcc -Iproc -g -O2 -o .libs/watch watch.o strutils.o  
./proc/.libs/libprocfs.so -lncurses
watch.o: In function `main':
/.../nls/watch.c:661: undefined reference to `waddnwstr'
/.../nls/watch.c:641: undefined reference to `win_wch'
/.../nls/watch.c:661: undefined reference to `waddnwstr'
/.../nls/watch.c:490: undefined reference to `waddnwstr'
/.../nls/watch.c:500: undefined reference to `waddnwstr'
collect2: ld returned 1 exit status
make[2]: *** [watch] Error 1
        shouldn't the link for watch be -lncursesw with --enable-watch8bit?

        ------------------------------
bash 4.2, nls$ ./configure --enable-static
        judging by the program size, static did not appear to be honored
        so just to be sure...
bash 4.2, nls# rm -fv /usr/local/lib/libprocfs.*
removed `/usr/local/lib/libprocfs.a'
removed `/usr/local/lib/libprocfs.la'
removed `/usr/local/lib/libprocfs.so'
removed `/usr/local/lib/libprocfs.so.0'
removed `/usr/local/lib/libprocfs.so.0.0.0'
bash 4.2, nls# top
top: error while loading shared libraries: libprocfs.so.0: cannot open shared 
object file: No such file or directory

Regards,
Jim



Other related posts:

  • » [procps] nls wrap up - Jim Warner