Autor Tópico: problema na compilação, causa: checkinstall  (Lida 6217 vezes)

Offline uplink

  • Usuário Ubuntu
  • *
  • Mensagens: 184
    • Ver perfil
problema na compilação, causa: checkinstall
« Online: 25 de Agosto de 2006, 21:49 »
bem o checkinstall é um programa pra poder criar pacote pré-compilado
dai ta fui instalar um jogo

pelos procedimentos: ./configure,make,make install (so que dai tinha que substitui o make install por checkinstall)

dai fui indo:

./configure
Código: [Selecionar]
$ sudo ./configure
Password:
touch Makefile.config
===> DEP music/extmidi.c
===> DEP unix.c
===> DEP video/sdl_v.c
===> DEP sound/sdl_s.c
===> DEP sdl.c
===> DEP ai/trolly/trolly.c
===> DEP ai/trolly/shared.c
===> DEP ai/trolly/pathfinder.c
===> DEP ai/trolly/build.c
===> DEP ai/default/default.c
===> DEP ai/ai.c
===> DEP video/null_v.c
===> DEP video/dedicated_v.c
===> DEP sound/null_s.c
===> DEP music/null_m.c
===> DEP window.c
===> DEP widget.c
===> DEP waypoint.c
===> DEP water_cmd.c
===> DEP viewport.c
===> DEP vehicle_gui.c
===> DEP vehicle.c
===> DEP unmovable_cmd.c
===> DEP tunnelbridge_cmd.c
===> DEP tunnel_map.c
===> DEP tree_cmd.c
===> DEP train_gui.c
===> DEP train_cmd.c
===> DEP town_gui.c
===> DEP town_cmd.c
===> DEP tile.c
===> DEP thread.c
===> DEP texteff.c
===> DEP terraform_gui.c
===> DEP subsidy_gui.c
===> DEP strings.c
===> DEP string.c
===> DEP station_newgrf.c
===> DEP station_gui.c
===> DEP station_cmd.c
===> DEP spritecache.c
===> DEP sprite.c
===> DEP sound.c
===> DEP smallmap_gui.c
===> DEP signs.c
===> DEP ship_gui.c
===> DEP ship_cmd.c
===> DEP settings_gui.c
===> DEP settings.c
===> DEP screenshot.c
===> DEP saveload.c
===> DEP roadveh_gui.c
===> DEP roadveh_cmd.c
===> DEP road_gui.c
===> DEP road_cmd.c
===> DEP rev.c
===> DEP rail_gui.c
===> DEP rail_cmd.c
===> DEP rail.c
===> DEP queue.c
===> DEP pool.c
===> DEP players.c
===> DEP player_gui.c
===> DEP pathfind.c
===> DEP order_gui.c
===> DEP order_cmd.c
===> DEP openttd.c
===> DEP oldloader.c
===> DEP npf.c
===> DEP news_gui.c
===> DEP newgrf.c
===> DEP network_udp.c
===> DEP network_server.c
===> DEP network_gui.c
===> DEP network_gamelist.c
===> DEP network_data.c
===> DEP network_client.c
===> DEP network.c
===> DEP namegen.c
===> DEP music_gui.c
===> DEP mixer.c
===> DEP misc_gui.c
===> DEP misc_cmd.c
===> DEP misc.c
===> DEP minilzo.c
===> DEP mersenne.c
===> DEP md5.c
===> DEP map.c
===> DEP main_gui.c
===> DEP landscape.c
===> DEP intro_gui.c
===> DEP industry_gui.c
===> DEP industry_cmd.c
===> DEP graph_gui.c
===> DEP gfxinit.c
===> DEP gfx.c
===> DEP fileio.c
===> DEP engine_gui.c
===> DEP engine.c
===> DEP economy.c
===> DEP dummy_land.c
===> DEP driver.c
===> DEP dock_gui.c
===> DEP disaster_cmd.c
===> DEP depot.c
===> DEP dedicated.c
===> DEP debug.c
===> DEP currency.c
===> DEP console_cmds.c
===> DEP console.c
===> DEP command.c
===> DEP clear_cmd.c
===> DEP callback_table.c
===> DEP bridge_gui.c
===> DEP aystar.c
===> DEP airport_gui.c
===> DEP airport.c
===> DEP aircraft_gui.c
===> DEP aircraft_cmd.c
make[1]: Entrando no diretório `/home/uplink/openttd-0.4.8'
touch Makefile.config
===> DEP music/extmidi.c
===> DEP unix.c
===> DEP video/sdl_v.c
===> DEP sound/sdl_s.c
===> DEP sdl.c
===> DEP ai/trolly/trolly.c
===> DEP ai/trolly/shared.c
===> DEP ai/trolly/pathfinder.c
===> DEP ai/trolly/build.c
===> DEP ai/default/default.c
===> DEP ai/ai.c
===> DEP video/null_v.c
===> DEP video/dedicated_v.c
===> DEP sound/null_s.c
===> DEP music/null_m.c
===> DEP window.c
===> DEP widget.c
===> DEP waypoint.c
===> DEP water_cmd.c
===> DEP viewport.c
===> DEP vehicle_gui.c
===> DEP vehicle.c
===> DEP unmovable_cmd.c
===> DEP tunnelbridge_cmd.c
===> DEP tunnel_map.c
===> DEP tree_cmd.c
===> DEP train_gui.c
===> DEP train_cmd.c
===> DEP town_gui.c
===> DEP town_cmd.c
===> DEP tile.c
===> DEP thread.c
===> DEP texteff.c
===> DEP terraform_gui.c
===> DEP subsidy_gui.c
===> DEP strings.c
===> DEP string.c
===> DEP station_newgrf.c
===> DEP station_gui.c
===> DEP station_cmd.c
===> DEP spritecache.c
===> DEP sprite.c
===> DEP sound.c
===> DEP smallmap_gui.c
===> DEP signs.c
===> DEP ship_gui.c
===> DEP ship_cmd.c
===> DEP settings_gui.c
===> DEP settings.c
===> DEP screenshot.c
===> DEP saveload.c
===> DEP roadveh_gui.c
===> DEP roadveh_cmd.c
===> DEP road_gui.c
===> DEP road_cmd.c
===> DEP rev.c
===> DEP rail_gui.c
===> DEP rail_cmd.c
===> DEP rail.c
===> DEP queue.c
===> DEP pool.c
===> DEP players.c
===> DEP player_gui.c
===> DEP pathfind.c
===> DEP order_gui.c
===> DEP order_cmd.c
===> DEP openttd.c
===> DEP oldloader.c
===> DEP npf.c
===> DEP news_gui.c
===> DEP newgrf.c
===> DEP network_udp.c
===> DEP network_server.c
===> DEP network_gui.c
===> DEP network_gamelist.c
===> DEP network_data.c
===> DEP network_client.c
===> DEP network.c
===> DEP namegen.c
===> DEP music_gui.c
===> DEP mixer.c
===> DEP misc_gui.c
===> DEP misc_cmd.c
===> DEP misc.c
===> DEP minilzo.c
===> DEP mersenne.c
===> DEP md5.c
===> DEP map.c
===> DEP main_gui.c
===> DEP landscape.c
===> DEP intro_gui.c
===> DEP industry_gui.c
===> DEP industry_cmd.c
===> DEP graph_gui.c
===> DEP gfxinit.c
===> DEP gfx.c
===> DEP fileio.c
===> DEP engine_gui.c
===> DEP engine.c
===> DEP economy.c
===> DEP dummy_land.c
===> DEP driver.c
===> DEP dock_gui.c
===> DEP disaster_cmd.c
===> DEP depot.c
===> DEP dedicated.c
===> DEP debug.c
===> DEP currency.c
===> DEP console_cmds.c
===> DEP console.c
===> DEP command.c
===> DEP clear_cmd.c
===> DEP callback_table.c
===> DEP bridge_gui.c
===> DEP aystar.c
===> DEP airport_gui.c
===> DEP airport.c
===> DEP aircraft_gui.c
===> DEP aircraft_cmd.c
make[1]: Saindo do diretório `/home/uplink/openttd-0.4.8'
make[1]: Entrando no diretório `/home/uplink/openttd-0.4.8'
make[1]: `Makefile.config' está atualizado.
make[1]: Saindo do diretório `/home/uplink/openttd-0.4.8'
$


make
Código: [Selecionar]
$ sudo make
===> Compiling aircraft_cmd.c
===> Compiling aircraft_gui.c
===> Compiling airport.c
===> Compiling airport_gui.c
===> Compiling aystar.c
===> Compiling bridge_gui.c
===> Compiling callback_table.c
===> Compiling clear_cmd.c
===> Compiling command.c
===> Compiling console.c
===> Compiling console_cmds.c
===> Compiling currency.c
===> Compiling debug.c
===> Compiling dedicated.c
===> Compiling depot.c
===> Compiling disaster_cmd.c
===> Compiling dock_gui.c
===> Compiling driver.c
===> Compiling dummy_land.c
===> Compiling economy.c
===> Compiling engine.c
===> Compiling engine_gui.c
===> Compiling fileio.c
===> Compiling gfx.c
===> Compiling gfxinit.c
===> Compiling graph_gui.c
===> Compiling industry_cmd.c
===> Compiling industry_gui.c
===> Compiling intro_gui.c
===> Compiling landscape.c
===> Compiling main_gui.c
===> Compiling map.c
===> Compiling md5.c
===> Compiling mersenne.c
===> Compiling minilzo.c
===> Compiling misc.c
===> Compiling misc_cmd.c
===> Compiling misc_gui.c
===> Compiling mixer.c
===> Compiling music_gui.c
===> Compiling namegen.c
===> Compiling network.c
===> Compiling network_client.c
===> Compiling network_data.c
===> Compiling network_gamelist.c
===> Compiling network_gui.c
===> Compiling network_server.c
===> Compiling network_udp.c
===> Compiling newgrf.c
===> Compiling news_gui.c
===> Compiling npf.c
npf.c: Na função ‘NPFRouteToDepotTrialError’:
npf.c:770: warning: ‘best_result.node.user_data[1u]’ may be used uninitialized in this function
npf.c:770: warning: ‘best_result.node.user_data[0u]’ may be used uninitialized in this function
npf.c:770: warning: ‘best_result.node.direction’ may be used uninitialized in this function
npf.c:770: warning: ‘best_result.node.tile’ may be used uninitialized in this function
npf.c:770: warning: ‘best_result.best_trackdir’ may be used uninitialized in this function
===> Compiling oldloader.c
===> Compiling openttd.c
===> Compiling order_cmd.c
===> Compiling order_gui.c
===> Compiling pathfind.c
===> Compiling player_gui.c
===> Compiling players.c
===> Compiling pool.c
===> Compiling queue.c
===> Compiling rail.c
===> Compiling rail_cmd.c
===> Compiling rail_gui.c
===> Compiling rev.c
===> Compiling road_cmd.c
===> Compiling road_gui.c
===> Compiling roadveh_cmd.c
===> Compiling roadveh_gui.c
===> Compiling saveload.c
===> Compiling screenshot.c
===> Compiling settings.c
===> Compiling settings_gui.c
===> Compiling ship_cmd.c
===> Compiling ship_gui.c
===> Compiling signs.c
===> Compiling smallmap_gui.c
===> Compiling sound.c
===> Compiling sprite.c
===> Compiling spritecache.c
===> Compiling station_cmd.c
===> Compiling station_gui.c
===> Compiling station_newgrf.c
===> Compiling string.c
===> Compiling strings.c
===> Compiling subsidy_gui.c
===> Compiling terraform_gui.c
===> Compiling texteff.c
===> Compiling thread.c
===> Compiling tile.c
===> Compiling town_cmd.c
===> Compiling town_gui.c
===> Compiling train_cmd.c
===> Compiling train_gui.c
===> Compiling tree_cmd.c
===> Compiling tunnel_map.c
===> Compiling tunnelbridge_cmd.c
===> Compiling unmovable_cmd.c
===> Compiling vehicle.c
===> Compiling vehicle_gui.c
===> Compiling viewport.c
===> Compiling water_cmd.c
===> Compiling waypoint.c
===> Compiling widget.c
===> Compiling window.c
===> Compiling music/null_m.c
===> Compiling sound/null_s.c
===> Compiling video/dedicated_v.c
===> Compiling video/null_v.c
===> Compiling ai/ai.c
===> Compiling ai/default/default.c
===> Compiling ai/trolly/build.c
===> Compiling ai/trolly/pathfinder.c
===> Compiling ai/trolly/shared.c
===> Compiling ai/trolly/trolly.c
===> Compiling sdl.c
===> Compiling sound/sdl_s.c
===> Compiling video/sdl_v.c
===> Compiling unix.c
===> Compiling music/extmidi.c
===> Linking openttd
$

se eu tentar checkinstall:
Código: [Selecionar]
$ sudo checkinstall

checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.



Installing with "make install"...

========================= Installation results ===========================

Copying documentation directory...
true_fopen == 0 for fopen64("/proc/mounts", "r")
true_fopen == 0 for fopen64("/proc/mounts", "r")
Makefile:872: *** make install is highly experimental at his state and not tested very much - use at your own risk - to use run \"make install INSTALL:=1\" - make sure Makefile.config is set correctly up - run \"make upgradeconf\".  Pare.

****  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OK

Bye.

$

ou make install:
Código: [Selecionar]
$ make install
Makefile:872: *** make install is highly experimental at his state and not tested very much - use at your own risk - to use run \"make install INSTALL:=1\" - make sure Makefile.config is set correctly up - run \"make upgradeconf\".  Pare.
$

o que eu posso fazer? desde já,grato
« Última modificação: 25 de Agosto de 2006, 21:51 por uplink »
Cai fora do Forum...

Entenda o Porque !

Offline Lamego

  • Usuário Ubuntu
  • *
  • Mensagens: 1.943
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #1 Online: 26 de Agosto de 2006, 06:22 »
uplink,
esse aviso é do proprio programa, pelos vistos o programador desse software não tem muita confiança no "make install" que criou e deixou esse aviso.

Citar
Makefile:872: *** make install is highly experimental at his state and not tested very much - use at your own risk - to use run \"make install INSTALL:=1\" - make sure Makefile.config is set correctly up - run \"make upgradeconf\".  Pare.
Tal como a mensagem indica o programa deve ser instalado com "make install INSTALL:=1", no caso com o checkinstall deve ser:
Código: [Selecionar]
sudo checkinstall make install INSTALL:=1
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

Offline uplink

  • Usuário Ubuntu
  • *
  • Mensagens: 184
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #2 Online: 26 de Agosto de 2006, 13:19 »
uplink,
esse aviso é do proprio programa, pelos vistos o programador desse software não tem muita confiança no "make install" que criou e deixou esse aviso.

Citar
Makefile:872: *** make install is highly experimental at his state and not tested very much - use at your own risk - to use run \"make install INSTALL:=1\" - make sure Makefile.config is set correctly up - run \"make upgradeconf\".  Pare.
Tal como a mensagem indica o programa deve ser instalado com "make install INSTALL:=1", no caso com o checkinstall deve ser:
Código: [Selecionar]
sudo checkinstall make install INSTALL:=1

cara muito obrigado pela sua ajuda,ao tentar o sudo checkinstall make install INSTALL:=1, havia dado um outro erro dai tentei o: sudo checkinstall make upgradeconf,e consegui (eu havia tentado uma vez mas sem o checkinstall que havia retornado erro)

dai ele foi criando,tudo colocou na arquitetura certa e finalizou o arquivo. dai fui instalar,mas o intereçante é que ele só criou apenas 1 arquivo,esse arquivo é um doc sem utilidade

Código: [Selecionar]
./
usr/
usr/share/
usr/share/doc/
usr/share/doc/openttd-0.4.8/
usr/share/doc/openttd-0.4.8/COPYING

ou seja esse arquivo so relata os termos do gpl,etc.

dai fui ao site do jogo:
http://www.openttd.org
e la não falava nada a respeito disso

e ao wiki do jogo tambem não:
http://wiki.openttd.org/index.php/Compiling_on_Linux

tem a versão release para arquitetura i386,mas to tendo esse problema ao compilar o jogo para amd64.

será que alguem sabe uma solução?
e em ultimo caso,se souberem me dizer como se remove o checkinstall vai ajuda muito.

muito obrigado
Cai fora do Forum...

Entenda o Porque !

Offline niteurbenz

  • Usuário Ubuntu
  • *
  • Mensagens: 31
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #3 Online: 26 de Agosto de 2006, 14:37 »
mas uplink,porque você não apenas instala a verão i386? acho que deve funcionar tambem

Offline uplink

  • Usuário Ubuntu
  • *
  • Mensagens: 184
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #4 Online: 26 de Agosto de 2006, 14:47 »
mas uplink,porque você não apenas instala a verão i386? acho que deve funcionar tambem

sim,mdandando forçar a instalação dele,ele instala a versão i386,mas eu quiria a fazer ele na arquitetura do meu SO que é amd64, e antes eu havia instalado um programa chamado: checkinstall que cria o arquivo pré-compilado para o meu computador,mas eu acho que ele que esta gerando problema.

tem um forum sobre o openttd (em ingles):
http://www.tt-forums.net/index.php?c=20

mas como tenho dificuldade no ingles to passando maior trabalho para achar algo referente ao meu problema,mas acho que não vou achar nada.

de qualquer forma obrigado
t+
Cai fora do Forum...

Entenda o Porque !

Offline Lamego

  • Usuário Ubuntu
  • *
  • Mensagens: 1.943
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #5 Online: 26 de Agosto de 2006, 19:32 »
Citar
cara muito obrigado pela sua ajuda,ao tentar o sudo checkinstall make install INSTALL:=1, havia dado um outro erro dai tentei o: sudo checkinstall make upgradeconf,e consegui (eu havia tentado uma vez mas sem o checkinstall que havia retornado erro)
uplink, o make upgradeconf é para instalar o arquivo de configuração, não é para instalar o p rogrma, por favor cola o erro que você tem com o  make install INSTALL:=1
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

Offline uplink

  • Usuário Ubuntu
  • *
  • Mensagens: 184
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #6 Online: 26 de Agosto de 2006, 19:56 »
Código: [Selecionar]
$ 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")
Makefile:878: *** no prefix set - check Makefile.config.  Pare.

****  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OK

Bye.

$

o que posso fazer?
obrigado pela atenção
Cai fora do Forum...

Entenda o Porque !

Offline Lamego

  • Usuário Ubuntu
  • *
  • Mensagens: 1.943
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #7 Online: 26 de Agosto de 2006, 20:09 »
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 .
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

Offline uplink

  • Usuário Ubuntu
  • *
  • Mensagens: 184
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #8 Online: 26 de Agosto de 2006, 21:28 »
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:
Código: [Selecionar]
# 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:

Código: [Selecionar]
$ 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
Cai fora do Forum...

Entenda o Porque !

Offline Lamego

  • Usuário Ubuntu
  • *
  • Mensagens: 1.943
    • Ver perfil
Re: problema na compilação, causa: checkinstall
« Resposta #9 Online: 27 de Agosto de 2006, 11:07 »
uplink,
primeiro sobre um erro que você cometeu e que eu não tinha visto antes, o ./configure e o make não devem ser feitos com sudo.

Em relação aos scenarios, a source não traz nenhum cenário por isso dá o erro no make install, voce tem que pegar esse cenario e colocar na pasta secnario dentro da source, aí ele já não dá erro a instarl.

Nota que na pagina do openttd ele indica que é necessário ter o jogo original...

João Luís Marques Pinto
Mais programs e jogos para o Ubuntu