Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. [sumit@socs-hst01 cis2750a4]$ ls
  2. altro.py makefile mxtool.c mxtool.h mxutil.c mxutil.h
  3. [sumit@socs-hst01 cis2750a4]$ make
  4. gcc -c -o mxtool.o -Wall -std=c99 `xml2-config --cflags` -s -O mxtool.c
  5. gcc -c -o mxutil.o -Wall -std=c99 `xml2-config --cflags` -s -O mxutil.c
  6. ar rcs libmxutil.a mxutil.o
  7. gcc -o mxtool -Wall -std=c99 `xml2-config --cflags` -s -O mxtool.o libmxutil.a -lxml2
  8. gcc -c -o mxtools.o -Wall -std=c99 `xml2-config --cflags` -s -O -DDLL -fPIC mxtool.c `pkg-config --cflags python-3.4`
  9. gcc -c -o mxutils.o -Wall -std=c99 `xml2-config --cflags` -s -O -DDLL -fPIC mxutil.c
  10. ar rcs libmxutils.a mxutils.o
  11. gcc -o Mx.so -shared -Wall -std=c99 `xml2-config --cflags` -s -O -DDLL -fPIC mxtools.o libmxutils.a -lxml2 `pkg-config --cflags python-3.4`
  12. [sumit@socs-hst01 cis2750a4]$ ls
  13. altro.py libmxutils.a Mx.so mxtool.c mxtool.o mxutil.c mxutil.o
  14. libmxutil.a makefile mxtool mxtool.h mxtools.o mxutil.h mxutils.o
  15. [sumit@socs-hst01 cis2750a4]$ ls
  16. altro.py libmxutils.a Mx.so mxtool.c mxtool.o mxutil.c mxutil.o stuff
  17. libmxutil.a makefile mxtool mxtool.h mxtools.o mxutil.h mxutils.o
  18. [sumit@socs-hst01 cis2750a4]$ python3 altro.py
  19. Something's missing...
  20. Usage:
  21. ./altro.py user password [host]
  22. [sumit@socs-hst01 cis2750a4]$ python altro.py
  23. Traceback (most recent call last):
  24. File "altro.py", line 12, in <module>
  25. import tkinter as tk
  26. ImportError: No module named tkinter
  27. [sumit@socs-hst01 cis2750a4]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement