Problem compiling perl module Device::SerialPort

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Keith Lee

    Problem compiling perl module Device::SerialPort

    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
  • Dan Espen

    #2
    Re: Problem compiling perl module Device::SerialP ort

    Keith Lee <cmarvel2000@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.

    Comment

    • Keith Lee

      #3
      Re: Problem compiling perl module Device::SerialP ort

      On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
      Keith Lee <cmarvel2000@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

      Comment

      • Dan Espen

        #4
        Re: Problem compiling perl module Device::SerialP ort

        Keith Lee <cmarvel2000@ya hoo.comwrites:
        On Fri, 28 Mar 2008 17:02:06 +0000, Dan Espen wrote:
        >
        >Keith Lee <cmarvel2000@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.

        Comment

        • Keith Lee

          #5
          Re: Problem compiling perl module Device::SerialP ort

          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

          Comment

          • Dan Espen

            #6
            Re: Problem compiling perl module Device::SerialP ort

            Keith Lee <cmarvel2000@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.

            Comment

            • Joe Smith

              #7
              Re: Problem compiling perl module Device::SerialP ort

              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.

              Comment

              Working...