Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Kompilácia wesnoth 1.8 - chyba pri make [vyřešeno]  (Přečteno 3248 krát)

YaD

  • Návštěvník
  • Příspěvků: 69
Kompilácia wesnoth 1.8 - chyba pri make [vyřešeno]
« kdy: 02 Dubna 2010, 20:57:35 »
Zdravím,
mám menší problém pri kompilácii najnovšej verzie tejto hry. Pri príkazy make, mi vyhodí chybu:
Kód: [Vybrat]
clipboard.cpp:62: error: ‘Atom’ does not name a type
clipboard.cpp:73: error: ‘Atom’ does not name a type
clipboard.cpp:78: error: ‘Atom’ does not name a type
clipboard.cpp:83: error: ‘Atom’ does not name a type
clipboard.cpp:88: error: ‘Atom’ does not name a type
clipboard.cpp:93: error: ‘Atom’ does not name a type
clipboard.cpp:98: error: ‘Atom’ does not name a type
clipboard.cpp:103: error: ISO C++ forbids declaration of ‘Display’ with no type
clipboard.cpp:103: error: expected ‘;’ before ‘*’ token
clipboard.cpp:108: error: expected ‘;’ before ‘Window’
clipboard.cpp:108: error: ‘Window’ does not name a type
clipboard.cpp: In constructor ‘XHelper::XHelper()’:
clipboard.cpp:53: error: ‘dpy’ was not declared in this scope
clipboard.cpp:53: error: ‘atomTable_’ was not declared in this scope
clipboard.cpp:53: error: ‘XInternAtoms’ was not declared in this scope
clipboard.cpp: In member function ‘void XHelper::acquire()’:
clipboard.cpp:120: error: ‘struct SDL_SysWMinfo’ has no member named ‘info’
clipboard.cpp: In member function ‘void XHelper::release()’:
clipboard.cpp:128: error: ‘struct SDL_SysWMinfo’ has no member named ‘info’
clipboard.cpp: In function ‘void handle_system_event(const SDL_Event&)’:
clipboard.cpp:188: error: ‘XEvent’ was not declared in this scope
clipboard.cpp:188: error: ‘xev’ was not declared in this scope
clipboard.cpp:188: error: ‘struct SDL_SysWMmsg’ has no member named ‘event’
clipboard.cpp:189: error: ‘SelectionRequest’ was not declared in this scope
clipboard.cpp:194: error: ‘class XHelper’ has no member named ‘window’
clipboard.cpp:195: error: ‘XA_PRIMARY’ was not declared in this scope
clipboard.cpp:196: error: ‘class XHelper’ has no member named ‘XA_CLIPBOARD’
clipboard.cpp:197: error: expected ‘;’ before ‘responseEvent’
clipboard.cpp:198: error: ‘responseEvent’ was not declared in this scope
clipboard.cpp:198: error: ‘SelectionNotify’ was not declared in this scope
clipboard.cpp:199: error: ‘class XHelper’ has no member named ‘dpy’
clipboard.cpp:203: error: ‘None’ was not declared in this scope
clipboard.cpp:210: error: ‘class XHelper’ has no member named ‘XA_TARGETS’
clipboard.cpp:213: error: ‘Atom’ was not declared in this scope
clipboard.cpp:213: error: expected ‘;’ before ‘supported’
clipboard.cpp:220: error: ‘class XHelper’ has no member named ‘dpy’
clipboard.cpp:221: error: ‘XA_ATOM’ was not declared in this scope
clipboard.cpp:221: error: ‘PropModeReplace’ was not declared in this scope
clipboard.cpp:222: error: ‘supported’ was not declared in this scope
clipboard.cpp:222: error: ‘XChangeProperty’ was not declared in this scope
clipboard.cpp:228: error: ‘class XHelper’ has no member named ‘XA_TEXT’
clipboard.cpp:229: error: ‘class XHelper’ has no member named ‘XA_COMPOUND_TEXT’
clipboard.cpp:230: error: ‘class XHelper’ has no member named ‘UTF8_STRING’
clipboard.cpp:237: error: ‘class XHelper’ has no member named ‘dpy’
clipboard.cpp:239: error: ‘PropModeReplace’ was not declared in this scope
clipboard.cpp:240: error: ‘XChangeProperty’ was not declared in this scope
clipboard.cpp:243: error: ‘class XHelper’ has no member named ‘dpy’
clipboard.cpp:243: error: ‘False’ was not declared in this scope
clipboard.cpp:243: error: ‘NoEventMask’ was not declared in this scope
clipboard.cpp:244: error: ‘XSendEvent’ was not declared in this scope
clipboard.cpp:248: error: ‘SelectionClear’ was not declared in this scope
clipboard.cpp:252: error: ‘class XHelper’ has no member named ‘XA_CLIPBOARD’
clipboard.cpp:254: error: ‘XA_PRIMARY’ was not declared in this scope
clipboard.cpp: In function ‘void copy_to_clipboard(const std::string&, bool)’:
clipboard.cpp:270: error: ‘class XHelper’ has no member named ‘dpy’
clipboard.cpp:270: error: ‘XA_PRIMARY’ was not declared in this scope
clipboard.cpp:270: error: ‘class XHelper’ has no member named ‘window’
clipboard.cpp:270: error: ‘CurrentTime’ was not declared in this scope
clipboard.cpp:270: error: ‘XSetSelectionOwner’ was not declared in this scope
clipboard.cpp:273: error: ‘class XHelper’ has no member named ‘dpy’
clipboard.cpp:273: error: ‘class XHelper’ has no member named ‘XA_CLIPBOARD’
clipboard.cpp:273: error: ‘class XHelper’ has no member named ‘window’
clipboard.cpp:273: error: ‘CurrentTime’ was not declared in this scope
clipboard.cpp:273: error: ‘XSetSelectionOwner’ was not declared in this scope
clipboard.cpp: At global scope:
clipboard.cpp:281: error: ‘Atom’ was not declared in this scope
clipboard.cpp:281: error: ‘Atom’ was not declared in this scope
clipboard.cpp:281: error: expected primary-expression before ‘&’ token
clipboard.cpp:281: error: ‘ret’ was not declared in this scope
clipboard.cpp:281: error: initializer expression list treated as compound expression
clipboard.cpp:282: error: expected ‘,’ or ‘;’ before ‘{’ token
cc1plus: warnings being treated as errors
clipboard.cpp:281: error: ‘try_grab_target’ defined but not used
A vôbec netuším o čom točí.

Ďakujem za akúkoľvek pomoc.
« Poslední změna: 04 Dubna 2010, 12:58:27 od Martin - ViPEr*CZ* »

mosqa

  • Stálý člen
  • **
  • Příspěvků: 854
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #1 kdy: 03 Dubna 2010, 10:46:55 »
AMD Athlon X2 4850e; GIGABYTE MA78GM-DS2H; IGP ATI HD3200; 2GB (KIT 2x1GB) DDR2 KINGSTON BOX; WD 6400AAKS; SAMSUNG SpinPoint F1 HD322HJ; SAMSUNG SH-S223F SATA; squeezy

YaD

  • Návštěvník
  • Příspěvků: 69
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #2 kdy: 03 Dubna 2010, 13:14:49 »
Všetky závislosti som splnil (testuje ich ./configure). Skúsil sa s tým ešte trochu pohrať, ale stále nič :-(.

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #3 kdy: 03 Dubna 2010, 13:44:06 »
Tam se mu nelíbí slovo Atom... buď tam chybí nějaká závyslost.... nebo je to chyba v kódu... zkusil bych si to stáhnout znova...
Navíc z výpisu je evidentní, že se jedná o clipboard.cpp takže možná v tom chybí nějaká závyslost... každopádně tahle chyba ukazuje na chybu C++ nikoliv na chybu externí dynamické chybějící knihovny...
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

YaD

  • Návštěvník
  • Příspěvků: 69
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #4 kdy: 03 Dubna 2010, 18:39:37 »
Ďakujem za pomoc.
Skúsil som to znovu stiahnuť, avšak stále nič.
Dúfam, že z výpisu configure niečo pochopíte. Ja som z toho nič nevyčítal.
Výpis:
Kód: [Vybrat]
****************************************
***                                  ***
***  At the moment we are also       ***
***  working on cmake and scons      ***
***  based build systems which       ***
***  might replace the autotools     ***
***  build system. Due to this       ***
***  autotools might be become       ***
***  deprecated.                     ***
***  Please test scons and cmake     ***
***  and report any problems!        ***
***                                  ***
***  To build with scons, type       ***
***  'scons' in the distribution     ***
***  directory.                      ***
***                                  ***
***  To build with cmake, type       ***
***  'cmake .' followed by 'make'    ***
***  in the distribution directory   ***
***  or create a directory to build  ***
***  in and type                     ***
***  'cmake PATH/TO/WESNOTH/SOURCE'  ***
***  followed by 'make'.             ***
***                                  ***
***  See the INSTALL file for more   ***
***  details.                        ***
***                                  ***
****************************************
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FRIBIDI2... no
checking for FRIBIDI... no
checking for python... /usr/bin/python
checking for libpng-config... /usr/bin/libpng-config
checking for SDL - version >= 1.2.7 and SDL_ttf - version >= 2.0.8... yes
checking for po4a... no
checking for asciidoc... no
checking for dos2unix... no
checking for xsltproc... /usr/bin/xsltproc
checking for libtool... /usr/bin/libtool
checking for IMG_Load in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking SDL.h usability... yes
checking SDL.h presence... yes
checking for SDL.h... yes
checking SDL_image.h usability... yes
checking SDL_image.h presence... yes
checking for SDL_image.h... yes
checking SDL_mixer.h usability... yes
checking SDL_mixer.h presence... yes
checking for SDL_mixer.h... yes
checking SDL_net.h usability... yes
checking SDL_net.h presence... yes
checking for SDL_net.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for error_at_line... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for floor in -lm... yes
checking for round... yes
checking for socket... yes
checking for strtoul... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking for sendfile... yes
checking for PNG support in SDL_image... yes
checking for OGG support in SDL_mixer... yes
checking for zlib location... /usr
checking for compress in -lz... yes
checking for LUA... no
checking for LUA... yes
checking for LIBDBUS... no
checking for notifications... no
checking for Boost headers version >= 1.35... /usr/include
checking for Boost's header version... 1_38
checking for the toolset name used by Boost for g++... gcc44
checking how to run the C++ preprocessor... g++ -E
checking boost/iostreams/device/file_descriptor.hpp usability... yes
checking boost/iostreams/device/file_descriptor.hpp presence... yes
checking for boost/iostreams/device/file_descriptor.hpp... yes
checking for the Boost iostreams library... yes
checking boost/regex.hpp usability... yes
checking boost/regex.hpp presence... yes
checking for boost/regex.hpp... yes
checking for the Boost regex library... yes
checking for PANGO... yes
checking for FONTCONFIG... yes
creating po/wesnoth/Makefile.in.in
creating po/wesnoth-anl/Makefile.in.in
creating po/wesnoth-aoi/Makefile.in.in
creating po/wesnoth-did/Makefile.in.in
creating po/wesnoth-dm/Makefile.in.in
creating po/wesnoth-editor/Makefile.in.in
creating po/wesnoth-ei/Makefile.in.in
creating po/wesnoth-httt/Makefile.in.in
creating po/wesnoth-l/Makefile.in.in
creating po/wesnoth-lib/Makefile.in.in
creating po/wesnoth-low/Makefile.in.in
creating po/wesnoth-multiplayer/Makefile.in.in
creating po/wesnoth-nr/Makefile.in.in
creating po/wesnoth-sof/Makefile.in.in
creating po/wesnoth-sotbe/Makefile.in.in
creating po/wesnoth-tb/Makefile.in.in
creating po/wesnoth-test/Makefile.in.in
creating po/wesnoth-thot/Makefile.in.in
creating po/wesnoth-trow/Makefile.in.in
creating po/wesnoth-tsg/Makefile.in.in
creating po/wesnoth-tutorial/Makefile.in.in
creating po/wesnoth-units/Makefile.in.in
creating po/wesnoth-utbs/Makefile.in.in
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating po/wesnoth/Makefile.in
config.status: creating po/wesnoth-editor/Makefile.in
config.status: creating po/wesnoth-test/Makefile.in
config.status: creating po/wesnoth-lib/Makefile.in
config.status: creating po/wesnoth-units/Makefile.in
config.status: creating po/wesnoth-multiplayer/Makefile.in
config.status: creating po/wesnoth-anl/Makefile.in
config.status: creating po/wesnoth-tutorial/Makefile.in
config.status: creating po/wesnoth-aoi/Makefile.in
config.status: creating po/wesnoth-did/Makefile.in
config.status: creating po/wesnoth-dm/Makefile.in
config.status: creating po/wesnoth-ei/Makefile.in
config.status: creating po/wesnoth-httt/Makefile.in
config.status: creating po/wesnoth-l/Makefile.in
config.status: creating po/wesnoth-low/Makefile.in
config.status: creating po/wesnoth-nr/Makefile.in
config.status: creating po/wesnoth-sof/Makefile.in
config.status: creating po/wesnoth-sotbe/Makefile.in
config.status: creating po/wesnoth-tb/Makefile.in
config.status: creating po/wesnoth-thot/Makefile.in
config.status: creating po/wesnoth-trow/Makefile.in
config.status: creating po/wesnoth-tsg/Makefile.in
config.status: creating po/wesnoth-utbs/Makefile.in
config.status: creating m4/Makefile
config.status: creating icons/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/manual/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: creating po/wesnoth/POTFILES
config.status: creating po/wesnoth/Makefile
config.status: creating po/wesnoth-editor/POTFILES
config.status: creating po/wesnoth-editor/Makefile
config.status: creating po/wesnoth-test/POTFILES
config.status: creating po/wesnoth-test/Makefile
config.status: creating po/wesnoth-lib/POTFILES
config.status: creating po/wesnoth-lib/Makefile
config.status: creating po/wesnoth-units/POTFILES
config.status: creating po/wesnoth-units/Makefile
config.status: creating po/wesnoth-multiplayer/POTFILES
config.status: creating po/wesnoth-multiplayer/Makefile
config.status: creating po/wesnoth-anl/POTFILES
config.status: creating po/wesnoth-anl/Makefile
config.status: creating po/wesnoth-tutorial/POTFILES
config.status: creating po/wesnoth-tutorial/Makefile
config.status: creating po/wesnoth-aoi/POTFILES
config.status: creating po/wesnoth-aoi/Makefile
config.status: creating po/wesnoth-did/POTFILES
config.status: creating po/wesnoth-did/Makefile
config.status: creating po/wesnoth-dm/POTFILES
config.status: creating po/wesnoth-dm/Makefile
config.status: creating po/wesnoth-ei/POTFILES
config.status: creating po/wesnoth-ei/Makefile
config.status: creating po/wesnoth-httt/POTFILES
config.status: creating po/wesnoth-httt/Makefile
config.status: creating po/wesnoth-l/POTFILES
config.status: creating po/wesnoth-l/Makefile
config.status: creating po/wesnoth-low/POTFILES
config.status: creating po/wesnoth-low/Makefile
config.status: creating po/wesnoth-nr/POTFILES
config.status: creating po/wesnoth-nr/Makefile
config.status: creating po/wesnoth-sof/POTFILES
config.status: creating po/wesnoth-sof/Makefile
config.status: creating po/wesnoth-sotbe/POTFILES
config.status: creating po/wesnoth-sotbe/Makefile
config.status: creating po/wesnoth-tb/POTFILES
config.status: creating po/wesnoth-tb/Makefile
config.status: creating po/wesnoth-thot/POTFILES
config.status: creating po/wesnoth-thot/Makefile
config.status: creating po/wesnoth-trow/POTFILES
config.status: creating po/wesnoth-trow/Makefile
config.status: creating po/wesnoth-tsg/POTFILES
config.status: creating po/wesnoth-tsg/Makefile
config.status: creating po/wesnoth-utbs/POTFILES
config.status: creating po/wesnoth-utbs/Makefile
config.status: executing depfiles commands
config.status: executing translations commands

petergula

  • Stálý člen
  • **
  • Příspěvků: 1016
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #5 kdy: 03 Dubna 2010, 23:45:45 »
Asi velmi nepomozem, ale dal som si tu namahu a stiahol zdrojaky tej hry, rozbalil, spustil scons vypisal mi par krat chybajuce zavyslosti, ktore som doinstaloval cez apt-get, ci uz balicky, alebo dev balicky a nasledne mi compilacia presla a hru som spustil.

nepisal som si vsetky ale tieto som priinstalovaval:
Kód: [Vybrat]
libsdl1.2debian
libsdl1.2debian-all
libsdl-mixer1.2
libsdl-image1.2
libsdl-ttf2.0-0
Kód: [Vybrat]
sudo apt-get install libboost-iostreams-dev
sudo apt-get install libsdl1.2-dev libsdl1.2debian
sudo apt-get install libsdl-net1.2 libsdl-net1.2-dev
sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev
sudo apt-get install libsdl-mixer1.2 libsdl-mixer1.2-dev
sudo apt-get install libsdl-ttf2.0-dev
sudo apt-get install libsdl-ttf2.0-0
sudo apt-get install liblua5.1-dev
...

Pre kompilaciu pouzil moj system:
Kód: [Vybrat]
gula@gula-laptop:~/westnoth/wesnoth-1.8$ /usr/bin/gcc --version
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gula@gula-laptop:~/westnoth/wesnoth-1.8$ /usr/bin/c++ --version
c++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Skusil som aj
Kód: [Vybrat]
cmake .
make
a taktiez preklad presiel bez problemov:
Kód: [Vybrat]
...
Linking CXX executable ../wesnoth
[ 98%] Built target wesnoth
Scanning dependencies of target wesnothd
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/ban.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/game.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/input_stream.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/metrics.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/player.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/player_network.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/proxy.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/room.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/room_manager.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/server.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/simple_wml.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/user_handler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/forum_user_handler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/sample_user_handler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/network.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/network_worker.cpp.o
[100%] Building CXX object src/CMakeFiles/wesnothd.dir/loadscreen_empty.cpp.o
Linking CXX executable ../wesnothd
[100%] Built target wesnothd
« Poslední změna: 04 Dubna 2010, 00:47:58 od petergula »
ntbk Dell 6420 (Amd Ati, Intel i7, 4GB RAM, 256GB SSD ...)
secondary/u svokrovcov:
Xubuntu (64bit) ntbk Asus A6Je (Ati X1450, Intel Core2Duo T5500, 2.5GB RAM ...)

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #6 kdy: 04 Dubna 2010, 08:48:42 »
No u dotyčného je zajímavé, že to configure sežere... správné configure by nemělo projít, pokud chybí závislosti (ba dokonce i když nechybí, ale jsou špatných verzí).
Podle mě u dotyčného ten cpp soubor linkuje nějakou hlavičku, ve které očekává určité definice, ale ty tam už nejsou. Vysvětluji si to špatnou verzí nějakých knihoven (hlavičkových souborů).
« Poslední změna: 04 Dubna 2010, 10:41:47 od Martin - ViPEr*CZ* »
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

oyankee

  • Host
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #7 kdy: 04 Dubna 2010, 10:31:10 »
Promiň, "závyslosti" ;D

Zkusil si  make -i ?

YaD

  • Návštěvník
  • Příspěvků: 69
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #8 kdy: 04 Dubna 2010, 10:34:07 »
Závislosti som si prešiel, aj tak stále bez úspechu. Verzie by som mal mať dobré. Mohol som to prehliadnuť. Prejdem to ešte raz.
scons som skúšal prvý krát, ale potom som to radšej zobral cez make.

To Muffon:
make -i mi prešlo, ale bojím sa to nainštalovať, keď som pár takýchto inštalácii spravil, tak som si zakaždým odpísal OS :-). (naposledy som prepísal interpreta perlu)

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #9 kdy: 04 Dubna 2010, 10:42:19 »
Promiň, "závyslosti" ;D

Zkusil si  make -i ?
Stane se... v tu dobu ještě chrním ;D
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

oyankee

  • Host
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #10 kdy: 04 Dubna 2010, 10:56:53 »
Ja treba pri kompilaci driveru na dvb tuner ani jinak nemohu.

YaD

  • Návštěvník
  • Příspěvků: 69
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #11 kdy: 04 Dubna 2010, 11:32:53 »
Tak make -i mi prešiel. Potom som to nainštaloval podobne. Ale nefunguje to :(. Najskôr si asi počkám na release 1.8 pre ubuntu.
Aj tak Vám ďakujem.

YaD

  • Návštěvník
  • Příspěvků: 69
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #12 kdy: 04 Dubna 2010, 12:52:36 »
Ok, vyriešené. Klasická chyba medzi stoličkou a klávesnicou (ako vždy :)).
Stačilo odstrániť niektoré balíky čo som si ja kompiloval a dal do systému (niektoré SDL) a ide to.
Som Vám tu zbytočne bral čas.

Ešte raz Vám ďakujem.

Walard

  • Aktivní člen
  • *
  • Příspěvků: 278
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #13 kdy: 04 Dubna 2010, 12:55:43 »
neověřený zdroj bez ověření wesnoth 1.8:
PPA for Andrius Štikonas - https://launchpad.net/~stikonas/+archive/ppa
Přidat zdroj: ppa:stikonas/ppa

Při kompilaci vždy kontroluji soubor install ve zdroji dat wesnoth-1.8.tar.bz2
balíčky a devel balíčky
Citace
boost_iostreams >= 1.35.0
 boost_regex >= 1.35.0
 boost_serialization >= 1.35.0
 lua >= 5.1
 libfontconfig >= 2.4.1
 libpango (with cairo backend) >= 1.14.8
 libsdl >= 1.2.7
 libsdl-image >= 1.2 (with png support)
 libsdl-mixer >= 1.2 (with Vorbis support)
 libsdl-net
 libsdl-ttf >= 2.0.8
 libz
libdbus-1
;)

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Kompilácia wesnoth 1.8 - chyba pri make
« Odpověď #14 kdy: 04 Dubna 2010, 12:58:14 »
Tak jsem se trefil... SDL má v sobě deklaraci Atom... a ten soubor to předpokládal v nějaký hlavičce... jenže jsi měl něco jinčího a ono to nebylo na správném místě.  8)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

 

Provoz zaštiťuje spolek OpenAlt.