문제

So I'm trying to install the PDO drivers via Macports. I am using install php5-mysql, but when I hit enter I get

usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
           [-o owner] file1 file2
   install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
           [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...

I'm not really sure were to go from here. Any ideas?

도움이 되었습니까?

해결책

From your question, it appears that you are using another (possibly built-in) install command rather than the MacPorts command port install.

According to the documentation, you may need to use sudo in front of the port install command, as well, like this:

sudo port install ...

(where ... is the name of what you are going to install via MacPorts)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top