Linux softwares are C codes. So they need to be compiled before they are installed. Wine is also a Linux software. It needs to be complied before it is installed, for this purpose you need a C compiler installed in your system. GCC is a C complier. To check whether GCC is installed in your system or not just type gcc in Terminal and press Enter. If it is installed in your system You will see "gcc: no input files" If you see "gcc: Command not found" that means GCC is not installed in your system. So you need install C complier(GCC) before you install wine.