Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [sumit@socs-hst01 cis2750a4]$ ls
- altro.py makefile mxtool.c mxtool.h mxutil.c mxutil.h
- [sumit@socs-hst01 cis2750a4]$ make
- gcc -c -o mxtool.o -Wall -std=c99 `xml2-config --cflags` -s -O mxtool.c
- gcc -c -o mxutil.o -Wall -std=c99 `xml2-config --cflags` -s -O mxutil.c
- ar rcs libmxutil.a mxutil.o
- gcc -o mxtool -Wall -std=c99 `xml2-config --cflags` -s -O mxtool.o libmxutil.a -lxml2
- gcc -c -o mxtools.o -Wall -std=c99 `xml2-config --cflags` -s -O -DDLL -fPIC mxtool.c `pkg-config --cflags python-3.4`
- gcc -c -o mxutils.o -Wall -std=c99 `xml2-config --cflags` -s -O -DDLL -fPIC mxutil.c
- ar rcs libmxutils.a mxutils.o
- 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`
- [sumit@socs-hst01 cis2750a4]$ ls
- altro.py libmxutils.a Mx.so mxtool.c mxtool.o mxutil.c mxutil.o
- libmxutil.a makefile mxtool mxtool.h mxtools.o mxutil.h mxutils.o
- [sumit@socs-hst01 cis2750a4]$ ls
- altro.py libmxutils.a Mx.so mxtool.c mxtool.o mxutil.c mxutil.o stuff
- libmxutil.a makefile mxtool mxtool.h mxtools.o mxutil.h mxutils.o
- [sumit@socs-hst01 cis2750a4]$ python3 altro.py
- Something's missing...
- Usage:
- ./altro.py user password [host]
- [sumit@socs-hst01 cis2750a4]$ python altro.py
- Traceback (most recent call last):
- File "altro.py", line 12, in <module>
- import tkinter as tk
- ImportError: No module named tkinter
- [sumit@socs-hst01 cis2750a4]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement