Comments (3)
Thanks to @db48x for the help here.
I think the correct steps are to do this:
./autogen.sh
./configure
make LIBCLANG_PATH=/usr/lib/llvm-3.9/lib/
# Here, I got errors about not being able to build certain .el files due to a bad character 0x40000e. This is apparently a known flaky thing, so the step below might not solve it and I just won the round of non-determinism.
cd lisp/
make -C ../admin/grammars all EMACS=../src/remacs
cd ..
# Now, the system needs to know where to find my llvm things, so pass that arg too now. If you add too early, it won't compile b/c it finds llvm things instead of gcc things (error says something about stdbool.h missing)
make LIBCLANG_PATH=/usr/lib/llvm-3.9/lib/ MYCPPFLAGS="-I/usr/lib/llvm-3.9/lib/clang/3.9.1/include/"
# I originally couldn't install it with sudo because the sudo didn't have the right path variable. I edited the sudoers' file (`sudo visudo`) and added the place to find cargo.```
sudo make install
refing a few other tickets that came up for me while searching: #788 #789
from remacs.
I am looking at some old tickets and saw this.
Was clang #788 not properly detected? What was your fix?
What part of #789 did you hit? What was your fix?
from remacs.
It wasn't detected. My fix was to explicitly set the paths like I mention in my previous comment. Just pinging the windows build ticket (I think.. I'm fuzzy on memory here) so others could find this thread.
from remacs.
Related Issues (20)
- Making Emacs truly modular? HOT 6
- I had to run autogen.sh twice HOT 11
- The build process is so slow, it's already been a day and it's still compiling. HOT 7
- macOS: cannot build remacs due to libxml/tree.h file not found HOT 10
- WASM plugin support HOT 5
- lsp: wrong-number-of-arguments json-serialize 5 HOT 2
- eglot: wrong-number-of-arguments HOT 2
- offset_of! is unsound HOT 6
- Still Alive/Lost Momentum? HOT 35
- setq scroll-up-aggressively reversed logic HOT 2
- Build fails with master branch (28ae673b26): make[1]: *** [bootstrap-emacs] segment violation (core dumped)
- Mission criticality of remacs? HOT 2
- error: unexpected closing delimiter: `]` in src/../generated/bindings.rs:15424:39
- Is it possible to merge these rust code to main Emacs repos? HOT 1
- Make this project more viable: change the license HOT 9
- Add: Cargo.lock for create a PR in nixpkgs HOT 5
- To rust is to miss the point
- [make error] sysdep.c:1741:22: error: variably modified 'sigsegv_stack' at file scope HOT 1
- go not found mac
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remacs.