Hallo !
Probleme Installation libdrm 2.3 unter Opensuse 10.2 / 64 Bit
Mein Vorgehen:
1.Download libdrm-2.3.0.tar.gz
Vorgehen2. - 4. unter root-login:
2.vorhandenes libdrm 2.0 mit yast gelöscht, Fehlermitteilung abhängiger Programme ignoriert
3.Variante laut libdrm readme-Datei + make install ( siehe Protokoll 2 )
./configure --prefix=/usr --exec-prefix=/
make install
Ergebnis Yast zeigt keine Installation von libdrm 2.3
4.Variante laut ibdrm.html-Datei ( siehe Protokoll 3 )
./configure --prefix=$XORG_PREFIX && make
make install
Ergebnis Yast zeigt keine Installation von libdrm 2.3
Was muß ich am Vorgehen ändern, um libdrm 2.3 zu installieren ?
Muß libdrm 2.0 vorher entfernt werden ?
Vielen Dank für Eure Hilfe
Euer libdrmFan !
Protokoll 2:
linux-d1df:/home/sig/aati/software/libdrm-2.3.0 # ./configure --prefix=/usr --exec-prefix=/ checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
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 whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libdrm/Makefile
config.status: creating shared-core/Makefile
config.status: creating libdrm.pc
config.status: creating libdrm/config.h
config.status: executing depfiles commands
linux-d1df:/home/sig/aati/software/libdrm-2.3.0 # make install
Making install in libdrm
make[1]: Entering directory `/home/sig/aati/software/libdrm-2.3.0/libdrm'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drm.lo -MD -MP -MF ".deps/xf86drm.Tpo" -c -o xf86drm.lo xf86drm.c; \
then mv -f ".deps/xf86drm.Tpo" ".deps/xf86drm.Plo"; else rm -f ".deps/xf86drm.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drm.lo -MD -MP -MF .deps/xf86drm.Tpo -c xf86drm.c -fPIC -DPIC -o .libs/xf86drm.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drmHash.lo -MD -MP -MF ".deps/xf86drmHash.Tpo" -c -o xf86drmHash.lo xf86drmHash.c; \
then mv -f ".deps/xf86drmHash.Tpo" ".deps/xf86drmHash.Plo"; else rm -f ".deps/xf86drmHash.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drmHash.lo -MD -MP -MF .deps/xf86drmHash.Tpo -c xf86drmHash.c -fPIC -DPIC -o .libs/xf86drmHash.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drmRandom.lo -MD -MP -MF ".deps/xf86drmRandom.Tpo" -c -o xf86drmRandom.lo xf86drmRandom.c; \
then mv -f ".deps/xf86drmRandom.Tpo" ".deps/xf86drmRandom.Plo"; else rm -f ".deps/xf86drmRandom.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drmRandom.lo -MD -MP -MF .deps/xf86drmRandom.Tpo -c xf86drmRandom.c -fPIC -DPIC -o .libs/xf86drmRandom.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drmSL.lo -MD -MP -MF ".deps/xf86drmSL.Tpo" -c -o xf86drmSL.lo xf86drmSL.c; \
then mv -f ".deps/xf86drmSL.Tpo" ".deps/xf86drmSL.Plo"; else rm -f ".deps/xf86drmSL.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -g -O2 -MT xf86drmSL.lo -MD -MP -MF .deps/xf86drmSL.Tpo -c xf86drmSL.c -fPIC -DPIC -o .libs/xf86drmSL.o
/bin/sh ../libtool --tag=CC --mode=link gcc -I../shared-core -g -O2 -o libdrm.la -rpath //lib -version-number 2:3:0 -no-undefined xf86drm.lo xf86drmHash.lo xf86drmRandom.lo xf86drmSL.lo
gcc -shared .libs/xf86drm.o .libs/xf86drmHash.o .libs/xf86drmRandom.o .libs/xf86drmSL.o -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.3.0
(cd .libs && rm -f libdrm.so.2 && ln -s libdrm.so.2.3.0 libdrm.so.2)
(cd .libs && rm -f libdrm.so && ln -s libdrm.so.2.3.0 libdrm.so)
creating libdrm.la
(cd .libs && rm -f libdrm.la && ln -s ../libdrm.la libdrm.la)
make[2]: Entering directory `/home/sig/aati/software/libdrm-2.3.0/libdrm'
make[2]: Nothing to be done for `install-exec-am'.
test -z "//lib" || mkdir -p -- "//lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libdrm.la' '//lib/libdrm.la'
/usr/bin/install -c .libs/libdrm.so.2.3.0 //lib/libdrm.so.2.3.0
(cd //lib && { ln -s -f libdrm.so.2.3.0 libdrm.so.2 || { rm -f libdrm.so.2 && ln -s libdrm.so.2.3.0 libdrm.so.2; }; })
(cd //lib && { ln -s -f libdrm.so.2.3.0 libdrm.so || { rm -f libdrm.so && ln -s libdrm.so.2.3.0 libdrm.so; }; })
/usr/bin/install -c .libs/libdrm.lai //lib/libdrm.la
PATH="$PATH:/sbin" ldconfig -n //lib
----------------------------------------------------------------------
Libraries have been installed in:
//lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so( manual pages.
----------------------------------------------------------------------
test -z "/usr/include" || mkdir -p -- "/usr/include"
/usr/bin/install -c -m 644 'xf86drm.h' '/usr/include/xf86drm.h'
/usr/bin/install -c -m 644 'xf86mm.h' '/usr/include/xf86mm.h'
make[2]: Leaving directory `/home/sig/aati/software/libdrm-2.3.0/libdrm'
make[1]: Leaving directory `/home/sig/aati/software/libdrm-2.3.0/libdrm'
Making install in shared-core
make[1]: Entering directory `/home/sig/aati/software/libdrm-2.3.0/shared-core'
make[2]: Entering directory `/home/sig/aati/software/libdrm-2.3.0/shared-core'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/drm" || mkdir -p -- "/usr/include/drm"
/usr/bin/install -c -m 644 'drm.h' '/usr/include/drm/drm.h'
/usr/bin/install -c -m 644 'drm_sarea.h' '/usr/include/drm/drm_sarea.h'
/usr/bin/install -c -m 644 'i915_drm.h' '/usr/include/drm/i915_drm.h'
/usr/bin/install -c -m 644 'mach64_drm.h' '/usr/include/drm/mach64_drm.h'
/usr/bin/install -c -m 644 'mga_drm.h' '/usr/include/drm/mga_drm.h'
/usr/bin/install -c -m 644 'r128_drm.h' '/usr/include/drm/r128_drm.h'
/usr/bin/install -c -m 644 'radeon_drm.h' '/usr/include/drm/radeon_drm.h'
/usr/bin/install -c -m 644 'savage_drm.h' '/usr/include/drm/savage_drm.h'
/usr/bin/install -c -m 644 'sis_drm.h' '/usr/include/drm/sis_drm.h'
/usr/bin/install -c -m 644 'via_drm.h' '/usr/include/drm/via_drm.h'
/usr/bin/install -c -m 644 'r300_reg.h' '/usr/include/drm/r300_reg.h'
/usr/bin/install -c -m 644 'via_3d_reg.h' '/usr/include/drm/via_3d_reg.h'
make[2]: Leaving directory `/home/sig/aati/software/libdrm-2.3.0/shared-core'
make[1]: Leaving directory `/home/sig/aati/software/libdrm-2.3.0/shared-core'
make[1]: Entering directory `/home/sig/aati/software/libdrm-2.3.0'
make[2]: Entering directory `/home/sig/aati/software/libdrm-2.3.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "//lib/pkgconfig" || mkdir -p -- "//lib/pkgconfig"
/usr/bin/install -c -m 644 'libdrm.pc' '//lib/pkgconfig/libdrm.pc'
make[2]: Leaving directory `/home/sig/aati/software/libdrm-2.3.0'
make[1]: Leaving directory `/home/sig/aati/software/libdrm-2.3.0'
Protokoll 3:
folgt im Ergänzungsthema
libdrmFan Gast |