Installing Fedora Core 6 and Xastir
For those of us that want to have the latest and greatest, here is the step-by-steps to install both fedora core 6 and Xastir 1.8.x and have most of the libraries installed and working. Much thanks to Dan Brown N8YSZ who wrote the get-maptools.sh script. Keep in mind, I am not a computer expert, nor a Linux guru. But I used these steps and they work for me.
This in no way was written to superseed the readme file(s). Please take the time to read them.
1) After locating the proper FC-6 ISO image, and burning either the DVD or the CD image(s) test the media for any errors. If you have a good image, proceed to install your copy of Fedora core 6.
2) After hitting the enter key, you should find yourself at the "Select Language" screen. Select the proper language for your system. English is the default. Press enter.
3) Now you should find yourself in the keyboard selection, and again the US-English version is the default.
4) The next screen puts you in the screen where you chose to "Install Fedora Core" or upgrade. The default is to install. Choose this and hit enter or click next.
5) Unless you are multi-booting more than one version of linux or dual booting Windows and Fedora, you should not need to modify this. Just click on next.
6) If you are using a home network you may change these parameters to suit your needs. I changed the following; a) Uncheck "Use Dynamic IP Configuration (DHCP)" b) Enter the IP address of the computer in the first window. In my instance, I use 192.168.2.102 c) Enter the Network Mask Filter in the next window. I use 255.255.255.0.
7) Uncheck "Enable IPv6 support. I personally don't think anyone is using it, and it sure does slow down Web-browsing.
8) Ensure that "Activate on Boot" is selected.
9) If there are other computers on a network, you may want to change "Localhost.localdomain" to something more manageable. I used steve.mshome, but you can use anything you need to or like. Just remember that the computer name goes first, then after the period comes the network name. Microsoft defaults to mshome.
10) The gateway address would be the IP address of your router. In my case it is 192.168.2.1.
11) Primary DNS is usually the same as step 10. Remember, you only need to change these settings if you have a network and are going to connect this computer to the network.
12) The next screen aids you in selecting the time zone. Click on the map to choose yours. When finished, click on next.
13) In this form, enter the password you want to use for the super user (su) or root user. DO NOT forget or lose this password. You won't be able to enter any of the administration levels of this computer if you do.
14) I recommend for simplicity's sake that you just enter the stock install for now. You can always update later if needed.
15) You should now be ready to do the install. Click on next, and go take a break. This took about 25 minutes on my PC.
16) After the computer finishes, you will be ready to reboot. Do so. If you need to set up the monitor, sound card or other peripherals, now is the time to do so. In my case, everything came up roses.
17) In this next window, click on the license agreement if you agree with it and click next.
18) Check all of the boxes that apply in the firewall setup. If you are planning to run remote administration, you can add port 5900 now. When finished, click on next.
19) SELinux isn't needed by most of us, so I recommend you disable it. Then hit next.
20) To set up NTP (Network time protocol), set the date and time as needed. Then switch tabs to "Network time protocol". Set as needed. Note: If you are dual-booting with MS Windows, I recommend that you use local time for the computer as Microsoft has trouble with GMT translation. But if you are only using Linux, then it is OK to set up using GMT as the machine time.
21) in this next window, enter, in all lower case, a user name. Enter all the other fields as needed. Make sure you remember your password. Passwords are case sensitive here.
22) If you want this computer to always start up ready to go on this users ID, then click on system/Administration/Login Screen. Then enter the Super-User (su) or root password. Now click on the "Users" Tab. Click on the "Add" radio button and add this user in there and then add to the list. Click on the "Apply user changes". Now click on the "Security" tab. Check the box that says "Enable Automatic Login". Then click on the down arrow and enable your user name.
23) Click on "Applications/Add-Remove Software", then after logging in as root, highlight "Development" and select all the boxes on the right. Now click on "Apply".
24) Click on "Applications/Accessories/Terminal.
25) On the user line, type su and then hit enter. Now enter the su or root password at the prompt. (see: Notes:Sudo)
26) Yumex is a graphical extension of Yum, an installer tool. Really makes life easier for us Linux newbee's. To install this tool, type "yum install yumex and press the enter key.
27) After Yum finishes, Close the terminal window, click on "Applications/System Tools/Yum Extender" and hit enter.
28) When the repro's finish loading, click on the "Install" button. You will see it load a list of available programs and libraries. At the top of this list is a little window where you can enter a search field. Enter "Motif" here and click on "Search". Look in the processed list and you will find Lesstif and Lesstif-devel. Check both of these items. This will install the Motif clone and Motif clone headers so that Xastir can use them. When finished, close this window.
29) Using the Web browser (The icon on the very top of your screen with the Globe and hand) go to www.xastir.org and select the download tab on the far left hand of your browser window. Follow the prompts to open an appropriate download location and save the file to your computer. It will default to saving it to the desktop, which is fine for now. You can choose whichever version is still on the server mirror. I am using 1.8.3 and recommend you do also.
30) Click on "Applications/Accessories/Terminal.
31) Type "mkdir src". This will make a directory or folder called "src" in the home/user directory. If your tarball file (The xastir file you just downloaded) went to the desktop, (You will now see an icon there) you need to move it to this directory. To enter the "desktop" directory, type "cd desktop" and enter.
32) Now move this file to the directory you just made, type "mv xastir* /home/user_name/src". "type cd ..". Note the double periods. This will move you back one level in the directory tree. Now "cd src to enter this directory.
33) Type "ls" to see the file(s) in this folder. To expand this compressed file or tarball, type "tar xzvf xastir18x-date.tz" Be sure to type the name of the file you downloaded. This will make a folder with all of the install files, the readme stuff and the help files.
34) Type ls. This will list everything within this folder. Now type "cd xastir-1.8.x replacing the x with the proper number(s).
35) Type "cd scripts" and then hit enter.
36) Now type "gedit get-maptools.sh" and hit enter. This will open the gnome text editor and then the file get-maptools.sh for editing. You need to add 3 new lines to this file. In the beginning of the file is a header. Below the header on a new line enter mkdir /root/src mkdir /root/src/xastir mkdir /root/src/xastir/tmp
37) Save file and exit gedit.
38) Type "su" and hit enter. At the prompt enter the root or su password. *(see: Notes:Sudo)*
39) Now type "yum install imagemagick-devel. This will install the header file for imagemagick.
40) We have completed the pre-requisite, so now onto the fun stuff. If you have already expanded the tarball, you should have a directory called "xastir-1.8.x". So cd to this folder and type "./configure". When this finishes, you should have the following libraries installed and usable by xastir;
xastir 1.8.3 has been configured to use the following options and external libraries:
Building with AX25 ................................. : no
Building with Festival ............................. : yes
Building with GPSMan ............................... : no
Building with ImageMagick .......................... : yes
Building with libproj .............................. : yes
Building with GeoTiff .............................. : yes
Building with ShapeLib ............................. : yes
Building with pcre ................................. : yes
Building with dbfawk ............................... : yes
Building with map caching .......................... : yes
Building with ErrorPopups (Old Method) ............. : no
Building with libgc (Debug) ........................ : no
Building with profiling (Debug) .................... : no
Building with rtree indexing (Experimental) ........ : no
Building with Linux Standard Base (Experimental) ... : no
If yours doesn't look like this, see what steps you might have missed. If your configuration does look like this, you are now ready for the next step.
41) type "make".
42) Now type "sudo make install".
43) So close! Now you are finally done with the install. You can now type "xastir &". The "&" will allow you to run other programs or enter commands while xastir is running. Enjoy.