Drooling for WxWidgets fix. But lacking git skills.

Message boards : Questions and problems : Drooling for WxWidgets fix. But lacking git skills.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59802 - Posted: 18 Jan 2015, 17:36:24 UTC

Hi there.

I'm running Linux and BOINC 7.4.36.

I read here https://www.mail-archive.com/boinc_dev@ssl.berkeley.edu/msg07978.html that a fix for the wxwidgets is out.

Well. I don't want to be a pest to the developers, but....

I can do a git clone - but what is the approach to get the 7.4.38 version ??
Do I have to do a "git checkout client_release/7.4/7.4.38" instead?
In addition?

The git man pages can tell me how to do things - I'm cloudy
on what to do.

Yes, I can wait for that release to come out and Debian and Ubuntu to create a package, But where is the fun in that?

Thanks,
Jay
ID: 59802 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 59820 - Posted: 19 Jan 2015, 0:12:53 UTC - in response to Message 59802.  
Last modified: 19 Jan 2015, 0:17:14 UTC

Hi there.

I'm running Linux and BOINC 7.4.36.

I read here https://www.mail-archive.com/boinc_dev@ssl.berkeley.edu/msg07978.html that a fix for the wxwidgets is out.

Well. I don't want to be a pest to the developers, but....

I can do a git clone - but what is the approach to get the 7.4.38 version ??
Do I have to do a "git checkout client_release/7.4/7.4.38" instead?
In addition?

The git man pages can tell me how to do things - I'm cloudy
on what to do.

Yes, I can wait for that release to come out and Debian and Ubuntu to create a package, But where is the fun in that?

Thanks,
Jay

Just checkout 'git checkout client_release/7.4/'

Then ./_autosetup, configure, make etc, you'll end up with a Boinc 7.4.36, But with the latest changesets too.

Claggy
ID: 59820 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59841 - Posted: 19 Jan 2015, 23:55:06 UTC - in response to Message 59820.  

Claggy,

Thanks!!
the git clone and git checkout worked..
(I specified client_release/7.4/7.4.37 )

I would like to ask for another kick to get me going in the right direction...

Could you, please, help with glut and and a makefile question?

I did read:
http://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix
and
http://boinc.berkeley.edu/trac/wiki/BuildSystem

and, I'm getting an error in configure - it doesn't find glut...
configure: WARNING: Test for glut-dev might have failed because of missing libXmu-dev!
configure: WARNING: Test for glut-dev might have failed because of missing libXi-dev!
WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed!
The GL, GLU and glut libraries are required in order to build the graphical parts of the BOINC application API library.
==> only building non-graphical parts of the BOINC API Library for now.

Here is a list of everything I installed. I got every glut I saw.
[ I will show restraint on bad puns.]
    sudo aptitude install autoconf
    sudo aptitude install fortran95-compiler
    sudo aptitude install freeglut3-dev
    sudo aptitude install gfortran
    sudo aptitude install gfortran-4.9
    sudo aptitude install gfortran-doc lib64gfortran-4.9-dev
    sudo aptitude install gfortran-doc lib64gfortran-4.9-dev:i386
    sudo aptitude install libcurl-dev libcurl4-dev libcurl4-doc libcurl4-openssl-dev libcurl-ssl-dev
    sudo aptitude install libghc-glut-dev
    sudo aptitude install libghc-glut-dev-2.4.0.0-31a91
    sudo aptitude install libghc-glut-dev-2.4.0.0-31a91y
    sudo aptitude install libghc-openglraw-dev
    sudo aptitude install libmodule-install-automanifest-perl libtest-checkmanifest-perl libtest-manifest-perl
    sudo aptitude install libnotify-dev
    sudo aptitude install libssl-dev
    sudo aptitude install libtool
    sudo aptitude install libwxgtk3.0-dev
    sudo aptitude install libXi-dev
    sudo aptitude install libXmu-dev
    sudo aptitude install m4
    sudo aptitude install mk-configure
    sudo aptitude install sqlite3
    sudo aptitude install libsqlite3-dev


Do you happen to know if there is a Debian/Ubuntu package for glut?
Or is it in the Nvidia or AMD/ATI libraries?

--------------
Second Topic/Question
about the targets of the Makefile...
I get the error:
make
cd . && sh generate_svn_version.sh
error: wrong number of arguments

