UFO:Alien Invasion

Archive => Bugs prior to release 2.4 => Topic started by: jerikojerk on June 08, 2010, 01:33:05 am

Title: [trunk 30393] revision message incorrect
Post by: jerikojerk on June 08, 2010, 01:33:05 am
i recently syncronise my copy of the trunk, i do make, make install. at main menu, the white revision message display build 30350 instead of 30393.
don't know why...
is there a other way to check if execute the newly compiled executable or the previsious version?

Code: [Select]
jerikojerk@hp:~/projets/ufoai/trunk$ which ufo
/usr/local/bin/ufo
jerikojerk@hp:~/projets/ufoai/trunk$ ls -l /usr/local/bin/ufo
-rwxr-xr-x 1 root root 55 2010-06-08 01:30 /usr/local/bin/ufo
Title: Re: [trunk 30393] revision message incorrect
Post by: Muton on June 08, 2010, 08:45:39 am
you need to RE-compile ufo.exe

make clean
make .......
Title: Re: [trunk 30393] revision message incorrect
Post by: jerikojerk on June 08, 2010, 03:16:46 pm
if i write such question, you may gess i already (re)compiled it.
i used "make" and "sudo make install", i think there is nothing more to do??? i may specify that i don't have any "ufo.exe" as i'm running on ubuntu ;)

is there a file in the src where the revision code must be found?

why i'm the only one to get such strange behavior?

so i tried something

Code: [Select]
jerikojerk@hp:~/projets/ufoai/trunk$ md5sum ./debian/ufo
4e1989f0f63141959bd3c1f8718b455e  ./debian/ufo
jerikojerk@hp:~/projets/ufoai/trunk$ md5sum ufo
b6dc9c3175de61cf3218139a03d46e2d  ufo
jerikojerk@hp:~/projets/ufoai/trunk$ md5sum /usr/local/bin/ufo
fddc63de13f18d13a9987eeb82539751  /usr/local/bin/ufo

and we observe:


So my diagnosis is that where is something wrong in install process on ubuntu.



Title: Re: [trunk 30393] revision message incorrect
Post by: Mattn on June 08, 2010, 04:17:16 pm
don't use trunk/debian/ufo - but just trunk/ufo

Title: Re: [trunk 30393] revision message incorrect
Post by: jerikojerk on June 08, 2010, 10:28:55 pm
ok, that's a short answer.

but it would be simplier if the install procedure work correctly. do other people have this problem?
Title: Re: [trunk 30393] revision message incorrect
Post by: Mattn on June 08, 2010, 10:37:26 pm
debian/ufo is not part of the install procedure - it's part of the debian package creation. make install and debian/* are in no way related
Title: Re: [trunk 30393] revision message incorrect
Post by: jerikojerk on June 08, 2010, 11:29:29 pm
thank you.
i don't have the problem any more. sometime it should ba a issue between my keyboard and my seat :(

--
note: the solution was to do "make clean".