Bitcoin Forum
May 31, 2024, 03:18:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2] 3 »
21  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 02, 2011, 03:01:00 PM
Looks like the 1.5.3 configure script inadvertently dropped support for alternate cURL library path support via --with-libcurl:

Yes, because it's the crappy way to do it. The right way is to export a variable to specify the PKG_CONFIG_PATH to the correct *.pc file. See my RPMs for reference...

Seems to be a way that works on more systems  and with local built binaries is the right way to do it.  Dependance on a packaging system  is the crappy way to do it.


No offense, but do read up on pkgconfig a little bit before commenting. For how long have you been involved in packaging? I've told what's the correct way of doing it with pkconfig and locally built binaries.
22  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 02, 2011, 08:47:41 AM
Is it possible to use a proxy-server with cgminer?
I can't find any option about it in the first post.

I think I told you that you don't need any options for that, just export the http_proxy variable before starting cgminer.
23  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 01, 2011, 04:41:53 PM
Looks like the 1.5.3 configure script inadvertently dropped support for alternate cURL library path support via --with-libcurl:

Yes, because it's the crappy way to do it. The right way is to export a variable to specify the PKG_CONFIG_PATH to the correct *.pc file. See my RPMs for reference...
24  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 01, 2011, 09:41:20 AM
So what's the problem? If your proxy listening on port 80 allows for outbound connections to other ports it will work. If not, make your own proxy to listen on port 80 and chain them.
25  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 01, 2011, 09:34:40 AM
Yes, anything that curl can do, this miner can do. Try to export the http_proxy variable correctly, it used to work for me.
26  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 31, 2011, 12:54:29 PM
The point is that with a fork on github I can see exactly what you have changed as compared to the original files and also easily download your latest changes without tedious copy-pasting from the forum. Also you can easily pull ck's changes into your branch (single command needed for that) and when it will be ready you can just give him the changed files.

A fork on github doesn't mean that you are taking the code away and starting your own project, it's just a way to easily publish your changes for others to test and submit to the original project when ready.
27  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 31, 2011, 09:21:26 AM
d3m0n1q_733rz, why wouldn't you create a fork on github? would be easier then copy-pasting and less error-prone.
28  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 30, 2011, 03:20:19 PM
+1, I've been using this very successfully so far, but be careful, because it allows you to supply the values outside the range without confirmation. You can brick your card this way if you are not attentive enough.
29  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 30, 2011, 12:54:31 PM
Thanks ck! Man, have nice holidays!!! The bugs will wait...
30  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 30, 2011, 11:51:16 AM
Yeah, sounds very much like rainbow table attack, I was wondering why nobody seems to be interested in rainbow tables, was thinking that with SHA2 it's impractical due to the huge table size to get any gains required. If you can dig something out... I mean we can collaborate to create a huge table and then rock them all :-)
31  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 28, 2011, 04:12:49 PM
The ncurses crash that you fixed in 1.5.0 is back again. This is a really annoying crash and there is no way I can update curses on Ubuntu 10.04 LTS, I was hoping to switch over from Diabolo today :-/
32  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 28, 2011, 03:02:24 PM
ck, glitch: ./configure doesn't check for curses.

P.S. Would be nice to enable issues on github, so that bug / feature request are not lost in this thread.
33  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 27, 2011, 08:20:53 AM
That part is an error secondary to the first one which is the sockopt function. What does that part of ./configure show for you?

Quote
checking for curl-config... /usr/bin/curl-config                                                                                                             
checking for the version of libcurl... 7.15.5                                                                                                                 
checking for libcurl >= version 7.10.1... yes                                                                                                                 
checking whether libcurl is usable... yes                                                                                                                     
checking for curl_free... yes                                                                                                                                 
checking for gawk... (cached) gawk                                                                                                                           
checking for curl-config... (cached) /usr/bin/curl-config                                                                                                     
checking for the version of libcurl... (cached) 7.15.5                                                                                                       
checking for libcurl >= version 7.15.6... (cached) yes                                                                                                       
checking whether libcurl is usable... (cached) yes                                                                                                           
checking for curl_free... (cached) yes
34  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 26, 2011, 09:47:56 PM
ck, on the other hand, your curl fix was incomplete, it still doesn't work with older curl:

Quote
util.c:254: error: expected declaration specifiers or '...' before 'curlsocktype'                                                                             
util.c: In function 'json_rpc_call':                                                                                                                         
util.c:348: error: 'CURLOPT_SOCKOPTFUNCTION' undeclared (first use in this function)                                                                         
util.c:348: error: (Each undeclared identifier is reported only once                                                                                         
util.c:348: error: for each function it appears in.)                                                                                                         
make[2]: *** [cgminer-util.o] Error 1                                                                                                                         
make[2]: *** Waiting for unfinished jobs....

I think you should ifdef this function too.

What I'm talking about is

util.c:254: error: expected declaration specifiers or '...' before 'curlsocktype'

What version of curl does that have? My code defines CURL_HAS_SOCKOPT only for versions of curl:
checking for libcurl >= version 7.15.6... (cached) yes

$ rpm -qa | grep curl
curl-7.15.5-9.el5_6.3
35  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 26, 2011, 04:15:27 PM
ck, on the other hand, your curl fix was incomplete, it still doesn't work with older curl:

Quote
util.c:254: error: expected declaration specifiers or '...' before 'curlsocktype'                                                                             
util.c: In function 'json_rpc_call':                                                                                                                         
util.c:348: error: 'CURLOPT_SOCKOPTFUNCTION' undeclared (first use in this function)                                                                         
util.c:348: error: (Each undeclared identifier is reported only once                                                                                         
util.c:348: error: for each function it appears in.)                                                                                                         
make[2]: *** [cgminer-util.o] Error 1                                                                                                                         
make[2]: *** Waiting for unfinished jobs....

I think you should ifdef this function too.
36  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 26, 2011, 03:50:21 PM
- Try to do every curses manipulation under the curses lock.
Fabulous! This solved the segfault when attaching a running tmux session.
That's one down, thanks!

ck, you are the hero, you fixed the segfaults that I was getting under screen or when resizing the terminal on rhel5/ubuntu!
37  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 25, 2011, 07:24:46 AM
The most common mode for failure to start is trying to do make install which will FAIL, followed by the wrong url or credentials.

Are you sure it is still failing? It's been working for me both on RHEL and Ubuntu. Besides, that's how I am making my packages...
38  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 24, 2011, 08:26:21 PM
what's the fix?

There is no fix, I just compile it statically against the curl from RHEL6.

I ain't pickin up your precompiled code Smiley

I am making the SRPM available, feel free to rebuild it yourself if you want.
39  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 24, 2011, 07:23:30 PM
The problem with this idea is that network-using static libraries are not supported by glibc.

Errr... what?

Adding a --with-libcurl=/usr/local/src/newcurl option to configure is reasonably simple.

This isn't even needed, because curl gets picked up by pkgconfig (which actually doesn't seem to work, it's rather curl-config that does the trick).

Viceroy, I have tried my static curl twist and it worked, updated RPMs here. You know which way to throw your coins ;-)
40  Bitcoin / Mining software (miners) / Re: cgminer: RPMs for your RHEL hosts on: July 24, 2011, 07:22:35 PM
Added RHEL5 RPMs, these are built statically against curl from RHEL6.
Pages: « 1 [2] 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!