Ask a Question related to PERL Modules, Design and Development.
-
Stan Brown #1
Problems with Device-SerialPort
I'm trying to posr a perl application from FreeBSD to Soalris 10 X86. One
of the key requirements of this application is communicating via the serail
port. I have several SunFire 2100's for this, which do have a serail port
(etting harder and ahrder to find this0.
I cant get Device-SerialPort to insall using the CPAN installer, which
probably shouldn't suprise me, as it requires that an argument be passed to
the "perl Makefile.OL" sequence to define which serial port to do it's
testing on.
So, I donwloaded the module, and ran this:
perl Makefile.PL TESTPORT=/dev/ttya
Which seems resonably happy. here are a couple of snipptes from the utput:
Found what seems to be a Sun serial device.
Its path is '/dev/../devices/isa/asy@1,3f8:a',
but is not a 'zs' or 'se' style serial device.
continuing anyway...
Running ./configure ...
checking for gcc... gcc
But, when I run make it blows up:
make
cp SerialPort.pm blib/lib/Device/SerialPort.pm
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.8.4/lib/ExtUtils/typemap SerialPort.xs > SerialPort.xsc &&
mv SerialPort.xsc SerialPort.c
cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3
-xspace -xildoff -DVERSION=\"1.002\" -DXS_VERSION=\"1.002\" -KPIC
"-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" SerialPort.c
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `SerialPort.o'
Notice that it is trying to use the (noexistant) cc, instead of gcc. I even
triied editing the Makefil by hand and defining CC = gcc, but it just blows
up a bit later.
Any sugestions.
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
Stan Brown Guest
-
Help compiling Device::SerialPort
I am trying to get Device::SerialPort working on Soalris 10. The build fails during the make stage. What's hapening is that, even though... -
problem with Device::SerialPort
Hi. I've been googling all afternoon now but wasn't able to find my problem mentioned someplace, but if for some reason my google-fu was weak,... -
Loopback with Device::SerialPort?
This is cross-posted to .misc and modules, as I'm not certain where it belongs. Feel free to redirect the conversation to whichever group you feel... -
Need help with Win32::SerialPort
Hi, Does any one know of any other manual, paper,... that be have a little more info about the methods in this module Thanks, -shahriar -
Waiting for a char received by a serial port (Device::SerialPort)
Hello, I just did my first steps in programming perl today and got a "nearly" functioning program. What it should do: Send a file to /dev/ttyS0...



Reply With Quote

