Wolfgang,

We are currently creating RH9 documentation.

Please review this and let me know if it works for you.

RH9 instructions (at this time you will need to locate the libusb and 
xsane tarball files..):

Note: This process has been tested with Red Hat 8 and Red Hat 9. May 
work with other version of Red Hat (Enterprise, etc)

    1. Download to system:

Current HPLIP tar ball
libusb-0.1.8.tar.gz
xsane-0.96.tar.gz

    2. Install RH8/RH9 Workstation to get gcc development tools. Or use 
the RH8/RH9 Package Manager to install the Development Tools.

*Gnome Menu
         *System Settings
                 *Packages

    3. Goto the "Development" section, Click "Details" next to 
"Development Tools. Ensure the following packages are installed:

automake14
automake15
cvs
diffstat
dmalloc
doxygen
gcc-g77
gcc-gnat
gcc-java
indent
ltrace
memprof
patchutils
rcs
splint

    4. Use the RH8 Package Manager and install CUPS under Printing Support.

*Gnome Menu
         *System Settings
                 *Packages

    5. Go to the "System" section, click "Details" next to Printing 
Support. Ensure the following package is installed:

Cups

    6. Start the cupsd daemon:

su
/etc/init.d/cups start

    7. Install cups-devel. RPM is on RH8 CD #2

cd /mnt/cdrom/RedHat/RPMS

Note: cd-rom may mount in a different directory. Should be something 
similiar however.

rpm -ivh cups-devel-1.1.15-10.i386.rpm

    8. Install sane-backends-devel. RPM is on RH8 CD #2.

cd /mnt/cdrom/RedHat/RPMS
rpm -ivh sane-backends-devel-1.0.8-5.i386.rpm

    9. Update libusb from 0.1.6 to 0.1.8.

tar xzvf libusb-0.1.8.tar.gz
cd libusb-0.1.8
./configure --prefix=/usr
make
su
make install
rm /usr/lib/libusb.so
ln -s /usr/lib/libusb-0.1.4.4.0 /usr/lib/libusb.so
exit

   10. Update xsane from 0.84 to 0.96 (actually 0.92 or higher will work).

tar xzvf xsane-0.96.tar.gz
cd xsane-0.96
./configure --prefix=/usr
make
su
make install
exit

   11. Build hplip with no network and no fax support. Use hplip-1.6.6a 
or newer.

tar xvfz hplip-1.6.6a.0.tar.gz
cd hplip-1.6.6a.0
./configure --prefix=/usr --disable-network-build --disable-fax-build
make
su

Note: do not exit root until after step 11.

make install

   12. Start HPLIP daemons.

/etc/init.d/hplip start

   13. Libusb replaces the "printer" kernel module, so we must blacklist 
the "printer" kernel module so it will not be loaded during USB hotplug 
events. This also means only libusb printer drivers will work when the 
"printer" kernel module is removed.

    1. Add "alias printer off" line to /etc/modules.conf.

Run from terminal:
su
gedit /etc/modules.conf
Add to the bottom of the file:
"alias printer off"
Save, Exit

    2. Add "printer" line to /etc/hotplug/blacklist.

Run from terminal:
su
gedit /etc/hotplug/blacklist
Add to the bottom of the file:
"printer"
Save, Exit

    3. Run:

su
/sbin/rmmod printer

   14. Restart cupsd to see new USB printer.

/etc/init.d/cups restart
exit

   15. For printing install printer queue using CUPS admin at:

http://localhost:631.

   16. For scanning use xsane or scanimage for batch scanning.

Run from the terminal:

xsane
         Then click "scan"

or

scanimage > filename.pnm

Then to view the file enter:

gimp filename.pnm

Note: Printer install should be completed.

Aaron

Eicher, Wolfgang wrote:
> Dear all
> 
> I installed the "hplip-1.6.6.tar.gz" driver on the RH9, and after 
> Installprocedure i get this failure.
> 
> make[1]: Entering directory `/tmp1/hplip-0.9.11'
> if g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" 
> -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"0.9.11\" 
> -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\                                   
>                           Printing\ 0.9.11\" 
> -DPACKAGE_BUGREPORT=\"0.9.11.11\" -DPACKAGE=\"hplip\" -DVERSION=\"0.9.11\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_             
>                                                STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -                      
>                                       DHAVE_LIBCRYPTO=1 -DHAVE_LIBUSB=1 
> -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 
> -DHAVE_PPORT=1 -DHAVE_LIBSNMP=1  -I. -I. -Iprnt/hpij                       s 
> -Iip    -g -O2 -MT device.o -MD -MP -MF ".deps/device.Tpo" -c -o device.o 
> `test -f 'io/hpiod/device.cpp' || echo './'`io/hpiod/device.cpp; \
> then mv -f ".deps/device.Tpo" ".deps/device.Po"; else rm -f 
> ".deps/device.Tpo";exit 1; fi
> io/hpiod/device.cpp: In member function `int Device::IsUri(usb_device*,   
> char*)':
> io/hpiod/device.cpp:621: `usb_get_string_simple' undeclared (first use this 
> function)
> io/hpiod/device.cpp:621: (Each undeclared identifier is reported only once 
> for each function it appears in.)
> make[1]: *** [device.o] Error 1
> make[1]: Leaving directory `/tmp1/hplip-0.9.11'
> make: *** [all-recursive] Error 1
> 
> 
> 
> PLEASE be so kind and let me know how I can solve this behavior..
> 
> best regards
> 
> Wolfgang Eicher
> 
> 
> 
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/  
>       
> Wolfgang Eicher                                        
> Field Service Technician                                       
> THALES GmbH                                            
> Fritz-Ludwig-Straße 1
> 56070 Koblenz 
> Germany        
> Phone:        +49(261) 8083 - 505                              
> Fax:          +49(261) 8083 - 500                              
> Mobile:       +49(173) 722-611-2                               
> [EMAIL PROTECTED]                      
>                                                        
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/  
> 
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen 
> enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail ist nicht gestattet.
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this e-mail is 
> strictly forbidden.
> 
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
HPLIP-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to