last updated: Oct 16th, 2011
As promised here are the complete instructions as I have found them online and pieced together to properly install an HP Deskjet in Linux/Ubuntu 10.10 x64. As I mentioned before I did not do this originally and it seemed to work, but then [...]
last updated: Oct 16th, 2011
As promised here are the complete instructions as I have found them online and pieced together to properly install an HP Deskjet in Linux/Ubuntu 10.10 x64. As I mentioned before I did not do this originally and it seemed to work, but then later I started having issues. So here they are, all in one place, in order, complete with reference links to the sources (most are to the HPLIP open source website), these instructions are for you to build from the source files, not from a precompiled binary.
If you want the automated method, the HPLIP website has a great guide that has screen shots on using their binary package to do the install.
****update**** I have run through these instructions again and there is a new HPLIP driver, after installing this some of the wording has changed, if you use this new version and some things look different, don’t worry. I also noticed after following these instructions with the new versions of everything (Ubuntu 11.10 x64 also) that I ended up with two printers! one from HPLIP and another from CUPS… I only figured out it was one from each, as I set the description different when configuring each one! So you may want to test printing before you do the CUPS configuration section and see if it is necessary for you.
On we go!
Once again, anything in BOLD you can copy and paste directly into a terminal window, this is a standard method I use on all my guides.
Part One
– updating your system and downloading dependencies and the HPLIP source – information borrowed from here- ***** PLEASE PLEASE PLEASE ***** unplug the printer’s USB cable from the computer! (or ethernet cable if that is how you are using it).
- If you have not already, now would be a good time to setup your printer and power it on (but don’t plug it in to the computer).
- Open up a terminal window.
- sudo apt-get update && sudo apt-get check && sudo apt-get dselect-upgrade
- This will update your system and check for any missing dependencies you might have already.
- sudo apt-get remove hplip hpijs
- This will remove any existing HPLIP installation, prevent errors or other issues while installing, and make sure you end up with a shiny clean install. Also handy if you are trying to fix a botched install…
sudo apt-get install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg62-dev libsnmp-dev libtool libusb-dev python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab libsane libsane-dev sane-utils xsane gs python2.6-dev gcc lsb postfix libcups2-dev- This did popup a window asking me about email settings, I selected no change, or no connection.
- This is the list of dependencies that I have found are required and some optional requirements for HPLIP. Please make sure they all install, if any fail, do a “sudo apt-get install –force-yes [package name]” to try and get them to install.
- mkdir ~/build-loc
- If you have not used any of my previous how to guides (not all of them use this), you may not have this DIR created on your machine, this is where I do all my source builds. it may not be the best place for you, depending on your FileSystem setup, I have separate mounts for documents, pictures, music, video, downloads, and a fairly large home directory. If you have limited space in your home directory you may want to put this somewhere else, or if you intend to follow this or any other guide I write, you might want to do a mount redirect to this location, so the data is on a different FS, but the DIR is in the same place. leave a comment if you need help with this, also, I believe I cover this in my Appcelerator guides near the beginning if you want to look there.
- cd ~/build-loc
- wget http://voxel.dl.sourceforge.net/project/hplip/hplip/3.11.10/hplip-3.11.10.tar.gz
- The good news is this will download the most recent release of HPLIP as of this writing, the bad news is that the HPLIP website does not have a direct link to the “newest” so, when they update this project this link will then be out of date, and I probably won’t know about it.
The version used in this guide was posted on Fri, 13 May 2011 03:32:54 GMT. Updated on October 16th 2011, there was a new version available. Some other good news, after you finish this guide one of the last steps will have you update your installed packages, and the HPLIP software may/should be part of you update repo’s and will then update as updates become available. - tar xvfz hplip-3.11.5.tar.gz
- cd hplip-3.11.5
./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --prefix=/usr --enable-udev-acl-rules --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build- You can leave out the fax build at the end, unless your printer has built in fax capabilities, and if all goes well this will check to make sure you have every prerequisite installed and will set the configuration flags for the build process.
- make && sudo make install
- This step does two things:
- It builds the drivers from source with your user credentials to set the file permissions correctly.
- It installs it using sudo to root credentials which provides read/write permissions to system directories.
- Total time on my system to build was under 2 minutes (about 90 seconds give or take).
- sudo usermod -a -G lp $USER
- This will add your user name to the “lp” group allowing you access to the printer, you will either need to rerun this line for each user, after logging in as those users, OR type in the user name instead of “$USER” for each user you want to be able to prin.t
- Restart your computer OR log out and log back in – mostly this is to grant you access rights to prin.t
Part two
– configuring your printer driver – with information borrowed from here- Plug your printer back into the computer.
- Head back to your terminal window.
- sudo hp-setup
- Select your connection type, most likely USB.
- and select next.
- If all goes well you shall receive a screen listing all available HP printers.
- If you forgot to plug your printer back in, don’t panic, you can do it now!
- Select your printer and click next (if you only have one showing, and it is correct, then just click next).
- Fill in the description, location and change the name if you want, then click “Add Printer”.
- Now the setup window disappears and you can go back to your terminal window and start the next step, or if you don’t want to, all should work now.
Part three
– configuring CUPS for your printer – with information borrowed from here- sudo restart cups
- Pop open your favorite web browser and head over here:
- http://localhost:631
- Now for some optional maintenance, IF you previously tried to install/setup this printer, you may need to follow these steps, or if you need to remove the printer you are replacing, else go to the next number directly preceding this current one.
- Click Administration
- select “Manage Printers”
- Select the “old” installation of the printer – should say something about being unplugged in the status.
- Select Maintenance –> Cancel all jobs
- this should prompt you for a user name and password, you can use any user name and password that you have previously added to the “lp” security group (see near the end of Part one of this post).
- Click the Printer name to get back to the previous screen.
- Select Administration –> Delete Printer
- If you accidentally delete the wrong printer, go back to Part two and start over from step #1, then be more careful when you get back to this step…
- Hopefully your printer shows up in the printers list on this screen, if it does, then you are done and this entire Part was just to verify the installation was successful. If NOT, then go back to Part two and do it again! or you can manually add your printer to CUPS with the following steps (won’t work as good as if you got it right in hp-setup though). One more note about the following, I did not need to do this, so hopefully you don’t either, so I am copying these steps from the HPLIP website instructions word for word, although my CUPS management web interface is different from theirs.
- Hopefully you have the CUPS management console open in your web browser, if not go to the following:
- localhost:631
- The screen is divided into three columns, in the middle the first option is “Adding Printers and Classes” click on it.
- The first option in the top left corner is “Add Printer” click on it.
- If you have not previously provided it, it will now prompt for a user name and password, again it is looking for someone who is a member of the “lp” group, if you have been following my directions so far, you should have added yourself at the end of Part one and should be able to use your username and password.
- Next enter a name for your HP printer in the Name box, good thing to know, don’t use spaces if you want your printer to work.
- Enter a description/location if you want (I use these to differentiate amongst installations when doing a reinstall).
- Click “Continue”.
- Select a printer from the dropdown box (It should show up in this format “hp:/usb/[printer name, serial number]” that you want to install and click “Continue”. If your printer is not available to be selected, go back to the top of this Blog post and figure out where you missed a step… sorry.
- Select the Manufacturer of the printer, and click “Continue”
- Select the Model of your printer (it should be there because we just installed HPLIP), and click continue.
- You are now done, unless you need to setup faxing, if you, keep reading
- If you need to setup fax capabilities repeat the Add Printer steps above, only select a printer using this naming convention “hpfax:/usb/[printer name, serial number]” and choose HPLIP Fax (en) for the model.
- You are done here, sop select finish or complete or what ever allows you to get out of the Add Printer section, then close the web browser.
- Now, head back to your terminal window (this is for configuring faxing, you really are done if you are not setting up a fax!).
- hp-toolbox
- Select your printer (the one you selected as hpfax:/usb/[printer name, serial number]).
- Select the Tools and Settings tab across the top.
- Click on Fax setup and fill in your information.
- Click on OK and that is it, now you are done.
You should not need to print a test page unless you had problems somewhere in between the top of this post and the bottom. If there were no issues, save a tree, don’t waste it with a test page, especially if you are using Ubuntu, the default test page will use up a good bit of your color inks. I’ll add an update on to this post if I have any further printer problems.
wow, so many issues, you’d not believe how many draft blog posts I have going while I try to resolve everything… In fact I have so many I can’t even tell which ones are related right now.
So, Today’s newest issue has actually been around for at least 3 weeks, I have noticed when I run portupgrade -ra that a very large number of errors fly by on my screen, all extremely similar and I think all during dependency builds for a single port that I have not captured the name of, but do I do know some of the culprits…
Now currently I cannot get a pretty scroll bar to limit the size of the “code” block so I’ll just leave it at the very bottom.
It all seems to revolve around boost, python, and gcc 4.2.2. I’ve been to /usr/ports/lang/gcc42 & /usr/ports/lang/gcc44 & /usr/ports/lang/gcc45 and ran a sudo make config in each location, all reported back nothing to configure. I also went to /usr/ports/lang/python and did the same thing and got the same result and one more time for /usr/ports/devel/boost_build with the same results. so I cannot figure out where the multi-thread checkbox was in the configure screen that I know I checked and I know showed up during a portupgrade I did some time ago and of course was before I started doing system backups.
I did the only thing else I could think of… I went to the gcc42 directory and ran sudo make config-recursive install clean and you know what? it did it, it did not tell me it was already installed, in fact it had to DL the gcc-core-4.2-20090325.tar.bz2 file to do the installation, so maybe the issue is that gcc was missing to begin with?
Now I did see some pretty wierd things go by my screen, like “craphunt” and “chamber” (pot?) and of course you can’t have unix without “dump” also saw what is definitely my favorite one “gimplify” tons of java stuff flew off my screen as well.
Well at the end it failed because a couple of dependencies failed to install, including gstreamer. I tried to install gstreamer and it failed, I tried to force the install and it still failed.
from ./boost/python/tuple.hpp:8,
from libs/python/src/tuple.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
libs/python/src/tuple.cpp: In static member function 'static boost::python::detail::new_reference_t* boost::python::detail::tuple_base::call(const boost::python::api::object&)':
libs/python/src/tuple.cpp:12: warning: dereferencing type-punned pointer will break strict-aliasing rules"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/tuple.o" "libs/python/src/tuple.cpp"...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/tuple.o.....failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/pickle_support.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/errors.hpp:12,
from libs/python/src/errors.cpp:10:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o" "libs/python/src/errors.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o...
from libs/python/src/wrapper.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/wrapper.o" "libs/python/src/wrapper.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/wrapper.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/ssize_t.hpp:9,
from ./boost/python/object.hpp:8,
from ./boost/python/import.hpp:8,
from libs/python/src/import.cpp:6:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o" "libs/python/src/import.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o...
t-aliasing rules
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/tuple.o" "libs/python/src/tuple.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/tuple.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/str.hpp:8,
from libs/python/src/str.cpp:4:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
libs/python/src/str.cpp: In static member function 'static boost::python::detail::new_reference_t* boost::python::detail::str_base::call(const boost::python::api::object&)':
libs/python/src/str.cpp:16: warning: dereferencing type-punned pointer will break strict-aliasing rules
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o" "libs/python/src/str.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o...
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/inheritance.o" "libs/python/src/object/inheritance.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/inheritance.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object/life_support.hpp:7,
from libs/python/src/object/life_support.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
libs/python/src/object/life_support.cpp: In function 'PyObject* boost::python::objects::make_nurse_and_patient(PyObject*, PyObject*)':
libs/python/src/object/life_support.cpp:94: warning: dereferencing type-punned pointer will break strict-aliasing rules
libs/python/src/object/life_support.cpp:96: warning: dereferencing type-punned pointer will break strict-aliasing rules
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o" "libs/python/src/object/life_support.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o...
from ./boost/python/detail/wrapper_base.hpp:7,
from ./boost/python/wrapper.hpp:7,
from libs/python/src/wrapper.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/wrapper.o" "libs/python/src/wrapper.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/wrapper.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/ssize_t.hpp:9,
from ./boost/python/object.hpp:8,
from ./boost/python/import.hpp:8,
from libs/python/src/import.cpp:6:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o" "libs/python/src/import.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o...
gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1
Stop in /usr/ports/devel/gobject-introspection.
*** Error code 1
Stop in /usr/ports/sysutils/polkit.
*** Error code 1
Stop in /usr/ports/devel/gconf2.
*** Error code 1
Stop in /usr/ports/devel/gconf2.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100331-81619-37oww9-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gconf2-2.26.2_1 UPGRADE_PORT_VER=2.26.2_1 make
** Fix the problem and try again.
---> Skipping 'devel/libgsf' (libgsf-1.14.15_1) because a requisite package 'gconf2-2.26.2_1' (devel/gconf2) failed (specify -k to force)
---> Upgrading 'gstreamer-0.10.24' to 'gstreamer-0.10.28' (multimedia/gstreamer)
---> Building '/usr/ports/multimedia/gstreamer'
===> Cleaning for gobject-introspection-0.6.7
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1
Stop in /usr/ports/devel/gobject-introspection.
*** Error code 1
Stop in /usr/ports/multimedia/gstreamer.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100331-81619-kpb867-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gstreamer-0.10.24 UPGRADE_PORT_VER=0.10.24 make
** Fix the problem and try again.
---> Skipping 'x11/libxklavier' (libxklavier-3.9,1) because a requisite package 'iso-codes-3.10.3' (misc/iso-codes) failed (specify -k to force)
---> Skipping 'multimedia/gstreamer-plugins' (gstreamer-plugins-0.10.24,3) because a requisite package 'gstreamer-0.10.24' (multimedia/gstreamer) failed (specify -k to force)
---> Upgrading 'py26-libxml2-2.7.5' to 'py26-libxml2-2.7.6' (textproc/py-libxml2)
---> Building '/usr/ports/textproc/py-libxml2'
===> Cleaning for py26-libxml2-2.7.6
otypes -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c types.c -fPIC -DPIC -o .libs/types.o
./generator.py:27: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
import xmllib
In file included from /usr/local/include/python2.6/Python.h:86,
from libxml_wrap.h:1,
from types.c:9:
/usr/local/include/python2.6/intobject.h:45: warning: ISO C90 does not support 'long long'
In file included from /usr/local/include/python2.6/Python.h:88,
from libxml_wrap.h:1,
from types.c:9:
/usr/local/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:50: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'
In file included from libxml_wrap.h:1,
from types.c:9:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
gmake[1]: *** [types.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
right back again… I tried that and it told me I had to do a sudo make distclean so I did that and got the exact same error again!!! What is really starting to piss me off is this is (again) a freaking gnome specific app, do I really have to instlal gnome to get my FreeBSD to actually function with KDE? this is starting to piss me off really bad. not to mention FreeBSD has started reporting that my CPU is reaching a critical temp and then shuts my computer off, yet when I restart it (within 10 seconds) and go into the BIOS and check the system it still shows a CPU temp of 40C which is pretty freakin cold for not having any liquid cooling in my case (probably is so cool because I am using an onboard video card…) and THAT is annoying. what is worse, when I check it with sysctl (I think that is the command in FreeBSD) it ALWAYS reports my CPU at 30C on every core, so I know ACPI is not working, but if I boot using boot option 2 (boot without ACPI) the system locks up and fails to boot, so I can not find a way around that problem either.
Only when youare about to give up… hmm… I did a search on this error and came up with a completely different issue (with same error though) and got a solution that seems to have worked… USE GMAKE (funny, as the install instructions just say “make”). ran a sudo pkgdb -F all good, ran a sudo portupgrade -ra and still getting the failed gcc compiler message for multi-threaded…
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/boost-python-libs (boost-python-libs-1.39.0) (missing header)
! x11-toolkits/linux-f10-pango (linux-f10-pango-1.22.3) (unknown build error)
! textproc/py-libxml2 (py26-libxml2-2.7.5) (missing header)
! devel/apr (apr-ipv6-gdbm-db42-1.3.8.1.3.9) (unknown build error)
! misc/iso-codes (iso-codes-3.10.3) (missing header)
* devel/subversion (subversion-1.6.5)
! devel/py-gobject (py26-gobject-2.16.1) (configure error)
* x11/libxklavier (libxklavier-3.9,1)
! sysutils/consolekit (consolekit-0.3.0_8) (configure error)
! java/diablo-jre16 (diablo-jre-1.6.0.07.02) (checksum mismatch)
! graphics/py-cairo (py26-cairo-1.8.8) (configure error)
* x11-toolkits/py-gtk2 (py26-gtk-2.14.1_1)
! multimedia/gstreamer (gstreamer-0.10.24) (configure error)
! devel/gconf2 (gconf2-2.26.2_1) (configure error)
* devel/libgsf (libgsf-1.14.15_1)
* graphics/librsvg2 (librsvg2-2.26.0_2)
* multimedia/gstreamer-plugins (gstreamer-plugins-0.10.24,3)
* net-im/libnice (libnice-0.0.9)
* multimedia/gstreamer-plugins-good (gstreamer-plugins-good-0.10.16,3)
* multimedia/gstreamer-plugins-theora (gstreamer-plugins-theora-0.10.24,3)
* multimedia/py-gstreamer (py26-gstreamer-0.10.16)
* multimedia/gstreamer-plugins-bad (gstreamer-plugins-bad-0.10.14,3)
* multimedia/gstreamer-plugins-xvid (gstreamer-plugins-xvid-0.10.14,3)
* multimedia/gstreamer-ffmpeg (gstreamer-ffmpeg-0.10.8)
* multimedia/gstreamer-plugins-dts (gstreamer-plugins-dts-0.10.14,3)
* x11-toolkits/gstreamer-plugins-pango (gstreamer-plugins-pango-0.10.24,3)
* devel/gstreamer-plugins-gconf (gstreamer-plugins-gconf-0.10.16,3)
* graphics/gstreamer-plugins-libpng (gstreamer-plugins-libpng-0.10.16,3)
* audio/gstreamer-plugins-ogg (gstreamer-plugins-ogg-0.10.24,3)
* audio/gstreamer-plugins-esound (gstreamer-plugins-esound-0.10.16,3)
* audio/gstreamer-plugins-vorbis (gstreamer-plugins-vorbis-0.10.24,3)
* devel/gstreamer-plugins-gio (gstreamer-plugins-gio-0.10.24,3)
* multimedia/gstreamer-plugins-ugly (gstreamer-plugins-ugly-0.10.12,3)
* multimedia/gstreamer-plugins-dvd (gstreamer-plugins-dvd-0.10.12_1,3)
* audio/gstreamer-plugins-mad (gstreamer-plugins-mad-0.10.12,3)
* audio/gstreamer-plugins-flac (gstreamer-plugins-flac-0.10.16,3)
* multimedia/gstreamer-plugins-mpeg2dec (gstreamer-plugins-mpeg2dec-0.10.12,3)
* audio/gstreamer-plugins-a52dec (gstreamer-plugins-a52dec-0.10.12,3)
* multimedia/gstreamer-plugins-core (gstreamer-plugins-core-0.10_10)
* audio/gstreamer-plugins-cdparanoia (gstreamer-plugins-cdparanoia-0.10.24_1,3)
* net-im/farsight2 (farsight2-0.0.15)
* multimedia/qt4-phonon-gst (qt4-phonon-gst-4.5.2)
* www/qt4-webkit (qt4-webkit-4.5.2)
* devel/qt4-assistant (qt4-assistant-4.5.2)
* devel/qt4-designer (qt4-designer-4.5.2)
* devel/qt4-linguist (qt4-linguist-4.5.2)
* emulators/virtualbox-ose (virtualbox-3.0.51.r22902_2)
* sysutils/hal (hal-0.5.11_26)
* x11/kdebase3 (kdebase-3.5.10_3)
* devel/gnome-vfs (gnome-vfs-2.24.1_1)
* x11/yakuake (yakuake-2.8.1_3)
* x11-servers/xorg-server (xorg-server-1.6.1,1)
* x11-drivers/xf86-video-ati (xf86-video-ati-6.12.2_1)
* x11-drivers/xf86-video-r128 (xf86-video-r128-6.8.0_3)
* x11-drivers/xf86-video-openchrome (xf86-video-openchrome-0.2.903_2)
* x11/libgnome (libgnome-2.26.0_1)
* x11/kdelibs4 (kdelibs-4.3.1_3)
* games/kdegames4 (kdegames-4.3.1)
* sysutils/gstreamer-plugins-hal (gstreamer-plugins-hal-0.10.16,3)
* graphics/kdegraphics4 (kdegraphics-4.3.1)
* misc/kdeedu4 (kdeedu-4.3.1)
* x11-drivers/xf86-video-nv (xf86-video-nv-2.1.13_1)
* x11-drivers/xf86-input-mouse (xf86-input-mouse-1.4.0_6)
* x11/kdelibs4-experimental (kdelibs-experimental-4.3.1)
* x11-drivers/xf86-video-radeonhd (xf86-video-radeonhd-1.2.5_2)
* x11-drivers/xf86-video-vesa (xf86-video-vesa-2.1.0_2)
* x11-drivers/xf86-video-mach64 (xf86-video-mach64-6.8.1)
* x11-drivers/xf86-video-intel (xf86-video-intel-2.7.1)
* deskutils/kdepimlibs4 (kdepimlibs-4.3.1)
* net/kdenetwork4 (kdenetwork-4.3.1)
* x11/kdebase4-runtime (kdebase-runtime-4.3.1_1)
* devel/kdesdk4 (kdesdk-4.3.1)
* deskutils/kdepim4-runtime (kdepim-runtime-4.3.1)
* accessibility/kdeaccessibility4 (kdeaccessibility-4.3.1)
* deskutils/kdepim4 (kdepim-4.3.1_1)
* sysutils/kdeadmin4 (kdeadmin-4.3.1)
* x11/kdebase4-workspace (kdebase-workspace-4.3.1)
* x11-clocks/kdetoys4 (kdetoys-4.3.1)
* x11-themes/kdeartwork4 (kdeartwork-4.3.1)
* security/gnome-keyring (gnome-keyring-2.26.3_1)
* textproc/gnome-doc-utils (gnome-doc-utils-0.16.1_1)
* sysutils/policykit-gnome (policykit-gnome-0.9.2_2)
* devel/libsoup (libsoup-2.26.3_2)
* devel/gstreamer-plugins-soup (gstreamer-plugins-soup-0.10.16,3)
* multimedia/kdemultimedia4 (kdemultimedia-4.3.1_1)
* x11-toolkits/libbonoboui (libbonoboui-2.24.1_1)
* www/kdewebdev4 (kdewebdev-4.3.1)
* x11-drivers/xf86-input-keyboard (xf86-input-keyboard-1.3.2_2)
* x11-drivers/xorg-drivers (xorg-drivers-7.4_2)
* x11/xorg (xorg-7.4_2)
* x11/kdebase4 (kdebase-4.3.1_1)
* misc/kdeutils4 (kdeutils-4.3.1_1)
* sysutils/gnome-mount (gnome-mount-0.8_3)
* graphics/swfdec (swfdec-0.8.4_1)
* devel/gvfs (gvfs-1.2.3_2)
* x11-toolkits/libgnomeui (libgnomeui-2.24.1_1)
* net/libgweather (libgweather-2.26.2.1_1)
* databases/evolution-data-server (evolution-data-server-2.26.3_1)
* deskutils/kdeplasma-addons (kdeplasma-addons-4.3.1)
* x11/kde4 (kde4-4.3.1)
* x11-toolkits/py-gnome2 (py26-gnome-2.26.1_1)
* x11/gnome-desktop (gnome-desktop-2.26.3_1)
* multimedia/cheese (cheese-2.26.3_1)
Right, time to run a backup before I FUBAR it real bad.
this should be nice and short (or not, following most of this from Liok’s blog mentioned on my Firefox 3.6 install post), the first 2 steps might be unnecessary as the install itself may do them, but I did them in [...]
this should be nice and short (or not, following most of this from Liok’s blog mentioned on my Firefox 3.6 install post), the first 2 steps might be unnecessary as the install itself may do them, but I did them in this order so that’s how I am posting it…
- sudo kldload linux
- sudo cp /etc/rc.conf /etc/rc.conf.<mmddyyyy>
- sudo vi /etc/rc.conf now, step by step.
a. press “G” (moves you to the end of the file.)
b. type “o” (inserts a new line, vi is case sensitive, but you can use a “o” or a “O” this time so don’t worry)
c. type ‘linux_enable=”YES” ‘ (again case sensitive, this allows FreeBSD to load it automatically each time you boot so you don’t have to do step #1 everytime you restart your system. )
d. press ESC (to enter command mode and tell vi you are done editing. )
e. press “:” (that is a colon if you can’t tell, this tells vi you are going to do file/OS/system based commands vs. editing based commands)
f. type “wq!” (this tells vi to “write” or save the file, then “quit” and “do it now!” the order is important as it follows what you type in the order you type it, so typing ”qw!” will not save the file, it will just quit because the first thing you told it to do is to quit.) - cd /usr/ports/emulation/linux_base-f10 (currently the newest fedora core in the ports tree is fedora 10, not sure why 11 or 12 is not there, but hey…)
- make config-recursive install clean (not sure why the recursive is necessary, but hey, it doesn’t hurt, so why not?)
- let it finish…
- sudo vi /etc/fstab (we now need to setup our system to mount the linux procfs on bootup)
a. press ” G” (moves you to the end of the file)
b. press “o” (to “open” a new line and start editing)
c. type “linproc /usr/compat/linux/proc linprocfs rw 0 0” (those are zeros at the end)
d. press ESC (to enter command mode and tell vi you are done editing.)
e. press “:” (that is a colon if you can’t tell, this tells vi you are going to do file/OS/system based commands vs. editing based commands)
f. type “wq!” (this tells vi to “write” or save the file, then “quit” and “do it now!” ) - sudo mount /usr/compat/linux/proc
- cd /usr/ports/www/nspluginwrapper
- sudo make config-recursive install clean (this is to help your plugins work correctly… hmm… wonder if this was all I needed to get Firefox 3.6.2 working with Java… this command installed a whole bunch of fc10 RPM files, by a whole bunch I mean more than 20 and although fairly small in size, all had to be downloaded) and I hit a small wall…===> linux-f10-gtk2-2.14.7_1 depends on file: /compat/linux/usr/lib/libpango-1.0.so.0.2203.0 – not found
===> Verifying install for /compat/linux/usr/lib/libpango-1.0.so.0.2203.0 in /usr/ports/x11-toolkits/linux-f10-pango
===> linux-f10-pango-1.22.3_1 has known vulnerabilities:
=> pango — integer overflow.
Reference: <http://portaudit.FreeBSD.org/4b172278-3f46-11de-becb-001cc0377035.html>
=> Please update your ports tree and try again.
*** Error code 1Stop in /usr/ports/x11-toolkits/linux-f10-pango.
*** Error code 1Stop in /usr/ports/x11-toolkits/linux-f10-gtk2.
*** Error code 1Stop in /usr/ports/www/nspluginwrapper.
- so… off to run my update script again…
Can’t get past this part, everytime I try to update I get this error, so now I need “Pango” to provide an update without that security vulnerability…
Well that was easy, I’ve been sitting on this problem for about a week now, and all I had to do was search for the issue… aparently the newest version is 1.28 and is available in many locations, except the official FreeBSD ports tree. so I am DL’ing it now and doing an install of the app with pkg_add. The official FreeBSD forum just says to disable vulnerability checking either temporarily or permanently, I prefer to pass on that option.
Okay, well I DL’d the new version, bunzip2′ed it, untar’ed it, ran configure, did not see any errors, then tried to run make and got an error…
“Makefile”, line 957: Need an operator
make: fatal errors encountered — cannot continue
I read the INSTALL file but did not see anything extra that I needed to do. no idea where to go from here… according to the config.log file configure exited with a code 0, no errors. looks like I am still stuck.
I tried downloading the previous version, pango-1.27.1 and had the same error on the same line of the make file, I guees I’ll edit the makefile and see what I can do.
ok, the error line is #957 and this is what is there…
-include $(top_srcdir)/git.mk
to me that means I need to specify the source directory as an input flag option with the config command so the make file has the correct source dir? I’ll give that a shot and see if it changes the line in the results. sudo ./configure –srcdir=/home/jperry/pango-1.27.1/
Twitter: finndo77
- New blog post... Diablo III closed Beta http://t.co/dKC2ChWm 01:36:32 PM December 07, 2011 from joelperryproductions.com ReplyRetweetFavorite
- New blog post... resolving video problems with K-L-Ubuntu and XFX Radeon 6850 http://t.co/H6bXuMqi 06:59:18 AM October 22, 2011 from joelperryproductions.com ReplyRetweetFavorite
- New blog post... Computer upgrades http://t.co/6PWVNy4m 01:39:35 PM October 20, 2011 from joelperryproductions.com ReplyRetweetFavorite
- $7 for $15 Worth of Hand-Tossed Pizza, Calzones, and Drinks at Andolini's Pizza Charleston, SC http://t.co/QnKwPwB 11:49:26 AM August 29, 2011 from Tweet Button ReplyRetweetFavorite
- New blog post... is zdnet.com/news down http://t.co/DThuI4r 07:57:28 AM August 17, 2011 from joelperryproductions.com ReplyRetweetFavorite
- New blog post... Netflix Down? http://bit.ly/q74Svu 07:39:30 PM August 08, 2011 from joelperryproductions.com ReplyRetweetFavorite
Blogroll
programming
Tech Websites
- a good coder I found on CodeProject
- Barebones HTML coding chart
- Code Project
- Extreme Overclocking
- FreeBSD blog
- Legit Reviews – Tech Hardware Review
- Linuxtopia
- Notion Ink – homepage
- Plug Computing web site and forums
- Tablet Roms – used to be – Notion Ink Hacks
- Ubuntu Forums post on the mount command and fstab file
- VMWare ESX blogger
- Wikipedia.org main page
- ZDNet's blog pages

