Previous Entry Share Next Entry
Installing curl on Solaris 10
Balgove
tobyaw
Install the Sun developer tools, and add /usr/ccs/bin to your path. Download http://curl.haxx.se/download/curl-7.16.4.tar.gz, then:

$ gunzip curl-7.16.4.tar.gz
$ tar -xvf curl-7.16.4.tar
$ cd curl-7.16.4
$ ./configure --without-ssl
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install

  • 1

sachin

(Anonymous)
Thanks very much.

Not able to Install CURL

(Anonymous)
Hi,

I tried to follow the steps you provided above. I unzipped the file. Then when i type " ./configure --without-ssl" i come up with an error

checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /usr/bin/sed
checking for ar... ar
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking curl version... 7.16.4
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I am very new on Solaris server. Please help me to install the CURL. I need it in urgent..


Thanks in advance.
NEL

Re: Not able to Install CURL

I haven't used used Solaris at home since 2008, so I'm a bit rusty at this.

But the error that you're getting is that the configure script can't find a C compiler. Did you install the develop tools? Did you add /usr/ccs/bin to your path?

Re: Not able to Install CURL

(Anonymous)
Hi Thanks for Replying.

Yes I added /usr/ccs/bin to your path. But I am not sure whether the C Compiler is installed on my server or not. Can you please help me how to check whether C Compiler installed in my server. IF not Installed. Please help me to Install the C Compiler..

Thanks,
NEL

Re: Not able to Install CURL

You can check to see if you have a C compiler installed by typing “cc” or “gcc” at the command line. If neither are found, then you're missing the developer tools (or they aren’t in your path).

Since it’s a while since I installed them myself, I can’t remember the procedure for installing the developer tools. Perhaps it was a separate optional install on the OpenSolaris install disk.

Thank you very much!!

Wonderful!

Just installed it successfully!

Thank you very much..

Cheers

curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 131

Dear Sir,

I am using curl utility. its version detail is following below.
/user/bin/curl -V
curl 7.30.0 (sparc-sun-solaris2.10) libcurl/7.30.0 OpenSSL/0.9.7d zlib/1.2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz

The following curl command was successfully transfering the files to my sharepoint if the file size is less than 5MB. But, While transfering the file called sourcegunzipfile.tar.gz (size: 20MB) into my sharepoint folder, I am getting this Error: curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 131

Command I used:
curl --ntlm -v --max-time 3600 -k -u 'domain\username:password' -T /src/sourcegunzipfile.tar.gz https://xyzsample.com/sites/Data/

Is there any resolution to address this to transfer large file without getting above mentioned error? Please suggest Thanks in advance.

Thanks & Regards,
Vijayan.

Edited at 2013-07-31 01:02 am (UTC)

Честно, отменная заметка

  • 1
?

Log in

No account? Create an account