473,385 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem compiling perl module Device::SerialPort

All:
I am attempting to compile the perl module Device::SerialPort and get
this error during make --
Manifying blib/man3/Device::SerialPort.3pm
Can't open blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localhost Device-SerialPort-1.002]$ make all
Manifying blib/man3/Device::SerialPort.3pm
Can't open blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22

I have 5.8.8 perl. Any suggestions? Thank you.

Keith Lee
Mar 28 '08 #1
6 5383
Keith Lee <cm*********@yahoo.comwrites:
All:
I am attempting to compile the perl module Device::SerialPort and get
this error during make --
Manifying blib/man3/Device::SerialPort.3pm
Can't open blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localhost Device-SerialPort-1.002]$ make all
Manifying blib/man3/Device::SerialPort.3pm
Can't open blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22

I have 5.8.8 perl. Any suggestions? Thank you.
It's complaining it gets an error trying to create a file
at blib/man3/Device::SerialPort.3pm.

Did you previously do a make as root?

It the file there writable?

You can either do a make clean as root
and then make as a normal user
or do the make as root.
Mar 28 '08 #2
On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
Keith Lee <cm*********@yahoo.comwrites:
>All:
I am attempting to compile the perl module Device::SerialPort and get
this error during make --
Manifying blib/man3/Device::SerialPort.3pm Can't open
blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localhost Device-SerialPort-1.002]$ make all Manifying
blib/man3/Device::SerialPort.3pm Can't open
blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22

I have 5.8.8 perl. Any suggestions? Thank you.

It's complaining it gets an error trying to create a file at
blib/man3/Device::SerialPort.3pm.

Did you previously do a make as root?

It the file there writable?

You can either do a make clean as root and then make as a normal user
or do the make as root.
Dan:
I just ran make clean, perl Makefile.pl, and make as root. It's giving me the same error.

Keith
Mar 29 '08 #3
Keith Lee <cm*********@yahoo.comwrites:
On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
>Keith Lee <cm*********@yahoo.comwrites:
>>All:
I am attempting to compile the perl module Device::SerialPort and get
this error during make --
Manifying blib/man3/Device::SerialPort.3pm Can't open
blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localhost Device-SerialPort-1.002]$ make all Manifying
blib/man3/Device::SerialPort.3pm Can't open
blib/man3/Device::SerialPort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22

I have 5.8.8 perl. Any suggestions? Thank you.

It's complaining it gets an error trying to create a file at
blib/man3/Device::SerialPort.3pm.

Did you previously do a make as root?

It the file there writable?

You can either do a make clean as root and then make as a normal user
or do the make as root.

Dan:
I just ran make clean, perl Makefile.pl, and make as root. It's giving me the same error.
Look at the file:

blib/man3/Device::SerialPort.3pm

is it writable?

if you can't find the file look closer at the output
messages, they will say which directory make was in at the time
the message was issued.

Check that there is space on the drive.
Mar 29 '08 #4
Dan:
I am not sure why; but, the compilation and installation work fine on the Linux drive but not on the Fat32 drive.
They are both accessible from Linux. Oh well, at least I got it installed and running. Thank you.

Keith Lee

Mar 29 '08 #5
Keith Lee <cm*********@yahoo.comwrites:
Dan:
I am not sure why; but, the compilation and installation work fine
on the Linux drive but not on the Fat32 drive. They are both
accessible from Linux. Oh well, at least I got it installed and
running. Thank you.
Makes sense.

The fat drive does not support file permissions.
If the script attempted to set permissions or test them
the script wouldn't get the expected results.
Mar 30 '08 #6
Keith Lee wrote:
All:
I am attempting to compile the perl module Device::SerialPort and get
this error during make --
Manifying blib/man3/Device::SerialPort.3pm
Can't open blib/man3/Device::SerialPort.3pm for writing: Invalid argument
Translation: Attempt to use illegal characters in a file name.
File names with embedded colons are not allowed on FAT32 file systems.
Mar 31 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carlo Filippini | last post by:
Hi I am trying to control my mobile from my WinXP machine. The mobile is connected through USB which is mapped on COM 5. With Hyperterminal everything looks good. But when I try:...
1
by: Richie Carey | last post by:
Here's my problem. I'm using Visual C# 2005 Express for a small project that requires simple AT modem commands to be sent to an external serial device. The device requires 2400 baud, no parity,...
4
by: Lonifasiko | last post by:
Hi, I've been able to communicate using HyperTerminal with my device via serial port COM1. I just send a command and device switches on. I just need that to start playing with it. This way, I...
0
by: Audio_Developer | last post by:
Hello, I have a problem with the SerialPort Control under VC# Express 2005. In my application I have to read data from an external device through RS 232. The process is built on a software-based...
1
by: sranger | last post by:
When I try to use a System.IO.Ports.SerialPort object to read from a serial port, half of the time I have no problems. However, after I successfully read from the serial port, then close the...
0
by: nmsreddi | last post by:
Hi friends I am working on serialport in c# ,i am using C#2005 i have successfully done the serial communication with GSM modem and able to send and receive data , the main problem ,the serial...
0
by: | last post by:
I have written a few device classes that use the Serialport class with no problems what so ever. I finally ran into a device that need to have the Dtrenable flag set to true in order to...
3
by: Adriano | last post by:
Hello, I'm developing an application in VB.NET 2005 that communicates with a device through RS232, and need to send the following sequence of hexadecimal data to the device: 0xFF, 0x01, 0xC3,...
10
by: sklett | last post by:
I'm trying to send some printer commands (ZPLII) to an attached USB printer using the SerialPort component. I didn't get very far at all. In fact I haven't gotten anywhere. The first problem I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.