installing hp 2055d on Netbsd

Asked by gui4gui

Hello i try to install the hp 2055d on Netbsd with the driver hplip (for Freebsd). I configure the hplip on Netbsd and i have then the message error :
./configure
the configure stop and the message is "cannot find libjpeg support"
I install though some libjpeg like libjpeg-8c on Netbsd or cups and nothing work.
I add that my hp 2055d work perfeclly with the debian squeeze.
So if it is possible i would like to have some idea to solve the problem.
I sorry for my bad english and thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
gui4gui
Solved:
Last query:
Last reply:
Revision history for this message
goutam kodu (goutam-hplip) said :
#1

Hi,

We don't have FreeBSD currently installed. Will install it and get back to you on the same.

Thanks & Regards,
Goutam Kodu

Revision history for this message
goutam kodu (goutam-hplip) said :
#2

sorry that was NetBSD not FreeBSD.
Which version of NetBSD you are using it ?

Thanks,
Goutam Kodu

Revision history for this message
goutam kodu (goutam-hplip) said :
#3

Please install all the dependencies required by HPLIP . You can find the same at http://hplipopensource.com/hplip-web/install/manual/distros/other.html.

For libjpeg install the package libjpeg-turbo. Let us know on the same.

Thanks,
Goutam

Revision history for this message
gui4gui (gui4gui48) said :
#4

Thank for your answer. I have Netbsd 5.1. I install libjpeg-turbo. I make the configure and the problem is the same ("cannot find libjpeg support"). Moreover, ligjpeg-turbo conflict whith jpeg-8c and when i remove jpeg-8c it disturbe some software like firefox ...
I try to read the script configure but it is very long and i have not enough time but in this script i see that Netbsd is supporting. Mabe the problem come from when the script configure try to find jpeg library which it is not on the same place than library in linux ??? I don't know but i try to find solution.

Revision history for this message
goutam kodu (goutam-hplip) said :
#5

Hi,

Can you post us the out-put of when you run ./configure .

Thanks,
Goutam Kodu

Revision history for this message
gui4gui (gui4gui48) said :
#6

OK i copy ./configure and before ./configure i installed cups and libtool ... I list all my packages install on my Netbsd 5.1 with pkgin ls so

