Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2003 10:29:03 +0800
From:      Christopher Hall <freebsd@generalresources.com>
To:        ports@freebsd.org
Cc:        lioux@freebsd.org
Subject:   Re: rxvt-devel fails on -CURRENT
Message-ID:  <200305080229.h482T3L6010337@x4.tucheng.generalresources.com>
In-Reply-To: Message of "Thu, 08 May 2003 08:51:54 %2B0800." <200305080051.h480psL6001440@x4.tucheng.generalresources.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Just a quick addition:
  rxvt-devel-2.7.9 (when I got it compiled) had messed up colours,
  and was the same on 4.8-STABLE, Rxvt*foreground set background
  colour, Rxvt*background sets a thin border and the text was black.
  I reverted to 2.7.8_1.

In message <200305080051.h480psL6001440@x4.tucheng.generalresources.com>,
  Christopher Hall writes:
>
>rxvt-devel-2.7.8_1 fails with the following error:
>
>ptytty.c:50:48: sys/stropts.h: No such file or directory
>
>After some searching I fount the same error in:
>
>http://bento.freebsd.org/errorlogs/i386-5-latest/rxvt-devel-2.7.8_1.log
>http://bento.freebsd.org/errorlogs/i386-5-latest/zh-rxvt-devel-2.7.8_1.log
>
>I also found a uncommited update to rxvt-devel-2.7.9 which I tried
>and give the same error.
>  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=46244
>
>
>This seems to be the problem: (from the above logs)
>  pty/tty type:               STREAMS
>It is building for Linux style /dev/ptmx
>
>
>This is the code in configure:
>
> else if test -c /dev/ptc -a -d /dev/pts; then
>    rxvt_cv_ptys=PTC
> else if test -c /dev/ptmx -a -c /dev/pts/0; then
>    rxvt_cv_ptys=STREAMS
> else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes
>;
> then
>    rxvt_cv_ptys=STREAMS
> else
>    rxvt_cv_ptys=BSD
>
>
>Configure is detecting grantpt and unlockpt from stdlib.h
>
>I noticed there is also a posix_openpt,  presumably rxvt
>should be modified to detect and use this.
>
>As a quick fix, I made it compile by patching configure
>to force BSD ptys:
>
>--- configure.x Wed May  7 17:17:21 2003
>+++ configure   Wed May  7 17:25:09 2003
>@@ -8904,11 +8904,8 @@
>     rxvt_cv_ptys=PTC
>  else if test -c /dev/ptmx -a -c /dev/pts/0; then
>     rxvt_cv_ptys=STREAMS
>- else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xye
>s; then
>-    rxvt_cv_ptys=STREAMS
>  else
>     rxvt_cv_ptys=BSD
>-fi
> fi
> fi
> fi
>
>
>---
>Christopher Hall <hswATgeneralresources.com>         Fax: +886-2-2795-3030
>Christopher Hall <hswATacm.org>                    Phone: +886-2-2795-5799
>
>_______________________________________________
>freebsd-ports@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>

---
Christopher Hall <hsw@generalresources.com>         Fax: +886-2-2795-3030
Christopher Hall <hsw@acm.org>                    Phone: +886-2-2795-5799



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305080229.h482T3L6010337>