soubalaji has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I want to install openoffice-Uno Module in my system(OS is windows). So i download it from cpan and try to install. But i got the below error.

C:\Perl\OpenOffice-UNO-0.06\OpenOffice-UNO-0.06>perl makefile.pl
Use of uninitialized value in concatenation (.) or string at makefile.pl line 93 .
Use of uninitialized value in string at makefile.pl line 129.
Use of uninitialized value in concatenation (.) or string at makefile.pl line 12 9.
Can't stat C:\Program Files\OpenOffice.org 2.2\program\windows\lib: No such file or directory at makefile.pl line 253
Library: cppuhelper could not be found
Please help me how to solve this.

Replies are listed 'Best First'.
Re: install problem in openoffice-uno
by Corion (Patriarch) on Jul 06, 2009 at 13:07 UTC

    You need to have OpenOffice installed. The Makefile.PL seems to want it at C:\Program Files\OpenOffice.org 2.2\ - if it's not there, you will need to find out where it is and how to tell Makefile.PL about it.

      Hi, I copied the makefile.pl in the program folder. Now the last error is reduced. But i got the same other errors. I listed the below:

      Please let me know how to install.

      Use of uninitialized value in concatenation (.) or string at makefile.pl line 93 .
      Use of uninitialized value in string at makefile.pl line 129.
      Use of uninitialized value in concatenation (.) or string at makefile.pl line 12 9.
      Regards,
      Balaji S

        I'm sorry that I expressed myself so badly. You shouldn't copy Makefile.PL into the directoy. As English is not my primary language, please follow the instructions in the README of OpenOffice::UNO, and make sure that the environment is set up correctly, as others already have suggested.

Re: install problem in openoffice-uno
by marto (Cardinal) on Jul 06, 2009 at 13:09 UTC

    Did you read the Installation note from the README file? It has instructions you don't seem to have followed.

    Martin

Re: install problem in openoffice-uno
by syphilis (Archbishop) on Jul 06, 2009 at 13:20 UTC
    Use of uninitialized value in concatenation (.) or string at makefile.pl line 93

    I find:
    92: $uno_lib = $ENV{'OO_SDK_URE_LIB_DIR'}; 93: $uno_libpath = "-L$uno_lib";
    which suggests to me that $ENV{'OO_SDK_URE_LIB_DIR'} has not been set. In addition to what Corion has already suggested, you probably also need to attend to this.

    Cheers,
    Rob