new-host$ pkgin ls
GConf-2.32.1 Configuration database system used by GNOME
GConf-ui-2.32.1 Configuration database system used by GNOME
MesaLib-7.4.4nb3 Graphics library similar to SGI's OpenGL
ORBit2-2.14.19 High-performance CORBA ORB with C language support
Xaw3d-1.5Enb4 3-D widgets based on the Athena Widget set
alacarte-0.13.1nb3 Menu editor for the GNOME desktop
aspell-0.60.6nb2 Spell checker with good multi-language support
at-spi-1.32.0nb1 Assistive Technology Service Provider Interface
atk-1.32.0 Set of interfaces for accessibility
atkmm-2.22.2 C++ bindings for atk
avahi-0.6.27nb4 Facilitate service discovery on a local network
bash-4.2 The GNU Bourne Again Shell
blas-1.1nb2 Basic Linear Algebra Subprograms (Fortran)
boehm-gc-7.1nb4 Garbage collection and memory leak detection for C and C++
brasero-2.32.1nb3 Disc-burning software for the GNOME desktop
bug-buddy-2.26.0nb7 Graphical GNOME2 bug reporting tool
cairo-1.10.2nb1 Vector graphics library with cross-device output support
cairomm-1.8.6nb1 C++ API for cairo
cheese-2.26.3nb7 Use your webcam to take photos and videos
chmlib-0.40 Library for dealing with Microsoft ITSS/CHM format files
clutter-1.2.14nb2 Open GL based interactive canvas library
clutter-gtk-0.10.8nb2 GTK+ Integration library for Clutter
consolekit-0.3.0nb5 Framework for defining and tracking users, login sessions, and seats
cups-1.4.6nb1 Common UNIX Printing System
cyrus-sasl-2.1.23 Simple Authentication and Security Layer
dasher-4.10.1nb6 Easy typing without using keyboard
db-2.7.7nb3 Sleepycat Software's Berkeley DB version 2
db4-4.8.30 Berkeley DB version 4 from Oracle
dbus-1.2.4.6nb2 Message bus system
dbus-glib-0.92 GLib bindings for the D-BUS message bus system
deskbar-applet-2.32.0nb1 Omnipresent, versatile search interface for the GNOME Desktop
desktop-file-utils-0.15 Utilities to manage desktop entries
digest-20080510 Message digest wrapper utility
docbook-xml-4.5 XML DTD designed for computer documentation
eggdbus-0.6 GObject bindings for DBus
empathy-2.30.3nb2 Gnome instant messenger client
enchant-1.6.0 Generic spell checking library
eog-2.32.1nb1 Eye of GNOME: an image viewing and cataloging program
epiphany-2.30.6nb3 The web browser for the GNOME Desktop
esound-0.2.41 The Enlightened sound daemon
evince-2.32.0nb5 Document viewer
evolution-2.32.2 GNOME mailer, calendar, contact manager, and communications tool
evolution-data-server-2.32.2 Evolution data server
evolution-exchange-2.32.2 Support for Microsoft Exchange 2000 and 2003 in Evolution
evolution-webcal-2.32.0nb1 GNOME URL handler for web-published iCal calendar files
exempi-2.1.1 XMP library
f2c-20100903 Fortran to C compiler including a script to emulate f77
fam-2.7.0nb9 File Alteration Monitor
farsight2-0.0.26 Audio/video communications framework
fftw-3.2.2nb1 Collection of fast C routines to compute DFTs
file-roller-2.32.1nb1 Front-end to archiving programs like tar and zip
firefox-3.6.16 Web browser with support for extensions
firefox-l10n-3.6.15 Language packs for www/firefox
flac-1.2.1nb1 Free lossless audio codec
fribidi-0.10.9 Free Implementation of the Unicode Bidirectional Algorithm
gcalctool-5.32.2nb2 Desktop calculator for GNOME
gconf-editor-2.32.0nb1 Editor for the GConf configuration system
gdbm-1.8.3nb1 The GNU database manager
gdk-pixbuf-0.22.0nb13 The GNOME image loading library
gdk-pixbuf2-2.22.1nb1 Image loaders for gtk2
gdm-2.20.11nb2 Gnome Display Manager - a re-implementation of the xdm program
gedit-2.30.4nb2 Lightweight GNOME2 text editor
getopt-1.1.4 Program to help shell scripts parse command-line parameters
ghostscript-8.71nb7 Postscript interpreter
ghostscript-fonts-8.11nb3 Postscript fonts for Aladdin Ghostscript
giflib-4.1.6 GIF image format library
glib-1.2.10nb10 Some useful routines for C programming (glib1)
glib2-2.28.3 Some useful routines for C programming (glib2)
glibmm-2.24.2 C++ bindings for glib
gmake-3.82nb1 GNU version of 'make' utility
gmime24-2.4.23 Library for the creation and parsing of MIME messages
gmp-5.0.1 Library for arbitrary precision arithmetic
gnome-applets-2.32.1.1nb2 GNOME2 panel applets
gnome-backgrounds-2.32.0 Set of background images for the GNOME Desktop
gnome-control-center-2.32.1nb1 GNOME2 configuration utility
gnome-desktop-2.32.1nb1 Common GNOME2 desktop files and libgnome-desktop library
gnome-desktop-sharp-2.26.0nb16 C# bindings for the GNOME platform, Desktop part
gnome-doc-utils-0.20.4 Documentation utilities for the GNOME project
gnome-games-2.32.1nb1 GNOME2 games collection
gnome-icon-theme-2.30.3nb4 Theme consisting of a set of icons for GNOME
gnome-keyring-2.30.3nb3 GNOME password and secret manager
gnome-mag-0.16.1nb4 GNOME screen magnifier
gnome-media-2.28.5nb6 Set of audio/multimedia applications for GNOME2
gnome-menus-2.30.5 Implementation of the desktop menu specification for GNOME
gnome-netstatus-2.26.0nb6 Network status applet for the GNOME panel
gnome-nettool-2.26.2nb5 GNOME interface for various network tools
gnome-panel-2.32.1nb1 GNOME2 panel application
gnome-power-manager-2.24.4nb6 GNOME desktop session daemon for managing power management
gnome-screensaver-2.30.2nb2 Screen saver and locker for the GNOME desktop
gnome-session-2.26.2nb7 GNOME2 session management utilities
gnome-settings-daemon-2.32.1nb1 GNOME settings daemon
gnome-sharp-2.24.2nb2 C# bindings for the GNOME platform
gnome-speech-0.4.25nb1 GNOME 2 text-to-speech API
gnome-system-monitor-2.28.2nb1 GNOME 2 system monitor program
gnome-system-tools-2.22.2nb5 System administraton tools for the GNOME desktop
gnome-terminal-2.32.1nb1 Xterm like terminal program for GNOME 2
gnome-themes-2.32.1nb1 Collection of themes and icons for GNOME 2
gnome-user-docs-2.32.0 The GNOME 2 users guide
gnome-vfs-2.24.4nb2 GNOME Virtual File System (v2)
gnutls-2.10.5nb1 GNU Transport Layer Security library
gobject-introspection-0.10.3 GObject Introspection
gssdp-0.7.2nb4 SSDP library
gst-plugins0.10-base-0.10.32 Open source multimedia framework - base plugins
gst-plugins0.10-good-0.10.28 Open source multimedia framework - good plugins
gst-plugins0.10-ogg-0.10.32 Open source multimedia framework - ogg plugin
gst-plugins0.10-theora-0.10.32 Open source multimedia framework - theora plugin
gst-plugins0.10-v4l2-0.10.28 Open source multimedia framework - v4l2 plugin
gst-plugins0.10-vorbis-0.10.32 Open source multimedia framework - vorbis plugin
gstreamer0.10-0.10.32 Open source multimedia framework
gtar-base-1.25nb3 The GNU tape archiver with remote magnetic tape support
gtk+-1.2.10nb9 GIMP Toolkit v1 - libraries for building X11 user interfaces
gtk-sharp-2.12.10nb4 C# bindings for GTK
gtk2+-2.24.3 GIMP Toolkit v2 - libraries for building X11 user interfaces
gtk2-engines-2.20.2nb2 Theme engines for GTK+ version 2
gtkhtml314-3.32.2 Lightweight HTML rendering/printing/editing engine
gtkmm-2.22.0 C++ interface to Gtk+ v2
gtksourceview-1.8.5nb7 Text widget that extends GTK2's GtkTextView widget
gtksourceview2-2.10.5nb2 Text widget that extends GTK2's GtkTextView widget
gucharmap-2.32.1nb1 Unicode/ISO10646 character map and font viewer
guile-1.8.8 GNU's Ubiquitous Intelligent Language for Extension
gupnp-0.13.3nb1 Framework for UPnP devices
gupnp-igd-0.1.7 Library to handle UPnP IGD port mapping
gv-3.7.1 PostScript and PDF previewer
hal-0.5.14nb2 FreeDesktop hardware abstraction layer
hal-info-20091130 FreeDesktop hardware abstraction layer (info subpackage)
hicolor-icon-theme-0.12 Standard icon theme called hicolor
hpijs-2.1.4nb2 HP inkjet printer driver server
htdig-3.2.0b6 WWW indexing and searching system
hunspell-1.2.8 Improved spellchecker
hunspell-en_US-20060207 US American English dictionaries for hunspell
icu-4.6.1 Robust and full-featured Unicode services
ilmbase-1.0.2nb1 High dynamic-range (HDR) image file format library and tools
imlib-1.9.15nb10 Image manipulation library for X11
iso-codes-3.11.1 List of country, language and currency names
jasper-1.900.1nb5 Software-based reference implementation of the JPEG-2000 codec
jpeg-8c IJG's jpeg compression utilities
json-glib-0.12.2 JSON parser for GLib-based libraries and applications
kchmviewer-5.3 CHM (MS HTML help file format) viewer
kdebase-3.5.10nb13 Base modules for the KDE 3 integrated X11 desktop
kdegraphics-3.5.10nb13 Graphics programs for the KDE integrated X11 desktop
kdelibs-3.5.10nb10 Support libraries for the KDE integrated X11 desktop
kile-2.0.2nb8 LaTeX source editor - TeX shell - Gnuplot front end
kpathsea-6.0.0nb2 Path searching library for TeX-related files
lapack-3.1.1nb4 Linear Algebra PACKage
lcms-1.19 Little Color Management System -- a color management library
libIDL-0.8.14 CORBA Interface Definition Language parser
libart-2.3.21 High-performance 2D graphics library
libaudiofile-0.2.7 Sound library for SGI audio file
libbonobo-2.32.0nb1 GNOME2 Object activation framework library
libbonoboui-2.24.4nb2 GNOME2 Object activation framework library (graphical version)
libcanberra-0.26nb1 Desktop event sound library
libcfg+-0.6.2nb3 Command line and configuration file parsing library
libcroco-0.6.2 Toolkit to parse and manipulate CSS (Cascading Style Sheets)
libdaemon-0.14nb1 C library that eases the writing of UNIX daemons
libelf-0.8.13 ELF object file access library
libexif-0.6.20 EXIF file library
libf2c-20090201nb3 f2c Fortran support library
libffi-3.0.9 Foreign function interface
libgcrypt-1.4.6nb1 GNU cryptographic library
libgdata-0.6.6 Google Data API based Glib client library
libglade-2.6.4nb5 Runtime interpreter for GLADE GUI files
libgnome-2.32.1 Core GNOME2 library (non-graphical)
libgnome-keyring-2.32.0 GNOME password and secret manager
libgnomecanvas-2.30.3 GNOME Canvas library
libgnomekbd-2.32.0nb1 Gnome keyboard configuration library
libgnomeprint-2.18.8nb2 Library for the GNOME2 Printing Architecture
libgnomeprintui-2.18.6nb2 Graphical library for the GNOME2 Printing Architecture
libgnomeui-2.24.5 Core GNOME2 graphical libraries
libgpg-error-1.10 Definitions of common error values for all GnuPG components
libgphoto2-2.4.7nb2 Digital camera access library
libgtop-2.28.2nb2 Library to retrieve system information, used in GNOME2
libgweather-2.30.3nb2 Weather information access library
libical-0.44 Reference implementation of the iCalendar data type and format
libidn-1.20 Internationalized Domain Names command line tool
libltdl-2.2.6b Generic shared library support (libltdl abstraction library)
libmad-0.15.1bnb1 High-quality MPEG audio decoder
libmikmod-3.1.12 MikMod Sound Library
libnice-0.1.0 IETF's draft Interactice Connectivity Establishment standard implementation
libnotify-0.4.5nb5 Desktop notification framework
libogg-1.2.1nb1 Ogg project codecs library
liboil-0.3.17 Library of simple, CPU-optimized functions
liboobs-2.22.2 Lightweight GObject based interface to system-tools-backends
libpaper-1.1.24 Paper size handling library
libproxy-0.3.1 Library that provides automatic proxy configuration management
librsvg-2.32.1nb2 SVG library for GNOME2
libsamplerate-0.1.7 Sample rate converter library
libsigc++-2.2.9 Type-safe callback system for C++ programs
libsndfile-1.0.24 Library for reading and writing audio files
libsoup24-2.32.2 HTTP library implementation in C
libspectre-0.2.6nb1 Small library for rendering Postscript documents
libtasn1-2.9 ASN.1 structure parser library
libtheora-1.1.1nb2 Video codec for Ogg multimedia streaming
libtool-2.2.6b Generic shared library support script
libtool-base-2.2.6bnb4 Generic shared library support script (the script itself)
libtool-info-2.2.6b Generic shared library support script - info pages
libunique-1.1.6nb4 Library for writing single instance applications
libusb-0.1.12nb2 USB access library
libvolume_id-0.81.1 Library to provide file system type information
libvorbis-1.3.2 Library for the Ogg Vorbis audio encoding format
libwnck-2.30.6nb1 Library to write pagers and tasklists
libxcb-1.7 X protocol C-language Binding
libxklavier-5.0 High-level API for the X Keyboard Extension (XKB)
libxml2-2.7.8nb2 XML parser library from the GNOME project
libxslt-1.1.26 XSLT parser library from the GNOME project
lzo-2.04 Portable lossless data compression library
mDNSResponder-258.14 Apple's mDNS responder
metacity-2.30.3nb1 GNOME-compliant window manager
mng-1.0.10nb2 Multiple-image Network Graphics (MNG) reference library
mono-2.8.2 Open source implementation of the .NET Development Framework
nasm-2.07 General-purpose x86 assembler
nautilus-2.32.2.1nb1 Nautilus file manager for GNOME2
ncurses-5.8 CRT screen handling and optimization package
netpbm-10.35.78 Toolkit for conversion of images between different formats
nspr-4.8.6.15 Platform-neutral API for system level and libc like functions
nss-3.12.8.0.15 Libraries to support development of security-enabled applications
openexr-1.7.0 High dynamic-range (HDR) image file format library and tools
openslp-1.2.1nb3 Open-source implementation of the Service Location Protocol
orc-0.4.11 Compiler for vector operations
osabi-NetBSD-5.1 Operating System version dummy-package
p5-Business-ISBN-2.05nb1 Perl5 module to work with International Standard Book Numbers (ISBNs)
p5-Business-ISBN-Data-20081208nb1 Data for the p5-Business-ISBN package
p5-Compress-Raw-Bzip2-2.030nb1 Perl5 low-level interface to bzip2 compression library
p5-Compress-Raw-Zlib-2.030nb2 Perl5 module interface to the zlib compression library
p5-Crypt-SSLeay-0.58 Crypt::SSLeay - OpenSSL glue that provides LWP https support
p5-HTML-Parser-3.68 Perl5 module to parse HTML text documents
p5-HTML-Tagset-3.20nb2 Perl5 module of data tables useful in parsing HTML
p5-IO-Compress-2.030nb1 IO Interface to compressed data files/buffers
p5-IO-Socket-INET6-2.65nb1 Perl object interface for AF_INET|AF_INET6 domain sockets
p5-IO-Socket-SSL-1.35 Perl5 SSL socket interface class
p5-MIME-Base64-3.13 Perl5 module for Base64 and Quoted-Printable encodings
p5-Net-DBus-0.33.6nb1 Perl extension for the DBus message system
p5-Net-LibIDN-0.12nb1 Perl bindings for GNU Libidn
p5-Net-SSLeay-1.36nb1 Perl5 module for using OpenSSL
p5-Socket6-0.23nb1 Perl5 module to support getaddrinfo() and getnameinfo()
p5-Test-Simple-0.96nb1 Perl5 module with a simple framework for writing tests
p5-URI-1.56 Perl5 Uniform Resource Identifiers class (URI, RFC 2396)
p5-XML-Parser-2.40 Perl extension interface to James Clark's XML parser, expat
p5-XML-Twig-3.37 Efficient XML document interface
p5-libwww-5.837 Perl5 library for WWW access
pango-1.28.3nb3 Library for layout and rendering of text
pangomm-2.26.3nb1 C++ bindings for pangomm
pciids-20091229 Repository of PCI IDs (pci.ids database)
pcre-8.12 Perl Compatible Regular Expressions library
perl-5.12.2nb1 Practical Extraction and Report Language
pixman-0.20.2 Library of low-level pixel manipulation routines
pkgin-0.4.2 Apt / yum like tool for managing pkgsrc binary packages
png-1.5.1 Library for manipulating PNG images
policykit-0.9nb7 Framework for managing admin policies and privileges
policykit-gnome-0.9.2nb5 GNOME dialogs for PolicyKit
poppler-0.16.3 PDF rendering library
poppler-glib-0.16.3 PDF rendering library (GLib wrapper)
poppler-qt-0.16.3nb1 PDF rendering library (QT wrapper)
poppler-utils-0.16.3 PDF utilities (from poppler)
popt-1.16 Command line option parsing library
pulseaudio-0.9.21nb7 Sound server for POSIX and Win32 systems
py26-ORBit-2.24.0 Python bindings for ORBit2
py26-cElementTree-0 C implementation of Python ElementTree API
py26-cairo-1.8.10nb1 Python bindings for cairo
py26-dbus-0.83.1 Python bindings for the D-BUS message bus system
py26-expat-0nb4 Python interface to expat
py26-gnome-menus-2.30.5 Python bindings for gnome-menus
py26-gnome2-2.28.1nb4 Python binding for GNOME2
py26-gnome2-desktop-2.32.0nb1 Python modules for the GNOME desktop
py26-gobject-2.26.0nb2 Python bindings for glib2 gobject
py26-gstreamer0.10-0.10.21 Python bindings for gstreamer0.10
py26-gtk2-2.22.0nb2 Python bindings for GTK+2
py26-libxml2-2.7.8 Python wrapper for libxml2
py26-libxslt-1.1.26 Python wrapper for libxslt
py26-numpy-1.4.1 Array processing for numbers, strings, records, and objects
py26-pyrex-0.9.9 Language for Writing Python Extension Modules
python26-2.6.6nb7 Interpreted, interactive, object-oriented programming language
qt3-libs-3.3.8nb17 C++ X GUI toolkit
qt4-libs-4.7.2nb1 C++ X GUI toolkit
qt4-qdbus-4.7.2 QT DBus support
rarian-0.8.1 Documentation metadata library
readline-6.2 GNU library that can recall and edit previous input
sane-backends-1.0.21nb1 API for access to scanners, digital cameras, frame grabbers etc.
scrollkeeper-dtd-1.0 DTD from the Scrollkeeper package
shared-mime-info-0.90 Core database of common types
speex-1.2rc1nb1 Open-source, patent-free voice codec
sqlite3-3.7.5 SQL Database Engine in a C Library
startup-notification-0.10 X11 application startup notification library
suse32_base-10.0nb5 Linux 32-bit compatibility package
suse32_compat-10.0nb3 Linux 32-bit compatibility package with old shared libraries
suse32_libjpeg-10.0nb2 Linux 32-bit compatibility package for JPEG
suse32_x11-10.0nb4 Linux 32-bit compatibility package for X11
system-tools-backends-2.6.1nb1 DBus interface for system configuration
telepathy-farsight-0.0.15 Library for the telepathy part of a voice/video call
telepathy-glib-0.12.7 GObject-based C binding for the Telepathy D-Bus API
tex-graphics-1.0onb1 Standard LaTeX graphics
tex-pdftex-def-0.05d Color and graphics support for PDFTeX
tex-tools-2010 The LaTeX standard tools bundle
tiff-3.9.4nb3 Library and tools for reading and writing TIFF data files
totem-pl-parser-2.32.3 totem playlist parser
unzip-6.0 List, test and extract compressed files in a ZIP archive
usbids-20081118 Repository of USB IDs (usb.ids database)
vte-0.26.2nb1 Terminal widget with improved accessibility and I18N support
w3m-img-0.5.3 Multilingualized version of a pager/text-based browser w3m with inline image support
webkit-gtk-1.2.7nb1 GTK2 port of the WebKit browser engine
xcb-util-0.3.6 XCB Utilities
xmlcatmgr-2.2nb1 XML and SGML catalog manager
xmms-1.2.11 X Multimedia System - an audio player with a Winamp GUI
xulrunner-1.9.2.16 XML User Interface Language runtime environment
zenity-2.32.1nb1 Display GNOME dialogs from the command line
zip-3.0nb2 Create/update ZIP files compatible with pkzip
zonetab-0 zone.tab file
new-host$

