Difference between revisions of "Error messages and their solutions"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 104: Line 104:
 
  [...]
 
  [...]
 
  linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
 
  linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
 +
 +
=== pango ===
 +
/usr/include/gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or directory
 +
compilation terminated.
 +
make: *** [gqcam.o] Error 1
 +
linux-noqb:~/gqcam-0.8 # cd /usr/include/
 +
linux-noqb:/usr/include # find -iname "pango*"
 +
./pango-1.0
 +
./pango-1.0/pango
 +
./pango-1.0/pango/pango-break.h
 +
./pango-1.0/pango/pangoft2.h
 +
./pango-1.0/pango/pango.h
 +
./pango-1.0/pango/pangox.h
 +
./pango-1.0/pango/pango-fontset.h
 +
./pango-1.0/pango/pangoxft-render.h
 +
./pango-1.0/pango/pango-renderer.h
 +
./pango-1.0/pango/pango-glyph.h
 +
./pango-1.0/pango/pango-tabs.h
 +
./pango-1.0/pango/pango-ot.h
 +
./pango-1.0/pango/pango-fontmap.h
 +
./pango-1.0/pango/pangofc-fontmap.h
 +
./pango-1.0/pango/pango-matrix.h
 +
./pango-1.0/pango/pango-gravity.h
 +
./pango-1.0/pango/pango-glyph-item.h
 +
./pango-1.0/pango/pangocairo.h
 +
./pango-1.0/pango/pango-layout.h
 +
./pango-1.0/pango/pangofc-font.h
 +
./pango-1.0/pango/pango-types.h
 +
./pango-1.0/pango/pango-context.h
 +
./pango-1.0/pango/pangoxft.h
 +
./pango-1.0/pango/pango-utils.h
 +
./pango-1.0/pango/pango-modules.h
 +
./pango-1.0/pango/pangofc-decoder.h
 +
./pango-1.0/pango/pango-script.h
 +
./pango-1.0/pango/pango-features.h
 +
./pango-1.0/pango/pango-bidi-type.h
 +
./pango-1.0/pango/pango-item.h
 +
./pango-1.0/pango/pango-language.h
 +
./pango-1.0/pango/pango-attributes.h
 +
./pango-1.0/pango/pango-engine.h
 +
./pango-1.0/pango/pango-enum-types.h
 +
./pango-1.0/pango/pango-coverage.h
 +
./pango-1.0/pango/pango-font.h
 +
linux-noqb:/usr/include # cp -r /usr/include/pango-1.0/pango/ /usr/include/
  
 
= See also =
 
= See also =
 
* [[dependencies]]
 
* [[dependencies]]

Revision as of 16:22, 30 October 2010

capabilities.h

Problem (in this case from vdr)

vdr.c:35:28: fatal error: sys/capability.h: No such file or directory 

Solution (in this case for SUSE 11.3)

yast -i libcap-devel

cairo

Problem, in this case from gqcam:

/usr/include/gdk/gdkscreen.h:31:19: fatal error: cairo.h: No such file or directory

Solution, in this case for SUSE 11.3:

