Does PAN lock up on you or slow to a crawl? Here is the solution!
The version of pan in the repositories has a problem where it locks up or slows down to a crawl when downloading from large binary groups. This is due to the way that PAN stores all those headers.
Charles Kerr recently made a large update that resolves most of these problems that is available via CVS.
- THIS IS A BETA AND IT WILL HAVE SOME BUGS
- This converts your data to a new format, if you need to back out to the version available in the repositories remove the folder $home/.pan
- We will not be installing PAN, just building it and running it from our home directories. This way when Charles makes updates you can remove the pancvs folder and perform these steps again to get the newer version and if/when a version reaches the repositories you can simply install them via Apt or Synaptic and delete the pancvs folder
- All of the text in the code blocks is entered one line at a time into a terminal window in your home directory. By default when you start a normal terminal it is in your home directory. If you want to make sure you are in your home directory type cd $home
Part 1: Retrieving Dependencies:
Use Apt to grab the dependencies required to build PAN from CVS:
Part 2: Download the current from CVS:
sudo apt-get install cvs
sudo apt-get install gnome-common
sudo apt-get install gcc
sudo apt-get install libgtk2.0-dev
sudo apt-get install libxml2
sudo apt-get install libxml2-dev
sudo apt-get install libpcre3-dev
Create a directory named pancvs
Change to the pancvs directory
download the PAN source
Part 3: Build PAN
cvs -z3 checkout pan
Change to another pan subdirectory (Yeah this gets a bit nested, you can easily do this straight from home and just have PAN)
Run autogen to configure If it is successfull you will see a blurb about type make to build PAN
Part 4: Create a Menu Entry
If you have not already downloaded the menueditor application (Hoary Only) get Amaranth's great app from:
Use dpkg to install the .deb, for example if the file is named: menueditor_0.4.3ubuntu1_all.deb use the following command:
Log out and back in click on the menu editor under Applications->System Tools
sudo dpkg -i menueditor_0.4.3ubuntu1_all.deb
Use the following options to create a new menu entry for PAN:
Log in and out of Gnome for the changes to menu item to show up.
Comment: Newsreader for Gnome
Command: Click Browse-> Go to your home directory, then the pancvs folder, then the pan folder and finally scroll down and select the file named pan (not pan.c) and click open.
You should now be able to run PAN from the menu and it will be able to download even the BUSIEST of the binary newsgroups.
For more information on Pan or to drop Charles a thank you for making working on this great app go to http://pan.rebelbase.com
If you have any questions post them here and I will do my best to answer them.