Tuesday, April 29, 2014

Making NTFS Drive writeable in MAC

All i had to do is the following :

brew update
brew upgrade osxfuse
brew upgrade ntfs-3g
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig
sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs
brew info osxfuse
You should now be given two lines of instructions specific for your version for installing osxfuse. Cut and paste these from your output. Example below.
sudo /bin/cp -RfX /usr/local/Cellar/osxfuse/2.6.2/Library/Filesystems/osxfusefs.fs /Library/Filesystems
sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs
Re-attach your ntfs drive. If it doesn't work, detach and re-attach the drive one more time…


Thursday, April 24, 2014

paramiko pexpect setup in mac

To install paramiko on mac . You will have to give the following command

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install PyCrypto

 sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install paramiko

WITH easy_install you can do something like below

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future  easy_install pycrypto



cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/MD2.c -o build/temp.macosx-10.9-intel-2.7/src/MD2.o

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

error: command 'cc' failed with exit status 1