Difference between revisions of "Error messages and their solutions"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
 
=== ncurses ===
 
=== ncurses ===
xawtv
+
Problem (in this case from xawtv):
 
  Oops: (n)curses library not found.  You need this one, please install.
 
  Oops: (n)curses library not found.  You need this one, please install.
SUSE 11.3:
+
Solution (in this case for SUSE 11.3):
 
  yast -i ncurses-devel
 
  yast -i ncurses-devel
  
 
=== jpeg ===
 
=== jpeg ===
xawtv
+
Problem (in this case from xawtv):
 
  Oops:  jpeg library not found.  You need this one, please install.
 
  Oops:  jpeg library not found.  You need this one, please install.
SUSE 11.3:
+
Solution (in this case for SUSE 11.3):
 
  yast -i libjpeg-devel
 
  yast -i libjpeg-devel
  
 
=== glib ===
 
=== glib ===
xawtv
+
Problem (in this case from xawtv):
 
  error: glib.h: No such file or directory
 
  error: glib.h: No such file or directory
SUSE 11.3
+
Solution (in this case for SUSE 11.3):
 
  yast -i glib2-devel
 
  yast -i glib2-devel
  
 
=== libxml ===
 
=== libxml ===
xawtv
+
Problem (in this case from xawtv):
 
  libxml/parser.h: No such file or directory
 
  libxml/parser.h: No such file or directory
SUSE 11.3
+
Solution (in this case for SUSE 11.3):
 
  yast -i libxml-devel
 
  yast -i libxml-devel
  
Line 31: Line 31:
  
 
=== libpng ===
 
=== 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
 
  /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng
 
  collect2: ld returned 1 exit status
 
  collect2: ld returned 1 exit status
 
  make: *** [console/scantv] Error 1
 
  make: *** [console/scantv] Error 1
  
SUSE 11.3
+
Solution (in this case for SUSE 11.3):
 
  linux-fhbd:~/xawtv # yast -i libpng14-devel
 
  linux-fhbd:~/xawtv # yast -i libpng14-devel
  
  
 
=== glib2 ===
 
=== glib2 ===
 +
Problem (in this case from xawtv):
 
  /usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
 
  /usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
 
  compilation terminated.
 
  compilation terminated.

Revision as of 07:56, 15 August 2010

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

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
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
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/