Changeset 11864 in project


Ignore:
Timestamp:
09/02/08 11:31:58 (13 years ago)
Author:
felix winkelmann
Message:

added manual text for alternative transports

Location:
chicken/branches/hygienic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chicken/branches/hygienic/TODO

    r11842 r11864  
    6666* documentation
    6767** document ("HI/LO") expander (-> wiki, internals)
    68 ** Complete "Extensions" chapter
    69 *** using other transports
    7068** document new .meta entries
    7169   depends, test-depends
  • chicken/branches/hygienic/manual/Extensions

    r11842 r11864  
    487487=== Other modes of installation
    488488
    489 ********************************************************************************Ü
    490 
    491489It is possible to install extensions directly from a
    492490[[http://subversion.tigris.org|Subversion]] repository or from a local
    493 checkout by using the {{-svn}} or {{-local}} options. By using
    494 either the {{svn}} client program (which must be installed) or
    495 file-system operations, all necessary files will be copied into the
    496 current directory (creating a subdirectory named
    497 {{EXTENSIONNAME.egg-dir}}), built and subsequently installed.
     491checkout of the repository tree by using the {{-transport}} and
     492{{-location}} options when invoking {{chicken-install}}. Three possible
     493transport mechanisms are currently supported:
     494
     495; {{http}} : download extension sources via HTTP from a web-server (this is the default)
     496; {{svn}} : perform an {{svn export}} from the central extension repository; this will require a {{svn(1)}} client to be installed on the machine
     497; {{local}} : use sources from the local filesystem and build directly in the source directory
     498
     499The {{-location}} option specifies where to look for the source repository
     500and names a web URL, a subversion repository URL or a filesystem path,
     501respectively.
    498502
    499503Dependency information, which is necessary to ensure required
    500 extensions are also installed, is downloaded automatically.  If you
    501 have no internet connection or don't want to connect, you can also use
    502 a local file containing the necessary dependency information.  The
    503 {{-fetch-tree}} option retrieves the canonical ''repository file'' at
    504 [[http://www.call-with-current-continuation.org/eggs/repository]],
    505 writing it to stdout. Redirecting this output into a file and passing
    506 the file via the {{-tree}} option to {{chicken-setup}} allows you now
    507 to use the local repository file:
    508 
    509 Retrieve complete extension repository (big):
    510 
    511  % cd /opt
    512  % svn co https://galinha.ucpel.tche.br/svn/chicken-eggs/release/3 eggs
    513 
    514 Get your own copy of the repository file:
    515 
    516  % chicken-setup -fetch-tree >~/my-repository-file
    517 
    518 Now you can install eggs from your local checkout, with full
    519 dependency tracking and without being connected to the internet:
    520 
    521  % cd ~/tmp
    522  % chicken-setup -local /opt/eggs -tree ~/my-repository-file opengl
    523 
    524 ********************************************************************************
     504extensions are also installed, is processed automatically.
    525505
    526506=== Linking extensions statically
Note: See TracChangeset for help on using the changeset viewer.