Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 825. (Read 5806004 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
In your distribution's repository, not on your computer...
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
The file you're missing is:
/usr/share/aclocal/libcurl.m4

on my distro that's in:
libcurl4-openssl-dev

So, unless you need to refresh your configure after installing a new package, you need to find how to search for the libcurl.m4 file in your distribution's repository.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
1st up, you're missing libcurl dev
2nd, your GCC is so old it doesn't support "-march=native" so remove that

your proposal is I remove gcc?


LOL no, remove the "-march=native" part of the CFLAGS.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
1st up, you're missing libcurl dev
2nd, your GCC is so old it doesn't support "-march=native" so remove that
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Yes, preventative... nod nod nod...

Nod furiously.
hero member
Activity: 807
Merit: 500
I wasn't trying to start a distro flamewar... I was just pointing out "Much of the world." is an exaggeration to say the least...
I was just sharing an experience.  So were there flames posted and deleted already, or was that a preventative comment?  I mean  Angry  CENTOS ROCKS!!!  GRRR    Wink
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I wasn't trying to start a distro flamewar... I was just pointing out "Much of the world." is an exaggeration to say the least...
hero member
Activity: 924
Merit: 501
I started out trying to use CentOS before switching to F15 after I decided that manually compiling every component and half of the compilers to get pretty much any of the miners working wasn't worth the hassle and was going to lead to a broken installation anyway.  Fortunately, I'm not trying to do anything else with the machine I am running Linux on at the moment, but anyone who is mining on the side might have good reasons to run CentOS.

my poclbm has been running under centos for a month on three machines with no issues at all.  I only use the machines to mine.  I find centos rock solid. 



hero member
Activity: 807
Merit: 500
I think you grossly overestimate how many people are using centos Tongue

Anyway I've committed a fix to the git tree which prevents using just the sockopt function if the version of curl is too old. This should fix it building on older curls.
I started out trying to use CentOS before switching to F15 after I decided that manually compiling every component and half of the compilers to get pretty much any of the miners working wasn't worth the hassle and was going to lead to a broken installation anyway.  Fortunately, I'm not trying to do anything else with the machine I am running Linux on at the moment, but anyone who is mining on the side might have good reasons to run CentOS.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
but I don't really understand if anyone is interested in RHEL5 builds other than me.


Much of the world.  If this doesn't work on Centos, it's worthless.  Kinda like coming up
with windows only mining software Smiley

To the author, this is what was required to build poclbm under centos:
http://forum.bitcoin.org/?topic=7534.0

RedHat and Centos uses older (proven stable) versions of their software.

Unfortunatly I, like zaytsev, am stuck using poclbm atm.
* Viceroy sadly drops his head and walks away


I think you grossly overestimate how many people are using centos Tongue

Anyway I've committed a fix to the git tree which prevents using just the sockopt function if the version of curl is too old. This should fix it building on older curls.
hero member
Activity: 924
Merit: 501
wellp,

I done did downloaded centos 6, so I guess it's about time to install it I reckon.

yeaaaap
* Viceroy chews some hay


newbie
Activity: 59
Merit: 0
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.
hero member
Activity: 924
Merit: 501
what's the fix?
* Viceroy picks his head up and starts to listen again

I ain't pickin up your precompiled code Smiley

newbie
Activity: 59
Merit: 0
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 ;-)
newbie
Activity: 51
Merit: 0
With version 1.4.0 and 1.4.1, I have some trouble connecting to the rpc server.

cgminer exists with code:
Code:
No pools active! Exiting.

I tried it several times with the same starting parameters:
./cgminer -o http://uswest.btcguild.com:8332 -u myusername -p mypassword -w 256 -I 8 --verbose

and got only 1 connect where only the first gpu was starting to work.

I tested 1.4.0 and 1.4.1 precompiled version for ubuntu with the same behavior.

Version 1.3.1 is working fine.
Got 14.42 shares per minute
with
2 * 5850 @ 900,300
1 * 5850 @ 820,300
newbie
Activity: 23
Merit: 0
Well, that's not a fix as it won't make it work on RHEL5, that's just making the failure message more informative.
Good thing IMHO. configure.ac is supposed to test for minimum features, after all.

Quote
I guess I can try compiling static builds against newer curl, but I don't really understand if anyone is interested in RHEL5 builds other than me.
The problem with this idea is that network-using static libraries are not supported by glibc.

You should be able to build your own version of "new" libcurl and compile+link against that.
Adding a --with-libcurl=/usr/local/src/newcurl option to configure is reasonably simple.
hero member
Activity: 924
Merit: 501
but I don't really understand if anyone is interested in RHEL5 builds other than me.


Much of the world.  If this doesn't work on Centos, it's worthless.  Kinda like coming up
with windows only mining software Smiley

To the author, this is what was required to build poclbm under centos:
http://forum.bitcoin.org/?topic=7534.0

RedHat and Centos uses older (proven stable) versions of their software.

Unfortunatly I, like zaytsev, am stuck using poclbm atm.
* Viceroy sadly drops his head and walks away

newbie
Activity: 59
Merit: 0
Should be straightforward to implement.

Well, that's not a fix as it won't make it work on RHEL5, that's just making the failure message more informative. I guess I can try compiling static builds against newer curl, but I don't really understand if anyone is interested in RHEL5 builds other than me.
newbie
Activity: 23
Merit: 0
As I said the curl version is too old, there is no fix unless ck makes longpoll optional / figures out how to implement this functionality only using old curl's features.
The fix is to add a check to configure.ac, for "new curl" (i.e. version and/or data type and/or library call) and to refuse to continue if that's not present.

Should be straightforward to implement.
newbie
Activity: 59
Merit: 0
Version 1.4.1 will not compile on CENTOS, same error as below. What is the fix???

As I said the curl version is too old, there is no fix unless ck makes longpoll optional / figures out how to implement this functionality only using old curl's features.
Jump to: