Phoenix.pm: open sesame

Kevin Buettner kev at primenet.com
Sun May 21 11:28:18 CDT 2000


On May 21,  2:04am, Pablo at zunigatech.com wrote:

> error---------------------
> [root at localhost IO-Tty-0.03]# make
> cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2    -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DPTYRANGE0=\"abcdepqrstuvwxyz\" -DPTYRANGE1=\"0123456789abcdef\" -DPTYTEMPLATE=\"/dev/ptyXY\" Tty.cTty.xs: In function `xsignal':
> Tty.xs:352: warning: assignment from incompatible pointer type
> Tty.xs:357: warning: return from incompatible pointer type
> cc: installation problem, cannot exec `as': No such file or directory
> make: *** [Tty.o] Error 1
> ------------------------------
> 
> I'm running RH 6.2. 

If the message is to be believed, it looks like you have an
installation problem.  Make sure that /usr/bin is on your path.  Then
make sure that /usr/bin/as exists and has appropriate execute
permissions set.  You might create a simple "Hello, world" program (in
C) and attempt to compile it.  The command "cc -v -o hello hello.c"
might yield some interesting and helpful messages.

If you find that you're missing /usr/bin/as, it is likely that you'll
need to (re)install binutils-2.9.5.0.22-6.

Also, please read my other post regarding ssh.  There are ways to solve
your specific problem of supplying a password to ssh besides having the
script send a password to the ssh program.  However, the technique of
using ptys to supply input to a program that expects to read from a
terminal is a useful one to learn, so you should attempt to solve your
installation problem as well.

Kevin

-- 
Kevin Buettner
kev at primenet.com, kevinb at redhat.com



More information about the Phoenix-pm mailing list