Kompilacja pakietu – configure: error: cannot run C compiled programs.

Tematy związane z oprogramowaniem, instalacją, konfiguracją
frank01
Posty: 2
Rejestracja: 26 stycznia 2018, 01:29

Kompilacja pakietu – configure: error: cannot run C compiled programs.

Post autor: frank01 »

Cześć,

Próbuję skompilować pakiet gnome-online-accounts ze źródeł. Wykonanie pliku ./configure daje mi komunikat:

Kod: Zaznacz cały

franek@franek-hp:~/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991$ ./configure
rm: cannot remove 'conf4395.dir/conf4395.file': Permission denied
checking for a BSD-compatible install... /usr/bin/install: cannot stat '/home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/conftest.dir/conftest.one': Permission denied
/usr/bin/install: cannot stat '/home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/conftest.dir/conftest.two': Permission denied
./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... ./configure: line 3166: conftest.dir/file: Permission denied
./configure: line 3166: conftest.dir/file: Permission denied
./configure: line 3166: conftest.dir/file: Permission denied
./configure: line 3166: conftest.dir/file: Permission denied
none
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether to enable debugging... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Co ciekawe, gdy spróbowałem wykonać ten plik jako root, zniknęły wszystkie błędy, poza końcowym:

Kod: Zaznacz cały

root@franek-hp:/home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether to enable debugging... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
A zatem zniknęły wszystkie błędy związane z brakiem dostępu dla zwykłego użytkownika do katalogów conf4395.dir i conftest.dir (których nie ma przed wykonaniem configure); pozostał tylko błąd „cannot run C compiled programs”...

Poniżej treść pliku config.log (po wykonaniu configure jako root):

Kod: Zaznacz cały

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

It was created by GNOME Online Accounts configure 3.22.7, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

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

hostname = franek-hp
uname -m = x86_64
uname -r = 4.9.0-5-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)

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

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

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


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

