Error installing curl\c-ares with ./curlinstall

These are old archives. They are kept for historic purposes only.
Post Reply
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Error installing curl\c-ares with ./curlinstall

Post by ShArDiCk » Thu Mar 09, 2006 1:54 pm

c-ares: 1.3.0
curl: 7.15.2
Unreal: 3.2.4 stable
ssl, libcurl, ipv6, zlib installed
uname -a: Linux server 2.6.13 #1 Tue Oct 25 00:36:28 CEST 2005 i686 GNU/Linux (is a debian system)

user@server:~/Unreal3.2$ ./curlinstall /tmp/c-ares-1.3.0 /tmp/curl-7.15.2

installing c-ares
[...]

Code: Select all

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Should libcurl be built with SSL support?
-> no
[...]
[after configure]
[with ssl disabled]
[creating curl]
[...]

Code: Select all

make[3]: Entering directory `/tmp/curl-7.15.2/lib'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libcurl.la' '/usr/local/lib/libcurl.la'
/usr/bin/install -c .libs/libcurl.so.3.0.0 /usr/local/lib/libcurl.so.3.0.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libcurl.so.3.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/tmp/curl-7.15.2/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/tmp/curl-7.15.2/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/curl-7.15.2/lib'
make: *** [install-recursive] Error 1
cp: cannot stat `/home/user/ares/lib/libares.a': No such file or directory


libcurl has been installed. When running ./Config specify:
/home/user/curl
for the directory you installed libcurl to.
Apart the error, i have used same procedures on other 3 servers and i hadnt troubles or errors. configure compile and install finish good.

But, also if there is an error (and /home/user/curl is not created), the script said another thing :)

I mean, if the script generate an error there isnt any block message or relevant warning.

I hope i can be helpful and you can resolve this problem

Regards

MODERATOR: I'm presuming you wanted to edit your original post (which I now did, copied 2nd to this one).. Just update your original post, don't go quote (wrong button? :P)

jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA
Contact:

Post by jewles » Fri Mar 10, 2006 7:04 am

If you want there is a auto install script for curl...


http://forums.unrealircd.com/viewtopic.php?t=353
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net

ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Post by ShArDiCk » Fri Mar 10, 2006 9:31 am

Yes, i've used the install curl script inclused in unreal.... but, that what i've said, it's that installation procedure, if has a fatal error, goes ahead without printing any error or block message...

Now, there is a newever version on cvs?

(unfortunately, i dont have cvs on that server)

jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA
Contact:

Post by jewles » Fri Mar 17, 2006 3:24 am

you can manually download the script

http://www.fbsd-dev.org/cgi-bin/cvsweb. ... ion%2Fx-sh

once you do upload it to the server and then

$ chmod +x curlinstall.sh
$ sh curlinstall.sh
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net

Post Reply