From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Voegele Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] configure check for crypt() Date: Sat, 21 Feb 2004 08:30:53 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87ad3czy6q.fsf@ID-28718.user.uni-berlin.de> References: <87eksw6s4d.fsf@ID-28718.user.uni-berlin.de> <871xor4b51.fsf@ID-28718.user.uni-berlin.de> <87k72hjq7r.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077348758 31837 80.91.224.253 (21 Feb 2004 07:32:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2004 07:32:38 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Feb 21 08:32:34 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AuRcn-0002RQ-01 for ; Sat, 21 Feb 2004 08:32:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AuRc3-0007Po-H4 for guile-devel@m.gmane.org; Sat, 21 Feb 2004 02:31:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AuRbt-0007Lt-UU for guile-devel@gnu.org; Sat, 21 Feb 2004 02:31:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AuRbM-00062z-Sv for guile-devel@gnu.org; Sat, 21 Feb 2004 02:31:36 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.30) id 1AuRbL-0005zO-9k for guile-devel@gnu.org; Sat, 21 Feb 2004 02:31:03 -0500 Original-Received: (qmail 12355 invoked by uid 65534); 21 Feb 2004 07:30:55 -0000 Original-Received: from p508355C2.dip.t-dialin.net (EHLO hermes.voegele.dyndns.org) (80.131.85.194) by mail.gmx.net (mp013) with SMTP; 21 Feb 2004 08:30:55 +0100 X-Authenticated: #14729429 Original-To: guile-devel@gnu.org X-Request-PGP: http://pgp.mit.edu:11371/pks/lookup?search=0x12C21DCA&op=index X-PGP-KeyID: 12C21DCA In-Reply-To: <87k72hjq7r.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 21 Feb 2004 09:17:28 +1000") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3421 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3421 Kevin Ryde writes: > Andreas Voegele writes: >> >> Can anyone apply the patch, which is attached to my previous mail, to >> guile-core/configure.in and guile-core/libguile/posix.c? > > Thanks, I made changes along those lines. > > Is this for the guile 1.6 branch too? I'd expect so, if guile 1.6 > works at all on hpux (which I haven't tried). I've built Guile 1.6.4 with the mentioned changes under HP-UX 11.00, 32-Bit. I have yet to build the CVS version. I've noticed that HP-UX unsets the environment variable HOME when I change to the root account. Thus the following expression in readline.scm fails when the readline module is loaded by root. (define history-file (string-append (getenv "HOME") "/.guile_history")) guile> (use-modules (ice-9 readline)) ERROR: In procedure string-append: ERROR: Wrong type argument (expecting STRINGP): #f ABORT: (wrong-type-arg) The following expression could be used to get the home directory, but it requires the procedures getpwuid und cuserid which might not be available on all systems supported by Guile. I'd probably rather tell the super user to set HOME or GUILE_HISTORY before using readline :-) (or (getenv "HOME") (passwd:dir (getpwuid (cuserid)))) Here's the output of make test: Running alist.test Running bit-operations.test Running c-api.test Running chars.test Running common-list.test Running environments.test UNRESOLVED: environments.test: leaf-environments: observe-weak: weak observer gets collected UNRESOLVED: environments.test: leaf-environment based eval-environments: observe-weak: weak observer gets collected Running eval.test Running exceptions.test Running format.test Running gc.test Running getopt-long.test Running goops.test Running guardians.test Running hooks.test Running import.test Running interp.test Running list.test Running load.test Running numbers.test Running optargs.test Running ports.test Running r4rs.test Running reader.test Running regexp.test Running srfi-10.test Running srfi-13.test Running srfi-14.test Running srfi-19.test FAIL: srfi-19.test: SRFI date/time library: #date (time . tz-offset)> respects local DST if no TZ-OFFSET given FAIL: srfi-19.test: SRFI date/time library: #date (time . tz-offset)> respects local DST if no TZ-OFFSET given FAIL: srfi-19.test: SRFI date/time library: #date (time . tz-offset)> respects local DST if no TZ-OFFSET given FAIL: srfi-19.test: SRFI date/time library: #date (jdn . tz-offset)> respects local DST if no TZ-OFFSET given FAIL: srfi-19.test: SRFI date/time library: #date (jdn . tz-offset)> respects local DST if no TZ-OFFSET given FAIL: srfi-19.test: SRFI date/time library: string->date respects local DST if no time zone is read Running srfi-4.test Running srfi-9.test Running strings.test Running symbols.test Running syncase.test Running syntax.test Running time.test Running version.test Running weaks.test Totals for this test run: passes: 2225 failures: 6 unexpected passes: 0 expected failures: 18 unresolved test cases: 2 untested test cases: 0 unsupported test cases: 9 errors: 0 FAIL: check-guile =================== 1 of 1 tests failed =================== _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel