all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: ludo@gnu.org, guix-devel@gnu.org
Subject: Re: guix 0.7 installation
Date: Sat, 30 Aug 2014 23:53:57 +0200	[thread overview]
Message-ID: <CAKrPhPP4cnH=X6qG_4=X-i6JOdzX=t7DELLn+haPDU6t5m-YUA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

> This is an old Guile version, whose web client has problems that Guix
> tries to work around.  However, from a quick look, ‘guix pull’ uses a
> path for its download that does not attempt to work around the 2.0.5
> issues (namely it uses the (guix build download) module, instead of
> (guix web-client).)
>
> For now, would it be an option for you to upgrade to a newer Guile?
> That would be the best solution.

OK. To update guile I thought I would follow the guix README file and
build guix with guix.
So, I've given the command:

$ guix package --install={autoconf,automake,bzip2,gcc-toolchain,gettext,guile,libgcrypt,pkg-config,sqlite}

and got the packages installed :-)
At the end of the process I've been told to define the following
environment variables:

   export PKG_CONFIG_PATH="/home/beffa/.guix-profile/lib/pkgconfig"
   export ACLOCAL_PATH="/home/beffa/.guix-profile/share/aclocal"

On top of those I've defined the PATH as follows:

export PATH=$HOME/.guix-profile/bin:$PATH

The README file mentions all of the following veriables: ACLOCAL_PATH,
CPATH, LIBRARY_PATH, PKG_CONFIG_PATH. However, only the above ones
have been mentioned during the installation phase and defined.

Then I've cleaned up the build area with "make distclean" and
according to the README file I've issued

./configure --with-libgcrypt-prefix=$HOME/.guix-profile/

Unfortunately I've got a new error:

$ ./configure --with-libgcrypt-prefix=$HOME/.guix-profile/
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/beffa/Downloads/guix-0.7':
configure: error: C compiler cannot create executables

Please find attached the full config.log.

What do you think? Would I be better downloading and installing a
newer guile version the "traditional" way?

Thanks for your help!
Regards,
Fede

[-- Attachment #2: config.log --]
[-- Type: text/x-log, Size: 8693 bytes --]

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

It was created by GNU Guix configure 0.7, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --with-libgcrypt-prefix=/home/beffa/.guix-profile/

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

hostname = leo
uname -m = x86_64
uname -r = 3.2.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 3.2.60-1+deb7u3

/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: /home/beffa/.guix-profile/bin
PATH: /home/beffa/.guix-profile/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


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

configure:2501: checking for a BSD-compatible install
configure:2569: result: /usr/bin/install -c
configure:2580: checking whether build environment is sane
configure:2635: result: yes
configure:2786: checking for a thread-safe mkdir -p
configure:2825: result: /bin/mkdir -p
configure:2832: checking for gawk
configure:2862: result: no
configure:2832: checking for mawk
configure:2848: found /usr/bin/mawk
configure:2859: result: mawk
configure:2870: checking whether make sets $(MAKE)
configure:2892: result: yes
configure:2921: checking whether make supports nested variables
configure:2938: result: yes
configure:3079: checking for style of include used by make
configure:3107: result: GNU
configure:3178: checking for gcc
configure:3194: found /home/beffa/.guix-profile/bin/gcc
configure:3205: result: gcc
configure:3434: checking for C compiler version
configure:3443: gcc --version >&5
gcc (GCC) 4.9.1
Copyright (C) 2014 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:3454: $? = 0
configure:3443: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/gnu/store/qj9nmaalc5dbrs6y03bv0744w3bn63x6-gcc-4.9.1/libexec/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: 
Thread model: posix
gcc version 4.9.1 (GCC) 
configure:3454: $? = 0
configure:3443: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3454: $? = 1
configure:3443: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3454: $? = 1
configure:3474: checking whether the C compiler works
configure:3496: gcc    conftest.c  >&5
ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3500: $? = 1
configure:3538: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Guix"
| #define PACKAGE_TARNAME "guix"
| #define PACKAGE_VERSION "0.7"
| #define PACKAGE_STRING "GNU Guix 0.7"
| #define PACKAGE_BUGREPORT "bug-guix@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/guix/"
| #define PACKAGE "guix"
| #define VERSION "0.7"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3543: error: in `/home/beffa/Downloads/guix-0.7':
configure:3545: error: C compiler cannot create executables
See `config.log' for more details

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

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=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_GUILE_CFLAGS_set=
ac_cv_env_GUILE_CFLAGS_value=
ac_cv_env_GUILE_LIBS_set=
ac_cv_env_GUILE_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/home/beffa/.guix-profile/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SQLITE3_CFLAGS_set=
ac_cv_env_SQLITE3_CFLAGS_value=
ac_cv_env_SQLITE3_LIBS_set=
ac_cv_env_SQLITE3_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=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

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

ACLOCAL='${SHELL} /home/beffa/Downloads/guix-0.7/build-aux/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /home/beffa/Downloads/guix-0.7/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /home/beffa/Downloads/guix-0.7/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /home/beffa/Downloads/guix-0.7/build-aux/missing automake-1.14'
AWK='mawk'
BUILD_DAEMON_FALSE=''
BUILD_DAEMON_OFFLOAD_FALSE=''
BUILD_DAEMON_OFFLOAD_TRUE=''
BUILD_DAEMON_TRUE=''
BZIP2=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DOT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GETTEXT_MACRO_VERSION=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
GUILD=''
GUILE=''
GUILE_CFLAGS=''
GUILE_CONFIG=''
GUILE_LIBS=''
GUILE_TOOLS=''
GUIX_TEST_ROOT=''
GZIP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_SRFI_37_FALSE=''
INSTALL_SRFI_37_TRUE=''
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LDFLAGS=''
LIBGCRYPT=''
LIBGCRYPT_CFLAGS=''
LIBGCRYPT_LIBDIR=''
LIBGCRYPT_LIBS=''
LIBGCRYPT_PREFIX=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/beffa/Downloads/guix-0.7/build-aux/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NIXPKGS=''
NIX_HASH=''
NIX_INSTANTIATE=''
NIX_PREFIX=''
OBJEXT=''
PACKAGE='guix'
PACKAGE_BUGREPORT='bug-guix@gnu.org'
PACKAGE_NAME='GNU Guix'
PACKAGE_STRING='GNU Guix 0.7'
PACKAGE_TARNAME='guix'
PACKAGE_URL='http://www.gnu.org/software/guix/'
PACKAGE_VERSION='0.7'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/home/beffa/.guix-profile/lib/pkgconfig'
POSUB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SQLITE3_CFLAGS=''
SQLITE3_LIBS=''
STRIP=''
USE_NLS=''
VERSION='0.7'
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
XZ=''
ac_ct_CC='gcc'
ac_ct_CXX=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-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'
guilemoduledir=''
guix_localstatedir=''
guix_sbindir=''
guix_sysconfdir=''
guix_system=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/beffa/Downloads/guix-0.7/build-aux/install-sh'
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}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
storedir=''
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "GNU Guix"
#define PACKAGE_TARNAME "guix"
#define PACKAGE_VERSION "0.7"
#define PACKAGE_STRING "GNU Guix 0.7"
#define PACKAGE_BUGREPORT "bug-guix@gnu.org"
#define PACKAGE_URL "http://www.gnu.org/software/guix/"
#define PACKAGE "guix"
#define VERSION "0.7"

configure: exit 77

             reply	other threads:[~2014-08-30 21:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30 21:53 Federico Beffa [this message]
2014-08-31 20:22 ` guix 0.7 installation Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2014-09-13 12:08 Federico Beffa
2014-09-14 14:24 ` Ludovic Courtès
2014-09-12 15:34 Federico Beffa
2014-09-12 19:35 ` Ludovic Courtès
2014-09-02 12:21 Federico Beffa
2014-08-30 12:43 Federico Beffa
2014-08-30 20:18 ` Ludovic Courtès
2014-08-30 11:33 Federico Beffa
2014-08-30 20:11 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKrPhPP4cnH=X6qG_4=X-i6JOdzX=t7DELLn+haPDU6t5m-YUA@mail.gmail.com' \
    --to=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.