Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation failure: './ wavy_kernel_kqueue.h' file not found #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awakia
Copy link

@awakia awakia commented Jul 26, 2012

Hi Furuhashi-kun,

The original error is like below. Please pull this request for successful brew installation. Thanks!

% brew install mpio
==> Downloading https://github.com/downloads/frsyuki/mpio/mpio-0.3.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/mpio-0.3.7.tar.gz
==> ./configure --prefix=/usr/local/Cellar/mpio/0.3.7
==> make install
Making install in mp
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/mpio/0.3.7/include/mp" || ../ac/install-sh -c -d "/usr/local/Cellar/mpio/0.3.7/include/mp"
 /usr/bin/install -c -m 644 endian.h exception.h functional.h iocntl.h memory.h object_callback.h object_delete.h pthread.h shared_buffer.h signal.h sparse_array.h stream_buffer.h sync.h tls_set.h unordered.h unordered_map.h unordered_set.h utilize.h wavy.h '/usr/local/Cellar/mpio/0.3.7/include/mp'
Making install in mpsrc
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I.. -isystem /usr/local/include  -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c -o libmpio_la-wavy_connect.lo `test -f 'wavy_connect.cc' || echo './'`wavy_connect.cc
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I.. -isystem /usr/local/include  -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c -o libmpio_la-wavy_listen.lo `test -f 'wavy_listen.cc' || echo './'`wavy_listen.cc
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I.. -isystem /usr/local/include  -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c -o libmpio_la-wavy_loop.lo `test -f 'wavy_loop.cc' || echo './'`wavy_loop.cc
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I.. -isystem /usr/local/include  -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c -o libmpio_la-wavy_signal.lo `test -f 'wavy_signal.cc' || echo './'`wavy_signal.cc
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -isystem /usr/local/include -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c wavy_listen.cc  -fno-common -DPIC -o .libs/libmpio_la-wavy_listen.o
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -isystem /usr/local/include -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c wavy_connect.cc  -fno-common -DPIC -o .libs/libmpio_la-wavy_connect.o
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -isystem /usr/local/include -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c wavy_loop.cc  -fno-common -DPIC -o .libs/libmpio_la-wavy_loop.o
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -isystem /usr/local/include -O4 -Wall -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -g -c wavy_signal.cc  -fno-common -DPIC -o .libs/libmpio_la-wavy_signal.o
In file included from wavy_signal.cc:19:
In file included from ./wavy_signal.h:In file included from wavy_connect.cc22::
In file included from In file included from wavy_loop.cc18:
:In file included from 18:
./wavy_loop.hIn file included from :./wavy_loop.h:23./wavy_loop.h:
23./wavy_kernel.h:
::50:10: fatal error: './ wavy_kernel_kqueue.h' file not found
./wavy_kernel.h23::
./wavy_kernel.h50:10: fatal error: './ wavy_kernel_kqueue.h' file not found
#include MP_WAVY_KERNEL_HEADER(MP_WAVY_KERNEL)
         ^
./wavy_kernel.h:44:#include MP_WAVY_KERNEL_HEADER(MP_WAVY_KERNEL)
         ^:50
:10: fatal error: './ wavy_kernel_kqueue.h' file not found
2./wavy_kernel.h:44: note: expanded from macro 'MP_WAVY_KERNEL_HEADER'
#include MP_WAVY_KERNEL_HEADER(MP_WAVY_KERNEL)
         ^
:        MP_PP_HEADER(., wavy_kernel_, sys, )./wavy_kernel.h
:        ^44
:2./pp.h::9: 3note: :expanded from macro 'MP_WAVY_KERNEL_HEADER'
2note: expanded from macro 'MP_PP_HEADER'
:                MP_PP_XSTR( MP_PP_XCONCAT(dir/prefix ## file, suffix).h )        MP_PP_HEADER(., wavy_kernel_, sys, )

                ^
         ^note: expanded from macro 'MP_WAVY_KERNEL_HEADER'
./pp.h:5:23: note: expanded from macro 'MP_PP_XSTR'
#define MP_PP_XSTR(s) MP_PP_STR(s)
                      ^
        MP_PP_HEADER(., wavy_kernel_, sys, )
        ^./pp.h:4:

22: note: ./pp.hexpanded from macro 'MP_PP_STR':9:./pp.h
:9:3:3:  note: #define MP_PP_STR(s) #sexpanded from macro 'MP_PP_HEADER'
note: expanded from macro 'MP_PP_HEADER'
                MP_PP_XSTR( MP_PP_XCONCAT(dir/prefix ## file, suffix).h )
                ^
                MP_PP_XSTR( MP_PP_XCONCAT(dir/prefix ## file, suffix).h )
                ^
./pp.h:5:
                     ^./pp.h23: note:
expanded from macro 'MP_PP_XSTR'
#define MP_PP_XSTR(s) MP_PP_STR(s)
                      ^
./pp.h:4:22: note: expanded from macro 'MP_PP_STR'<scratch space>
:49:1: note: #define MP_PP_STR(s) #s
expanded from macro '#'
                     ^"./ wavy_kernel_kqueue.h"

^
:5:23: note: expanded from macro 'MP_PP_XSTR'
#define MP_PP_XSTR(s) MP_PP_STR(s)<scratch space>
                      ^
:./pp.h:494:1: note: expanded from macro '#':22:
 "./ wavy_kernel_kqueue.h"note: expanded from macro 'MP_PP_STR'
#define MP_PP_STR(s) #s

                     ^
^
<scratch space>:49:1: note: expanded from macro '#'
"./ wavy_kernel_kqueue.h"
^
In file included from wavy_listen.cc:18:
In file included from ./wavy_loop.h:23:
./wavy_kernel.h:50:10: fatal error: './ wavy_kernel_kqueue.h' file not found
#include MP_WAVY_KERNEL_HEADER(MP_WAVY_KERNEL)
         ^
./wavy_kernel.h:44:2: note: expanded from macro 'MP_WAVY_KERNEL_HEADER'
        MP_PP_HEADER(., wavy_kernel_, sys, )
        ^
./pp.h:9:3: note: expanded from macro 'MP_PP_HEADER'
                MP_PP_XSTR( MP_PP_XCONCAT(dir/prefix ## file, suffix).h )
                ^
./pp.h:5:23: note: expanded from macro 'MP_PP_XSTR'
#define MP_PP_XSTR(s) MP_PP_STR(s)
                      ^
./pp.h:4:22: note: expanded from macro 'MP_PP_STR'
#define MP_PP_STR(s) #s
                     ^
<scratch space>:49:1: note: expanded from macro '#'
"./ wavy_kernel_kqueue.h"
^
1 error generated.
make[1]: *** [libmpio_la-wavy_listen.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
1 error generated.
make[1]: *** [libmpio_la-wavy_signal.lo] Error 1
make[1]: *** [libmpio_la-wavy_connect.lo] Error 1
make[1]: *** [libmpio_la-wavy_loop.lo] Error 1
make: *** [install-recursive] Error 1
config.log was copied to /Users/aikawa/Library/Logs/Homebrew
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: 29b2eb06fc9e316f708723c87a510b6152860274
CPU: quad-core 64-bit sandybridge
OS X: 10.7.4-x86_64
Xcode: 4.3.3
CLT: 4.3.0.0.1.1249367152
X11: 2.6.4 @ /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j4
Error: Failed executing: make install (mpio.rb:10)
If `brew doctor` does not, this may help you fix or report the issue:
    https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist

Naoyoshi Aikawa / awakia

@adamv
Copy link

adamv commented May 13, 2014

Can this be merged? Or is there a fork of mpio that's kept more up-to-date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants