sionescu / iolib

Common Lisp I/O library
http://common-lisp.net/project/iolib/
MIT License
141 stars 31 forks source link

The groveler must allow environment variables containing multiple paths #11

Open dimitri opened 10 years ago

dimitri commented 10 years ago

It appears not to be possible in install iolib when using ccache in the CC environment variable, as in the following:

CONFIG> (ql:quickload "pginstall")
To load "pginstall":
  Load 1 ASDF system:
    pginstall
; Loading "pginstall"
[package cffi-grovel]...........
; compiling file "/Users/dim/quicklisp/dists/quicklisp/software/iolib-0.7.3/src/syscalls/pkgdcl.lisp" (written 14 DEC 2013 05:26:00 PM):
..................
[package iolib.syscalls]

; /Users/dim/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/dim/quicklisp/dists/quicklisp/software/iolib-0.7.3/src/syscalls/pkgdcl-ASDF-TMP.fasl written
; compilation finished in 0:00:00.011
; compiling file "/Users/dim/quicklisp/dists/quicklisp/software/iolib-0.7.3/src/syscalls/unix-syscall-path-strings.lisp" (written 14 DEC 2013 05:26:00 PM):
..

; /Users/dim/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/dim/quicklisp/dists/quicklisp/software/iolib-0.7.3/src/syscalls/unix-syscall-path-strings-ASDF-TMP.fasl written
; compilation finished in 0:00:00.208
; /usr/local/bin/ccache /usr/local/Cellar/gcc47/4.7.3/bin/gcc-4.7 -m64 -I /opt/local/include/ -I/Users/dim/quicklisp/dists/quicklisp/software/cffi_0.11.2/ -o /Users/dim/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/dim/quicklisp/dists/quicklisp/software/iolib-0.7.3/src/syscalls/ffi-types-unix /Users/dim/.cache/common-lisp/sbcl-1.1.14-macosx-x64/Users/dim/quicklisp/dists/quicklisp/software/iolib-0.7.3/src/syscalls/ffi-types-unix.c
; 
; compilation unit aborted
;   caught 2 fatal ERROR conditions
; Evaluation aborted on #<SIMPLE-ERROR "Couldn't execute ~S: ~A" {100ADF0DB3}>.
sionescu commented 9 years ago

Hi @dimitri, how are you using ccache ?

dimitri commented 9 years ago

Not using iolib in my projects anymore, all I needed was to be found in uiop so it was kind of overkill. That said, here's my CC setting:

echo $CC
/usr/local/bin/ccache /usr/local/Cellar/gcc47/4.7.3/bin/gcc-4.7
sionescu commented 9 years ago

Thanks, I'll add a shell command line parser for cases like these

Stelian Ionescu notifications@github.com writes:

Hi @dimitri, how are you using ccache ?

Not using iolib in my projects anymore, all I needed was to be found in uiop so it was kind of overkill. That said, here's my CC setting:

echo $CC /usr/local/bin/ccache /usr/local/Cellar/gcc47/4.7.3/bin/gcc-4.7

Regards,

dim


Reply to this email directly or view it on GitHub: https://github.com/sionescu/iolib/issues/11#issuecomment-97082641

Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib