ヘクトアイのインストール


ダウンロードしたtarファイルを展開すると以下のファイルが得られます。 これらのファイルを必要に応じて、CFメモリやネットワーク等を利用して iPAQにコピーしてインストールします。
  1. インストールスクリプトを使う場合

    $ ls
    install*		libghttp-bin.tgz	uninstall*
    libghttp-axe-patch	sgwb-bin.tgz
    $ su
    $ password: rootme (表示されません)
    # ./install
    


  2. 個別にlibghttpをインストールする場合

    $ su
    $ password: rootme (表示されません)
    # tar xvzfp libghttp-bin.tgz -C /usr/sg
    # exit
    $
    


  3. 個別にヘクトアイバイナリをインストールする場合

    $ su
    $ password: rootme (表示されません)
    # tar xvzfp sgwb-bin.tgz -C /usr/sg
    # exit
    $ 


  4. アンインストール

    $ su
    $ password: rootme (表示されません)
    # ./uninstall
    


  5. libghttp-1.0.9に対するパッチの内容
    パッチ
    *** http_resp.c-	Tue Jan 23 09:32:15 2001
    --- http_resp.c	Wed Jan  9 15:17:05 2002
    ***************
    *** 19,24 ****
    --- 19,26 ----
       * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
       */
      
    + #define AXE	/* 2001/Dec/25 */
    + 
      #include <stdlib.h>
      #include <string.h>
      #include <ctype.h>
    ***************
    *** 399,404 ****
    --- 401,417 ----
        l_connection = 
          http_hdr_get_value(a_resp->headers,
      		       http_hdr_Connection);
    + #ifdef AXE
    +   if (l_content_length)
    +     {
    +       if (l_transfer_encoding != NULL && 
    + 	  !strcasecmp(l_transfer_encoding, "chunked"))
    + 	{
    + 	  l_content_length = NULL;
    + 	}
    +     }
    + #endif /* AXE */
    + 
        /* if there's a content length, do your stuff */
        if (l_content_length && (a_req->type != http_req_type_head))
          {