Advertisement
eastpole

pastebincl compile error on Debian 7.8

Feb 9th, 2015
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.47 KB | None | 0 0
  1. tai@augur ~/bin/pastebincl-1.0/src $ make
  2. /bin/sh: 1: [[: not found
  3. /bin/sh: 1: 0: not found
  4. /bin/sh: 1: [[: not found
  5. /bin/sh: 1: 0: not found
  6. g++ -lcurl -c CurlPost.cpp -Wall -Werror -O2 -o CurlPost.o
  7. In file included from CurlPost.cpp:34:0:
  8. CurlPost.h:39:23: fatal error: curl/curl.h: No such file or directory
  9. compilation terminated.
  10. Makefile:33: recipe for target 'CurlPost.o' failed
  11. make: *** [CurlPost.o] Error 1
  12.  
  13. tai@augur ~/bin/pastebincl-1.0 $ sudo apt-get install libcurl4-openssl-dev
  14.  
  15. tai@augur ~/bin/pastebincl-1.0 $ make
  16. cd src/ && make
  17. make[1]: Entering directory '/home/tai/bin/pastebincl-1.0/src'
  18. /bin/sh: 1: [[: not found
  19. /bin/sh: 1: 0: not found
  20. /bin/sh: 1: [[: not found
  21. /bin/sh: 1: 0: not found
  22. g++ -lcurl -c CurlPost.cpp -Wall -Werror -O2 -o CurlPost.o
  23. g++ -lcurl -c func.cpp -Wall -Werror -O2 -o func.o
  24. g++ -lcurl -c main.cpp -Wall -Werror -O2 -o main.o
  25. g++ -lcurl -c ParameterRead.cpp -Wall -Werror -O2 -o ParameterRead.o
  26. g++ -lcurl -c ConfigRead.cpp -Wall -Werror -O2 -o ConfigRead.o -DENCODING_KEY=\"`python genkey.py`\"
  27. g++ -lcurl CurlPost.o func.o main.o ParameterRead.o ConfigRead.o -Wall -Werror -O2 -o pastebincl
  28. cp pastebincl ../
  29. make[1]: Leaving directory '/home/tai/bin/pastebincl-1.0/src'
  30.  
  31. tai@augur ~/bin/pastebincl-1.0 $ sudo make install
  32. mkdir -p "/usr/bin/"
  33. mkdir -p "/usr/share/man/man1/"
  34. cp pastebincl /usr/bin/
  35. chmod +x /usr/bin/pastebincl
  36. cp pastebincl.man.1 /usr/share/man/man1/pastebincl.1
  37. gzip /usr/share/man/man1/pastebincl.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement