CodeAnalyst

Discussions Regarding Software

Moderator: Moderators

CodeAnalyst

Postby King_DuckZ » Mon Dec 03, 2012 10:33

Hello, I'm trying to install CodeAnalyst from AMD (http://developer.amd.com/tools/heteroge ... for-linux/), but I'm having issues building it from code.
In the config.log I get the following:

gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.3, pie-0.5.2)
... rest of stderr output deleted ...
configure:3074: $? = 0
configure:3063: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3074: $? = 1
configure:3063: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files

Can somebody help me please? It would also be nice to have it in Entropy or in sabayon overlay, I find it a very good product and being released under the GPL 2 I don't think there should be any legal issues.
King_DuckZ
Simple Hen
 
Posts: 68
Joined: Wed Sep 07, 2011 0:46

Re: CodeAnalyst

Postby King_DuckZ » Tue Dec 04, 2012 10:03

No thoughts at all on CodeAnalyst? Can it be added to the repository? I really need to use it, so sorry if I insist... even some help with fixing the build would be appreciated!
King_DuckZ
Simple Hen
 
Posts: 68
Joined: Wed Sep 07, 2011 0:46

Re: CodeAnalyst

Postby Stupot » Tue Dec 04, 2012 17:02

From what I've read over at the gentoo forums, codeanalyst has a dependency on qt3. We have qt4. Having qt3 and qt4 at the same time isn't the easiest of things (not that it can't be done). I don't think you'll find many distro's (if any) that support qt3 anymore.
Stupot
Sagely Hen
 
Posts: 1537
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: CodeAnalyst

Postby Fitzcarraldo » Tue Dec 04, 2012 17:29

The latest version of CodeAnalyst (3.4) uses Qt4, not Qt3, but there is no ebuild available for Gentoo as far as I am aware (not even in any overlay). There is a .deb package for Ubuntu 12.04 though, so you could use it in Ubuntu.

AMD Developer Central | CodeAnalyst for Linux

You could try filing a request for an ebuild to be created and the package to be built from it and put in the Entropy repository. To do that, click on the link 'Bugs' at the top of this page. I don't know how long it would take for a SL developer to create it, though.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: CodeAnalyst

Postby King_DuckZ » Tue Dec 04, 2012 18:25

Thanks for your replies. The version I'm trying to build is indeed the 3.4, but it fails with the error:
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable.
And the log says (sorry for the first post, I've pasted the wrong part):
configure:18025: checking for Qt library name
configure:18063: g++ -o conftest -g -O2 conftest.cpp -lbfd-2.22 -lz -liberty -ldl -lpopt -lelf -lQtCore >&5
conftest.cpp:44:22: fatal error: qglobal.h: No such file or directory
compilation terminated.

Obviously I do have that file, some include path must be wrong.
I'll try to fix the build myself, but having CodeAnalyst in some repository would be a huge time saver, so I think I'll file the bug as Fitzcarraldo suggests anyways.
King_DuckZ
Simple Hen
 
Posts: 68
Joined: Wed Sep 07, 2011 0:46


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest

cron