Compilation and Install

LPRng Reference Manual: 24 Sep 2004 (For LPRng-3.8.28)
Prev | Chapter 2. Installation | Next

# 2.8. Compilation and Install

Once you have decided on the configuration you want and understand what files need to be installed, then you are ready to do the install. It is extremely simple to extract the files, configure, compile and install the software:

        h4: {4} % gunzip -c LPRng-<version>.tgz | tar xvf -
        h4: {5} % cd LPRng-<version>
        h4: {6} % ./configure  [ ... configuration options ]
        h4: {7} % make clean all
        h4: {8} % su   # you must do the following commands as root
        h4: {9} # make install
        h4: {10} # # if checkpc did not run, do the next command
        h4: {11} # # make sure checkpc and lpq are in your paths
        h4: {12} # # if using CSH, use 'rehash' as well
        h4: {13} # checkpc -f
        h4: {14} # # check to see if the server is running
        h4: {15} # lpq

During installation you may get an error message indicating that the lpd file could not be installed or the lpd server could not be started. If this is the case, then carry out the appropriate steps in Updating Print Spooler Software and Startup Scripts to remove the existing print spooling software and then try to reinstall LPRng. You should also to check the System Specific Notes section for any system specific installation requirements.

While the LPRng installation scripts try hard to set up the lpd server in place, you will still need to reboot your host and make sure that the various printing facilities are working correctly after reboot.

Prev | Home | Next
Checking System Installation with checkpc | Up | Installation Problems