Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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

Report this thread to moderator Post Follow-up to this message
Old Post
Keith Lee
03-29-08 12:03 AM


Re: Problem compiling perl module Device::SerialPort
Keith Lee <cmarvel2000@yahoo.com> writes:

> 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.

Report this thread to moderator Post Follow-up to this message
Old Post
Dan Espen
03-29-08 12:03 AM


Re: Problem compiling perl module Device::SerialPort
On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:

> Keith Lee <cmarvel2000@yahoo.com> writes:
> 
>
> 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 th
e same error.

Keith

Report this thread to moderator Post Follow-up to this message
Old Post
Keith Lee
03-29-08 03:03 AM


Re: Problem compiling perl module Device::SerialPort
Keith Lee <cmarvel2000@yahoo.com> writes:

> On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
> 
>
> Dan:
>  I just ran make clean, perl Makefile.pl, and make as root. It's giving me the sam
e 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.

Report this thread to moderator Post Follow-up to this message
Old Post
Dan Espen
03-29-08 03:03 AM


Re: Problem compiling perl module Device::SerialPort
Dan:
I am not sure why; but, the compilation and installation work fine on the Li
nux drive but not on the Fat32 drive.
They are both accessible from Linux. Oh well, at least I got it installed an
d running. Thank you.

Keith Lee


Report this thread to moderator Post Follow-up to this message
Old Post
Keith Lee
03-30-08 12:11 AM


Re: Problem compiling perl module Device::SerialPort
Keith Lee <cmarvel2000@yahoo.com> writes:

> 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.

Report this thread to moderator Post Follow-up to this message
Old Post
Dan Espen
03-30-08 03:14 AM


Re: Problem compiling perl module Device::SerialPort
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.

Report this thread to moderator Post Follow-up to this message
Old Post
Joe Smith
03-31-08 09:35 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:05 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.