473,721 Members | 4,009 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 5409
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
3328
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
3652
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
11050
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
1390
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
13978
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
3170
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
1381
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
31274
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
18238
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
8852
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
8736
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
9373
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8020
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
6676
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
5992
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();...
2
2590
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2143
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.