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

make -j8 fatal error: 'config.h' file not found #28

Closed
ryandesign opened this issue Jun 3, 2013 · 3 comments
Closed

make -j8 fatal error: 'config.h' file not found #28

ryandesign opened this issue Jun 3, 2013 · 3 comments
Assignees
Milestone

Comments

@ryandesign
Copy link

The Makefile's dependencies don't seem to be entirely correct because building in parallel with make -j8 causes the error fatal error: 'config.h' file not found:

Makefile:8: config.inc: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
config.mak:159: config.inc: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
MAKE config.inc
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
CC core/callcc.opic +frame-pointer
mkdir ../lib
CC tools/greg
ln -s `pwd`/libpotion.dylib ../lib/
In file included from core/callcc.c:11:
core/potion.h:22:10: fatal error: 'config.h' file not found
#include "config.h"
         ^
1 error generated.
make: *** [core/callcc.opic] Error 1
make: *** Waiting for unfinished jobs....
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
MAKE core/version.h
@ghost ghost assigned rurban Jun 4, 2013
@rurban
Copy link
Member

rurban commented Jun 4, 2013

Thanks, could repro it.

@rurban
Copy link
Member

rurban commented Sep 16, 2013

I'm not sure how to fix this.
The very first make step to create config.inc is more like convenience. ./configure could be used instead to overcome this problem.

@rurban
Copy link
Member

rurban commented Oct 4, 2013

Fixed in potion/master and the upcoming 0.1 release.

commit 937236c

Author: Reini Urban <rurban@cpanel.net>
Date:   Fri Oct 4 16:54:04 2013 -0500

    fix #11: make -j8 fatal error: 'config.h' file not found

    all make deps should work now, could not repro it anymore

@rurban rurban closed this as completed Oct 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants