Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 28th, 2008, 05:55 PM
Keith Lee
Guest
 
Posts: n/a
Default 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
  #2  
Old March 28th, 2008, 06:05 PM
Dan Espen
Guest
 
Posts: n/a
Default Re: Problem compiling perl module Device::SerialPort

Keith Lee <cmarvel2000@yahoo.comwrites:
Quote:
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.
  #3  
Old March 29th, 2008, 01:05 AM
Keith Lee
Guest
 
Posts: n/a
Default Re: Problem compiling perl module Device::SerialPort

On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
Quote:
Keith Lee <cmarvel2000@yahoo.comwrites:
>
Quote:
>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
  #4  
Old March 29th, 2008, 01:35 AM
Dan Espen
Guest
 
Posts: n/a
Default Re: Problem compiling perl module Device::SerialPort

Keith Lee <cmarvel2000@yahoo.comwrites:
Quote:
On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
>
Quote:
>Keith Lee <cmarvel2000@yahoo.comwrites:
>>
Quote:
>>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.
  #5  
Old March 30th, 2008, 12:35 AM
Keith Lee
Guest
 
Posts: n/a
Default Re: Problem compiling perl module Device::SerialPort

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

  #6  
Old March 30th, 2008, 01:55 AM
Dan Espen
Guest
 
Posts: n/a
Default Re: Problem compiling perl module Device::SerialPort

Keith Lee <cmarvel2000@yahoo.comwrites:
Quote:
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.
  #7  
Old March 31st, 2008, 08:55 AM
Joe Smith
Guest
 
Posts: n/a
Default Re: Problem compiling perl module Device::SerialPort

Keith Lee wrote:
Quote:
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.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles