Skip to content

Instantly share code, notes, and snippets.

@skelter
Created July 3, 2016 13:26
Show Gist options
  • Select an option

  • Save skelter/30e542e44c9fb7f2a0444819b05f78f2 to your computer and use it in GitHub Desktop.

Select an option

Save skelter/30e542e44c9fb7f2a0444819b05f78f2 to your computer and use it in GitHub Desktop.
Not finding boost/type_traits.hpp while building pixie-lang core libs
[Timer] ===========================================
[Timer] Total: --- 1738.7 s
-e
WARNING: Compiling core libs. If you want to modify one of these files delete the .pxic files first
./pixie-vm -c pixie/uv.pxi -c pixie/io.pxi -c pixie/stacklets.pxi -c pixie/stdlib.pxi -c pixie/repl.pxi
[/Users/skelter/work/pixie /Users/skelter/work/pixie/lib /Users/skelter/work/pixie/include /Users/skelter/work/pixie/../lib /Users/skelter/work/pixie/../include]
c++ -O3 -fomit-frame-pointer -mmacosx-version-min=10.6 /var/folders/l_/h81l822n21d2vbrkpqk8hwmw0000gp/T//ffi3l5WJq/ffi.cpp -I /Users/skelter/work/pixie -I /Users/skelter/work/pixie/lib -I /Users/skelter/work/pixie/include -I /Users/skelter/work/pixie/../lib -I /Users/skelter/work/pixie/../include -o /var/folders/l_/h81l822n21d2vbrkpqk8hwmw0000gp/T//ffi3l5WJq/ffi.out && /var/folders/l_/h81l822n21d2vbrkpqk8hwmw0000gp/T//ffi3l5WJq/ffi.out
In file included from /var/folders/l_/h81l822n21d2vbrkpqk8hwmw0000gp/T//ffi3l5WJq/ffi.cpp:2:
/Users/skelter/work/pixie/pixie/PixieChecker.hpp:11:10: fatal error: 'boost/type_traits.hpp' file not found
#include "boost/type_traits.hpp"
^
1 error generated.
in internal function run_load_stdlib
in internal function load-ns
in internal function load-file
in internal function load-reader
Running: (ns pixie.stacklets (:require [pixie.uv :as uv] [pixie.ffi :as ffi]))
in /Users/skelter/work/pixie/pixie/stacklets.pxi at 1:1
(ns pixie.stacklets
^
in pixie function _toplevel_
in internal function load-ns
in internal function load-file
in internal function load-reader
Compiling: (f/with-config {:library uv, :includes [uv.h]} (f/defconst UV_RUN_DEFAULT) (f/defconst UV_RUN_ONCE) (f/defconst UV_RUN_NOWAIT) (f/defcfn uv_close) (f/defccallback uv_close_cb) (f/defcstruct uv_loop_t []) (f/defcfn uv_loop_init) (f/defcfn uv_loop_close) (f/defcfn uv_default_loop) (f/defcfn uv_run) (f/defcfn uv_loop_alive) (f/defcfn uv_unref) (f/defcfn uv_ref) (f/defcfn uv_stop) (f/defcfn uv_loop_size) (f/defcfn uv_backend_fd) (f/defcfn uv_backend_timeout) (f/defcfn uv_now) (f/defcfn uv_update_time) (f/defcfn uv_walk) (f/defccallback uv_alloc_cb) (f/defcstruct uv_connect_t [:handle]) (f/defcstruct uv_stream_t []) (f/defcfn uv_read_start) (f/defccallback uv_read_cb) (f/defcfn uv_write) (f/defcstruct uv_write_t []) (f/defccallback uv_write_cb) (f/defcstruct uv_timer_t []) (f/defccallback uv_timer_cb) (f/defcfn uv_timer_init) (f/defcfn uv_timer_start) (f/defcfn uv_timer_stop) (f/defcfn uv_timer_again) (f/defcfn uv_timer_set_repeat) (f/defcfn uv_timer_get_repeat) (f/defcfn uv_hrtime) (f/defcstruct uv_fs_t [:loop :fs_type :path :result :ptr :statbuf.st_size :statbuf.st_mode]) (f/defcstruct uv_timespec_t [:tv_sec :tv_nsec]) (f/defcstruct uv_stat_t [:st_dev :st_mode :st_nlink :st_uid :st_gid :st_rdev :st_ino :st_size :st_blksize :st_blocks :st_flags :st_gen :st_atim.tv_sec :st_atim.tv_nsec :st_mtim.tv_sec :st_mtim.tv_nsec :st_ctim.tv_sec :st_ctim.tv_nsec :st_birthtim.tv_sec :st_birthtim.tv_nsec]) (f/defconst UV_FS_UNKNOWN) (f/defconst UV_FS_CUSTOM) (f/defconst UV_FS_OPEN) (f/defconst UV_FS_CLOSE) (f/defconst UV_FS_READ) (f/defconst UV_FS_WRITE) (f/defconst UV_FS_SENDFILE) (f/defconst UV_FS_STAT) (f/defconst UV_FS_LSTAT) (f/defconst UV_FS_FSTAT) (f/defconst UV_FS_FTRUNCATE) (f/defconst UV_FS_UTIME) (f/defconst UV_FS_FUTIME) (f/defconst UV_FS_ACCESS) (f/defconst UV_FS_CHMOD) (f/defconst UV_FS_FCHMOD) (f/defconst UV_FS_FSYNC) (f/defconst UV_FS_FDATASYNC) (f/defconst UV_FS_UNLINK) (f/defconst UV_FS_RMDIR) (f/defconst UV_FS_MKDIR) (f/defconst UV_FS_MKDTEMP) (f/defconst UV_FS_RENAME) (f/defconst UV_FS_SCANDIR) (f/defconst UV_FS_LINK) (f/defconst UV_FS_SYMLINK) (f/defconst UV_FS_READLINK) (f/defconst UV_FS_CHOWN) (f/defconst UV_FS_FCHOWN) (f/defconst UV_DIRENT_UNKNOWN) (f/defconst UV_DIRENT_FILE) (f/defconst UV_DIRENT_DIR) (f/defconst UV_DIRENT_LINK) (f/defconst UV_DIRENT_FIFO) (f/defconst UV_DIRENT_SOCKET) (f/defconst UV_DIRENT_CHAR) (f/defconst UV_DIRENT_BLOCK) (f/defconst UV_EOF) (f/defcstruct uv_dirent_t [:name :type]) (f/defcstruct uv_buf_t [:base :len]) (f/defcfn uv_fs_req_cleanup) (f/defcfn uv_fs_close) (f/defcfn uv_fs_open) (f/defccallback uv_fs_cb) (f/defcfn uv_fs_unlink) (f/defcfn uv_fs_write) (f/defcfn uv_fs_read) (f/defcfn uv_fs_mkdir) (f/defcfn uv_fs_mkdtemp) (f/defcfn uv_fs_rmdir) (f/defcfn uv_fs_scandir) (f/defcfn uv_fs_scandir_next) (f/defcfn uv_fs_stat) (f/defcfn uv_fs_fstat) (f/defcfn uv_fs_lstat) (f/defcfn uv_fs_rename) (f/defcfn uv_fs_fsync) (f/defcfn uv_fs_fdatasync) (f/defcfn uv_fs_ftruncate) (f/defcfn uv_fs_sendfile) (f/defcfn uv_fs_access) (f/defcfn uv_fs_chmod) (f/defcfn uv_fs_fchmod) (f/defcfn uv_fs_utime) (f/defcfn uv_fs_futime) (f/defcfn uv_fs_link) (f/defcfn uv_fs_symlink) (f/defcfn uv_fs_readlink) (f/defcfn uv_fs_chown) (f/defcfn uv_fs_fchown) (f/defconst O_RDONLY) (f/defconst O_WRONLY) (f/defconst O_RDWR) (f/defconst O_APPEND) (f/defconst O_ASYNC) (f/defconst O_CREAT) (f/defconst S_IRUSR) (f/defconst S_IRWXU) (f/defconst S_IWUSR) (f/defconst UV_E2BIG) (f/defconst UV_EACCES) (f/defcfn uv_err_name) (f/defcstruct uv_async_t []) (f/defccallback uv_async_cb) (f/defcfn uv_async_init) (f/defcfn uv_async_send) (f/defcfn uv_tty_init) (f/defconst UV_TTY_MODE_NORMAL) (f/defcfn uv_guess_handle) (f/defcstruct uv_tty_t []) (f/defconst UV_TTY) (f/defcstruct uv_tcp_t []) (f/defc-raw-struct sockaddr_in []) (f/defcfn uv_tcp_init) (f/defcfn uv_ip4_addr) (f/defcfn uv_tcp_bind) (f/defcfn uv_listen) (f/defcfn uv_accept) (f/defcfn uv_tcp_connect) (f/defcfn uv_tcp_keepalive) (f/defcfn uv_read_start) (f/defcfn uv_read_stop) (f/defccallback uv_connection_cb) (f/defccallback uv_connect_cb) (f/defccallback uv_alloc_cb) (f/defccallback uv_read_cb))
in /Users/skelter/work/pixie/pixie/uv.pxi at 5:1
(f/with-config {:library "uv"
^
in pixie function with-config
in /Users/skelter/work/pixie/pixie/ffi-infer.pxi at 226:10
~(run-infer *config* @*bodies*))))
^
in pixie function run-infer
in /Users/skelter/work/pixie/pixie/ffi-infer.pxi at 207:18
result (read-string (io/run-command cmd-str))
^
in internal function read-string
RuntimeException: :pixie.stdlib/EOFWhileReadingException Unexpected EOF while reading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment