(Gelöst) Probleme mit der Installation von src.rpm Paketen

Status
Für weitere Antworten geschlossen.

deltoideus

New Member
Hallo erst mal!
Ich wolltte auf meinem Notebook (Acer 5024) acer_acpi und Wine 1.0 installieren und habe dazu die src.rpm Pakete runtergeladen. Habe die Pakete wie beschrieben mit rpmbuild --rebuild *src.rpm versucht zu installieren bzw rpm Paket versucht zu erstellen.Doch leider gibt er bei "configure" immer den Fehler "configure: error: C compiler cannot create executables" aus.


Die Installation sagt aus:
+ '[' 0 -ne 0 ']'
+ cd wine-1.0
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /usr/src/packages/SOURCES/README.SuSE .
+ test -d dlls/winemp3.acm
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.46983
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/wine-1.0-build
++ dirname /var/tmp/wine-1.0-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/wine-1.0-build
+ cd wine-1.0
+ autoconf
+ CFLAGS='-DLDAP_DEPRECATED=1 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ ./configure --prefix=/usr --with-x --verbose --mandir=/var/tmp/wine-1.0-build//usr/share/man
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.46983 (%build)



RPM build errors:
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 0175623e
Bad exit status from /var/tmp/rpm-tmp.46983 (%build)
(Hab mal den unteren Abschnitt hinzugefügt. Der Anfang verläuft noch vernünftig)

config.log sagt dies aus:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Wine configure 1.0, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure --prefix=/usr --with-x --verbose --mandir=/var/tmp/wine-1.0-build//usr/share/man

## --------- ##
## Platform. ##
## --------- ##

hostname = linux-evj7
uname -m = x86_64
uname -r = 2.6.25.11-0.1-default
uname -s = Linux
uname -v = #1 SMP 2008-07-13 20:48:28 +0200

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /opt/kde3/bin
PATH: /home/benedikt/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib64/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2128: checking build system type
configure:2146: result: x86_64-unknown-linux-gnu
configure:2168: checking host system type
configure:2183: result: x86_64-unknown-linux-gnu
configure:2249: checking whether make sets $(MAKE)
configure:2270: result: yes
configure:2327: checking for gcc
configure:2354: result: gcc -m32
configure:2592: checking for C compiler version
configure:2599: gcc -m32 --version >&5
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2602: $? = 0
configure:2609: gcc -m32 -v >&5
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
configure:2612: $? = 0
configure:2619: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2622: $? = 1
configure:2645: checking for C compiler default output file name
configure:2672: gcc -m32 -DLDAP_DEPRECATED=1 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 conftest.c >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcc.a when searching for -lgcc
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:2675: $? = 1
configure:2713: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "Wine 1.0"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2720: error: C compiler cannot create executables
See `config.log' for more details.
(gekürzt. Ganze log file siehe unten)

Die Googlesuche gab aus, dass der Fehler oft behoben wurde, durch die Installation eines Fehlendes Paket.Hab aber all diese Pakete nachinstalliert. Der Fehler tritt aber weiterhin auf.Könnte mir einer sagen, welche Pakete für die src.rpm installation wichtig sind und standardmäßig benötigt werden.
Danke schonmal im voraus.
 

deltoideus

New Member
AW: Probleme mit der Installation von src.rpm Paketen

Ganze config.log file:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Wine configure 1.0, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure --prefix=/usr --with-x --verbose --mandir=/var/tmp/wine-1.0-build//usr/share/man

## --------- ##
## Platform. ##
## --------- ##

hostname = linux-evj7
uname -m = x86_64
uname -r = 2.6.25.11-0.1-default
uname -s = Linux
uname -v = #1 SMP 2008-07-13 20:48:28 +0200

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /opt/kde3/bin
PATH: /home/benedikt/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib64/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2128: checking build system type
configure:2146: result: x86_64-unknown-linux-gnu
configure:2168: checking host system type
configure:2183: result: x86_64-unknown-linux-gnu
configure:2249: checking whether make sets $(MAKE)
configure:2270: result: yes
configure:2327: checking for gcc
configure:2354: result: gcc -m32
configure:2592: checking for C compiler version
configure:2599: gcc -m32 --version >&5
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2602: $? = 0
configure:2609: gcc -m32 -v >&5
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
configure:2612: $? = 0
configure:2619: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2622: $? = 1
configure:2645: checking for C compiler default output file name
configure:2672: gcc -m32 -DLDAP_DEPRECATED=1 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 conftest.c >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcc.a when searching for -lgcc
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:2675: $? = 1
configure:2713: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "Wine 1.0"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2720: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-DLDAP_DEPRECATED=1 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'

ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC='gcc -m32'
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALSALIBS=''
AR=''
ARFLAGS=''
AS='as --32'
AUDIOIOLIBS=''
BISON=''
BUILTINFLAG=''
CARBONLIB=''
CC='gcc -m32'
CFLAGS='-DLDAP_DEPRECATED=1 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
COREAUDIO=''
COREFOUNDATIONLIB=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTEST=''
CROSSWINDRES=''
CRTLIBS=''
CXX='g++ -m32'
CXXFLAGS=''
DEFS=''
DEPENDENCIES=''
DISKARBITRATIONLIB=''
DLLEXT=''
DLLFLAGS=''
DLLTOOL=''
DLLWRAP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ESDCONFIG=''
ESDINCL=''
ESDLIBS=''
EXEEXT=''
EXTRACFLAGS=''
EXTRA_BINARIES=''
FLEX=''
FONTCONFIGINCL=''
FONTFORGE=''
FONTSSUBDIRS=''
FREETYPEINCL=''
FREETYPELIBS=''
GLU32FILES=''
GPHOTO2INCL=''
GPHOTO2LIBS=''
GREP=''
HALINCL=''
ICOTOOL=''
IMPLIBEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IOKITLIB=''
LCMSLIBS=''
LD='ld -m elf_i386'
LDAPLIBS=''
LDCONFIG=''
LDD=''
LDDLLFLAGS=''
LDEXECFLAGS=''
LDFLAGS=''
LDPATH=''
LDRPATH_INSTALL=''
LDRPATH_LOCAL=''
LDSHARED=''
LIBDL=''
LIBEXT=''
LIBOBJS=''
LIBPOLL=''
LIBPTHREAD=''
LIBS=''
LINT=''
LINTFLAGS=''
LN=''
LN_S=''
LTLIBOBJS=''
MAINTAINER_MODE='#'
MAIN_BINARY=''
MINGWAR=''
NASLIBS=''
OBJEXT=''
OPENGLFILES=''
OPENGL_LIBS=''
PACKAGE_BUGREPORT='wine-devel@winehq.org'
PACKAGE_NAME='Wine'
PACKAGE_STRING='Wine 1.0'
PACKAGE_TARNAME='wine'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PRELINK=''
QUARTZFILES=''
RANLIB=''
RESOLVLIBS=''
RSVG=''
SANEINCL=''
SECURITYLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SOCKETLIBS=''
STRIP=''
TOOLSDIR=''
WIN16_FILES='$(WIN16_FILES)'
WIN16_INSTALL='$(WIN16_INSTALL)'
WINDRES=''
XFILES=''
XLIB=''
XMKMF=''
XML2INCL=''
XML2LIBS=''
XSLTINCL=''
XSLTLIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AS=''
ac_ct_CC='gcc -m32'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
ft_devel=''
gphoto2_devel=''
gphoto2port_devel=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='i386'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/var/tmp/wine-1.0-build//usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sane_devel=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MAKE_DLL_RULES=''
MAKE_IMPLIB_RULES=''
MAKE_PROG_RULES=''
MAKE_RULES=''
MAKE_TEST_RULES=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "Wine"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "Wine 1.0"
#define PACKAGE_BUGREPORT "wine-devel@winehq.org"

configure: exit 77
 

deltoideus

New Member
AW: Probleme mit der Installation von src.rpm Paketen

Mir ging es eigentlich nur die erstellung von rpms aus src.rpm.aber hat jetzt geklappt.Auf der Wine Seite stand eine Liste von Programmen die installiert sein müssen.Darunter war auch gcc-32bit, das mir fehlte.Hatte nur gcc installiert.War wahrscheinlich die Ursache.
Aber ist das normal,dass das erstellen des rpms so lange dauert?
Danke nochmal.
 

Rain_Maker

Administrator
Teammitglied
AW: Probleme mit der Installation von src.rpm Paketen

deltoideus schrieb:
Aber ist das normal,dass das erstellen des rpms so lange dauert?
Ja, Nein, vielleicht.

Das hängt natürlich von src.rpm bzw. dem darin enthaltenen Programm ab, wie lange das dann zum Kompilieren braucht.

Greetz,

RM
 
Status
Für weitere Antworten geschlossen.
Oben