Page 1 of 1

Unreal4 not love me and my g++!

Posted: Mon Oct 22, 2007 9:23 pm
by GNeRaL
Hi,

I cant configure Unreal4-beta,

Code: Select all

I have detected the following compiler: g++ (version 4.x)
IMPORTANT! A prerelease GCC compiler has been detected and
should NOT be used. You should probably specify a different compiler version.

Do you want to change the compiler? [n] ->
IMPORTANT! A prerelease GCC compiler has been detected and
should NOT be used. You should probably specify a different compiler version.

When i tried: apt-get install g++ , Ive with:
private:~# apt-get install g++
Reading package lists... Done
Building dependency tree... Done
g++ is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
private:~#
So, what should i do?

Re: Unreal4 not love me and my g++!

Posted: Mon Oct 22, 2007 10:04 pm
by SpaceDoG
What's your apt sources list say? if you're using testing then you need to remove g++ and change your sources to stable and re-install g++

Re: Unreal4 not love me and my g++!

Posted: Tue Oct 23, 2007 12:27 am
by Stealth
You should be able to compile Unreal anyway, without specifying a new compiler.

BTW, Unreal4 is NOT beta, it is still pre-alpha (meaning it should not be expected to work at all)


(post moved to Off Topic, since forums are for 3.2 support)

Re: Unreal4 not love me and my g++!

Posted: Tue Oct 23, 2007 10:58 am
by GNeRaL
SpaceDoG wrote:What's your apt sources list say? if you're using testing then you need to remove g++ and change your sources to stable and re-install g++
Hi,

sources.list:
deb http://ftp.se.debian.org/debian/ etch main contrib
deb-src http://ftp.se.debian.org/debian/ etch main contrib
deb http://security.debian.org/ etch/updates main contrib
private:/home# apt-get remove g++
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
g++
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 41.0kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 14203 files and directories currently installed.)
Removing g++ ...

private:/home# apt-get install g++
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
g++
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/1360B of archives.
After unpacking 41.0kB of additional disk space will be used.
Selecting previously deselected package g++.
(Reading database ... 14200 files and directories currently installed.)
Unpacking g++ (from .../g++_4%3a4.1.1-15_i386.deb) ...
Setting up g++ (4.1.1-15) ...

private:/home#
And, after the this steps,

Code: Select all

chat@private:~/unreal4$ ./configure
Detecting modules .........................................................................................................................
Ok, 121 modules.

bla bla bla

Your operating system is: linux (linux)
Maximum file descriptors: 1024
Your UnrealIRCd revision ID is r238
.

I have detected the following compiler: g++ (version 4.x)
IMPORTANT! A prerelease GCC compiler has been detected and
should NOT be used. You should probably specify a different compiler version.

Do you want to change the compiler? [n] ->
Again same?

Re: Unreal4 not love me and my g++!

Posted: Fri Nov 02, 2007 2:44 pm
by srcmaster
The gcc's 4.x versions still labelled as prerelease.So, you might as well try with older gcc versions.. (with gpp sure) Besides that, you can try to hack u4's configure script as well.But this is not recommended.