Comments (6)
Just put all p9p related files to /usr/local/plan9 and try to build. There are many places in src, where /usr/local/plan9 hardcoded.
from plan9port.
I tried this and still get the same error.
cd /usr/local/plan9/src/cmd/devdraw; mk all
9c -I/usr/include mklatinkbd.c
9l -o o.mklatinkbd mklatinkbd.o
./o.mklatinkbd -r $PLAN9/lib/keyboard | sed 's/, }/ }/' >latin1.h
9c -I/usr/include devdraw.c
9c -I/usr/include latin1.c
9c -I/usr/include mouseswap.c
9c -I/usr/include srv.c
9c -I/usr/include winsize.c
9l -o o.devdraw devdraw.o latin1.o mouseswap.o srv.o winsize.o x11-alloc.c x11-cload.c x11-draw.c x11-fill.c x11-get.c x11-keysym2ucs.c x11-load.c x11-pixelbits.c x11-screen.c x11-unload.c
x11-alloc.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-cload.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-draw.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-fill.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-get.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-load.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-pixelbits.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-screen.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
x11-unload.c:1:10: fatal error: u.h: No such file or directory
1 | #include <u.h>
| ^~~~~
compilation terminated.
from plan9port.
The 9l command in your output shouldn't have any .c files. What do you get when you run sh ./mkwsysrules.sh
?
I guess you don't have some X11 dependencies and somehow it messed up mk rules generation.
from plan9port.
I read. I'm assuming this is the /usr/local/plan9/src/cmd/devdraw/mkwsysrules.sh
...which yields:
WSYSTYPE=x11
X11=/usr
X11H=-I/usr/include
CFLAGS=$CFLAGS -I/usr/include
HFILES=$HFILES $XHFILES
WSYSOFILES=$WSYSOFILES
WSYSHFILES=x11-inc.h x11-keysym2ucs.h x11-memdraw.h
from plan9port.
Did you run under that directory $PLAN9/src/cmd/devdraw
?
The WSYSOFILES
should read like
WSYSOFILES=$WSYSOFILES x11-alloc.o x11-cload.o x11-draw.o x11-fill.o x11-get.o x11-keysym2ucs.o x11-load.o x11-pixelbits.o x11-screen.o x11-unload.o
from plan9port.
No i had not! Running mkwsysrules.sh
script in $PLAN9/src/cmd/devdraw
showed that WSYSOFILES
was not being set correctly. Noticing the difference between your and my output i investigated the mkwsysrules.sh
script. It appears that this line was not working for me. I realized that this was because of having QUOTING_STYLE=shell-always
defined in my environment!! Whoops....sorry!
Many thanks @jxy for your help/guidance with this. I have now been able to compile all the plan9 programs. I appreciate your help. I'm super excited to try acme!
from plan9port.
Related Issues (20)
- O_LARGEFILE workaround broken on aarch64
- Seg. Fault with 9pserve on MacBook Pro M1 HOT 3
- nfs over tcp support for vnfs
- more threadmaybackground needed
- ACME: per-window environment variables HOT 2
- devdraw: Cursor reverts to macOS default on MacBook with notch
- Cant use 9l -- ld cannot find -l9 HOT 4
- libbio brdline error handling
- sam: regexp match issue
- acme -a, on MacOS, is unresponsive after changing window size
- can't pass both -b/-c and -r to INSTALL
- can not build under gcc-less linux HOT 4
- 9pfuse not working on Mac OS Sonoma
- Belorussian link does not work HOT 2
- No pointer warping in acme in virtual Fedora 39
- Issue triage
- 9pserve: msize not optimal
- Build fails with LTO HOT 3
- kcmp in cmd/sort.c conflicts with FreeBSD system header file HOT 3
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 plan9port.