Then i show the ./configure
new-host$ uname -a
NetBSD new-host 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov 6 13:19:33 UTC 2010 <email address hidden>:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
new-host$ pwd
/home/gui/hplip-3.11.5
new-host$ ls
COPYING faxsetup.py missing
Makefile.am firmware.py pcard
Makefile.in foomatic_drv.inc pkservice.py
__init__.py hpdio.py plugin.py
aclocal.m4 hplip-install plugins
align.py hplip-systray.desktop.in ppd
base hplip.conf.in pqdiag.py
check.py hplip.desktop.in print.py
clean.py hplip.list.in printsettings.py
colorcal.py hplip.state prnt
config.guess hpssd.py probe.py
config.log info.py query.py
config.sub init-iptables-firewall scan
configure init-suse-firewall scan.py
configure.in install-sh sendfax.py
copier install.py setup.py
copyright installer systray.py
cups_drv.inc io testpage.py
dat2drv.py ip timedate.py
data levels.py toolbox.py
depcomp libtool ui
devicesettings.py linefeedcal.py ui4
doc ltmain.sh unload.py
fab.py makecopies.py unreleased.inc
fax makeuri.py wificonfig.py

new-host$ ./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-dbus-build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-netbsd5.1
checking host system type... x86_64-unknown-netbsd5.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"
new-host$

