Change to compile process?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
4tunesfool Offline
Junior Member
Posts: 18
Joined: Jun 2007
Reputation: 0
Post: #1
I've just updated from SVN but I seem to have broken something. This compiled fine from the svn a few days ago but now there seems to be a different process in place.

I followed the readme and did the update of both code and packages. When I follow the new instructions using the ./configure and then make I get..


xbmc@xbmc:~/linuxport/XBMC$ ./configure
checking for gawk... no
checking for mawk... mawk
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
xbmc@xbmc:~/linuxport/XBMC$ make
make: *** No targets specified and no makefile found. Stop.
xbmc@xbmc:~/linuxport/XBMC$


Almost certainly something I forgot to do... could somebody remind me please?

Ta
find quote
4tunesfool Offline
Junior Member
Posts: 18
Joined: Jun 2007
Reputation: 0
Post: #2
working it through it looked as if it did not have g++ installed even though the package update reported OK.

I have installed g++ and compile is running.

Is there anything else I should be looking out for?

Ta
find quote
SneakerElph Offline
Member
Posts: 86
Joined: Jan 2006
Reputation: 0
Post: #3
Quote:configure: error: C++ compiler cannot create executables

that seems to be your problem. I don't know how to fix it, but google that and see what comes up.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,938
Joined: Dec 2004
Reputation: 17
Post: #4
install gawk also. Thanks Jezz_X for that.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
boscorillium Offline
Junior Member
Posts: 35
Joined: Jul 2007
Reputation: 0
Post: #5
Actually I've had the same exact problem on the virtual machine and on my actual dev box. Doing a "sudo apt-get install g++" seemed to resolve it. Which is weird, because it is stated as one of the packages installed if you follow the readme.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,938
Joined: Dec 2004
Reputation: 17
Post: #6
g++ isn't only g++-4.1 is.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
webbanane Offline
Junior Member
Posts: 40
Joined: Jun 2007
Reputation: 0
Post: #7
Me, too! Sad Can someone update the instructions in the wiki?
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,269
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #8
webbanane Wrote:Me, too! Sad Can someone update the instructions in the wiki?

https://xbmc.svn.sourceforge.net/svnroot...ADME.linux

you will also need to apt-get gawk and g++ for the ./configure to work probably
find quote
webbanane Offline
Junior Member
Posts: 40
Joined: Jun 2007
Reputation: 0
Post: #9
Thx, very much, but

boscorillium Wrote:Doing a "sudo apt-get install g++" seemed to resolve it.

already did it for me.Nod
find quote