安装curl的坑

下载源码:[curl-7.52.1.zip] https://curl.haxx.se/download/

#unzip curl-7.52.1.zip

#cd  curl-7.52.1

# ./configure --enable-http --with-ssl=/usr/customAgentExample/build/openssl --prefix=/usr/customAgentExample/build/curl --without-libssh2 --disable-ftp --disable-tftp --disable-file --disable-ldap --disable-rtsp --disable-dict --disable-telnet --disable-pop3 --disable-imap --disable-smb --disable-scp --disable-sftp --disable-smtp --disable-gopher --disable-manual
# sudo make install

报错:

connect.c:1087:12: error: ‘connectx’ is only available on macOS 10.11
or newer [-Werror,-Wunguarded-availability]
rc = connectx(sockfd, &endpoints, SAE_ASSOCID_ANY

加参数: CFLAGS=-Wno-error

# sudo make install CFLAGS=-Wno-error

 

49 thoughts on “安装curl的坑

  1. Guqinz

    I have learned result-oriented things via your website. One other thing I’d like to say is the fact that newer personal computer operating systems tend to allow additional memory to use, but they additionally demand more memory simply to run. If an individual’s computer is not able to handle extra memory as well as newest computer software requires that memory increase, it might be the time to shop for a new Computer. Thanks

  2. Free Stuff

    Thanks for the tips shared in your blog. Another thing I would like to express is that losing weight is not information about going on a dietary fad and trying to shed as much weight as you’re able in a few months. The most effective way to burn fat is by getting it slowly and gradually and right after some basic ideas which can allow you to make the most from a attempt to shed weight. You may learn and already be following some tips, yet reinforcing knowledge never does any damage.

  3. Guqinz

    Hi! Someone in my Myspace group shared this website with us so I came to give it a look. I’m definitely loving the information. I’m book-marking and will be tweeting this to my followers! Fantastic blog and fantastic style and design.

  4. Guqinz

    Hey! Do you know if they make any plugins to protect against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?

  5. air jordan

    Thanks a lot for providing individuals with remarkably splendid possiblity to read articles and blog posts from this website. It is always so pleasing and as well , full of a good time for me personally and my office mates to visit your web site no less than three times a week to read through the newest guides you have got. And definitely, I’m so always fulfilled for the extraordinary creative concepts served by you. Some 1 facts in this posting are rather the best we have all had.

  6. air max 90

    A lot of thanks for your whole hard work on this web site. Kate really loves participating in investigation and it’s easy to understand why. All of us know all regarding the dynamic mode you present advantageous solutions through the web blog and increase participation from some others on this concept plus our own girl is certainly understanding a lot. Have fun with the remaining portion of the year. You’re carrying out a first class job.

  7. satta king

    Wow, amazing blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is fantastic, let alone the content!

  8. supreme clothing

    I as well as my guys were actually digesting the best thoughts on your web site then immediately I had an awful suspicion I never thanked the website owner for those techniques. All the women came for this reason thrilled to see them and already have sincerely been loving these things. We appreciate you getting very helpful and then for picking such wonderful information millions of individuals are really eager to know about. My sincere regret for not expressing appreciation to sooner.

  9. balenciaga sneakers

    I must convey my love for your kind-heartedness for those who need help with this important theme. Your personal dedication to passing the message around ended up being especially good and has frequently helped associates like me to reach their endeavors. Your own informative information denotes so much a person like me and even further to my office workers. With thanks; from each one of us.