On 15/04/18 17:19, Tim wrote:
On 15/04/18 16:41, Ralph Corderoy wrote:
Hi Tim,

mit@prometheus:~/ottd-source/openttd-1.8.0$ ./configure
bash: ./configure: No such file or directory
Are you sure you've downloaded and unpacked a tar file of source rather
than binaries?  I used
https://binaries.openttd.org/releases/1.8.0/openttd-1.8.0-source.tar.xz

     $ sha256sum openttd-1.8.0-source.tar.xz
c2d32d9d736d27202a020027a3729ae763f5432ae6f424891e57a4095eeb087f openttd-1.8.0-source.tar.xz
     $ tar xf openttd-1.8.0-source.tar.xz
     $ cd openttd-1.8.0
     $ ls
     bin            Doxyfile            Makefile.lang.in projects
     changelog.txt  findversion.sh      Makefile.msvc readme.txt
     config.lib     known-bugs.txt      Makefile.setting.in source.list
     configure      Makefile.bundle.in  Makefile.src.in      src
     COPYING        Makefile.grf.in     media
     docs           Makefile.in         os
     $

Cheers, Ralph.

Opps, looks like I did download the binaries, now got the source, lets see what this brings


Thanks Ralph


Tim


OK, ./configure ran and so did Make, there was only one issue during the make and that was this:

In file included from /usr/include/string.h:494:0,
                 from /usr/include/c++/7/cstring:42,
                 from /home/mit/ottd-source/openttd-1.8.0/src/stdafx.h:85,
                 from /home/mit/ottd-source/openttd-1.8.0/src/newgrf.cpp:12:
In function ‘void* memset(void*, int, size_t)’,
    inlined from ‘ChangeInfoResult StationChangeInfo(uint, int, int, ByteReader*)’ at /home/mit/ottd-source/openttd-1.8.0/src/newgrf.cpp:1975:13: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:70: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size between 18446744073709551361 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));

Which looking at it is an in game setting (rather than a lib file missing)

Question is, where is the file(s)  that I now need to run the game, if I type openttd at the cli the old version 1.7.1 starts?


Tim


--
Next meeting:  Bournemouth, Tuesday, 2018-05-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:[email protected] / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to