I am trying to install some software, But I seem to be stuck in a loop. I have looked at other peoples posts who have had similar problems and tried a few things but withput much success.
My Specs: Athlon Proccessor @ 900mhtz, Red Hat 9(shrike) running Metacity window manager and rox session as desktop. I have used redhat update and updated everything including kernal (now Linux version 2.4.20-28.9 gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) I do not have Gnome or KDE installed.
The first thing is this attempt to install Realplayer I got from
http://cambuca.ldhs.cetuc.puc-rio.br/xine/
[root@Dread Downloads]# rpm -ivh RealPlayer*
error: Failed dependencies:
libXm.so.2 is needed by RealPlayer9-9.0.7.151-4
So I went looking for libxm.so.2 and was led to believe it was in the openmotif packege which I found at
http://www.hklpg.org/RPM/libXm.so.2.html
[root@Dread Downloads]# rpm -ivh openmotif*
Preparing... ########################################### [100%]
package openmotif-2.2.2-14 (which is newer than openmotif-2.2.2-3_ICS) is already installed
file /usr/X11R6/bin/mwm from install of openmotif-2.2.2-3_ICS conflicts with file from package openmotif-2.2.2-14
file /usr/X11R6/bin/xmbind from install of openmotif-2.2.2-3_ICS conflicts with file from package openmotif-2.2.2-14
file /usr/X11R6/lib/libMrm.so.3.0.1 from install of openmotif-2.2.2-3_ICS conflicts with file from
package openmotif-2.2.2-14
file /usr/X11R6/lib/libUil.so.3.0.1 from install of openmotif-2.2.2-3_ICS conflicts with file from
package openmotif-2.2.2-14
file /usr/X11R6/lib/libXm.so.3.0.1 from install of openmotif-2.2.2-3_ICS conflicts with file from package openmotif-2.2.2-14
file /usr/X11R6/man/man1/mwm.1.gz from install of openmotif-2.2.2-3_ICS conflicts with file from package openmotif-2.2.2-14
file /usr/X11R6/man/man1/xmbind.1.gz from install of openmotif-2.2.2-3_ICS conflicts with file from package openmotif-2.2.2-14
file /usr/X11R6/man/man4/mwmrc.4.gz from install of openmotif-2.2.2-3_ICS conflicts with file from
package openmotif-2.2.2-14
[root@Dread Downloads]#
Does the realplayer not accept the newer (libmx.so.3.0.1) or can it just not find it?
I have a similer problem with gtk+ aswell. Trying to install pager from
http://rox.sourceforge.net/phpwiki/index.php/Pager gives me this error:
Compiling /home/dread/Documents/Download/pager... please wait...
checking that pkg-config runs... yes
checking that gtk+-2.0 (version >= 2.0.0 is installed... no
configure: error: Package is not installed
Compile failed
Press Return...
then the Error Message: Applet quit without ever creating a widget!
I know I have gtk+-1.2.10-25, So I download GTK+2.0.9 from
http://www.gtk.org/download/. Configure gives me the following.
[root@Dread gtk+-2.0.9]# ls
acconfig.h config.h.win32.in gdk-2.0-uninstalled.pc.in INSTALL NEWS.pre-1-0
acinclude.m4 config.log gdk-pixbuf install-sh po
aclocal.m4 config.sub gdk-pixbuf-2.0.pc.in libtool README
AUTHORS configure gdk-pixbuf-2.0-uninstalled.pc.in ltmain.sh README.cvs-commits
build configure.in gtk m4macros README.nanox
ChangeLog contrib gtk+-2.0.pc.in makecopyright README.win32
ChangeLog.pre-1-0 COPYING gtk+-2.0-uninstalled.pc.in Makefile.am sanitize-la.sh
ChangeLog.pre-1-2 demos gtk+.spec Makefile.in stamp-h.in
ChangeLog.pre-2-0 docs gtk+.spec.in missing tests
config.guess examples gtk-zip.sh mkinstalldirs TODO
config.h.in gdk gtk-zip.sh.in modules
config.h.win32 gdk-2.0.pc.in HACKING NEWS
[root@Dread gtk+-2.0.9]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
So I go and download glib2 from
http://www.hklpg.org/RPM/glib2.html. The install gives the following
[root@Dread Downloads]# rpm -ivh glib2-2.2.2-0.n0i.athlon.rpm
Preparing... ########################################### [100%]
file /usr/lib/libglib-2.0.so.0 from install of glib2-2.2.2-0.n0i conflicts with file from package glib2-2.2.1-1
file /usr/lib/libgmodule-2.0.so.0 from install of glib2-2.2.2-0.n0i conflicts with file from package glib2-2.2.1-1
file /usr/lib/libgobject-2.0.so.0 from install of glib2-2.2.2-0.n0i conflicts with file from package glib2-2.2.1-1
file /usr/lib/libgthread-2.0.so.0 from install of glib2-2.2.2-0.n0i conflicts with file from package glib2-2.2.1-1
I have tried such things as:
[root@Dread Downloads]# PKG_CONFIG_PATH=/usr:/usr/X11R6:/usr/local:/usr/lib:/usr/local/lib:/usr/X11R6/lib:${PKG_CONFIG_PATH} export PKG_CONFIG_PATH
[root@Dread Downloads]# export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:usr/share/gtk-2.0:usr/X11R6/
But with little success. As far as I know this is supposed to tell PKG_CONFIG where to look for packages on my system, but either the glib is not in any of these locations, in which case how do you find it, or I have missed something else completly different.
Any help with this would be very appreciated.
"The eagle never lost so much time as when he submitted to learn from the crow."--Nobody, to William Blake, Dead Man (1996)