comparison man/xemacs-faq.texi @ 5551:40a52efbf3a3

Reflect change of location of packages to share/ 2011-08-14 Mike Sperber <mike@xemacs.org> * xemacs-faq.texi: * xemacs/packages.texi: Reflect change of location of packages from lib/ to share/.
author Mike Sperber <sperber@deinprogramm.de>
date Sun, 14 Aug 2011 13:51:14 +0200
parents 593d9f73a7e8
children a2912073be85
comparison
equal deleted inserted replaced
5550:b908c7265a2b 5551:40a52efbf3a3
166 @uref{xemacs-faq.texi, man/xemacs-faq.texi}. 166 @uref{xemacs-faq.texi, man/xemacs-faq.texi}.
167 @item 167 @item
168 If you do not have makeinfo installed, you may @uref{xemacs-faq.info, 168 If you do not have makeinfo installed, you may @uref{xemacs-faq.info,
169 download the faq} in info format, and install it in @file{<XEmacs 169 download the faq} in info format, and install it in @file{<XEmacs
170 library directory>/info/}. For example in 170 library directory>/info/}. For example in
171 @file{/usr/local/lib/xemacs-21.4/info/}. 171 @file{/usr/local/lib/xemacs-21.5/info/}.
172 172
173 @end itemize 173 @end itemize
174 174
175 @end html 175 @end html
176 176
3283 mirrors. N.B. They are called 'Sumo Tarballs' for good reason. They 3283 mirrors. N.B. They are called 'Sumo Tarballs' for good reason. They
3284 are currently about 19MB and 4.5MB (gzipped) respectively. 3284 are currently about 19MB and 4.5MB (gzipped) respectively.
3285 3285
3286 Install them on Unix and Mac OS X using the shell/Terminal command 3286 Install them on Unix and Mac OS X using the shell/Terminal command
3287 3287
3288 @code{cd $prefix/lib/xemacs ; gunzip -c <tarballname> | tar xf -} 3288 @code{cd $prefix/share/xemacs ; gunzip -c <tarballname> | tar xf -}
3289 3289
3290 Where @samp{$prefix} is what you gave to the @samp{--prefix} flag to 3290 Where @samp{$prefix} is what you gave to the @samp{--prefix} flag to
3291 @file{configure}, and defaults to @file{/usr/local}. 3291 @file{configure}, and defaults to @file{/usr/local}.
3292 3292
3293 If you have GNU tar you can use: 3293 If you have GNU tar you can use:
3294 3294
3295 @code{cd $prefix/lib/xemacs ; tar zxvf <tarballname>} 3295 @code{cd $prefix/share/xemacs ; tar zxvf <tarballname>}
3296 3296
3297 If you have the packages somewhere nonstandard and don't want to bother 3297 If you have the packages somewhere nonstandard and don't want to bother
3298 with @samp{$prefix} (for example, you're a developer and are compiling 3298 with @samp{$prefix} (for example, you're a developer and are compiling
3299 the packages yourself, and want your own private copy of everything), 3299 the packages yourself, and want your own private copy of everything),
3300 you can also directly specify this using @file{configure}. To do this 3300 you can also directly specify this using @file{configure}. To do this
3345 3345
3346 For example if we are installing the @samp{xemacs-base} 3346 For example if we are installing the @samp{xemacs-base}
3347 package (version 1.48): 3347 package (version 1.48):
3348 3348
3349 @example 3349 @example
3350 mkdir $prefix/lib/xemacs/xemacs-packages RET # if it does not exist yet 3350 mkdir $prefix/share/xemacs/xemacs-packages RET # if it does not exist yet
3351 cd $prefix/lib/xemacs/xemacs-packages RET 3351 cd $prefix/share/xemacs/xemacs-packages RET
3352 gunzip -c /path/to/xemacs-base-1.48-pkg.tar.gz | tar xvf - RET 3352 gunzip -c /path/to/xemacs-base-1.48-pkg.tar.gz | tar xvf - RET
3353 @end example 3353 @end example
3354 3354
3355 Or if you have GNU tar, the last step can be: 3355 Or if you have GNU tar, the last step can be:
3356 3356
3360 3360
3361 For MULE related packages, it is best to untar into the @samp{mule-packages} 3361 For MULE related packages, it is best to untar into the @samp{mule-packages}
3362 hierarchy, i.e. for the @samp{mule-base} package, version 1.37: 3362 hierarchy, i.e. for the @samp{mule-base} package, version 1.37:
3363 3363
3364 @example 3364 @example
3365 mkdir $prefix/lib/xemacs/mule-packages RET # if it does not exist yet 3365 mkdir $prefix/share/xemacs/mule-packages RET # if it does not exist yet
3366 cd $prefix/lib/xemacs/mule-packages RET 3366 cd $prefix/share/xemacs/mule-packages RET
3367 gunzip -c /path/to/mule-base-1.37-pkg.tar.gz | tar xvf - RET 3367 gunzip -c /path/to/mule-base-1.37-pkg.tar.gz | tar xvf - RET
3368 @end example 3368 @end example
3369 3369
3370 Or if you have GNU tar, the last step can be: 3370 Or if you have GNU tar, the last step can be:
3371 3371
3507 3507
3508 On startup XEmacs looks for packages in so-called package hierarchies. 3508 On startup XEmacs looks for packages in so-called package hierarchies.
3509 Normally, there are three system wide hierarchies, like this: 3509 Normally, there are three system wide hierarchies, like this:
3510 3510
3511 @example 3511 @example
3512 $prefix/lib/xemacs/xemacs-packages/ 3512 $prefix/sahre/xemacs/xemacs-packages/
3513 Normal packages go here. 3513 Normal packages go here.
3514 3514
3515 $prefix/lib/xemacs/mule-packages/ 3515 $prefix/share/xemacs/mule-packages/
3516 Mule packages go here and are only searched by MULE-enabled XEmacsen. 3516 Mule packages go here and are only searched by MULE-enabled XEmacsen.
3517 3517
3518 $prefix/lib/xemacs/site-packages/ 3518 $prefix/share/xemacs/site-packages/
3519 Local and 3rd party packages go here. 3519 Local and 3rd party packages go here.
3520 @end example 3520 @end example
3521 3521
3522 This is what you get when you untar the SUMO tarballs under 3522 This is what you get when you untar the SUMO tarballs under
3523 @file{$prefix/lib/xemacs}. 3523 @file{$prefix/share/xemacs}.
3524 3524
3525 @file{$prefix} is specified using the @samp{--prefix} parameter to 3525 @file{$prefix} is specified using the @samp{--prefix} parameter to
3526 @file{configure}, and defaults to @file{usr/local}. 3526 @file{configure}, and defaults to @file{usr/local}.
3527 3527
3528 If the package path is not explicitly specified, XEmacs looks for the 3528 If the package path is not explicitly specified, XEmacs looks for the
3531 directory @file{lib/xemacs-VERSION} of the directory in which the 3531 directory @file{lib/xemacs-VERSION} of the directory in which the
3532 XEmacs executable is located, then for a sister directory 3532 XEmacs executable is located, then for a sister directory
3533 @file{lib/xemacs}. The XEmacs executable (under Unix at least) is 3533 @file{lib/xemacs}. The XEmacs executable (under Unix at least) is
3534 installed by default in @file{/usr/local/bin}; this explains why 3534 installed by default in @file{/usr/local/bin}; this explains why
3535 XEmacs in its default installation will find packages that you put 3535 XEmacs in its default installation will find packages that you put
3536 under @file{/usr/local/lib/xemacs}. 3536 under @file{/usr/local/share/xemacs}.
3537 3537
3538 You can specify where exactly XEmacs looks for packages by using the 3538 You can specify where exactly XEmacs looks for packages by using the
3539 @samp{--with-user-packages} (an alias for @samp{--with-early-packages}) 3539 @samp{--with-user-packages} (an alias for @samp{--with-early-packages})
3540 or @samp{--with-system-packages} (an alias for 3540 or @samp{--with-system-packages} (an alias for
3541 @samp{--with-late-packages}) or @samp{--with-legacy-packages} 3541 @samp{--with-late-packages}) or @samp{--with-legacy-packages}
3555 @code{package-get-install-to-user-init-directory} to @code{t}. 3555 @code{package-get-install-to-user-init-directory} to @code{t}.
3556 3556
3557 The site-packages hierarchy replaces the old @file{site-lisp} 3557 The site-packages hierarchy replaces the old @file{site-lisp}
3558 directory. XEmacs no longer looks into a @file{site-lisp} directly by 3558 directory. XEmacs no longer looks into a @file{site-lisp} directly by
3559 default. A good place to put @file{site-start.el} would be in 3559 default. A good place to put @file{site-start.el} would be in
3560 @file{$prefix/lib/xemacs/site-packages/lisp/}. 3560 @file{$prefix/share/xemacs/site-packages/lisp/}.
3561 3561
3562 @node Q2.1.7, Q2.2.1, Q2.1.6, Installation 3562 @node Q2.1.7, Q2.2.1, Q2.1.6, Installation
3563 @unnumberedsubsec Q2.1.7: EFS fails with "500 AUTH not understood" (NEW) 3563 @unnumberedsubsec Q2.1.7: EFS fails with "500 AUTH not understood" (NEW)
3564 3564
3565 A typical error: FTP Error: USER request failed; 500 AUTH not understood. 3565 A typical error: FTP Error: USER request failed; 500 AUTH not understood.
6574 document? 6574 document?
6575 6575
6576 The package @code{ps-print}, which is now included with XEmacs, provides 6576 The package @code{ps-print}, which is now included with XEmacs, provides
6577 the ability to do this. The source code contains complete instructions 6577 the ability to do this. The source code contains complete instructions
6578 on its use, in 6578 on its use, in
6579 @file{$prefix/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print.el}, 6579 @file{$prefix/share/xemacs/xemacs-packages/lisp/ps-print/ps-print.el},
6580 being the default location of an installed ps-print package. 6580 being the default location of an installed ps-print package.
6581 6581
6582 @node Q5.2.3, Q5.2.4, Q5.2.2, External Subsystems 6582 @node Q5.2.3, Q5.2.4, Q5.2.2, External Subsystems
6583 @unnumberedsubsec Q5.2.3: Getting @kbd{M-x lpr} to work with postscript printer. 6583 @unnumberedsubsec Q5.2.3: Getting @kbd{M-x lpr} to work with postscript printer.
6584 6584