cp /usr/include/cairo/* /usr/include/

gdk

Problem, in this case from gqcam:

/usr/include/gtk/gtk.h:32:21: fatal error: gdk/gdk.h: No such file or directory

Solution, in this case for SUSE Linux 11.3:

cp -pr /usr/include/gtk-2.0/gdk /usr/include/

gio

Problem, in this case from gqcam:

/usr/include/gdk/gdkapplaunchcontext.h:30:21: fatal error: gio/gio.h: No such file or directory

Solution, in this case for SUSE Linux 11.3:

cp -r /usr/include/glib-2.0/gio/ /usr/include/

glibconfig

Problem, in this case from gqcam:

/usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory

Solution, in this case for SUSE 11.3:

cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/

gmodule

Problem, in this case from gqcam:

/usr/include/gio/giomodule.h:31:21: fatal error: gmodule.h: No such file or directory

Solution, in this case for SUSE 11.3:

cp /usr/include/glib-2.0/gmodule.h /usr/include/

gtk

Problem (in this case from kino):

checking for GTK2... configure: error: Package requirements (gthread-2.0 libglade-2.0 >= 2.5.0 gtk+-2.0 >= 2.6) were not met: 

No package 'libglade-2.0' found

Solution (in this case for SUSE 11.3):

yast -i libglade2-devel

gtk-config

Problem (in this case from gqcam):

/bin/sh: gtk-config: command not found
gqcam.c:32:21: fatal error: gtk/gtk.h: No such file or directory

Solution (in this case for SUSE 11.3):

  • install gtk 2.20
  • copy the header files
cp -pr /usr/include/gtk-2.0/gtk/ /usr/include

ncurses

Problem (in this case from xawtv):

Oops: (n)curses library not found.  You need this one, please install.

Solution (in this case for SUSE 11.3):

yast -i ncurses-devel

jpeg

Problem (in this case from xawtv):

Oops:   jpeg library not found.  You need this one, please install.

Solution (in this case for SUSE 11.3):

yast -i libjpeg-devel

glib

Problem (in this case from xawtv):

error: glib.h: No such file or directory

Solution (in this case for SUSE 11.3):

yast -i glib2-devel
cp /usr/include/glib-2.0/glib.h /usr/include/
cp -pr /usr/include/glib-2.0/glib /usr/include/

libxml

Problem (in this case from xawtv):

libxml/parser.h: No such file or directory

Solution (in this case for SUSE 11.3):

yast -i libxml-devel

libxml 2

Problem (in this case from xawtv):

Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found

Solution (in this case for SUSE 11.3):

yast -i libxml2-devel

libpng

Problem (in this case from xawtv):

/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
make: *** [console/scantv] Error 1

Solution (in this case for SUSE 11.3):

linux-fhbd:~/xawtv # yast -i libpng14-devel

glib2

Problem (in this case from xawtv):

/usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.
make: *** [common/dvb-monitor.o] Error 1
linux-fhbd:~/xawtv # rpm -ql glib2-devel|grep config
[...]
linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/

pango

/usr/include/gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or directory compilation terminated. make: *** [gqcam.o] Error 1 linux-noqb:~/gqcam-0.8 # cd /usr/include/ linux-noqb:/usr/include # find -iname "pango*" ./pango-1.0 ./pango-1.0/pango ./pango-1.0/pango/pango-break.h ./pango-1.0/pango/pangoft2.h ./pango-1.0/pango/pango.h ./pango-1.0/pango/pangox.h ./pango-1.0/pango/pango-fontset.h ./pango-1.0/pango/pangoxft-render.h ./pango-1.0/pango/pango-renderer.h ./pango-1.0/pango/pango-glyph.h ./pango-1.0/pango/pango-tabs.h ./pango-1.0/pango/pango-ot.h ./pango-1.0/pango/pango-fontmap.h ./pango-1.0/pango/pangofc-fontmap.h ./pango-1.0/pango/pango-matrix.h ./pango-1.0/pango/pango-gravity.h ./pango-1.0/pango/pango-glyph-item.h ./pango-1.0/pango/pangocairo.h ./pango-1.0/pango/pango-layout.h ./pango-1.0/pango/pangofc-font.h ./pango-1.0/pango/pango-types.h ./pango-1.0/pango/pango-context.h ./pango-1.0/pango/pangoxft.h ./pango-1.0/pango/pango-utils.h ./pango-1.0/pango/pango-modules.h ./pango-1.0/pango/pangofc-decoder.h ./pango-1.0/pango/pango-script.h ./pango-1.0/pango/pango-features.h ./pango-1.0/pango/pango-bidi-type.h ./pango-1.0/pango/pango-item.h ./pango-1.0/pango/pango-language.h ./pango-1.0/pango/pango-attributes.h ./pango-1.0/pango/pango-engine.h ./pango-1.0/pango/pango-enum-types.h ./pango-1.0/pango/pango-coverage.h ./pango-1.0/pango/pango-font.h linux-noqb:/usr/include # cp -r /usr/include/pango-1.0/pango/ /usr/include/

See also