configure:2566: checking for a BSD-compatible install
configure:2634: result: /usr/bin/install -c
configure:2645: checking whether build environment is sane
configure:2700: result: yes
configure:2851: checking for a thread-safe mkdir -p
configure:2890: result: /bin/mkdir -p
configure:2897: checking for gawk
configure:2913: found /usr/bin/gawk
configure:2924: result: gawk
configure:2935: checking whether make sets $(MAKE)
configure:2957: result: yes
configure:2986: checking whether make supports nested variables
configure:3003: result: yes
configure:3092: checking whether UID '0' is supported by ustar format
configure:3095: result: yes
configure:3102: checking whether GID '0' is supported by ustar format
configure:3105: result: yes
configure:3113: checking how to create a ustar tar archive
configure:3124: tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3127: $? = 0
configure:3167: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3170: $? = 0
configure:3174: tar -xf - <conftest.tar
configure:3177: $? = 0
configure:3179: cat conftest.dir/file
GrepMe
configure:3182: $? = 0
configure:3195: result: gnutar
configure:3251: checking whether to enable maintainer-specific portions of Makefiles
configure:3260: result: yes
configure:3277: checking whether to enable debugging
configure:3339: result: no
configure:3420: checking for gcc
configure:3436: found /usr/bin/gcc
configure:3447: result: gcc
configure:3676: checking for C compiler version
configure:3685: gcc --version >&5
gcc (Debian 6.3.0-18) 6.3.0 20170516
Copyright (C) 2016 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:3696: $? = 0
configure:3685: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18) 
configure:3696: $? = 0
configure:3685: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3696: $? = 1
configure:3685: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3696: $? = 1
configure:3716: checking whether the C compiler works
configure:3738: gcc    conftest.c  >&5
configure:3742: $? = 0
configure:3790: result: yes
configure:3793: checking for C compiler default output file name
configure:3795: result: a.out
configure:3801: checking for suffix of executables
configure:3808: gcc -o conftest    conftest.c  >&5
configure:3812: $? = 0
configure:3834: result: 
configure:3856: checking whether we are cross compiling
configure:3864: gcc -o conftest    conftest.c  >&5
configure:3868: $? = 0
configure:3875: ./conftest
./configure: line 3877: ./conftest: Permission denied
configure:3879: $? = 126
configure:3886: error: in `/home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991':
configure:3888: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GCR_CFLAGS_set=
ac_cv_env_GCR_CFLAGS_value=
ac_cv_env_GCR_LIBS_set=
ac_cv_env_GCR_LIBS_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GTKDOC_DEPS_CFLAGS_set=
ac_cv_env_GTKDOC_DEPS_CFLAGS_value=
ac_cv_env_GTKDOC_DEPS_LIBS_set=
ac_cv_env_GTKDOC_DEPS_LIBS_value=
ac_cv_env_GTK_CFLAGS_set=
ac_cv_env_GTK_CFLAGS_value=
ac_cv_env_GTK_LIBS_set=
ac_cv_env_GTK_LIBS_value=
ac_cv_env_JSON_GLIB_CFLAGS_set=
ac_cv_env_JSON_GLIB_CFLAGS_value=
ac_cv_env_JSON_GLIB_LIBS_set=
ac_cv_env_JSON_GLIB_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBSOUP_CFLAGS_set=
ac_cv_env_LIBSOUP_CFLAGS_value=
ac_cv_env_LIBSOUP_LIBS_set=
ac_cv_env_LIBSOUP_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBXML_CFLAGS_set=
ac_cv_env_LIBXML_CFLAGS_value=
ac_cv_env_LIBXML_LIBS_set=
ac_cv_env_LIBXML_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_REST_CFLAGS_set=
ac_cv_env_REST_CFLAGS_value=
ac_cv_env_REST_LIBS_set=
ac_cv_env_REST_LIBS_value=
ac_cv_env_SECRET_CFLAGS_set=
ac_cv_env_SECRET_CFLAGS_value=
ac_cv_env_SECRET_LIBS_set=
ac_cv_env_SECRET_LIBS_value=
ac_cv_env_TPAW_CFLAGS_set=
ac_cv_env_TPAW_CFLAGS_value=
ac_cv_env_TPAW_LIBS_set=
ac_cv_env_TPAW_LIBS_value=
ac_cv_env_TP_CFLAGS_set=
ac_cv_env_TP_CFLAGS_value=
ac_cv_env_TP_LIBS_set=
ac_cv_env_TP_LIBS_value=
ac_cv_env_WEBKIT_GTK_CFLAGS_set=
ac_cv_env_WEBKIT_GTK_CFLAGS_value=
ac_cv_env_WEBKIT_GTK_LIBS_set=
ac_cv_env_WEBKIT_GTK_LIBS_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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar

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

ACLOCAL='${SHELL} /home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/missing aclocal-1.15'
ALL_LINGUAS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/missing autoconf'
AUTOHEADER='${SHELL} /home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/missing autoheader'
AUTOMAKE='${SHELL} /home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/missing automake-1.15'
AWK='gawk'
BUILD_BACKEND_FALSE=''
BUILD_BACKEND_TRUE=''
BUILD_KERBEROS_FALSE=''
BUILD_KERBEROS_TRUE=''
BUILD_TELEPATHY_FALSE=''
BUILD_TELEPATHY_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DISABLE_DEPRECATED=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_DOCUMENTATION_FALSE=''
ENABLE_DOCUMENTATION_TRUE=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ENABLE_VAPIGEN_FALSE=''
ENABLE_VAPIGEN_TRUE=''
EXEEXT=''
FGREP=''
GCR_CFLAGS=''
GCR_LIBS=''
GETTEXT_PACKAGE=''
GLIB_CFLAGS=''
GLIB_COMPILE_SCHEMAS=''
GLIB_LIBS=''
GMOFILES=''
GMSGFMT=''
GOA_BACKEND_LT_VERSION=''
GOA_LT_VERSION=''
GOA_MAJOR_VERSION=''
GOA_MICRO_VERSION=''
GOA_MINOR_VERSION=''
GREP=''
GSETTINGS_DISABLE_SCHEMAS_COMPILE=''
GSETTINGS_RULES=''
GTKDOC_CHECK=''
GTKDOC_CHECK_PATH=''
GTKDOC_DEPS_CFLAGS=''
GTKDOC_DEPS_LIBS=''
GTKDOC_MKPDF=''
GTKDOC_REBASE=''
GTK_CFLAGS=''
GTK_DOC_BUILD_HTML_FALSE=''
GTK_DOC_BUILD_HTML_TRUE=''
GTK_DOC_BUILD_PDF_FALSE=''
GTK_DOC_BUILD_PDF_TRUE=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
GTK_DOC_USE_REBASE_FALSE=''
GTK_DOC_USE_REBASE_TRUE=''
GTK_LIBS=''
HAVE_GTK_DOC_FALSE=''
HAVE_GTK_DOC_TRUE=''
HAVE_INTROSPECTION_FALSE=''
HAVE_INTROSPECTION_TRUE=''
HTML_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_V_MERGE=''
INTLTOOL_V_MERGE_OPTIONS=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
INTLTOOL__v_MERGE_0=''
INTLTOOL__v_MERGE_=''
INTROSPECTION_CFLAGS=''
INTROSPECTION_COMPILER=''
INTROSPECTION_GENERATE=''
INTROSPECTION_GIRDIR=''
INTROSPECTION_LIBS=''
INTROSPECTION_MAKEFILE=''
INTROSPECTION_SCANNER=''
INTROSPECTION_TYPELIBDIR=''
JSON_GLIB_CFLAGS=''
JSON_GLIB_LIBS=''
KRB5_CFLAGS=''
KRB5_CONFIG=''
KRB5_LIBS=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBSOUP_CFLAGS=''
LIBSOUP_LIBS=''
LIBTOOL=''
LIBXML_CFLAGS=''
LIBXML_LIBS=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='gnome-online-accounts'
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-accounts'
PACKAGE_NAME='GNOME Online Accounts'
PACKAGE_STRING='GNOME Online Accounts 3.22.7'
PACKAGE_TARNAME='gnome-online-accounts'
PACKAGE_URL=''
PACKAGE_VERSION='3.22.7'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
REST_CFLAGS=''
REST_LIBS=''
SECRET_CFLAGS=''
SECRET_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TPAW_CFLAGS=''
TPAW_LIBS=''
TP_CFLAGS=''
TP_LIBS=''
USE_NLS=''
VAPIGEN=''
VAPIGEN_MAKEFILE=''
VAPIGEN_VAPIDIR=''
VERSION='3.22.7'
WARN_CFLAGS=''
WEBKIT_GTK_CFLAGS=''
WEBKIT_GTK_LIBS=''
XGETTEXT=''
XSLTPROC=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gsettingsschemadir=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/franek/Pobrane/gnome-online-accounts-eedc7c6769ea07d6b33ae364a54078e79df3e991/install-sh'
intltool__v_merge_options_0=''
intltool__v_merge_options_=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "GNOME Online Accounts"
#define PACKAGE_TARNAME "gnome-online-accounts"
#define PACKAGE_VERSION "3.22.7"
#define PACKAGE_STRING "GNOME Online Accounts 3.22.7"
#define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-accounts"
#define PACKAGE_URL ""
#define PACKAGE "gnome-online-accounts"
#define VERSION "3.22.7"
#define NDEBUG /**/

configure: exit 1
Nie potrafię rozpoznać z tego loga, gdzie jest pies pogrzebany. Sprawdziłem, że gcc działa i kompiluje jakiś prosty program w C. Czy ktoś wie na czym może polegać problem?
Ostatnio zmieniony 26 stycznia 2018, 20:33 przez frank01, łącznie zmieniany 1 raz.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Kompilacja pakietu – configure: error: cannot run C compiled programs.

Post autor: dedito »

Spróbuj ze źródłami ściągniętymi z repozytoriów Debiana.
frank01
Posty: 2
Rejestracja: 26 stycznia 2018, 01:29

Re: Kompilacja pakietu – configure: error: cannot run C compiled programs.

Post autor: frank01 »

dedito pisze: 26 stycznia 2018, 08:49 Spróbuj ze źródłami ściągniętymi z repozytoriów Debiana.
Niestety, mam Debiana w wersji stabilnej z Gnome 3.22 i w jego repozytoriach jest tylko gnome-online-accounts 3.22.5-1, które już mam zainstalowane. Chciałem zainstalować nowszą wersję 3.22.7, która podobno jest wolna od buga #869187. Z kolei Debian w wersji testowej ma już w repozytoriach gnome-online-accounts 3.26.2-1, więc, jak rozumiem, żeby to zainstalować, musiałbym mieć Gnome 3.26. Albo po prostu... wystarczy przejść z całym Debianem do wersji testowej – to najprostsze rozwiązanie.

I właśnie zastosuję to ostatnie rozwiązanie. Dzięki za naprowadzenie na „właściwą” drogę. :cool:
Awatar użytkownika
Yampress
Administrator
Posty: 6365
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Re: Kompilacja pakietu – configure: error: cannot run C compiled programs.

Post autor: Yampress »

musiałbyś przepakietować (źródła z wersji testowej) skompilować w środowisku stable z bibliotekami zależności środowiska stable
Zablokowany