Created
September 26, 2015 14:23
-
-
Save martinklepsch/f1471f6295a39a48dc49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
racket-minimal = stdenv.mkDerivation rec { | |
name = "racket-minimal-${version}"; | |
version = "6.2.1"; | |
src = fetchurl { | |
url = "http://mirror.racket-lang.org/installers/${version}/${name}-src-builtpkgs.tgz"; | |
# "http://mirror.racket-lang.org/installers/${version}/${name}-src.tgz"; | |
sha256 = "0dkbr2cqkalh1v46p37m4xi7mcgwkzc4v90gclwsjrmb4dgypv27"; | |
}; | |
libPath = stdenv.lib.makeLibraryPath [ | |
# cairo | |
# fontconfig | |
# glib | |
# gmp | |
# gtk | |
# libjpeg | |
# libpng | |
# mpfr | |
# openssl | |
# pango | |
# poppler | |
# readline | |
# sqlite | |
]; | |
# FONTCONFIG_FILE = fontsConf; | |
LD_LIBRARY_PATH = libPath; | |
NIX_LDFLAGS = "-lgcc_s"; | |
buildInputs = [ fontconfig libffi libtool makeWrapper sqlite ]; | |
preConfigure = '' | |
substituteInPlace src/configure --replace /usr/bin/uname ${coreutils}/bin/uname | |
mkdir src/build | |
cd src/build | |
''; | |
configureFlags = [ "--disable-debug" "--disable-dependency-tracking" "--enable-macprefix" ]; | |
configureScript = "../configure"; | |
enableParallelBuilding = false; | |
# postInstall = '' | |
# for p in $(ls $out/bin/) ; do | |
# wrapProgram $out/bin/$p --set LD_LIBRARY_PATH "${LD_LIBRARY_PATH}"; | |
# done | |
# ''; | |
meta = with stdenv.lib; { | |
description = "A programmable programming language"; | |
longDescription = '' | |
Racket is a full-spectrum programming language. It goes beyond | |
Lisp and Scheme with dialects that support objects, types, | |
laziness, and more. Racket enables programmers to link | |
components written in different dialects, and it empowers | |
programmers to create new, project-specific dialects. Racket's | |
libraries support applications from web servers and databases to | |
GUIs and charts. | |
''; | |
homepage = http://racket-lang.org/; | |
license = licenses.lgpl3; | |
maintainers = with maintainers; [ kkallio henrytill ]; | |
platforms = platforms.unix; | |
}; | |
}; |
Author
martinklepsch
commented
Sep 26, 2015
config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ../configure --prefix=/nix/store/rfgadi7dan9nfxsqgp8f4x7s10jrrqrw-racket-minimal-6.2.1 --disable-debug --disable-dependency-tracking --enable-macprefix
## --------- ##
## Platform. ##
## --------- ##
hostname = Martins-MacBook-Air.local
uname -m = x86_64
uname -r = 15.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 15.0.0: Wed Aug 26 19:41:34 PDT 2015; root:xnu-3247.1.106~5/RELEASE_X86_64
/nix/store/4cb3g4qllvv6rlyxv5jw3qkfydd58iqx-coreutils-8.24/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 15.0.0: Wed Aug 26 19:41:34 PDT 2015; root:xnu-3247.1.106~5/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 353 tasks, 1774 threads, 4 processors
Load average: 3.68, Mach factor: 1.24
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /nix/store/adg8jd6x9smz4zdq373112j3ddyrs93g-fontconfig-2.11.1/bin
PATH: /nix/store/mq0rxwfdz8gza34m4f28806kzwbbvsqd-freetype-2.5.4/bin
PATH: /nix/store/9x417mxb75h5v9l02gmq5ssbpa1r5mx0-bzip2-1.0.6/bin
PATH: /nix/store/fya2vwx446i1cnvhxnn0vzyd1b73rqiz-libpng-apng-1.6.18/bin
PATH: /nix/store/g9jn8w0q0hzzzq0jfbi4kak9zg5hvrsr-libtool-2.4.6/bin
PATH: /nix/store/848y5w92c6kqrc0m29s7ga8s7m51z2c3-gnum4-1.4.17/bin
PATH: /nix/store/q648xahmmr4ma04bpc03ak3x66ixv9h1-sqlite-3.8.11.1/bin
PATH: /nix/store/zsyiaywgs4dmlyy0nzr13wzxmx00vxw0-clang-wrapper-3.7.0/bin
PATH: /nix/store/8wsv9cl4jl5ipswdrijx6a0m4kpz7gi1-coreutils-8.24/bin
PATH: /nix/store/9z46qdzfa13cn6fj7icnc2bjpkvbi3ci-findutils-4.4.2/bin
PATH: /nix/store/i7lz71jgx1420hvnw6rq8visg26shbz3-diffutils-3.3/bin
PATH: /nix/store/rmqmcj06jxd0z4m0w10yb2ps9n2hhffl-gnused-4.2.2/bin
PATH: /nix/store/9js082hlwf7h5j57qq9n1xiikgylpprb-gnugrep-2.21/bin
PATH: /nix/store/qb5gswri8fyqxi64gr0ls42xznjhwh2s-gawk-4.1.3/bin
PATH: /nix/store/s9lsnnw8fy4a123lwa49wbs78pzy7qzp-gnutar-1.28/bin
PATH: /nix/store/8kn1ihjirljc6d8jkdqglkydyq411nra-gzip-1.6/bin
PATH: /nix/store/jr91vbzhrbblxydxlhisiiidm0w7wci4-bzip2-1.0.6/bin
PATH: /nix/store/qzsx9bqylq0syk1ciq1by5rh9ygff2lz-gnumake-4.1/bin
PATH: /nix/store/k9kbf7ygq9y6gavg8jvqircawabmp90s-bash-4.3-p42/bin
PATH: /nix/store/a125lcw7i2i71if37x0lwwl6nsc1mm44-patch-2.7.5/bin
PATH: /nix/store/5mwzaznk54090a5gp1vabcyamimy3s9j-xz-5.2.1/bin
PATH: /nix/store/ha20p18d6pmn9x7aqfylzhk4nfi370z8-clang-3.7.0/bin
PATH: /nix/store/m8j8fh0j7c1yikaz5liyiph8jrsd406p-cctools-port-862/bin
PATH: /nix/store/8wsv9cl4jl5ipswdrijx6a0m4kpz7gi1-coreutils-8.24/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2469: checking build system type
configure:2483: result: x86_64-apple-darwin15.0.0
configure:2503: checking host system type
configure:2516: result: x86_64-apple-darwin15.0.0
configure:2536: checking target system type
configure:2549: result: x86_64-apple-darwin15.0.0
configure:3320: checking for gcc
configure:3347: result: clang
configure:3576: checking for C compiler version
configure:3585: clang --version >&5
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
configure:3596: $? = 0
configure:3585: clang -v >&5
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
configure:3596: $? = 0
configure:3585: clang -V >&5
clang-3.7: error: unsupported option '-V -B/nix/store/zsyiaywgs4dmlyy0nzr13wzxmx00vxw0-clang-wrapper-3.7.0/bin/'
clang-3.7: error: no input files
configure:3596: $? = 1
configure:3585: clang -qversion >&5
clang-3.7: error: unknown argument: '-qversion'
clang-3.7: error: no input files
configure:3596: $? = 1
configure:3616: checking whether the C compiler works
configure:3638: clang conftest.c >&5
ld: library not found for -lgcc_s
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3642: $? = 1
configure:3680: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_SINGLE_FLOATS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3685: error: in `/private/var/folders/ss/4qg3hk1d4nv40phg1360ng5w0000gn/T/nix-build-racket-minimal-6.2.1.drv-2/racket-6.2.1/src/build':
configure:3687: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin15.0.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_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_host=x86_64-apple-darwin15.0.0
ac_cv_prog_ac_ct_CC=clang
ac_cv_target=x86_64-apple-darwin15.0.0
gl_cv_func_getcwd_abort_bug=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
ARFLAGS=''
AS=''
CC='clang'
CC_FOR_BUILD=''
CFLAGS=''
CGC='cgc'
CGCOPTIONS=''
CGC_CAP_INSTALLED='CGC'
CGC_IF_NEEDED_FOR_MMM=''
CGC_INSTALLED='cgc'
COLLECTS_PATH='../collects'
COMPFLAGS=''
CONFIG_PATH='../etc'
CPP=''
CPPFLAGS=''
DEFS=''
DIRCVTPOST=''
DIRCVTPRE=''
DLLTOOL='dlltool'
DYN_CFLAGS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXE_SUFFIX=''
EXTRA_GMP_DEP=''
EXTRA_GMP_OBJ=''
EXTRA_OSK_LIBS=''
FOREIGNTARGET=''
FOREIGN_CONVENIENCE=''
FOREIGN_IF_USED=''
FOREIGN_OBJSLIB=''
FRAMEWORK_INSTALL_DIR=''
FRAMEWORK_PREFIX=''
FRAMEWORK_REL_INSTALL=''
GC2OPTIONS=''
GCDIR='gc'
GREP=''
ICP=''
INCLUDEDEP='#'
INSTALL_LIBS_ENABLE='no-install'
INSTALL_ORIG_TREE='yes'
INSTALL_PKGSCOPE='user'
INSTALL_SETUP_FLAGS=''
LDFLAGS=''
LIBFINISH=''
LIBOBJS=''
LIBRACKET_DEP=''
LIBS=''
LIBSFX=''
LTA=''
LTLIBOBJS=''
LTO=''
MAIN_VARIANT='3m'
MAKE_COPYTREE='copytree'
MAKE_FINISH=''
MAKE_GRACKET=''
MAKE_INSTALL_PKGSCOPE='preserve'
MINGW=''
MMM='3m'
MMM_CAP_INSTALLED=''
MMM_INSTALLED=''
MRLIBINSTALL=''
MROPTIONS=''
MZBINTARGET='normal-bin'
MZINSTALLBINDIR='$(bindir)'
MZINSTALLTARGET='unix-install'
MZLINKER=''
MZOPTIONS=''
NOT_MINGW=''
NOT_OSX=''
OBJEXT=''
OPTIONS=''
OSKHOME=''
OSX=''
OWN_LIBFFI='ON'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PLAIN_CC=''
PREFLAGS=''
PROFFLAGS=''
PWD='pwd'
RANLIB=''
REZ=''
RUN_RACKET_CGC=''
RUN_RACKET_MAIN_VARIANT=''
RUN_RACKET_MMM=''
SED=''
SHELL='/nix/store/k9kbf7ygq9y6gavg8jvqircawabmp90s-bash-4.3-p42/bin/bash'
SO_SUFFIX='.so'
STATIC_AR=''
STRIP=''
STRIP_DEBUG=':'
USE_WXPRECOMP=''
WINDRES='windres'
WXLIBS=''
WXPRECOMP=''
WXVARIANT='wx_xt'
WX_MMD_FLAG=''
XFORMFLAGS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='clang'
appsdir='${prefix}/share/applications'
appsdir='${prefix}/share/applications'
bindir='${prefix}/bin'
build='x86_64-apple-darwin15.0.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin15.0.0'
build_vendor='apple'
collectsdir='${prefix}/collects'
collectsdir='${prefix}/collects'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${prefix}/doc'
etcpltdir='${prefix}/etc'
exec_prefix='NONE'
host='x86_64-apple-darwin15.0.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin15.0.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
includepltdir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libpltdir='${prefix}/lib'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
platform_ar_found=''
prefix='/nix/store/rfgadi7dan9nfxsqgp8f4x7s10jrrqrw-racket-minimal-6.2.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sharepltdir='${prefix}/share'
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin15.0.0'
target_alias=''
target_cpu='x86_64'
target_os='darwin15.0.0'
target_vendor='apple'
x_includes='NONE'
x_libraries='NONE'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define USE_SINGLE_FLOATS 1
configure: exit 77
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment