rxvt-devel fails on -CURRENT
Christopher Hall
freebsd at generalresources.com
Wed May 7 19:46:49 PDT 2003
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 at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
---
Christopher Hall <hsw at generalresources.com> Fax: +886-2-2795-3030
Christopher Hall <hsw at acm.org> Phone: +886-2-2795-5799
More information about the freebsd-ports
mailing list