473,595 Members | 2,442 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 5399
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
3317
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 COM5: $^E\n";
1
3649
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 box. I know the box itself is working correctly because a Visual Basic 6.0 application that I...
4
11041
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 port with the configuration manufacturer gives me,
0
1388
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 donwloaded successfully as required.
1
13916
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 an ArgumentException "The portName is invalid. Now, I get the port name by doing this: String...
0
3159
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 searched alot in the net and finally found from MSDN that ,serialport class accepts only ASCII values...
0
1379
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 is connected to the port that does not need the Dtrenable set to true, the port get completely...
3
31251
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
18204
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 knowledgable about ports but from the Hardware Manager I did notice that I don't have the Ports and...
0
7957
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7883
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8379
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6675
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5839
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5421
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3875
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3915
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2391
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.