You are not logged in.

#1 2011-07-02 16:16:50

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Cannot compile proxychains on x86_64

When I try to compile from the AUR, I get this error.

Error message: libproxychains.c:291:5: error: conflicting types for 'getnameinfo'

Please help.

Last edited by shadyabhi (2011-07-02 16:17:31)

Offline

#2 2011-07-02 16:47:55

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,097
Website

Re: Cannot compile proxychains on x86_64

Upstream bug. Their configure script needs work.

Offline

#3 2011-07-02 17:15:20

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: Cannot compile proxychains on x86_64

falconindy wrote:

Upstream bug. Their configure script needs work.

Anyway, I can use it or any other alternative to this software? Actually, I want to use HTTPS proxy and I am not able to find a software for it. http://serverfault.com/questions/286438 … y-as-https

Offline

#4 2011-07-03 04:20:16

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: Cannot compile proxychains on x86_64

Offline

#5 2011-07-23 10:21:09

knux
Member
Registered: 2010-07-04
Posts: 4

Re: Cannot compile proxychains on x86_64

could you please point out how you were able to build it? i'm on x86 but get the same error. i found your postings on the aur and the proxychains forum when googling for that error, but i found no other build instructions.
what configure options did you use?
thanks.

Offline

#6 2011-07-23 14:08:24

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: Cannot compile proxychains on x86_64

knux wrote:

what configure options did you use?
.

Didn't you look at the link I just posted above your post. I installed it from the package...

Offline

#7 2011-07-23 17:02:51

knux
Member
Registered: 2010-07-04
Posts: 4

Re: Cannot compile proxychains on x86_64

yeah i saw that but i hoped you figured out a way to install it properly, because a) i'm on x86 and not x64 and b) i'm a bit careful installing binaries from people i don't know (no offense intended).
i had a look at the .pkginfo but there was no useful information how it got build.

EDIT: ok i got it sorted out. thanks to this link: http://old.nabble.com/proxychains-on-op … 14585.html
i had to edit the patch a bit but now it's working:

--- proxychains/libproxychains.c.orig    Wed Mar 15 18:16:59 2006
+++ proxychains/libproxychains.c    Sun Dec 10 01:16:37 2006
@@ -290,8 +290,8 @@
 
 int getnameinfo (const struct sockaddr * sa,
             socklen_t salen, char * host,
-            socklen_t hostlen, char * serv,
-            socklen_t servlen, unsigned int flags)
+            size_t hostlen, char * serv,
+            size_t servlen, int flags)
 {
     int ret = 0;
     if(!init_l)

you may mark this as solved. thank you.

Last edited by knux (2011-07-24 13:30:09)

Offline

Board footer

Powered by FluxBB