Home > Installation > Manual Install > Configure HPLIP

# Configure the HPLIP Install

# Configure HPLIP (most users do this)

Note: If you want to customize your install please refer to the './configure options' section below.

Note: Run this in the extracted HPLIP tarball directory.

32 bit distro users (most users will use this command):

./configure --prefix=/usr

64 bit distro users

You will need to run this configure option:

./configure --prefix=/usr --libdir=/usr/lib64

# Configure HPIJS Only (Server/Minimal Install)

Go here for steps on installing a server or minimal install of HPLIP.

# Configure options

The configure step of HPLIP does several things,

1. Checks your system to ensure that all dependencies are installed and that HPLIP can be compiled.
2. Configures the HPLIP for which options will be enabled and/or disabled.

configure variables:

Note: We recommended to install in the /usr directory.

1. --prefix=/usr (This is where HPLIP will be installed.)

Note: If you are using a 64 bit distro you need to use this additional configure variable:

1. --libdir=/usr/lib64 (Configures HPLIP to work on 64 bit systems.)

Default enabled options if you run "./configure --prefix=/usr":

1. --enable-network-build (enable network build (default=yes))
2. --enable-pp-build (enable parallel port build (default=yes))
3. --enable-scan-build (enable scanner build (default=yes))
4. --enable-gui-build (enable gui build (default=yes))
5. --enable-fax-build (enable fax build (default=yes))

Options to disable HPLIP features:

1. --disable-network-build (disables HPLIP network support)
2. --disable-pp-build (disables HPLIP parallel port support)
3. --disable-scan-build (disables HPLIP scan support)
4. --disable-gui-build (disables HPLIP GUI support)
5. --disable-fax-build (disables HPLIP fax support)

How to use the configure options:

If you wanted to disable network support, (for example)--you would run: (see the section './configure options' below for more specific information--however you probably do not need to do this.)

./configure --prefix=/usr --disable-network-build

# Troubleshooting errors produced after running './configure --prefix=/usr'

If you receive any errors after running ./configure, such as missing libsnmp, missing gcc-c++, etc these are not complicated to troubleshooting.

1. Make sure you have all of the HPLIP dependencies installed. (This is the most common problem.)
2. Search the internet for the error. Usually someone may have already encoutered and resolved your problem.
3. Search the mailing list archives.
4. Ask your question to the mailing list.

# Next

Continue to make

Page last updated: Tue Mar 20 09:10:48 2007; HPLIP Version: 1.7.4a