📄 chicken-setup.1
字号:
.\" dummy line.TH CHICKEN-SETUP 1 "20 May 2008".SH NAMEchicken-setup \- install extension libraries for Chicken Scheme.SH SYNOPSIS.B chicken-setup[.I option][.I extension].SH DESCRIPTION.I chicken\-setupis a program that compiles and installs a prepackaged extensionlibrary. Extension libraries are either plain Scheme files with the.B \.scmfile-extension or gzipped tar files with the file-extension.B \.eggSingle Scheme files are compiled into a dynamically loadable fileand installed in the extension repository. More complex installationprocedures can be performed by packaging an extension in an.B \.eggarchive, that in addition to the source files contains a Scheme script of the same name as the library, but with the .B \.setupfile-extension. After extracting the files the setup script willbe loaded and executed. If no extension name is given on the command-line, then anyexisting .B \.setupscripts in the current directory are processed..I chicken\-setupis a full Scheme interpreter with the same functionality as.I csibut with a number of additional procedures and macros tosimplify the building and installation of extension libraries.See the .B Chickenmanual for more information..SH OPTIONS.TP.B \-h,\ \-help Shows a summary of options and exits..TP.B \-V,\ \-versionShows the version of .I chicken-setupand exits..TP.B \-releaseShows release number of CHICKEN and exits..TP.BI \-R,\ \-repository \ [PATH] If .B PATHis not given, prints the location of the extension repository.If.B PATHis given, specifies the location for the extension repository The default repository path is the installation library directory (usually .I /usr/local/lib/chicken, or (if set) the directory given in the environment variable .I CHICKEN\_REPOSITORY.TP.B \-u,\ \-uninstallRemoves the given extension from the repository..TP.BI \-H,\ \-host \ HOSTNAME[:PORT]Specifies alternative host for downloading extensions. .B PORTmay be omitted and defaults to 80..TP.BI \-p,\ \-proxy \ HOSTNAME[:PORT]Connects to server via proxy..B PORTmay be omitted and defaults to 80..TP.B \-l,\ \-listLists all installed extensions and exits, or show extension-informationof extensions given on the command-line (following this option)..TP.BI \-r,\ \-run \ FILENAMELoads and executes given file..TP.BI \-P,\ \-program\-path \ [PATH]If.B PATHis not given, prints the location where executable files will be installed.If.B PATHis given, specifies the location for installing executable files..TP.BI \-s,\ \-script \ FILENAME Executes the given script with remaining arguments and exits..TP.B \-f,\ \-fetchOnly download, don't extract, build or install..TP.B \-v,\ \-verboseDisplays additional information (mainly for debugging)..TP.B \-k,\ \-keepKeeps intermediate files after building and installing..TP .BI \-c,\ \-csc\-option \ optionPasses .B optionas an extra argument to invocations of the compiler-driver (.I csc). This works only if .I cscis invoked as .I (run\ (csc\ ...)).TP.B \-d,\ \-dont\-askDoes not ask the user before trying to download required extensions..TP.BI \-n,\ \-no\-installDoes not install generated binaries and support files after building.Any invocations of.I install\-program,.I install\-extension,.I install\-scriptor.I copy\-filewill be no-ops..TP.B \-i,\ \-docindexDisplays the path to the index-page of any installedextension-documentation. If the index page does not exist, it iscreated..TP.BI \-e,\ \-eval \ EXPRESSIONEvaluates the given expression(s)..TP.BI \-t,\ \-test If the .B .eggextension archive contains a directory named.B testsand this directory includes a file named.B run\.scmthen this file is executed (with .B testsbeing the current working directory)..TP.B \-host\-extensionCompiles any extensions in "host" mode..TP.BI \-ls \ EXTENSIONLists the installed files for the given extension..TP.B \-fetch\-treeDownloads and prints the repository catalog to standard output..TP.BI \-create\-tree \ PATHCreates repository catalog from SVN checkout..TP.BI \-tree \ FILENAMEUses the repository catalog stored in.B FILENAMEinstead of downloading it..TP.BI \-svn \ URLFetches extension sources from an SVN repository instead ofdownloading egg from egg server..TP.BI \-svn-trunk \ URLFetches extension sources from an SVN repository instead ofdownloading egg from egg server. If subdirectory trunk exists in theSVN repository, the egg sources are fetched from that location..TP.BI \-local \ PATHFetches extension sources from the local filesystem at.B PATHinstead of downloading egg from egg server..TP.BI \-install-prefix \ PATHSpecifies alternative installation prefix. The installation paths for all executable files, examples, and files installed with the.I copy-fileand.I move-fileprocedures will be prepended by this prefix, if it is specified. .TP.BI \-revision \ REVISIONSpecifies the SVN revision that to check out (only useful incombination with the.B \-svnoption)..TP.BI \-build\-prefix \ PATHSpecifies the location where .I chicken-setupwill create build directories. The default location is the valueof environment variable .I CHICKEN_TMPDIR,.I TMPDIRor.I /tmp/chicken-{MAJOR-VERSION}-build-{USER}if none of those variables are found in the environment. If .I /tmpdoes not exist or is not writeable, then the build directory is.I {HOME}/tmp/chicken-{MAJOR-VERSION}-build-{USER}..TP.BI \-download\-path \ PATHSpecifies the location where chicken-setup will save downloaded filesThe default is .I {BUILD-PREFIX}/downloads)..TP.B \-\-Ignores all further arguments..SH ENVIRONMENT\ VARIABLES.TP.B CHICKEN_PREFIXThe installation prefix where CHICKEN Scheme and its support files andlibraries are located. Defaults to the installation time prefix givenwhen configuring the system..TP.B CHICKEN_INSTALL_PREFIXAn alternative installation prefix that will be prepended to extensioninstallation paths if specified. .TP.B CHICKEN_REPOSITORYThe path where extension libraries are installed. Defaults to the package-librarypath selected during configuration (usually.B $prefix/lib/chicken/<binary\-version>).TP.B CHICKEN_SETUP_OPTIONSA string with default options that should be passed to every invocation of.B chicken\-setup..TP.B CHICKEN_TMPDIRThe location where egg files will be unpacked and extensions compiled..SH DOCUMENTATIONMore information can be found in the.I Chicken\ User's\ Manual.SH BUGSSubmit bug reports by e-mail to.I chicken-janitors@nongnu.org, preferrably using the.B chicken\-bugtool..SH AUTHORSFelix L. Winkelmann and the Chicken Team.SH SEE ALSO.BR chicken(1).BR csc(1).BR chicken-bug(1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -