Solved [SOLVED] hplip does not have any printers

After I installed CUPS and registered the JetDirect printer it found on the LAN, hplip still did not have any printers and hp-setup did not allow me to switch from USB to network device search (everything but USB was greyed out). I decided to build hplip from ports and ended up with this:

Code:
gmake[9]: Entering directory `/usr/ports/graphics/gimp-app/work/gimp-2.8.10/plug-ins/help-browser'
  CCLD     help-browser
/usr/bin/ld: warning: libicui18n.so.50, needed by /usr/local/lib/libwebkitgtk-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.50, needed by /usr/local/lib/libwebkitgtk-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.50, needed by /usr/local/lib/libwebkitgtk-1.0.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uset_addAll_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_setSubstChars_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_totitle_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ublock_getCode_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_next_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_countAliases_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_last_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucol_setStrength_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uset_addRange_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_getMatchedLength_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `unorm_quickCheck_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `ucol_getAttribute_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uset_contains_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_setText_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_cbFromUWriteBytes_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_close_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_charDirection_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `udat_close_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_toupper_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_reset_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_open_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_countAvailable_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `u_strFoldCase_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_next_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_current_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `UCNV_FROM_U_CALLBACK_SUBSTITUTE_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uset_add_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_setToUCallBack_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_cbFromUWriteUChars_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_setFromUCallBack_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uset_close_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_following_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_foldCase_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uidna_IDNToASCII_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_getStandardName_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_setPattern_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_setOffset_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `ucol_setAttribute_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `udat_open_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `udat_format_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucol_getStrength_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_fromUnicode_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_open_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `ucol_getLocaleByType_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_getIntPropertyValue_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_charMirror_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_ispunct_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_previous_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `ucol_close_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_setFallback_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_charType_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `UCNV_FROM_U_CALLBACK_ESCAPE_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `uset_openPattern_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_memcasecmp_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_toUnicode_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_getCombiningClass_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `ucol_strcoll_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_isBoundary_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_close_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `UCNV_TO_U_CALLBACK_SUBSTITUTE_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_getAlias_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_getName_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `ucol_open_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_isprint_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_setText_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `unorm_normalize_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_open_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_isalnum_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_openRules_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_first_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ucnv_getAvailableName_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `u_strToLower_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `ubrk_preceding_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `u_tolower_50'
/usr/local/lib/libjavascriptcoregtk-1.0.so: undefined reference to `u_strToUpper_50'
/usr/local/lib/libwebkitgtk-1.0.so: undefined reference to `usearch_getCollator_50'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[9]: *** [help-browser] Error 1
gmake[9]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.8.10/plug-ins/help-browser'
gmake[8]: *** [all-recursive] Error 1
gmake[8]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.8.10/plug-ins'
gmake[7]: *** [all-recursive] Error 1
gmake[7]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.8.10'
gmake[6]: *** [all] Error 2
gmake[6]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.8.10'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/graphics/gimp-app
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/graphics/gimp-app
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/graphics/xsane
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/xsane
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/hplip
*** Error code 1

Stop.
make: stopped in /usr/ports/print/hplip

root@lion-bsd:/usr/ports/print/hplip #  
root@lion-bsd:/ # less /var/log/Xorg.0.lo
/var/log/Xorg.0.lo: No such file or directory

Tried to install GIMP with pkg, but it did not help. Not sure why gimp is required, maybe I selected it in one of the menus along the way, but I can't seem to find a way to bring up the selection where it was turned on.
 
Re: hplip does not have any printers - cannot rebuild hplip

Ok. How do I un-select that selection? There is no more blue screen with choices appearing when I do make install clean.
 
Re: hplip does not have any printers - cannot rebuild hplip

Sorry, should have included that in my previous post.
Code:
cd /usr/ports/print/hplip
make config
This will pop up the config menu allowing you to make changes. Then do your make install clean. Have you considered using ports-mgmt/portmaster for installing ports?
 
Re: hplip does not have any printers - cannot rebuild hplip

That solves it. I probably will consider using portmaster, but I am only few days into playing with FreeBSD and amount of information is overwhelming.
 
Re: hplip does not have any printers - cannot rebuild hplip

user00 said:
That solves it. I probably will consider using portmaster, but I am only few days into playing with FreeBSD and amount of information is overwhelming.
So is the original problem resolved as well?
 
Re: hplip does not have any printers - cannot rebuild hplip

Yes! The rebuilt hplip had network printers enabled and found the printer. Then I simply deleted the one that was added thru the CUPS.
I could not send a test page from hplip though. Not sure why. Cups test page printed fine.
 
Back
Top