You can see the last line "cannot find libjpeg support"
Thank. Gui4gui

Revision history for this message
gui4gui (gui4gui48) said :
#7

For information i configure with --libdir=/usr/lib because on my Netbsd 5.1 i haven't /usr/lib64 and the result is the same that is :

new-host$ pwd
/usr
new-host$ ls
X11R6 bin include libdata lkm pkg sbin tests
X11R7 games lib libexec mdec pkgsrc share
new-host$ cd lib
new-host$ ls
crt0.o libiscsi_pic.a librumpfs_ext2fs.so.0
crtbegin.o libjpeg.so.6 librumpfs_ext2fs.so.0.0
crtbeginS.o libjpeg.so.6.0.1 librumpfs_ext2fs_p.a
crtbeginT.o libjpeg.so.62 librumpfs_ext2fs_pic.a
crtend.o libjpeg.so.62.0.0 librumpfs_ffs.a
crtendS.o libkadm5clnt.a librumpfs_ffs.so
crti.o libkadm5clnt.so librumpfs_ffs.so.0
crtn.o libkadm5clnt.so.10 librumpfs_ffs.so.0.0
gcrt0.o libkadm5clnt.so.10.0 librumpfs_ffs_p.a
i18n libkadm5clnt_p.a librumpfs_ffs_pic.a
i386 libkadm5clnt_pic.a librumpfs_hfs.a
libamu.so.3 libkadm5srv.a librumpfs_hfs.so
libamu.so.3.0 libkadm5srv.so librumpfs_hfs.so.0
libarchive.a libkadm5srv.so.11 librumpfs_hfs.so.0.0
libarchive.so libkadm5srv.so.11.0 librumpfs_hfs_p.a
libarchive.so.2 libkadm5srv_p.a librumpfs_hfs_pic.a
libarchive.so.2.1 libkadm5srv_pic.a librumpfs_lfs.a
libarchive_p.a libkafs.a librumpfs_lfs.so
libarchive_pic.a libkafs.so librumpfs_lfs.so.0
libasn1.a libkafs.so.9 librumpfs_lfs.so.0.0
libasn1.so libkafs.so.9.0 librumpfs_lfs_p.a
libasn1.so.7 libkafs_p.a librumpfs_lfs_pic.a
libasn1.so.7.0 libkafs_pic.a librumpfs_msdos.a
libasn1_p.a libkrb5.a librumpfs_msdos.so
libasn1_pic.a libkrb5.so librumpfs_msdos.so.0
libatf-c++.a libkrb5.so.22 librumpfs_msdos.so.0.0
libatf-c++_p.a libkrb5.so.22.0 librumpfs_msdos_p.a
libatf-c++_pic.a libkrb5_p.a librumpfs_msdos_pic.a
libatf-c.a libkrb5_pic.a librumpfs_nfs.a
libatf-c_p.a libkvm.a librumpfs_nfs.so
libatf-c_pic.a libkvm.so librumpfs_nfs.so.0
libbfd.so.9 libkvm.so.5 librumpfs_nfs.so.0.0
libbfd.so.9.0 libkvm.so.5.3 librumpfs_nfs_p.a
libbind9.a libkvm_p.a librumpfs_nfs_pic.a
libbind9.so libkvm_pic.a librumpfs_ntfs.a
libbind9.so.1 libl.a librumpfs_ntfs.so
libbind9.so.1.1 libl_p.a librumpfs_ntfs.so.0
libbind9_p.a liblber.a librumpfs_ntfs.so.0.0
libbind9_pic.a liblber.so librumpfs_ntfs_p.a
libbluetooth.a liblber.so.2 librumpfs_ntfs_pic.a
libbluetooth.so liblber.so.2.5 librumpfs_syspuffs.a
libbluetooth.so.3 liblber_p.a librumpfs_syspuffs.so
libbluetooth.so.3.0 liblber_pic.a librumpfs_syspuffs.so.0
libbluetooth_p.a libldap.a librumpfs_syspuffs.so.0.0
libbluetooth_pic.a libldap.so librumpfs_syspuffs_p.a
libbsdmalloc.a libldap.so.2 librumpfs_syspuffs_pic.a
libbsdmalloc.so libldap.so.2.5 librumpfs_sysvbfs.a
libbsdmalloc.so.0 libldap_p.a librumpfs_sysvbfs.so
libbsdmalloc.so.0.0 libldap_pic.a librumpfs_sysvbfs.so.0
libbsdmalloc_p.a libldap_r.a librumpfs_sysvbfs.so.0.0
libbsdmalloc_pic.a libldap_r.so librumpfs_sysvbfs_p.a
libbz2.a libldap_r.so.2 librumpfs_sysvbfs_pic.a
libbz2.so libldap_r.so.2.5 librumpfs_tmpfs.a
libbz2.so.1 libldap_r_p.a librumpfs_tmpfs.so
libbz2.so.1.1 libldap_r_pic.a librumpfs_tmpfs.so.0
libbz2_p.a liblwres.a librumpfs_tmpfs.so.0.0
libbz2_pic.a liblwres.so librumpfs_tmpfs_p.a
libc.a liblwres.so.1 librumpfs_tmpfs_pic.a
libc.so liblwres.so.1.1 librumpfs_udf.a
libc.so.12 liblwres_p.a librumpfs_udf.so
libc.so.12.164 liblwres_pic.a librumpfs_udf.so.0
libc_p.a libm.a librumpfs_udf.so.0.0
libc_pic.a libm.so librumpfs_udf_p.a
libcom_err.a libm.so.0 librumpfs_udf_pic.a
libcom_err.so libm.so.0.7 librumpfs_ufs.a
libcom_err.so.5 libm_p.a librumpfs_ufs.so
libcom_err.so.5.0 libm_pic.a librumpfs_ufs.so.0
libcom_err_p.a libmagic.a librumpfs_ufs.so.0.0
libcom_err_pic.a libmagic.so librumpfs_ufs_p.a
libcompat.a libmagic.so.1 librumpfs_ufs_pic.a
libcompat_p.a libmagic.so.1.0 librumpnet.a
libcompat_pic.a libmagic_p.a librumpnet.so
libcrypt.a libmagic_pic.a librumpnet.so.0
libcrypt.so libmenu.a librumpnet.so.0.0
libcrypt.so.0 libmenu.so librumpnet_net.a
libcrypt.so.0.2 libmenu.so.5 librumpnet_net.so
libcrypt_p.a libmenu.so.5.0 librumpnet_net.so.0
libcrypt_pic.a libmenu_p.a librumpnet_net.so.0.0
libcrypto.a libmenu_pic.a librumpnet_net_p.a
libcrypto.so libobjc.a librumpnet_net_pic.a
libcrypto.so.4 libobjc.so librumpnet_netinet.a
libcrypto.so.4.2 libobjc.so.2 librumpnet_netinet.so
libcrypto_p.a libobjc.so.2.1 librumpnet_netinet.so.0
libcrypto_pic.a libobjc_p.a librumpnet_netinet.so.0.0
libcurses.a libobjc_pic.a librumpnet_netinet_p.a
libcurses.so libopcodes.so.2 librumpnet_netinet_pic.a
libcurses.so.6 libopcodes.so.2.0 librumpnet_p.a
libcurses.so.6.4 libossaudio.a librumpnet_pic.a
libcurses_p.a libossaudio.so librumpnet_sockin.a
libcurses_pic.a libossaudio.so.0 librumpnet_sockin.so
libdes.a libossaudio.so.0.0 librumpnet_sockin.so.0
libdes.so libossaudio_p.a librumpnet_sockin.so.0.0
libdes.so.7 libossaudio_pic.a librumpnet_sockin_p.a
libdes.so.7.0 libp2k.a librumpnet_sockin_pic.a
libdes_p.a libp2k.so librumpnet_virtif.a
libdes_pic.a libp2k.so.0 librumpnet_virtif.so
libdns.a libp2k.so.0.0 librumpnet_virtif.so.0
libdns.so libp2k_p.a librumpnet_virtif.so.0.0
libdns.so.1 libp2k_pic.a librumpnet_virtif_p.a
libdns.so.1.2 libpam.a librumpnet_virtif_pic.a
libdns_p.a libpam.so librumpuser.a
libdns_pic.a libpam.so.1 librumpuser.so
libedit.a libpam.so.1.0 librumpuser.so.0
libedit.so libpam_pic.a librumpuser.so.0.0
libedit.so.2 libpcap.a librumpuser_p.a
libedit.so.2.11 libpcap.so librumpuser_pic.a
libedit_p.a libpcap.so.2 libsdp.a
libedit_pic.a libpcap.so.2.0 libsdp.so
libevent.a libpcap_p.a libsdp.so.2
libevent.so libpcap_pic.a libsdp.so.2.0
libevent.so.2 libpci.a libsdp_p.a
libevent.so.2.1 libpci.so libsdp_pic.a
libevent_p.a libpci.so.1 libskey.a
libevent_pic.a libpci.so.1.0 libskey.so
libfetch.a libpci_p.a libskey.so.1
libfetch.so libpci_pic.a libskey.so.1.0
libfetch.so.1 libposix.a libskey_p.a
libfetch.so.1.0 libposix.so libskey_pic.a
libfetch_p.a libposix.so.0 libsl.a
libfetch_pic.a libposix.so.0.1 libsl.so
libfl.a libposix_p.a libsl.so.3
libfl_p.a libposix_pic.a libsl.so.3.0
libform.a libprop.a libsl_p.a
libform.so libprop.so libsl_pic.a
libform.so.5 libprop.so.0 libss.a
libform.so.5.0 libprop.so.0.7 libss.so
libform_p.a libprop_p.a libss.so.5
libform_pic.a libprop_pic.a libss.so.5.0
libgcc.a libpthread.a libss_p.a
libgcc_eh.a libpthread.so libss_pic.a
libgcc_eh_p.a libpthread.so.0 libssh.a
libgcc_eh_pic.a libpthread.so.0.10 libssh.so
libgcc_p.a libpthread_dbg.a libssh.so.10
libgcc_pic.a libpthread_dbg.so libssh.so.10.0
libgcc_s.so libpthread_dbg.so.1 libssh_p.a
libgcc_s.so.1 libpthread_dbg.so.1.0 libssh_pic.a
libgcc_s.so.1.0 libpthread_dbg_p.a libssl.a
libgcov.a libpthread_dbg_pic.a libssl.so
libgnumalloc.a libpthread_p.a libssl.so.6
libgnumalloc.so libpthread_pic.a libssl.so.6.0
libgnumalloc.so.0 libpuffs.a libssl_p.a
libgnumalloc.so.0.0 libpuffs.so libssl_pic.a
libgnumalloc_p.a libpuffs.so.0 libstdc++.a
libgnumalloc_pic.a libpuffs.so.0.1 libstdc++.so
libgssapi.a libpuffs_p.a libstdc++.so.6
libgssapi.so libpuffs_pic.a libstdc++.so.6.0
libgssapi.so.7 libradius.a libstdc++_p.a
libgssapi.so.7.0 libradius.so libstdc++_pic.a
libgssapi_p.a libradius.so.2 libsupc++.a
libgssapi_pic.a libradius.so.2.0 libtermcap.a
libhdb.a libradius_p.a libtermcap.so
libhdb.so libradius_pic.a libtermcap.so.0
libhdb.so.11 librefuse.a libtermcap.so.0.6
libhdb.so.11.0 librefuse.so libtermcap_p.a
libhdb_p.a librefuse.so.0 libtermcap_pic.a
libhdb_pic.a librefuse.so.0.0 libtermlib.a
libheimntlm.a librefuse_p.a libtermlib.so
libheimntlm.so librefuse_pic.a libtermlib.so.0
libheimntlm.so.1 libresolv.a libtermlib.so.0.6
libheimntlm.so.1.0 libresolv.so libtermlib_p.a
libheimntlm_p.a libresolv.so.1 libtermlib_pic.a
libheimntlm_pic.a libresolv.so.1.1 libukfs.a
libhx509.a libresolv_p.a libukfs.so
libhx509.so libresolv_pic.a libukfs.so.0
libhx509.so.2 librmt.a libukfs.so.0.0
libhx509.so.2.0 libroken.a libukfs_p.a
libhx509_p.a libroken.so libukfs_pic.a
libhx509_pic.a libroken.so.13 libusbhid.a
libintl.a libroken.so.13.0 libusbhid.so
libintl.so libroken_p.a libusbhid.so.1
libintl.so.0 libroken_pic.a libusbhid.so.1.0
libintl.so.0.0 librpcsvc.a libusbhid_p.a
libintl_p.a librpcsvc.so libusbhid_pic.a
libintl_pic.a librpcsvc.so.0 libutil.a
libipsec.a librpcsvc.so.0.0 libutil.so
libipsec.so librpcsvc_p.a libutil.so.7
libipsec.so.2 librpcsvc_pic.a libutil.so.7.15
libipsec.so.2.2 librt.a libutil_p.a
libipsec_p.a librt.so libutil_pic.a
libipsec_pic.a librt.so.0 libwrap.a
libisc.a librt.so.0.0 libwrap.so
libisc.so librt_p.a libwrap.so.0
libisc.so.1 librt_pic.a libwrap.so.0.2
libisc.so.1.2 librump.a libwrap_p.a
libisc_p.a librump.so libwrap_pic.a
libisc_pic.a librump.so.0 libx86_64.a
libisccc.a librump.so.0.0 libx86_64.so
libisccc.so librump_p.a libx86_64.so.0
libisccc.so.1 librump_pic.a libx86_64.so.0.0
libisccc.so.1.1 librumpfs_cd9660.a libx86_64_p.a
libisccc_p.a librumpfs_cd9660.so libx86_64_pic.a
libisccc_pic.a librumpfs_cd9660.so.0 liby.a
libisccfg.a librumpfs_cd9660.so.0.0 liby_p.a
libisccfg.so librumpfs_cd9660_p.a libz.a
libisccfg.so.1 librumpfs_cd9660_pic.a libz.so
libisccfg.so.1.1 librumpfs_efs.a libz.so.1
libisccfg_p.a librumpfs_efs.so libz.so.1.0
libisccfg_pic.a librumpfs_efs.so.0 libz_p.a
libiscsi.a librumpfs_efs.so.0.0 libz_pic.a
libiscsi.so librumpfs_efs_p.a pkgconfig
libiscsi.so.0 librumpfs_efs_pic.a security
libiscsi.so.0.0 librumpfs_ext2fs.a
libiscsi_p.a librumpfs_ext2fs.so
new-host$
new-host$ ./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-netbsd5.1
checking host system type... x86_64-unknown-netbsd5.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"
new-host$ ./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-netbsd5.1
checking host system type... x86_64-unknown-netbsd5.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"
new-host$
It is very strange because it seem that the problem not come from libraries Netbsd or Linux because configure with /usr/lib64 or /usr/lib don't change the problem.
Gui4gui.

Revision history for this message
goutam kodu (goutam-hplip) said :
#8

Hi,

Please install libjpeg62-dev package.

Let us know on the same.

Thanks,
Goutam Kodu

Revision history for this message
gui4gui (gui4gui48) said :
#9

For more information i show you all my libjpeg* libraries that is :
new-host# find /usr -name libjp*
/usr/lib/libjpeg.so.6
/usr/lib/libjpeg.so.6.0.1
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/pkg/share/doc/jpeg/libjpeg.txt
/usr/pkg/lib/libjpeg.la
/usr/pkg/lib/libjpeg.a
/usr/pkg/lib/libjpeg.so
/usr/pkg/lib/libjpeg.so.8
/usr/pkg/lib/libjpeg.so.8.3.0
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.62
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.62.0.0
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.6
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.6.0.1

Then i configure with --libdir=/usr/pkg/lib that is:
new-host$ ./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/pkg/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-netbsd5.1
checking host system type... x86_64-unknown-netbsd5.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"
new-host$
Always the same problem. I think the problem come from the script configure.

Revision history for this message
gui4gui (gui4gui48) said :
#10

I sorry for my stupid question but it seem to be complicate for me to install libjpeg62-dev package on Netbsd because this package is built for linux. If necessary i can use the emulation linux on Netbsd. But it is a very different solution. I can necessary choose this one if ./configure of hplip for freebsd have no solution and so don't work.
Gui4gui.

