-
Notifications
You must be signed in to change notification settings - Fork 329
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 file does not handle spaces in path #9
Comments
This is not due to an error with the Joy library. The bash shell has a hard time interpreting directories with spaces in them, because spaces are often used as parsing delimiters for the shell language. To fix this you either need to rename the directory to not have any spaces, or surround the directory path with quotes when you enter that command. |
I understand, however, it is the joy makefile and config script that is generating the above? It needs to have quotes put into it. |
This will be fixed in the next push. Thanks for the comments! Cheers, On Oct 9, 2016, at 7:51 PM, aradford123 <notifications@github.commailto:notifications@github.com> wrote: I understand, however, it is the joy makefile and config script that is generating the above? It needs to have quotes put into it. — |
One of my parent directories had a space in it. This cause the make to fail.
gcc -Wall -Wno-deprecated-declarations -g -O3 -DDARWIN=1 -DVERSION="1.2" -o /Users/aradford1/Documents/work/interest/PROJECTS/UNSW - research/work/joy/bin/pcap2flow -I ./include -I /opt/local/include pcap2flow.c p2f.c config.c osdetect.c anon.c pkt_proc.c nfv9.c tls.c classify.c radix_trie.c hdr_dsc.c procwatch.c addr_attr.c addr.c wht.c http.c str_match.c acsm.c dns.c example.c -L /usr/lib -lpcap -lm -lcrypto -lz
clang: error: -E or -x required when input is from standard input
clang: error: no such file or directory: 'research/work/joy/bin/pcap2flow'
make[1]: *** [pcap2flow] Error 1
make: *** [pcap2flow] Error 2
The text was updated successfully, but these errors were encountered: