project-navigation
Personal tools

Author Topic: [trunk 30393] revision message incorrect  (Read 3997 times)

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
[trunk 30393] revision message incorrect
« 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

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: [trunk 30393] revision message incorrect
« Reply #1 on: June 08, 2010, 08:45:39 am »
you need to RE-compile ufo.exe

make clean
make .......

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: [trunk 30393] revision message incorrect
« Reply #2 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:

  • the first executable refuse to launch (can not change directory to nonexistent directory).
  • the second display the correct revision number
  • the third is revision 30350 which is installed on the system

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




Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [trunk 30393] revision message incorrect
« Reply #3 on: June 08, 2010, 04:17:16 pm »
don't use trunk/debian/ufo - but just trunk/ufo


Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: [trunk 30393] revision message incorrect
« Reply #4 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?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [trunk 30393] revision message incorrect
« Reply #5 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

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: [trunk 30393] revision message incorrect
« Reply #6 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".
« Last Edit: June 14, 2010, 10:19:26 pm by jerikojerk »