curl compile error
curl compile error
gmake[1]: Entering directory `/usr/home/digtox/shell/Unreal3.2/src'
gcc -I../include -I/usr/home/digtox/shell/Unreal3.2/extras/regexp/include -pipe
-g -O2 -funsigned-char -I/usr/local/ssl/include -DZIP_LINKS -DUSE_LIBCURL
-export-dynamic -L/usr/local/ssl/lib -c url.c
url.c: In function `url_do_transfers_async':
url.c:320: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:320: (Each undeclared identifier is reported only once
url.c:320: for each function it appears in.)
gmake[1]: *** [url.o] Error 1
gmake[1]: Leaving directory `/usr/home/digtox/shell/Unreal3.2/src'
gmake: *** [build] Error 2
i do have libcurl installed.
gcc -I../include -I/usr/home/digtox/shell/Unreal3.2/extras/regexp/include -pipe
-g -O2 -funsigned-char -I/usr/local/ssl/include -DZIP_LINKS -DUSE_LIBCURL
-export-dynamic -L/usr/local/ssl/lib -c url.c
url.c: In function `url_do_transfers_async':
url.c:320: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:320: (Each undeclared identifier is reported only once
url.c:320: for each function it appears in.)
gmake[1]: *** [url.o] Error 1
gmake[1]: Leaving directory `/usr/home/digtox/shell/Unreal3.2/src'
gmake: *** [build] Error 2
i do have libcurl installed.
Curl Install
A lot of people are having problems with with curl and ares...
download this script
http://source.webworkadmin.com/curlinstall.sh
chmod 700 curlinstall.sh
./curlinstall.sh
download this script
http://source.webworkadmin.com/curlinstall.sh
chmod 700 curlinstall.sh
./curlinstall.sh
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
Curl Install
I'm sorry, the script was moved....
here is the new location
source.webworkadmin.com/IRCd/UnrealIRCd/curlinstall.sh
chmod 700 curlinstall.sh
sh curlinstall.sh
here is the new location
source.webworkadmin.com/IRCd/UnrealIRCd/curlinstall.sh
chmod 700 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
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
Reason a lot of people have trouble installing recently is logical... The instructions shipped with RC2 do no longer apply since ares got renamed, moved it's files, etc... Of course INSTALL.REMOTEINC and ./curlinstall have all been updated in CVS (long ago). Perhaps I should temporary add a FAQ entry for this till 3.2 is out ;).
curlinstall script
The Script that is included with Unreal doesn't work because it uses
./configure --prefix=$HOME/ares && make && make install
and
make && make install
instead of ./configure --prefix=$HOME/ares && gmake && gmake install
and
gmake && gmake install
which seems to work... As far as I understood codemastr figured this out a while back when Unreal3.2RCfix was released...
./configure --prefix=$HOME/ares && make && make install
and
make && make install
instead of ./configure --prefix=$HOME/ares && gmake && gmake install
and
gmake && gmake install
which seems to work... As far as I understood codemastr figured this out a while back when Unreal3.2RCfix was released...
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
Sorry no dice!
I still get this error even after editing curlinstall
su-2.05b$ gmake
Building src
gmake[1]: Entering directory `/usr/home/sbm2/Unreal3.2/src'
gcc -I../include -I/home/sbm2/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -I/usr/local/ssl/include -DZIP_LINKS -I/home/sbm2/curl/include -DUSE_LIBCURL -export-dynamic -L/usr/local/ssl/lib -c url.c
url.c: In function `url_do_transfers_async':
url.c:320: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:320: (Each undeclared identifier is reported only once
url.c:320: for each function it appears in.)
gmake[1]: *** [url.o] Error 1
gmake[1]: Leaving directory `/usr/home/sbm2/Unreal3.2/src'
gmake: *** [build] Error 2
su-2.05b$
Hopefully you can help with this !
Regards,
Troyb
I still get this error even after editing curlinstall
su-2.05b$ gmake
Building src
gmake[1]: Entering directory `/usr/home/sbm2/Unreal3.2/src'
gcc -I../include -I/home/sbm2/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -I/usr/local/ssl/include -DZIP_LINKS -I/home/sbm2/curl/include -DUSE_LIBCURL -export-dynamic -L/usr/local/ssl/lib -c url.c
url.c: In function `url_do_transfers_async':
url.c:320: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:320: (Each undeclared identifier is reported only once
url.c:320: for each function it appears in.)
gmake[1]: *** [url.o] Error 1
gmake[1]: Leaving directory `/usr/home/sbm2/Unreal3.2/src'
gmake: *** [build] Error 2
su-2.05b$
Hopefully you can help with this !
Regards,
Troyb
jewles: well if you found a bug then you should report it on http://bugs.unrealircd.org/
Else your bug is not "official" (or however you'll call it).
For example I don't read this forum every day, certainly don't read all topics, etc. Same applies for complaing on IRC etc... It sucks :/.
With the bugtracker we get immediate notification of bugs and when we want to fix some bugs we just look at the list, we cannot go search in forums, irc logs, mailinglists, etc for "the rest".
(That's general talk, not specificly to you ;p).
Else your bug is not "official" (or however you'll call it).
For example I don't read this forum every day, certainly don't read all topics, etc. Same applies for complaing on IRC etc... It sucks :/.
With the bugtracker we get immediate notification of bugs and when we want to fix some bugs we just look at the list, we cannot go search in forums, irc logs, mailinglists, etc for "the rest".
(That's general talk, not specificly to you ;p).
To Syzop:
to troyb: Did you try using the "Unofficial Curl Install Script"? http://unreal.phpmemx.net/forums/viewtopic.php?t=183 try the directions on that page and if it has the same problem please let us know so I can fix the script.[/quote]
As far as I know it's the curl problems aren't related to unreal as much just the "curlinstall" script was incurrectly written. And (more speculation, I think codemastr fixed this problem in the next release) I will however post the problem on bugs.unrealircd.org.jewles: well if you found a bug then you should report it on http://bugs.unrealircd.org/
Else your bug is not "official" (or however you'll call it).
to troyb: Did you try using the "Unofficial Curl Install Script"? http://unreal.phpmemx.net/forums/viewtopic.php?t=183 try the directions on that page and if it has the same problem please let us know so I can fix the script.[/quote]
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
-
- Former UnrealIRCd head coder
- Posts: 811
- Joined: Sat Mar 06, 2004 8:47 pm
- Location: United States
- Contact:
troyb, if you ignore me this time, I'm just going to close the thread. WHAT VERSION OF LIBCURL ARE YOU USING?
I don't care what script you used, whether it works without remote includes, etc. Just answer the questions you are asked, then we can help you.
The error message pasted here has _nothing_ to do with the install script. It has to do with what version of libcurl you are using.
I don't care what script you used, whether it works without remote includes, etc. Just answer the questions you are asked, then we can help you.
The error message pasted here has _nothing_ to do with the install script. It has to do with what version of libcurl you are using.
-- codemastr
Jewles: Well the script is shipped with Unreal, so if it has a bug or is broken we would like to fix it. Curl developers don't have access to it ;). Oh and no, the latest './curlinstall' uses make && make install, I checked this before posting of course.
troyb: Just tested it with curl 7.11.1 and c-ares 1.2.0 and it worked fine here with latest CVS, this is (similar to) what I did:
troyb: Just tested it with curl 7.11.1 and c-ares 1.2.0 and it worked fine here with latest CVS, this is (similar to) what I did:
Code: Select all
cd /tmp
wget http://daniel.haxx.se/projects/c-ares/c-ares-1.2.0.tar.gz
tar xzf c-ares-1.2.0.tar.gz
wget http://curl.haxx.se/download/curl-7.11.1.tar.gz
tar xzf curl-7.11.1.tar.gz
cd -
./curlinstall /tmp/c-ares-1.2.0 /tmp/curl-7.11.1