PDA

View Full Version : Change to compile process?


4tunesfool
2007-07-05, 22:34
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

4tunesfool
2007-07-05, 22:43
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

SneakerElph
2007-07-05, 22:44
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.

Nuka1195
2007-07-05, 23:14
install gawk also. Thanks Jezz_X for that.

boscorillium
2007-07-05, 23:20
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.

Nuka1195
2007-07-06, 02:10
g++ isn't only g++-4.1 is.

webbanane
2007-07-06, 02:32
Me, too! :sad: Can someone update the instructions in the wiki?

Jezz_X
2007-07-06, 03:25
Me, too! :sad: Can someone update the instructions in the wiki?

https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/README.linux

you will also need to apt-get gawk and g++ for the ./configure to work probably

webbanane
2007-07-06, 22:15
Thx, very much, but

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

already did it for me.:nod: