From: Adrian Burd Date: Wed, 4 Aug 1999 09:26:48 -0500 (CDT) To: John Heidemann Subject: Re: Notes Mode Problems Hi John, OK, I see what you mean now! I was taking the instruction of moving out of the tar directory to mean just go to say ones top level. I ended up going to the directory in which the newly installed notesinit was placed and running from there. Of course, everything then worked a dream! I've included a commented typescript of the installation process I followed. Please feel free to use anything you might think useful; you can include the whole thing verbatim in the documentation as an example if you think it'll help others, or cut and paste as you see fit. Once again, thanks for your help and and the code. Adrian ------------------8<------------------8<---------------------- The following is an example installation of notes-mode. adrian> cp Linux/notes-mode-1.17.tar.gz Tmp adrian> cd Tmp Tmp> gunzip < notes-mode-1.17.tar.gz | tar xf - Tmp> rm *.tar.gz Tmp> cd notes-mode-1.17/ notes-mode-1.17> ls COPYING configure.in notes-aux.el notes-variables.el HTML install-sh notes-bootstrap.el notes-xemacs.el Makefile.in mkall notes-emacs.el notesinit Notes.pm mkconfig notes-index-mode.el release NotesIndex.pm mkindex notes-mode.el sample.notesrc NotesVars.pm mkindexcache notes-mode.info setcrontab README mknew notes-mode.ps.gz strftime.c catsubject mkprevnext notes-mode.texi configure mkrawindex notes-url.el If you look at the files you will first see that all write permissions for the file are switched off and many of the paths are not correct for your system. There is NO NEED TO CHANGE EITHER OF THESE. The installation process will copy all the needed files into another directory (which you can specify during the configuration process) and at the same time will alter all the paths so that they will be correct for your system. The below configuration example places all the files & directories for notes-mode under /home/adrian/Lisp. You may want to do something different or use the default. notes-mode-1.17> ./configure --prefix=/home/adrian/Lisp --with-lisp-dir=/home/adrian/Lisp creating cache ./config.cache checking for emacs... emacs checking for perl... /usr/bin/perl checking mkdir -p... mkdir -p checking lisp installation directory... /home/adrian/Lisp checking script install directory... ${prefix}/share/notes-mode checking info install directory... ${prefix}/info checking for a BSD compatible install... /usr/bin/installbsd -c updating cache ./config.cache creating ./config.status creating Makefile Now we have the correct Makefile, run the install notes-mode-1.17> make install (all kinds of messages deleted) Notes-mode is installed. Now, and THIS IS IMPORTANT, move into the directory where notes-mode was installed. This is crucial because otherwise you'll be using the versions that have incorrect paths. notes-mode-1.17> cd adrian> cd Lisp Lisp> ls bbdb-com.elc bbdb-whois.elc notes-bootstrap.elc notes-url.elc bbdb-ftp.elc bbdb.elc notes-emacs.el notes-variables.el bbdb-gnus.elc bibtex.elc notes-emacs.elc notes-variables.elc bbdb-hooks.elc info notes-index-mode.el notes-xemacs.el bbdb-lucid.elc matlab.el notes-index-mode.elc notes-xemacs.elc bbdb-print.elc notes-aux.el notes-mode.el share bbdb-rmail.elc notes-aux.elc notes-mode.elc supercite.elc bbdb-vm.elc notes-bootstrap.el notes-url.el Lisp> cd share share> ls notes-mode share> cd notes-mode notes-mode> ls Notes.pm catsubject mkindexcache notesinit NotesIndex.pm mkall mknew release NotesVars.pm mkconfig mkprevnext sample.notesrc README mkindex mkrawindex setcrontab Here are the programs we need to set up notes-mode. Run notesinit to set up for first time use. notes-mode> ./notesinit notesinit will set up notes-mode for the first time.