ubuntu install_dep... script says to report in the forums

I got this output from the install_dependencies.sh on Hardy:

Hit http://archive.canonical.com hardy Release.gpg
Ign http://archive.canonical.com hardy/partner Translation-en_US
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://lgp203.free.fr hardy Release.gpg
Hit http://us.archive.ubuntu.com hardy Release.gpg
Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
Hit http://archive.canonical.com hardy Release
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com hardy-security Release
Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy-updates Release.gpg
Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release
Hit http://archive.canonical.com hardy/partner Packages
Ign http://lgp203.free.fr hardy/universe Translation-en_US
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://us.archive.ubuntu.com hardy-updates Release
Hit http://archive.canonical.com hardy/partner Sources
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://us.archive.ubuntu.com hardy/main Packages
Hit http://us.archive.ubuntu.com hardy/restricted Packages
Hit http://us.archive.ubuntu.com hardy/main Sources
Hit http://us.archive.ubuntu.com hardy/restricted Sources
Hit http://us.archive.ubuntu.com hardy/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://us.archive.ubuntu.com hardy/universe Sources
Hit http://us.archive.ubuntu.com hardy/multiverse Packages
Hit http://us.archive.ubuntu.com hardy/multiverse Sources
Hit http://apt.wxwidgets.org hardy-wx Release.gpg
Ign http://apt.wxwidgets.org hardy-wx/main Translation-en_US
Hit http://us.archive.ubuntu.com hardy-updates/main Packages
Hit http://us.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://us.archive.ubuntu.com hardy-updates/main Sources
Hit http://us.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://us.archive.ubuntu.com hardy-updates/universe Packages
Hit http://us.archive.ubuntu.com hardy-updates/universe Sources
Hit http://us.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://us.archive.ubuntu.com hardy-updates/multiverse Sources
Hit http://apt.wxwidgets.org hardy-wx Release
Hit http://lgp203.free.fr hardy Release
Hit http://apt.wxwidgets.org hardy-wx/main Packages
Hit http://lgp203.free.fr hardy/universe Packages
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package libudev-dev
echo “creating dependencies”
creating dependencies
mkdir -p obj/Debug/openFrameworks/communication
g++ -g -Wall -fexceptions -I…/…/…/FreeImage/include -I…/…/…/fmodex/include -I…/…/…/freetype/include -I…/…/…/freetype/include/freetype2 -I…/…/…/freetype/include/freetype2/freetype -I…/…/…/freetype/include/freetype2/freetype/config -I…/…/…/glee/include -I…/…/…/gstappsink/include -I…/…/…/gstappsink/include/gst -I…/…/…/gstappsink/include/gst/app -I…/…/…/poco/include -I…/…/…/poco/include/Poco -I…/…/…/poco/include/Poco/Net -I…/…/…/poco/include/Poco/Dynamic -I…/…/…/poco/include/Poco/Util -I…/…/…/poco/include/Poco/DOM -I…/…/…/poco/include/Poco/XML -I…/…/…/poco/include/Poco/SAX -I…/…/…/poco/include/CppUnit -I…/…/…/rtAudio/include -I…/…/…/unicap/include -I…/…/…/openFrameworks/ -I…/…/…/openFrameworks/events -I…/…/…/openFrameworks/communication -I…/…/…/openFrameworks/app -I…/…/…/openFrameworks/graphics -I…/…/…/openFrameworks/video -I…/…/…/openFrameworks/utils -I…/…/…/openFrameworks/sound pkg-config gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev libavcodec libavformat libavutil --cflags -MM -MT obj/Debug/openFrameworks/communication/ofArduino.d echo ../../../obj/Debug/openFrameworks/communication/ofArduino.d | sed "s/obj\\/Debug\\///" | sed "s/\.d/\.cpp/" > obj/Debug/openFrameworks/communication/ofArduino.d
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing gstreamer-0.10.pc' to the PKG\_CONFIG\_PATH environment variable No package 'gstreamer-0.10' found Package gstreamer-video-0.10 was not found in the pkg-config search path. Perhaps you should add the directory containinggstreamer-video-0.10.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gstreamer-video-0.10’ found
Package gstreamer-base-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing gstreamer-base-0.10.pc' to the PKG\_CONFIG\_PATH environment variable No package 'gstreamer-base-0.10' found Package libudev was not found in the pkg-config search path. Perhaps you should add the directory containinglibudev.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libudev’ found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing libavcodec.pc' to the PKG\_CONFIG\_PATH environment variable No package 'libavcodec' found Package libavformat was not found in the pkg-config search path. Perhaps you should add the directory containinglibavformat.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libavformat’ found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libavutil’ found
/bin/sh: g++: not found
make: *** [obj/Debug/openFrameworks/communication/ofArduino.d] Error 127
there has been a problem compiling Debug OF library
please report this problem in the forums

…so here I am, reporting this problem in the forums as requested. I don’t seem to have a PKG_CONFIG_PATH environment variable at all. What’s a good way to set it? I am relatively new to Linux development, if you hadn’t guessed.

I’ve attached two error dialogs from code::blocks. I don’t know how to resolve this. I have Hardy Heron, I believe it’s fully patched. I installed every app that began with “gstreamer” but that didn’t fix it.

the 2nd error displays when I click “download missing defs” in the first one.

![](http://forum.openframeworks.cc/uploads/default/635/Screenshot-Missing libraries definitions.png)

![](http://forum.openframeworks.cc/uploads/default/636/Screenshot-Download missing search settings.png)

there’s a problem with pkgconfig that should be solved by the same install_dep script but in some cases it doesn’t work. normally you just need to install libdrm so:

sudo apt-get install libdrm-dev

but just to be sure you can call from a terminal:

pkg-config --list-all

at the end of the listing you’ll surely have an error telling some package is missing, most probably libdrm but if it’s some other just call:

sudo apt-get install packagename-dev

I typed:

pkg-config --list-all

…but the report didn’t mention any errors.

I typed:

sudo apt-get install libdrm-dev

…and it seemed to install OK, but when I tried to load the .cbp file in code::blocks again, I still get the same error message.

The dialog says “you will have to define them manually” (“them” meaning “the settings of some libraries”), but I have no idea how to do that. I’ve never used code::blocks before.

reviwing the error message in your first post, i’ve seen this:

E: Couldn’t find package libudev-dev

so the dependencies haven’t been installed. what version of ubuntu are you using? 0061 is not compatible with hardy (8.10) and previous versions because of libudev. you can try updating to a newer ubuntu or using OF 006

yes, I have hardy heron (8.04). Guess it’s time to upgrade.

Thanks for that key info, you’ve saved me some frustration.

I hope upgrading Ubuntu isn’t too difficult.