[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] misc-extn on Solaris
From: |
Graham Fawcett |
Subject: |
[Chicken-users] misc-extn on Solaris |
Date: |
Fri, 4 May 2007 12:00:21 -0400 |
Hi folks,
I'm running into two problems installing misc-extn on Solaris. First,
"openpty" isn't defined in Solaris; the manpage for pts(7D) gives the
following example for opening a pty:
int fdm fds;
char *slavename;
extern char *ptsname();
fdm = open("/dev/ptmx", O_RDWR); /* open master */
grantpt(fdm); /* change permission of slave */
unlockpt(fdm); /* unlock slave */
slavename = ptsname(fdm); /* get name of slave */
fds = open(slavename, O_RDWR); /* open slave */
ioctl(fds, I_PUSH, "ptem"); /* push ptem */
ioctl(fds, I_PUSH, "ldterm"); /* push ldterm*/
That could be turned into a Solaris work-alike... but for now, I've
cheated, and just commented out the pty/tty sections of misc-extn,
since I don't need them.
But after that, chicken-setup still fails:
[snip]
executing ._misc-extn.setup ...
Error: unbound variable: OS
It turns out there are a bunch of hidden files (dot files) in the
module, with .scm extensions, though they sure look like binary files
to me. Removing these allowed the build to proceed normally. Perhaps
they should be removed from the repository?
I'll post a ticket on these later, but thought I'd share now before I forgot.
Graham
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] misc-extn on Solaris,
Graham Fawcett <=