Difference between revisions of "Error messages and their solutions"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 28: Line 28:
  
  
/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
linux-fhbd:~/xawtv # yast -i libpng14-devel
 
  
 +
SUSE 11.3
 +
linux-fhbd:~/xawtv # yast -i libpng14-devel
  
/usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
+
 
compilation terminated.
+
/usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
make: *** [common/dvb-monitor.o] Error 1
+
compilation terminated.
linux-fhbd:~/xawtv # rpm -ql glib2-devel|grep config
+
make: *** [common/dvb-monitor.o] Error 1
/usr/lib64/glib-2.0/include/glibconfig.h
+
linux-fhbd:~/xawtv # rpm -ql glib2-devel|grep config
/usr/lib64/pkgconfig/gio-2.0.pc
+
[...]
/usr/lib64/pkgconfig/gio-unix-2.0.pc
+
linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
/usr/lib64/pkgconfig/glib-2.0.pc
 
/usr/lib64/pkgconfig/gmodule-2.0.pc
 
/usr/lib64/pkgconfig/gmodule-export-2.0.pc
 
/usr/lib64/pkgconfig/gmodule-no-export-2.0.pc
 
/usr/lib64/pkgconfig/gobject-2.0.pc
 
/usr/lib64/pkgconfig/gthread-2.0.pc
 
linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
 
linux-fhbd:~/xawtv # make
 
/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
 
/usr/lib64/glib-2.0/include/glibconfig.h
 
/usr/lib64/pkgconfig/gio-2.0.pc
 
/usr/lib64/pkgconfig/gio-unix-2.0.pc
 
/usr/lib64/pkgconfig/glib-2.0.pc
 
/usr/lib64/pkgconfig/gmodule-2.0.pc
 
/usr/lib64/pkgconfig/gmodule-export-2.0.pc
 
/usr/lib64/pkgconfig/gmodule-no-export-2.0.pc
 
/usr/lib64/pkgconfig/gobject-2.0.pc
 
/usr/lib64/pkgconfig/gthread-2.0.pc
 
linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
 
linux-fhbd:~/xawtv # make
 

Revision as of 18:01, 14 August 2010

xawtv

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

SUSE 11.3:

yast -i ncurses-devel

xawtv

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

SUSE 11.3:

yast -i libjpeg-devel


xawtv

error: glib.h: No such file or directory

SUSE 11.3

yast -i glib2-devel

xawtv

libxml/parser.h: No such file or directory

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


/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

SUSE 11.3

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


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