search for: nsl

Displaying 20 results from an estimated 37 matches for "nsl".

Did you mean: nil
2009 Aug 21
1
Function "nsl()" missing in package utils
Dear list, today I stumbled across the function ?nsl()? for the first time in order to perform a hostname lookup. According to the R Reference Index (Version 2.9.1, page 1522), the function should be part of the "utils" package. However, I cannot find it in the utils package of my installation(s). I've tried the R-versions 2.8.1, 2.9.0...
2006 Oct 31
0
6362982 namespace pollution/protection in libc
.../sparc/Makefile update: usr/src/lib/libmail/sparcv9/Makefile update: usr/src/lib/libmd5/Makefile.com update: usr/src/lib/libmd5/amd64/Makefile update: usr/src/lib/libmd5/i386/Makefile update: usr/src/lib/libmd5/sparc/Makefile update: usr/src/lib/libmd5/sparcv9/Makefile update: usr/src/lib/libnsl/Makefile update: usr/src/lib/libnsl/Makefile.com update: usr/src/lib/libnsl/amd64/Makefile update: usr/src/lib/libnsl/common/daemon_utils.c update: usr/src/lib/libnsl/common/nsl_stdio_prv.c update: usr/src/lib/libnsl/des/des_crypt.c update: usr/src/lib/libnsl/des/des_soft.c update: usr/src/l...
2001 May 21
1
2.9p1 patches
...They should be in acinclude.m4 and then you should use aclocal to generate aclocal.m4 from acinclude.m4. acinclude.m4 4. A better --with-pcre and --with-zlib configure test. configure.in Some comments regarding your code in configure.in: 1. Hardcoding the need for -lsocket and -lnsl via $no_libsocket and $no_libnslis gross. Doing this means you don't know how to write a proper autoconf test to determine if these two libraries are needed. The solution is not to hack in the value with a case statement but to figure out the proper autoconf way of solv...
2017 Mar 06
0
[PATCH] lib: Prefer tirpc for XDR, and rationlise how we search for alternatives.
...nd is blowing. (1) This changes our configure script to prefer libtirpc if it is available. If libtirpc is _not_ available then: (a) Headers must be located in <rpc/xdr.h>, or the user must supply the right CFLAGS. (b) XDR functions must be located in one of -lportablexdr, -lrpc, -lxdr, -lnsl or no library at all (ie. -lc), and the user must set LDFLAGS if needed. (2) We no longer add these paths automatically to $(CFLAGS)/$(LIBS). Any part of libguestfs which needs <rpc/*.h> or the xdr_* functions must use $(RPC_CFLAGS)/$(RPC_LIBS) explicitly. (3) Previously Mac OS X had a work...
2017 Mar 07
1
[PATCH v2] lib: Prefer tirpc for XDR, and rationalise how we search for alternatives.
v1 -> v2: - No functional changes to the patch, just fixes a few bugs. Rich.
2020 Oct 05
3
Internet access and R CMD make check-devel
...CMD make check I am unable to run: R CMD make check-devel These latter tests fail. The failure occurs in the internet access if() conditional statement in these two tests: https://svn.r-project.org/R/trunk/tests/internet.R https://svn.r-project.org/R/trunk/tests/internet2.R In my environment, nsl("cran.r-project.org") returns a valid, non-null value but subsequent commands in those test files do not successfully access the internet. I'd like to be able to run the full test suite given I am building from source. I'm wondering if it's possible to make these conditionals...
2007 Jun 22
1
Cross-platform check for internet connection
What's the recommended way to check if an internet connection is available across platforms? I was using is.null(nsl()) but this does not work on windows. Thanks, Hadley
2004 Oct 25
1
Scoping and nls.
...not found So can one assign the function ``g'' somewhere where it **can** be found? I.e. use something like assign("g",g,envir=??????) Or is there some other magic incantation that can be used here to get nls to deal with a ``g'' defined inside the function which call nsl()? In the real problem the function g is a complicated gadget, taking different forms in different parts of its domain, so it is inconvenient-to-impossible to specify it explicitly in the formula in the call to nls(). Thanks for any help you can give. cheers, Rolf Turner rolf at m...
2020 Jul 08
1
Adding RtangleRuncode and RtangleFinish to exports of utils
..., RweaveLatexWritedoc, - RweaveLatexOptions, RweaveLatexFinish, + RweaveLatexOptions, RweaveLatexFinish, RtangleFinish, .RtangleCodeLabel, - makeRweaveLatexCodeRunner) + makeRweaveLatexCodeRunner, RtangleRuncode) if(tools:::.OStype() == "unix") { export(nsl) Best, v.
2001 Sep 29
0
configure.in fixes for 2.9.9p2
configure.in patches for 2.9.9p2: 1. Allow --with-pcre to take a path specifying the root of the PCRE install (ROOT/include, ROOT/lib) 2. Ditto for --with-zlib 3. $no_libnsl and $no_libsocket can be determined programmatically 4. Check for innetgr, getspnam, and util in the default $LIBS before checking in -lrpc, -lgen, and -lutil, respectively 5. dirname() is in -lgen on some systems (Solaris 2.5.1, IRIX) -- albert chin (china at thewrittenword.com) -- sni...
2020 Oct 05
0
Internet access and R CMD make check-devel
...R CMD make check-devel > > These latter tests fail. The failure occurs in the internet access > if() conditional statement in these two tests: > > https://svn.r-project.org/R/trunk/tests/internet.R > https://svn.r-project.org/R/trunk/tests/internet2.R > > In my environment, nsl("cran.r-project.org") returns a valid, non-null > value but subsequent commands in those test files do not successfully > access the internet. > > I'd like to be able to run the full test suite given I am building > from source. I'm wondering if it's possible to...
2006 Mar 30
2
Rails lost connection to MySQL server!
I getting this error on my project Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM ... i think that it''s because the mysql database don''t allow persistent connections ..... any idea? thanks -- _________ Noel R. Morais
2001 Jan 07
0
Linux glibc 2.1 openpty() and /dev/ptmx
...ined, this causes HAVE_DEV_PTMX to be undefined. Why? (There is a comment saying that pty allocated with _getpty gets broken, but that is no problem in this case, as the pty is allocated by opening /dev/ptmx and not _getpty.) One more (minor) thing I noticed: the tests for no_libsocket and no_libnsl in configure.in are swapped. Systems that define one define the other too so everything still worked right... if test -z "$no_libsocket" ; then AC_CHECK_LIB(nsl, yp_match, , ) fi if test -z "$no_libnsl" ; then AC_CHECK_LIB(socket, main, , ) fi Thanks, and keep up the good w...
2001 Feb 11
0
compilation issues
...pathconf() should be used instead of NAME_MAX. -- "buffer.c", line 57: warning: assignment type mismatch: volatile pointer to struct chunk_s {long len, array[4096] of char data} Self explanitory. -- In Solaris (and others), connect/socket are in libsocket.a, and gethostbyname is in libnsl.a. Need to add "-lnsl -lsocket" to the link lines for Solaris. This is probably best added in the vorbis-tools top-level configure.in in the "check for libraries" section. This will potentially add some useless libraries to the oggenc link line, but that's what you get for...
2006 Sep 30
1
<net/if_tap.h> on FreeBSD
FreeBSD's <net/if_tap.h> requires u_char to be defined: checking net/if_tap.h usability... no checking net/if_tap.h presence... yes configure: WARNING: net/if_tap.h: present but cannot be compiled configure: WARNING: net/if_tap.h: check for missing prerequisite headers? configure: WARNING: net/if_tap.h: see the Autoconf documentation configure: WARNING: net/if_tap.h: section
2005 Jan 04
2
rails on windows?
hi all, i''m new at rails, new at ruby. i''ve installed ruby (1.82.) and rails on windows 2000 so, two questions. one:, the mysql gem is giving me a "Failed to build gem native extension." by the way, i also get this error when installing on my linux box at home. two: can i run rails on IIS? --****Florida has a very broad Public Records Law. Virtually all
2001 Feb 13
1
configure.in reorder patch
...ys/queue.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stdarg.h stddef.h time.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) + +saved_LIBS="$LIBS" # Checks for libraries. -if test -z "$no_libsocket" ; then - AC_CHECK_LIB(nsl, yp_match, , ) -fi if test -z "$no_libnsl" ; then - AC_CHECK_LIB(socket, main, , ) + AC_CHECK_LIB(nsl, yp_match, LIBS="$LIBS -lnsl") fi +if test -z "$no_libsocket" ; then + AC_CHECK_LIB(socket, main, + [ + if test "$saved_LIBS" = "$LIBS" ; then...
2001 Feb 17
2
Where is OpenSSH 2.5.0p1?
...e, I see the two bugs I reported to this list some time ago (with no response) are still there. Below is a patch to fix them, please tell me if you see anything wrong with it. (I have tested it on Debian woody, appears to work fine so far.) One bug is only swapped tests for no_libsocket and no_libnsl. The other bug looks more serious to me - quote from glibc manual: *Warning:* Using the `openpty' function with NAME not set to `NULL' is *very dangerous* because it provides no protection against overflowing the string NAME. You should use the `ttyname' function o...
2008 Jun 28
2
Parallel R
Hello, The problem I'm working now requires to operate on big matrices. I've noticed that there are some packages that allows to run some commands in parallel. I've tried snow and NetWorkSpaces, without much success (they are far more slower that the normal functions) My problem is very simple, it doesn't require any communication between parallel tasks; only that it divides
2005 Jan 22
6
Still having config problems
Hi, Having completely failed to sort out my apache 500 error, I thought I would work through the "Rolling with Ruby on Rails" tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html I am using webrick, not apache - and still getting 500 errors. When I get to page 4 where http://127.0.0.1:3000/recipe/new should give me a data entry screen, instead I get...