473,550 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem compiling perl module Device::SerialP ort

All:
I am attempting to compile the perl module Device::SerialP ort and get
this error during make --
Manifying blib/man3/Device::SerialP ort.3pm
Can't open blib/man3/Device::SerialP ort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localho st Device-SerialPort-1.002]$ make all
Manifying blib/man3/Device::SerialP ort.3pm
Can't open blib/man3/Device::SerialP ort.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 5395
Keith Lee <cm*********@ya hoo.comwrites:
All:
I am attempting to compile the perl module Device::SerialP ort and get
this error during make --
Manifying blib/man3/Device::SerialP ort.3pm
Can't open blib/man3/Device::SerialP ort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localho st Device-SerialPort-1.002]$ make all
Manifying blib/man3/Device::SerialP ort.3pm
Can't open blib/man3/Device::SerialP ort.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::SerialP ort.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*********@ya hoo.comwrites:
>All:
I am attempting to compile the perl module Device::SerialP ort and get
this error during make --
Manifying blib/man3/Device::SerialP ort.3pm Can't open
blib/man3/Device::SerialP ort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localho st Device-SerialPort-1.002]$ make all Manifying
blib/man3/Device::SerialP ort.3pm Can't open
blib/man3/Device::SerialP ort.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::SerialP ort.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*********@ya hoo.comwrites:
On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
>Keith Lee <cm*********@ya hoo.comwrites:
>>All:
I am attempting to compile the perl module Device::SerialP ort and get
this error during make --
Manifying blib/man3/Device::SerialP ort.3pm Can't open
blib/man3/Device::SerialP ort.3pm for writing: Invalid argument
at /usr/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 132
make: *** [manifypods] Error 22
[cmarvel@localho st Device-SerialPort-1.002]$ make all Manifying
blib/man3/Device::SerialP ort.3pm Can't open
blib/man3/Device::SerialP ort.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::SerialP ort.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::SerialP ort.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*********@ya hoo.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::SerialP ort and get
this error during make --
Manifying blib/man3/Device::SerialP ort.3pm
Can't open blib/man3/Device::SerialP ort.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
3315
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: --------------------------------------------------------------- use Win32::SerialPort qw( :STAT 0.19 ); $ob = new Win32::SerialPort ('COM5') || die "Can't open...
1
3645
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, 8 data bits, and 1 stop bit. Should be easy enough, except that I cannot get the SerialPort component included with C# Express to talk with this...
4
11036
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 understand device and serial communication work wihout problems. Now I want to do the same with C# code. As simple as that. I open the serial...
0
1387
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 handshaking which depends on the device. The process has been implemented by me and works but unfortunately only the first time. All data are...
1
13905
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 connection, either when re-opening it (in the same instance or a new instance of my program) I get either an IOException "The Handle is Invalid" exception or...
0
3154
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 port class in C# is accepting only ASCII values upto 127 only, the values those greater than 127 ,is automatically converted to value 63(?) ,ihave...
0
1375
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 communication to work properly and I have no problem talking to the device. But what I have found, whenever the device is not connected or another device...
3
31242
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, 0xE3, 0xFF, 0xFF. That's the configuration:
10
18191
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 encountered is that a call to SerialPort.GetPortNames() returns an empty string. In other words, NO port names are returned. I'm not terribly...
0
7561
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7761
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7999
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6101
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5129
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3532
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3517
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1094
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
801
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.