I recently bought leoxsys 150NANO wireless usb adapter. it provides two type of driver installation with it, windows and linux. the windows would install perfectly. but when i tried it on Kali 1.10, it wont just install. they provide an install.sh script with the linux setup, i use that, but it shows errors. earlier i thought something is wrong with the script itself, but when i tried to install the same script on Redhat OS , it would install fine, found out, it faces problem only with kali os. Please help me out.

the error code is as belows.

Code:
ek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
	rtl8188EUS_linux_v4.3.0.4_11485.20140519.tar.gz
rtl8188EUS_linux_v4.3.0.4_11485.20140519/
rtl8188EUS_linux_v4.3.0.4_11485.20140519/runwpa
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_ops.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_ops.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_RTK_DMP_usb.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_ARM_SUNxI_usb.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_ARM_SUNxI_sdio.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_ARM_SUNnI_sdio.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/platform/platform_sprd_sdio.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_xmit.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_vht.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_ioctl_query.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_bt_mp.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/efuse/
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/efuse/rtw_efuse.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_recv.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_br_ext.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_wapi.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_eeprom.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_debug.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_tdls.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_p2p.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_ieee80211.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_btcoex.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_security.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_cmd.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_mlme.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/core/rtw_odm.c
.
.
.
.
.
.
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/byteorder/swab.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/byteorder/swabb.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/byteorder/big_endian.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/byteorder/little_endian.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/byteorder/generic.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_mp_ioctl.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/sdio_ops_xp.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/osdep_service_bsd.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/usb_ops_linux.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8723a_xmit.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/sdio_osintf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/osdep_service_linux.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/Hal8723PwrSeq.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8188e_sreset.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_p2p.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/hal_pg.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8812a_spec.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/pci_hal.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/drv_conf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/usb_vendor_req.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/linux/
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/linux/wireless.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192e_spec.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/osdep_service.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8188e_hal.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8812a_led.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8188e_led.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/gspi_osintf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_ioctl_query.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_eeprom.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192e_hal.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/drv_types_xp.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8723a_cmd.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_byteorder.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192e_dm.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192d_xmit.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_version.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8723a_spec.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192d_cmd.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_ioctl_set.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/h2clbk.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/pci_osintf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_bt_mp.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8723b_xmit.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192e_recv.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_cmd.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192d_rf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/pci_ops.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_tdls.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/Hal8192EPhyReg.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8723b_rf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192c_cmd.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192e_cmd.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_vht.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_event.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/mlme_osdep.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_debug.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8723b_dm.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_ap.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/osdep_intf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_wapi.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/hal_intf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/sta_info.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8188e_spec.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtl8192e_led.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_iol.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_mp_phy_regdef.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_rf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/hal_btcoex.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/hal_com_phycfg.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/Hal8188EPwrSeq.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/usb_hal.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/hal_com_led.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/autoconf.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_security.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/sdio_hal.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_io.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/Hal8192DPhyReg.h
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/rtw_br_ext.h
.
.
.
rtl8188EUS_linux_v4.3.0.4_11485.20140519/include/circ_buf.h8188EUS_linux_v4.3.0.4_11485.20140519/hal/HalPwrSeqCmd.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/hal/hal_hci/
rtl8188EUS_linux_v4.3.0.4_11485.20140519/hal/hal_hci/hal_usb.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/hal/hal_phy.c
rtl8188EUS_linux_v4.3.0.4_11485.20140519/clean
rtl8188EUS_linux_v4.3.0.4_11485.20140519
Authentication requested [root] for make clean:
install.sh: 38: [: unexpected operator
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
install.sh: 48: [: unexpected operator
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.18.0-kali1-686-pae/build M=/root/Desktop/Linux/V4.3.0.4_11485/driver/rtl8188EUS_linux_v4.3.0.4_11485.20140519  modules
make: *** /lib/modules/3.18.0-kali1-686-pae/build: No such file or directory.  Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
the driver, i uploaded it on my google drive. the downloadable link is as follows.

https://drive.google.com/file/d/0B_J...ew?usp=sharing

they also have manual installation technique, which i could not follow it so i din't try it.

Please help.