Gnus development mailing list
 help / color / mirror / Atom feed
* Updating to gnus 5.8.2
@ 1999-12-09 13:56 Pieter Wenk
  1999-12-09 14:05 ` Hrvoje Niksic
  0 siblings, 1 reply; 13+ messages in thread
From: Pieter Wenk @ 1999-12-09 13:56 UTC (permalink / raw)



Hello to all,

I should like updating my present version with the new 5.8.2
release.

I have never as yet "upgraded" gnus. How does this work
exactly ? 

Many thanks for your advises.
--
        
                           / /  (_)____ __ ____  __
      Pieter Wenk         / /__/ / _ \/ // /\ \/ /  Vevey/Switzerland
                         /____/_/_//_/\_,_/ /_/\_\




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-09 13:56 Updating to gnus 5.8.2 Pieter Wenk
@ 1999-12-09 14:05 ` Hrvoje Niksic
  1999-12-09 14:40   ` Jørgen Wahlberg
                     ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Hrvoje Niksic @ 1999-12-09 14:05 UTC (permalink / raw)


Pieter Wenk <pwenk@urbanet.ch> writes:

> I have never as yet "upgraded" gnus. How does this work exactly ?

1) Download Gnus to a directory near you.

2) Compile Gnus, by typing `./configure' followed by `make' or
   `make EMACS=xemacs' if you use XEmacs.

3) Make sure that Emacs can find the Gnus Lisp directory.  You usually
   do that using something like:

   (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp"   ; don't forget /lisp
                         load-path))

3a) If you use XEmacs you'll also want to use the `etc' package with
    the nice icons.  Get it from the Gnus site (it should be a tarball
    named something like `etc-0.27.tar.gz') and unpack it somewhere.
    Then go to the Gnus directory, type `rm -rf etc', then
    `ln -s /path/to/etc-0.27 etc'.

4) Exit Emacs, restart it, and type M-x gnus.  If all is well, `V'
   should print "Gnus v5.8.2".  If you use XEmacs and you've done 3a)
   right, the toolbar icons should work properly.


You can repeat these four steps whenever a new Gnus version comes out.
Good luck!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-09 14:05 ` Hrvoje Niksic
@ 1999-12-09 14:40   ` Jørgen Wahlberg
  1999-12-10 13:55   ` Pieter Wenk
  1999-12-23 12:21   ` Pieter Wenk
  2 siblings, 0 replies; 13+ messages in thread
From: Jørgen Wahlberg @ 1999-12-09 14:40 UTC (permalink / raw)



[ Hrvoje Niksic <hniksic@iskon.hr> ]

|  3) Make sure that Emacs can find the Gnus Lisp directory.  You usually
|     do that using something like:
|  
|     (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp"; don't forget /lisp
|                           load-path))

If you also include something like

(setq Info-default-directory-list (cons "/path/to/gnus/gnus-5.8.2/texi"
			   Info-default-directory-list))

it will be easier getting help from info (C-h i).


 - jørgen

-- 
Jørgen Wahlberg <jw@nimrod.no>


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-09 14:05 ` Hrvoje Niksic
  1999-12-09 14:40   ` Jørgen Wahlberg
@ 1999-12-10 13:55   ` Pieter Wenk
  1999-12-23 12:21   ` Pieter Wenk
  2 siblings, 0 replies; 13+ messages in thread
From: Pieter Wenk @ 1999-12-10 13:55 UTC (permalink / raw)


On jeu, 09 déc 1999, Hrvoje Niksic wrote:

Hello Hrovje,

>1) Download Gnus to a directory near you.
>
>2) Compile Gnus, by typing `./configure' followed by `make' or
>   `make EMACS=xemacs' if you use XEmacs.
>
>3) Make sure that Emacs can find the Gnus Lisp directory.  You usually
>   do that using something like:
>
>   (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp"   ; don't forget /lisp
>                         load-path))
>
>3a) If you use XEmacs you'll also want to use the `etc' package with
>    the nice icons.  Get it from the Gnus site (it should be a tarball
>    named something like `etc-0.27.tar.gz') and unpack it somewhere.
>    Then go to the Gnus directory, type `rm -rf etc', then
>    `ln -s /path/to/etc-0.27 etc'.
>
>4) Exit Emacs, restart it, and type M-x gnus.  If all is well, `V'
>   should print "Gnus v5.8.2".  If you use XEmacs and you've done 3a)
>   right, the toolbar icons should work properly.

Thanks a lot. That's what I am going to do over this week-end.

Regards
--
        
                           / /  (_)____ __ ____  __
      Pieter Wenk         / /__/ / _ \/ // /\ \/ /  Vevey/Switzerland
                         /____/_/_//_/\_,_/ /_/\_\




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-09 14:05 ` Hrvoje Niksic
  1999-12-09 14:40   ` Jørgen Wahlberg
  1999-12-10 13:55   ` Pieter Wenk
@ 1999-12-23 12:21   ` Pieter Wenk
  1999-12-23 12:58     ` Laura Conrad
                       ` (2 more replies)
  2 siblings, 3 replies; 13+ messages in thread
From: Pieter Wenk @ 1999-12-23 12:21 UTC (permalink / raw)


On jeu, 09 déc 1999, Hrvoje Niksic wrote:

Hello Hrvoje,

>1) Download Gnus to a directory near you.
>
>2) Compile Gnus, by typing `./configure' followed by `make' or
>   `make EMACS=xemacs' if you use XEmacs.
>
>3) Make sure that Emacs can find the Gnus Lisp directory.  You usually
>   do that using something like:
>
>   (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp"   ; don't forget /lisp
>                         load-path))
>
>3a) If you use XEmacs you'll also want to use the `etc' package with
>    the nice icons.  Get it from the Gnus site (it should be a tarball
>    named something like `etc-0.27.tar.gz') and unpack it somewhere.
>    Then go to the Gnus directory, type `rm -rf etc', then
>    `ln -s /path/to/etc-0.27 etc'.
>
>4) Exit Emacs, restart it, and type M-x gnus.  If all is well, `V'
>   should print "Gnus v5.8.2".  If you use XEmacs and you've done 3a)
>   right, the toolbar icons should work properly.

Thanks a lot for your above explanantions. I just upgraded as per
your above imstructions.

Compiling and make EMACS=xemacs did represent absolutly no problems.
Worked fine, without error messages. 

In ~/.emacs I have added:

(setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp" load-path))

I fired with M-x gnus to find out wether I will see " Bryce Canyon",
region I know quite well, but I am still getting the "old" version
ie. 5.5.

Is something wrong with my path ? 

I am running a SuSE 6.1. 

Xemacs is if I am not wrong in /usr/X11R6/lib/xemacs-20.4/etc/gnus/gnus

Any a idea why I am still on trhe old version ?

Many thanks for your help

Regards

--
        
                           / /  (_)____ __ ____  __
      Pieter Wenk         / /__/ / _ \/ // /\ \/ /  Vevey/Switzerland
                         /____/_/_//_/\_,_/ /_/\_\





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 12:21   ` Pieter Wenk
@ 1999-12-23 12:58     ` Laura Conrad
  1999-12-23 14:05       ` Hrvoje Niksic
  1999-12-23 13:57     ` Kai Großjohann
  1999-12-23 14:01     ` Hrvoje Niksic
  2 siblings, 1 reply; 13+ messages in thread
From: Laura Conrad @ 1999-12-23 12:58 UTC (permalink / raw)
  Cc: ding

>>>>> "Pieter" == Pieter Wenk <pwenk@urbanet.ch> writes:


    Pieter> (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp" load-path))

    Pieter> I fired with M-x gnus to find out wether I will see " Bryce Canyon",
    Pieter> region I know quite well, but I am still getting the "old" version
    Pieter> ie. 5.5.

    Pieter> Is something wrong with my path ? 

I use:

(push (expand-file-name "~lconrd/src/gnus-5.8.2/lisp") load-path)

For some reason, the version you tried, which is in the instructions,
never worked for me either.  

I've always wondered why; obviously it works for some people.

-- 
Laura (mailto:lconrad@world.std.com , http://www.world.std.com/~lconrad/ )
(617) 661-8097	fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 12:21   ` Pieter Wenk
  1999-12-23 12:58     ` Laura Conrad
@ 1999-12-23 13:57     ` Kai Großjohann
  1999-12-23 14:01     ` Hrvoje Niksic
  2 siblings, 0 replies; 13+ messages in thread
From: Kai Großjohann @ 1999-12-23 13:57 UTC (permalink / raw)
  Cc: ding

Pieter Wenk <pwenk@urbanet.ch> writes:

> In ~/.emacs I have added:
> 
> (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp" load-path))

This looks good.  Is it executed, however?  Type C-h v load-path RET
after starting Emacs to confirm.

kai
-- 
A preposition is not a good thing to end a sentence with.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 12:21   ` Pieter Wenk
  1999-12-23 12:58     ` Laura Conrad
  1999-12-23 13:57     ` Kai Großjohann
@ 1999-12-23 14:01     ` Hrvoje Niksic
  1999-12-23 22:57       ` Pieter Wenk
  2 siblings, 1 reply; 13+ messages in thread
From: Hrvoje Niksic @ 1999-12-23 14:01 UTC (permalink / raw)


Pieter Wenk <pwenk@urbanet.ch> writes:

> In ~/.emacs I have added:
> 
> (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp" load-path))
> 
> I fired with M-x gnus to find out wether I will see " Bryce Canyon",
> region I know quite well, but I am still getting the "old" version
> ie. 5.5.
> 
> Is something wrong with my path ?

I hope yu changed "/path/to/gnus..." with the actual location of your
new Gnus lisp directory?

Try starting XEmacs, and evaluating `load-path' in the *scratch*
buffer.  It should print a long list whose first element should be
"/.../gnus-5.8.2/lisp".  If not, it means that something went wrong
with evaluating your .emacs.

If yes, type `M-x locate-library RET gnus RET'.  If all is right, it
should print something like:

    Library is file /.../gnus-5.8.2/lisp/gnus.elc

OTOH, if it prints something like:

    Library is file /usr/local/lib/xemacs-packages/lisp/gnus/gnus.elc

...then it likely means that you've misspelled the directory name.
Check the spelling and try again.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 12:58     ` Laura Conrad
@ 1999-12-23 14:05       ` Hrvoje Niksic
  1999-12-29 19:00         ` Pieter Wenk
  0 siblings, 1 reply; 13+ messages in thread
From: Hrvoje Niksic @ 1999-12-23 14:05 UTC (permalink / raw)


Laura Conrad <lconrad@world.std.com> writes:

> (push (expand-file-name "~lconrd/src/gnus-5.8.2/lisp") load-path)
> 
> For some reason, the version you tried, which is in the
> instructions, never worked for me either.

Except that it has to work, because the `push' statements evaluates to
that.  Watch this:

(macroexpand
 '(push (expand-file-name "~lconrd/src/gnus-5.8.2/lisp") load-path))

 ==> (setq load-path (cons (expand-file-name "~lconrd/src/gnus-5.8.2/lisp")
                           load-path))

Maybe the problem is that I didn't stress the use of
`expand-file-name' in my last example.  I thought I'd convey the
message that the path is absolute by using /path/to/.../.  Obviously,
the message didn't get across.

In XEmacs 21.2 the load-path searching bug has been fixed and you no
longer have to expand the file name before use -- XEmacs does that for
you.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 14:01     ` Hrvoje Niksic
@ 1999-12-23 22:57       ` Pieter Wenk
  1999-12-23 23:45         ` Kai Großjohann
  0 siblings, 1 reply; 13+ messages in thread
From: Pieter Wenk @ 1999-12-23 22:57 UTC (permalink / raw)


On jeu, 23 déc 1999, Hrvoje Niksic wrote:

Hello Hrvoje,

>> In ~/.emacs I have added:
>> 
>> (setq load-path (cons "/path/to/gnus/gnus-5.8.2/lisp" load-path))
>> 
>> I fired with M-x gnus to find out wether I will see " Bryce Canyon",
>> region I know quite well, but I am still getting the "old" version
>> ie. 5.5.
>> 
>> Is something wrong with my path ?
>
>I hope yu changed "/path/to/gnus..." with the actual location of your
>new Gnus lisp directory?
>
>Try starting XEmacs, and evaluating `load-path' in the *scratch*
>buffer.  It should print a long list whose first element should be
>"/.../gnus-5.8.2/lisp".  If not, it means that something went wrong
>with evaluating your .emacs.
>
>If yes, type `M-x locate-library RET gnus RET'.  If all is right, it
>should print something like:
>
>    Library is file /.../gnus-5.8.2/lisp/gnus.elc

I tried the following:

I changed my entry in ~/.emacs to read:

(setq load-path (cons
                (expand-file-name
		"/usr/tmp/gnus-5.8.2/lisp")
		load-path))
It seems, that the new gnus file is there.

Now with M-x locate-library I am getting:

/usr/X11R6/lib/xemacs-20.4/lisp/gnus/gnus.elc

which is the file of the old (still in use) version.

I tried C-h v load-path RET, sorry I probably
did something wrong, I just got "no match".

But how can I finally get the new version on work ?


Now the above location in /usr/tmp is perhaps not
"great" but I always can move the whole folder
to another location.

What would be suitable....

Many thanks for all the patience and help.

Regards
--
        
                           / /  (_)____ __ ____  __
      Pieter Wenk         / /__/ / _ \/ // /\ \/ /  Vevey/Switzerland
                         /____/_/_//_/\_,_/ /_/\_\





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 22:57       ` Pieter Wenk
@ 1999-12-23 23:45         ` Kai Großjohann
  0 siblings, 0 replies; 13+ messages in thread
From: Kai Großjohann @ 1999-12-23 23:45 UTC (permalink / raw)
  Cc: ding

Pieter Wenk <pwenk@urbanet.ch> writes:

> I changed my entry in ~/.emacs to read:
> 
> (setq load-path (cons
>                 (expand-file-name
> 		"/usr/tmp/gnus-5.8.2/lisp")
> 		load-path))
> It seems, that the new gnus file is there.
> 
> Now with M-x locate-library I am getting:
> 
> /usr/X11R6/lib/xemacs-20.4/lisp/gnus/gnus.elc
> 
> which is the file of the old (still in use) version.

Two possibilities: either your .emacs file does not get executed at
all (or there might be a syntax error before the above statement), or
the other directory is added to load-path after your statement.

Try adding the following before or after the load-path setting to see
if this ever gets executed:

    (message "Hello load-path") (sit-for 3)

> I tried C-h v load-path RET, sorry I probably
> did something wrong, I just got "no match".

Very strange.  load-path is a defined variable in all Emacsen I have
ever seen.  Maybe your Emacs installation is completely hosed?

Try `C-h v ?'.  Does that give a longish completion list?  (I get a
*Completions* buffer with 2000 lines.)

kai
-- 
A preposition is not a good thing to end a sentence with.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-23 14:05       ` Hrvoje Niksic
@ 1999-12-29 19:00         ` Pieter Wenk
  1999-12-29 20:34           ` Kai Großjohann
  0 siblings, 1 reply; 13+ messages in thread
From: Pieter Wenk @ 1999-12-29 19:00 UTC (permalink / raw)


On jeu, 23 déc 1999, Hrvoje Niksic wrote:

Hello Hrvoje,

You may laugh, but I have not as yet suceeded in 
getting on work the 5.8.2 gnus version.

Let me explain what is done:

The first installation went for xy reasons wrong.

Consequently I fired a script Robin was so kind
letting me have:

#!/bin/sh
# NQA suicidal Gnus script - use at your own risk!
## Definition des Quell- und der Zielverzeichnisse
BACKUPDIR=/usr/tmp/gnus.BACKUP
SOURECEDIR=/usr/tmp/gnus-5.8.2/                   # IST ES DA???
TARGET_TOP=/usr/local/lib/xemacs/xemacs-packages/
TARGET_ELISP=$TARGET_TOP/lisp/
TARGET_ETC=$TARGET_TOP/etc/
TARGET_INFO=$TARGET_TOP/info/

## Gnus bauen
cd $SOURECEDIR && ./configure && make EMACS=xemacs
echo "Gnus built"

## Backup machen
mkdir $BACKUPDIR/info/
mv $TARGET_ELISP/gnus   $BACKUPDIR
mv $TARGET_ETC/gnus     $BACKUPDIR
mv $TARGET_INFO/gnus*   $BACKUPDIR/info/
echo "Backup done"

## Symlinks legen
cd $TARGET_ELISP        && ln -s $SOURECEDIR/ gnus
cd $TARGET_ETC          && ln -s $SOURCEDIR/etc/gnus/ gnus
cd $TARGET_INFO         && ln -s $SOURCEDIR/texi/gnus* .
echo "symlinks made"
## EOF ==================================================

OK, this worked perfectly, now I have:

In:

/usr/tmp/gnus-5.8.2 what has been absolutly
correctly compiled and:

in:

/usr/local/lib/xemacs/xemacs-packages/lisp/gnus/gnus-5.8.2/lisp/

other files, which seems to be indentical with the above.

Now I want to link all this with ln -s:

I guess 

ln -s usr/tmp/gnus-5.8.2/lisp/ ls -s /usr/local/lib/xemacs/xemacs-packages/lisp/gnus/gnus-5.8.2/lisp/

should be the link. 

Is this correct ???

Secondly:

Do I have to enter the following path in ~/.emacs

setq load-path (cons (expand-file-name

    "/usr/local/lib/xemacs/xemacs-packages/lisp/gnus/gnus-5.8.2/lisp")
                      load-path))  

BTW I have meanwhile also upgraded my xemacs version to Bryce Canyon
which works fine....

I would be pleased using now this new version. Unfortunately
all this is not quite transparent...

Many thanks for your help

Regards
--
        
                           / /  (_)____ __ ____  __
      Pieter Wenk         / /__/ / _ \/ // /\ \/ /  Vevey/Switzerland
                         /____/_/_//_/\_,_/ /_/\_\





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Updating to gnus 5.8.2
  1999-12-29 19:00         ` Pieter Wenk
@ 1999-12-29 20:34           ` Kai Großjohann
  0 siblings, 0 replies; 13+ messages in thread
From: Kai Großjohann @ 1999-12-29 20:34 UTC (permalink / raw)
  Cc: ding

What you did seems to be digging in the XEmacs package system
internals a bit.  Here's what I did (with Emacs 20.5); it is
completely separate from the package system.  The idea is that you
install the normal XEmacs package for Gnus, and then you do the
following installation of Gnus 5.8 in addition to that.

Choose a directory for Gnus, say ~/sw/gnus-5.8.2.  Unpack the tar ball
and compile it:

    cd ~/sw
    tar xvpfz /tmp/gnus-5.8.2.tar.gz
    cd gnus-5.8.2
    ./configure
    make EMACS=xemacs

Add the lisp directory to the load-path, by putting the following line
in ~/.emacs:

    (add-to-list 'load-path "~/sw/gnus-5.8.2/lisp/")

The only part missing is to set the search path for Info.  If you have
an environment variable $INFOPATH, add the texi directory to that, by
putting lines like the following in ~/.profile or ~/.bashrc or
whatever is the right place for your shell.  Adjust in the obvious way
for csh-like shells.

    INFOPATH=$HOME/sw/gnus-5.8.2/texi:$INFOPATH
    export INFOPATH

If you have no such environment variable, set Info-directory-list
instead, like so:

    (add-to-list 'Info-directory-list "~/sw/gnus-5.8.2/texi/")

Most Emacsen need Info-default-directory-list, but IIRC this variable
has been deprecated in XEmacs 21 in favor of Info-directory-list.
    
kai
-- 
A preposition is not a good thing to end a sentence with.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~1999-12-29 20:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-09 13:56 Updating to gnus 5.8.2 Pieter Wenk
1999-12-09 14:05 ` Hrvoje Niksic
1999-12-09 14:40   ` Jørgen Wahlberg
1999-12-10 13:55   ` Pieter Wenk
1999-12-23 12:21   ` Pieter Wenk
1999-12-23 12:58     ` Laura Conrad
1999-12-23 14:05       ` Hrvoje Niksic
1999-12-29 19:00         ` Pieter Wenk
1999-12-29 20:34           ` Kai Großjohann
1999-12-23 13:57     ` Kai Großjohann
1999-12-23 14:01     ` Hrvoje Niksic
1999-12-23 22:57       ` Pieter Wenk
1999-12-23 23:45         ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).