Revision history for this message
gui4gui (gui4gui48) said :
#11

For more information i find libjpeg.so.62 and it seem to possible be the libjpeg62-dev but ./configure send the same message "cannot find libjpeg support"
new-host# find /usr -name libjp*
/usr/lib/libjpeg.so.6
/usr/lib/libjpeg.so.6.0.1
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/pkg/share/doc/jpeg/libjpeg.txt
/usr/pkg/lib/libjpeg.la
/usr/pkg/lib/libjpeg.a
/usr/pkg/lib/libjpeg.so
/usr/pkg/lib/libjpeg.so.8
/usr/pkg/lib/libjpeg.so.8.3.0
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.62
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.62.0.0
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.6
/usr/pkg/emul/linux32/usr/lib/libjpeg.so.6.0.1
/usr/pkg/emul/linux/usr/lib64/libjpeg.so.62
/usr/pkg/emul/linux/usr/lib64/libjpeg.so.62.0.0
/usr/pkgsrc/distfiles/libjpeg-turbo-1.0.1.tar.gz

new-host$ ./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-netbsd5.1
checking host system type... x86_64-unknown-netbsd5.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"
new-host$

Gui4gui.

Revision history for this message
goutam kodu (goutam-hplip) said :
#12

Hi,

Need little info.