What make target(s) do you suggest?
1 for compiling and another for compiling & local installing?
I was overwhelmed with all of the targets.

Jay
PS
How can I send you a case of beer or some wine?

ID: 59841 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 59843 - Posted: 20 Jan 2015, 1:01:08 UTC - in response to Message 59841.  
Last modified: 20 Jan 2015, 1:12:17 UTC

Try the libs I mentioned in this post (There's probably extra than needed for compiling the client and manager):

Compiling Applications for Linux

sudo apt-get install git make m4 libtool autoconf pkg-config automake g++ gcc
sudo apt-get install libcurl4-openssl-dev libssl-dev libwxgtk2.8-dev libsqlite3-dev
sudo apt-get install gettext docbook2x docbook-xml libxml2-utils zlib1g-dev libsm-dev libice-dev libxmu-dev libxi-dev
sudo apt-get install libx11-dev libnotify-dev freeglut3-dev libgtk2.0-dev libmysqlclient-dev python libfcgi-dev libjpeg8-dev
sudo apt-get install libxss-dev libxcb-util0-dev libxcb-dpms0-dev libxext-dev libfftw3-dev subversion libstdc++6-4.6-dev (or libstdc++6-4.7-dev or libstdc++6-4.8-dev)


You'll also want libwxgtk3.0-dev and libwxgtk-webview3.0-dev, although the Widgets 3.0 for Ubuntu 14.04 doesn't have webview support, so I used one of LocutusOfBorg ppa's to get one.

Claggy
ID: 59843 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 59844 - Posted: 20 Jan 2015, 1:10:18 UTC - in response to Message 59841.  
Last modified: 20 Jan 2015, 1:11:01 UTC

--------------
Second Topic/Question
about the targets of the Makefile...
I get the error:
make
cd . && sh generate_svn_version.sh
error: wrong number of arguments

What make target(s) do you suggest?
1 for compiling and another for compiling & local installing?
I was overwhelmed with all of the targets.

I see that too, But Boinc is using Git now, so don't know why it is trying to generate a svn_version, anyway I have no trouble after that.

Probably need to ask the devs.

Claggy
ID: 59844 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59858 - Posted: 20 Jan 2015, 17:20:45 UTC - in response to Message 59843.  

Hi there!!

.............. oh ...............

Pardon me. Having a catharsis.
I should have gotten the PPA and the debian/Ubuntu PPa instead of trying to build it myself.
7.4.37+dfsg-1~utopic1 from the PPA

Ahhh. The WxWidgets are still funky.

It also dawns on me that I did not give you the version of Ubuntu that I am using: Ubuntu 14.10 (Utopic Unicorn)

It looks like I need to go to Ubuntu 15.04 (Vivid) to get the 7.4.38
from locutus.
Perhaps there is a really good reason - like one of the needed library fixes.
I see I can get the Ubuntu ppa at https://launchpad.net/ubuntu/+ppas

My thanks to Locutus.
I would have spent days trying to build something
that still wouldn't work.

There are benefits. I have built my confidence.
I can now go to the dentist today without fear (almost).

I will look at this again after I return from the dentist.
Or maybe a marguerita under a palm tree.

Claggy, thank you!

Jay
ID: 59858 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 59862 - Posted: 20 Jan 2015, 17:45:47 UTC - in response to Message 59858.  
Last modified: 20 Jan 2015, 17:51:27 UTC

Hi there!!

.............. oh ...............

Pardon me. Having a catharsis.
I should have gotten the PPA and the debian/Ubuntu PPa instead of trying to build it myself.
7.4.37+dfsg-1~utopic1 from the PPA

Ahhh. The WxWidgets are still funky.

The WxWidget changes are post Boinc 7.4.37, so that version doesn't have it, But the nightly 7.5.0 build will.
(Edit I see Rom has tagged 7.4.38 now)

Claggy
ID: 59862 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59915 - Posted: 22 Jan 2015, 20:59:27 UTC - in response to Message 59862.  

Thanks Claggy,
will try it soon. I did get 7.4.37 and the problem is still there - but, to me, looks a lot better.
It only takes one click to get from projects to tasks.
But most of the entries in tasks are not updating.
Got a new Ubuntu release. New problems.
will look through source to find where - or just start with another google or post..

Thanks!!
Jay
ID: 59915 · Report as offensive

Message boards : Questions and problems : Drooling for WxWidgets fix. But lacking git skills.

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.