O erro diz que você deve editar o Makefile.config , provávelmente tem que configurar lá algumas coisas, o "prefix" a que ele se refere é o caminho onde deve ser instalado o programa, deverá ser /usr .
consegui colocar tudo correto,ele agora vai fazendo as coisas certa até um ponto em que ele tenta copiar uma pasta que ele não cria
eu editei o makefile.config:
# OpenTTD config file for makefile
# Set your options here - 1 for use and empty for disable
# User setup flags
# Translator: adds TODO to any untranslated strings
# MIDI: sets path to midi player
# MIDI_ARG: sets an argument which is used when calling the midi player. Default off
# SUPRESS_LANG_ERRORS: supresses output about missing and mismatched strings
# WITH_NETWORK: makes OpenTTD able to play multiplayer using TCP and UDP
# DEDICATED: compiles a dedicated server. This one can only host using a CLI
# MAX_NUM_AUTOSAVES: sets the max number of autosaves the game keeps before overwriting old ones
STATIC:=
TRANSLATOR:=
DEBUG:=
PROFILE:=
MIDI:=
MIDI_ARG:=
SUPRESS_LANG_ERRORS:=
WITH_DIRECTMUSIC:=
WITH_NETWORK:=1
DEDICATED:=
MAX_NUM_AUTOSAVES:=
# Disable asserts. Leave them on for easier bug finding
DISABLE_ASSERTS:=
# See Makefile for details on these paths
# Folders should not end with /
INSTALL:=openttd
PREFIX:=usr/share/games
BINARY_DIR:=openttd
DATA_DIR:=openttd
ICON_DIR:=openttd
USE_HOMEDIR:=openttd
PERSONAL_DIR:=openttd
SECOND_DATA_PATH:=openttd
CUSTOM_LANG_PATH:=openttd
# Flag to skip test for OS when building static
# OpenTTD have only been succesfully tested with static builds on MorphOS and MacOSX
# If you want to try anyway on other OSes
# Inform us if you have success
SKIP_STATIC_CHECK:=
# Everything below this line is autogenerated
#
# If you need to change anything below
# If that does not fix the problem
# It would really help if you could tell how to autodetect the missing setting
# That info could be where the missing lib is placed
# Libs
WITH_ZLIB:=1
WITH_SDL:=1.2.9
WITH_PNG:=1.2.8
STATIC_ZLIB_PATH:=/usr/lib/libz.a
WITH_COCOA:=
# OS flags
WIN32:=
UNIX:=1
OSX:=
FREEBSD:=
MORPHOS:=
BEOS:=
SUNOS:=
CYGWIN:=
MINGW:=
# For cross-compiling
CC_TARGET:=
CC_HOST:=cc
CFLAGS_HOST:=-s -O2 -fomit-frame-pointer
WINDRES:=windres
ENDIAN_FORCE:=
# misc
SDL_CONFIG:=sdl-config
LIBPNG_CONFIG:=libpng-config
BEOS_NET_SERVER:=
CONFIG_INCLUDED:=yes
PATH_SET:=
CONFIG_VERSION:=10
editei de install até custom.
dai fui ao checkinstall:
$ sudo checkinstall make install INSTALL:=1
checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
Installing with "make install INSTALL:=1"...
========================= Installation results ===========================
Copying documentation directory...
true_fopen == 0 for fopen64("/proc/mounts", "r")
true_fopen == 0 for fopen64("/proc/mounts", "r")
install -d /usr/share/games/openttd/lang \
/usr/share/games/openttd/data \
/usr/share/games/openttd/gm \
/usr/share/games/openttd \
/usr/share/games/openttd
true_fopen == 0 for fopen64("/proc/mounts", "r")
mkdir -p /usr/share/games/openttd/scenario
true_fopen == 0 for fopen64("/proc/mounts", "r")
install openttd /usr/share/games/openttd
true_fopen == 0 for fopen64("/proc/mounts", "r")
install -m 644 lang/*.lng /usr/share/games/openttd/lang
true_fopen == 0 for fopen64("/proc/mounts", "r")
install -m 644 data/*.grf /usr/share/games/openttd/data
true_fopen == 0 for fopen64("/proc/mounts", "r")
install -m 644 data/opntitle.dat /usr/share/games/openttd/data
true_fopen == 0 for fopen64("/proc/mounts", "r")
install -m 644 media/openttd.64.png /usr/share/games/openttd
true_fopen == 0 for fopen64("/proc/mounts", "r")
install -m 644 media/openttd.32.xpm /usr/share/games/openttd
true_fopen == 0 for fopen64("/proc/mounts", "r")
cp scenario/* /usr/share/games/openttd/scenario/
true_fopen == 0 for fopen64("/proc/mounts", "r")
cp: impossível fazer stat em `scenario/*': No such file or directory
make: ** [install] Erro 1
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
$
* eu ja havia instalado a versão i386 no meu kurumin,intão eu posso ver os arquivos que contem la no sistema do kurumin
eu vi ele fazendo tudo correto,a unica coisa errada é que ele tenta copiar uma pasta de forma errada:
cp scenario/* /usr/share/games/openttd/scenario/
true_fopen == 0 for fopen64("/proc/mounts", "r")
cp: impossível fazer stat em `scenario/*': No such file or directory
make: ** [install] Erro 1
ele no começo ele cria essa pasta a scenario, depois a parte que citei que é no final, ele entra na pasta scenario e tenta copia a pasta scenario (que não existe) acho que ele tenta copia a que ele entra
pois no kurumin,contem essa pasta scenario,mas só tem um arquivo de leitura nele,nada mais
e no makefile,não faz referencia alguma aquela pasta
será que você tem alguma ideia de como posso proceder?
obrigado