Please can you copy this program and save it with name conftest.c
------------------------------------------------------------------------------------------------------------------------------
 /* confdefs.h. */
#define PACKAGE_NAME "HP Linux Imaging and Printing"
#define PACKAGE_TARNAME "hplip"
#define PACKAGE_VERSION "3.11.5"
#define PACKAGE_STRING "HP Linux Imaging and Printing 3.11.5"
#define PACKAGE_BUGREPORT "3.11.5"
#define PACKAGE "hplip"
#define VERSION "3.11.5"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
/* end confdefs.h. */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char jpeg_set_defaults ();
int
main ()
{
return jpeg_set_defaults ();
  ;
  return 0;
}
----------------------------------------------------------------------------------------------------------------------------------------------

Compile this program using the command:
$gcc -o conftest -g -O2 conftest.c -ljpeg

Let me know if it compiles without error.

Just wanted to check on why gcc is not able to resolve -ljpeg option even when libjpeg.so.62 i present in /usr/lib dir.

If the compilation fails try this,
gcc -o conftest -g -O2 conftest.c /usr/lib/libjpeg..so.62

Let know if it passes.

Sorry for having you to do so much of work

Thanks & Regards,
Goutam Kodu

Revision history for this message
gui4gui (gui4gui48) said :
#13

I sorry for late answer. Don't worry about "work" when you have Netbsd it means that you want to learn and so be patience. I show you what you said to me and it very instructive (but i don't know how to resolve the problem). Here the result :
new-host-2$ gcc -o conftest -g -O2 conftest.c -ljpeg
ld: cannot find -ljpeg
new-host-2$ gcc -o conftest -g -O2 conftest.c /usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62: could not read symbols: File in wrong format
new-host-2$
For information i try to configure on FreeBSD 8.2 amd64 and the result is the same than Netbsd (on Freebsd i configure with libjpeg.a ligjpeg.la libjeg.so lijped.so.11; if necessary i give more information but i think we need to focus to Netbsd ...)
Thanks. Gui4gui

Revision history for this message
gui4gui (gui4gui48) said :
#14

For information i have a look on freebsd 8.2 to install hplip. Here is the result :
$ uname -a
FreeBSD new-host-2.home 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 <email address hidden>:/usr/obj/usr/src/sys/GENERIC amd64
$ find /usr -name libjpeg*
/usr/local/share/doc/jpeg/libjpeg.txt
find: /usr/local/etc/polkit-1: Permission denied
find: /usr/local/etc/gdm/home: Permission denied
/usr/local/lib/libjpeg.a
/usr/local/lib/libjpeg.la
/usr/local/lib/libjpeg.so
/usr/local/lib/libjpeg.so.11
$ pwd
/usr/home/gui/hplip-3.11.5
$ ./configure --libdir=/usr/local/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-freebsd8.2
checking host system type... x86_64-unknown-freebsd8.2
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.2 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support

$ gcc -o conftest -g -O2 conftest.c -ljpeg
/usr/bin/ld: cannot find -ljpeg
$ gcc -o conftest -g -O2 conftest.c /usr/local/lib/libjpeg.so.11
$
As you can see there are no error with the last line.
I install the port hplip from freebsd which work perfectly. I show you.

new-host-2# pkg_add -r hplip
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/Latest/hplip.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/mpage-2.5.6.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/enscript-a4-1.6.4_3.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-doc-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/kdehier4-1.0.6.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/a2ps-a4-4.13b_4.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/libmng-1.0.10_2.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/xdg-utils-1.0.2_5.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/py26-sip-4.11.2,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-corelib-4.7.1.tbz... Done.

=====================================================================

Qt 4 can be built with optional support for:
 - Common UNIX Printing System (CUPS)
 - Network Audio System (NAS)
 - Qt style that renders using GTK (QGTKSTYLE)

In order to enable them, you have to add
 QT4_OPTIONS= CUPS NAS QGTKSTYLE
to your /etc/make.conf and compile devel/qt4-corelib and
x11-toolkits/qt4-gui ports.

Attention! Whenever you change the QT4_OPTIONS both
devel/qt4-corelib and x11-toolkits/qt4-gui ports must be rebuilt!

=====================================================================

Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-clucene-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-sql-4.7.1.tbz... Done.

*******************************************************************************

 To enable QT's database support, install the database plugin ports.
 The following plugin ports are available:

  IBase/Firebird - databases/qt4-ibase-plugin
  MySQL - databases/qt4-mysql-plugin
  ODBC - databases/qt4-odbc-plugin
  PostgreSQL - databases/qt4-pgsql-plugin
  SQLite - databases/qt4-sqlite-plugin

*******************************************************************************

Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-sqlite-plugin-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-script-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-network-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-xmlpatterns-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-xml-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-gui-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-inputmethods-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-svg-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-iconengines-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-imageformats-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-help-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-qt3support-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-scripttools-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-opengl-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-declarative-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-dbus-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-qtestlib-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/phonon-4.4.2.tbz... Done.

Please consider to install backends for phonon:
- Xine backend (multimedia/phonon-xine) and/or
- Gstreamer backend (multimedia/phonon-gstreamer)

Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/phonon-gstreamer-4.4.2.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-webkit-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-assistant-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qt4-designer-4.7.1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/qscintilla2-2.4.5,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/py26-qt4-core-4.8.1,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/py26-qt4-gui-4.8.1,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/py26-qt4-dbus-4.8.1,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/foomatic-filters-4.0.1_5.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/cups-pstoraster-8.15.4_6.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/cups-base-1.4.6.tbz... Done.

======================================================================

To enable printing with local printer you need to give group 'cups'
r/w access to printer device:

1) Add following to /etc/devfs.rules (create if it doesn't exist):

[system=10]
# FreeBSD 7.x
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
# FreeBSD 8.x
add path 'usb*' mode 0770 group cups
add path 'ugen*' mode 0660 group cups

2) And following to /etc/rc.conf:

devfs_system_ruleset="system"

3) Restart devfs: /etc/rc.d/devfs restart

If your system supports 'devd' you can copy
$PREFIX/share/examples/cups/ulpt-cupsd.conf to $PREFIX/etc/devd/

To enable printing under Gimp and MS-Windows clients do the following:

1) Uncomment application/octet-stream line in mime.types
2) Uncomment application/octet-stream line in mime.convs
3) Restart cupsd

If you are using libusb, it is important that no device driver, e.g.
ulpt(4) is attached to the device you wish to use. In this case please
ensure the cups user and group has read/write access to /dev/ugen*

If you are using a USB printer wtih FreeBSD 8.0 or later, you will
need to find the proper /dev/usb/* device pointed at by the /dev/ugen*
entry. Follow the instructions for devfs.rules as above, but append a
rule similar to the following for a printer attached as /dev/ugen0.2:

add path 'usb/0.2.*' mode 0660 group cups
======================================================================

=====================================================================

HPLIP expects printers to be attached as a ugen(4) devices. This
means that you must NOT have "device ulpt" in your kernel and ulpt
must NOT be loaded as a kernel module (you may also want to compile
print/cups-base with LIBUSB support). Please, follow the instructions
from print/cups-base pkg-message to setup correct permission for
usb devices.

In order to enable full functionality of hp tools, users must be
added to group `cups'.

=====================================================================

new-host-2#
I hope it will help you.
Thanks. Gui4gui.

Revision history for this message
goutam kodu (goutam-hplip) said :
#15

Hi ,

That was a lot of information. Many thanks. Have worked much on Linux systems and very little on BSD. Thanks for letting me know more. In my previous post i was trying to know why in NetBSD the configuration fails at cannot find libjpeg supported, even when there are libjpeg library files present in /usr/lib/ . So the reason asked you to compile the program conftest.c (which is what run in the ./configure script to check the libjpeg support) in two ways. One, giving the flag -ljpeg to gcc and second, giving the path of the libjpeg library file. But both fails in NetBSD. Iam little bit lost there . But the second case of compilation works fine in FreeBSD.

Sorry that i could not dig much into the problem.

Are you able to work perfectly fine by installing the port hplip from freebsd ?

Many thanks again.

Regards,
Goutam Kodu

Revision history for this message
gui4gui (gui4gui48) said :
#16

Hi i install hplip on Freebsd and my hp 2055d works and prints everything. But i want to persevere in using hplip on Netbsd. I think the solution should be not so difficult because Freebsd is nearly the same OS. I need a little help from somebody who know BSD. Can you help me in giving some mail or irc ... Moreover, i think that a Freebsd user (or Netbsd) who install hplip by configure which don't work, there is something wrong. The problem must be solved (for example configure with /usr/lib64 on BSD seems to be wrong because /usr/lib64 is absent on the OS ...)
To finish, i try to install ppd of my hp 2055d with cups on Netbsd and nothing happens when i print test page. I going to try hpijs because there is a package for Netbsd ...
So i need some help.
Thanks. Gui4gui.

Revision history for this message
gui4gui (gui4gui48) said :
#17

For information hplip for Netbsd on http://pkgsrc.se/wip/hplip3 but when i configure i have the same error message (configure: error: "cannot find libjpeg support"). I am to see contact the maintainer and the team Netbsd ,,, If you have some ideas i take ...
Thanks. Gui4gui.

Revision history for this message
Grégoire Sutre (gregoire-sutre) said :
#18

Hi. The pkgsrc-wip hplip3 package builds fine here (fresh NetBSD 5 amd64 install, running in VirtualBox). Could you please send the output of `make' run in the package's directory (presumably /usr/pkgsrc/wip/hplip3)?

Grégoire

Revision history for this message
gui4gui (gui4gui48) said :
#19

Ok pkgsrc-wip hplip3 works fine.