installation error

2004-11-17
2013-04-11
  • Luis Bernardo
    Luis Bernardo
    2004-11-17

    does this run on windows? it seems some stuff is harcoded to unix:

    C:\rtf2xml-.63>c:\python23\python setup.py install
    running install
    running build
    running build_py
    running build_scripts
    running install_lib
    creating c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\add_brackets.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\body_styles.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\border_parse.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\char_set.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\check_brackets.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\colors.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\combine_borders.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\configure_txt.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\convert_to_tags.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\copy.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\default_encoding.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\delete_info.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\encode_to_rtf.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\fields_large.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\fields_small.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\field_strings.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\fonts.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\footnote.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\get_char_map.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\get_options.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\group_borders.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\group_styles.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\header.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\headings_to_sections.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\hex_2_utf8.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\info.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\inline.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\line_endings.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\list_numbers.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\list_table.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\make_lists.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\old_rtf.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\options_trem.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\output.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\override_table.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\paragraphs.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\paragraph_def.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\ParseRtf.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\pict.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\preamble_div.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\preamble_rest.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\process_tokens.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\replace_illegals.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\sections.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\styles.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\table.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\table_info.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\tokenize.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\xsl_convert.py -> c:\python23\Lib\site-packages\rtf2xml
    copying build\lib\rtf2xml\__init__.py -> c:\python23\Lib\site-packages\rtf2xml
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\add_brackets.py to add_brackets.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\body_styles.py to body_styles.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\border_parse.py to border_parse.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\char_set.py to char_set.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\check_brackets.py to check_brackets.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\colors.py to colors.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\combine_borders.py to combine_borders.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\configure_txt.py to configure_txt.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\convert_to_tags.py to convert_to_tags.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\copy.py to copy.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\default_encoding.py to default_encoding.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\delete_info.py to delete_info.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\encode_to_rtf.py to encode_to_rtf.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\fields_large.py to fields_large.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\fields_small.py to fields_small.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\field_strings.py to field_strings.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\fonts.py to fonts.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\footnote.py to footnote.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\get_char_map.py to get_char_map.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\get_options.py to get_options.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\group_borders.py to group_borders.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\group_styles.py to group_styles.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\header.py to header.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\headings_to_sections.py to headings_to_sections.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\hex_2_utf8.py to hex_2_utf8.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\info.py to info.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\inline.py to inline.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\line_endings.py to line_endings.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\list_numbers.py to list_numbers.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\list_table.py to list_table.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\make_lists.py to make_lists.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\old_rtf.py to old_rtf.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\options_trem.py to options_trem.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\output.py to output.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\override_table.py to override_table.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\paragraphs.py to paragraphs.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\paragraph_def.py to paragraph_def.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\ParseRtf.py to ParseRtf.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\pict.py to pict.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\preamble_div.py to preamble_div.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\preamble_rest.py to preamble_rest.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\process_tokens.py to process_tokens.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\replace_illegals.py to replace_illegals.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\sections.py to sections.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\styles.py to styles.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\table.py to table.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\table_info.py to table_info.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\tokenize.py to tokenize.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\xsl_convert.py to xsl_convert.pyc
    byte-compiling c:\python23\Lib\site-packages\rtf2xml\__init__.py to __init__.pyc
    running install_scripts
    creating c:\python23\Scripts
    copying build\scripts-2.3\rtf2xml -> c:\python23\Scripts
    running install_data
    Traceback (most recent call last):
      File "setup.py", line 46, in ?
        data_files = [
      File "c:\python23\lib\distutils\core.py", line 149, in setup
        dist.run_commands()
      File "c:\python23\lib\distutils\dist.py", line 907, in run_commands
        self.run_command(cmd)
      File "c:\python23\lib\distutils\dist.py", line 927, in run_command
        cmd_obj.run()
      File "c:\python23\lib\distutils\command\install.py", line 505, in run
        self.run_command(cmd_name)
      File "c:\python23\lib\distutils\cmd.py", line 333, in run_command
        self.distribution.run_command(command)
      File "c:\python23\lib\distutils\dist.py", line 927, in run_command
        cmd_obj.run()
      File "c:\python23\lib\distutils\command\install_data.py", line 62, in run
        dir = convert_path(f[0])
      File "c:\python23\lib\distutils\util.py", line 89, in convert_path
        raise ValueError, "path '%s' cannot be absolute" % pathname
    ValueError: path '/usr/share/man/man1' cannot be absolute

    C:\rtf2xml-.63>

     
    • Luis Bernardo
      Luis Bernardo
      2004-11-24

      I was able to install this using cygwin (use cygwin's python).