kompilovanie hry wesnoth

Sekcia: Konfigurácia 27.07.2006 | 21:00
Avatar Stanislav Hoferek Greenie 18.04  Používateľ
ahoj. dal som ./configure, a vyhodilo mi nieco taketo: ja@mojpocitac:~/download/wesnoth-1.1.7$ ./configure checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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... configure: error: C compiler cannot create executables See `config.log' for more details. kedze som som nevedel ci mam gcc, tak som zadal: ja@mojpocitac:~/download/wesnoth-1.1.7$ gcc --version gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) Copyright (C) 2006 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. poradite niekto? mam stiahnute vsetky subory ktore odo mna ziada na stranke http://www.wesnoth.org/wiki/CompilingWesnoth
    • Re: kompilovanie hry wesnoth 26.07.2006 | 11:26
      Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
      "See `config.log' for more details." co je v tom subore?
      Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
      • Re: Re: kompilovanie hry wesnoth 26.07.2006 | 11:27
        Avatar Stanislav Hoferek Greenie 18.04  Používateľ
        ok kuknem... inak pod na icq prosim ta
      • Re: Re: kompilovanie hry wesnoth 26.07.2006 | 11:30
        Avatar Stanislav Hoferek Greenie 18.04  Používateľ
        This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Battle for Wesnoth configure 1.1.7, which was generated by GNU Autoconf 2.59e. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = mojpocitac uname -m = i686 uname -r = 2.6.15-26-386 uname -s = Linux uname -v = #1 PREEMPT Mon Jul 17 19:52:53 UTC 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1948: checking build system type configure:1966: result: i686-pc-linux-gnulibc1 configure:1988: checking host system type configure:2003: result: i686-pc-linux-gnulibc1 configure:2025: checking target system type configure:2040: result: i686-pc-linux-gnulibc1 configure:2082: checking for a BSD-compatible install configure:2138: result: /usr/bin/install -c configure:2149: checking whether build environment is sane configure:2192: result: yes configure:2257: checking for gawk configure:2287: result: no configure:2257: checking for mawk configure:2273: found /usr/bin/mawk configure:2284: result: mawk configure:2295: checking whether make sets $(MAKE) configure:2316: result: yes configure:2495: checking how to create a ustar tar archive configure:2508: tar --version tar (GNU tar) 1.15.1 configure:2511: $? = 0 configure:2551: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:2554: $? = 0 configure:2558: tar -xf - &5 gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) Copyright (C) 2006 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. configure:3297: $? = 0 configure:3304: gcc -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) configure:3307: $? = 0 configure:3314: gcc -V >&5 gcc: '-V' option must have argument configure:3317: $? = 1 configure:3340: checking for C compiler default output file name configure:3367: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:3370: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Battle for Wesnoth" | #define PACKAGE_TARNAME "wesnoth" | #define PACKAGE_VERSION "1.1.7" | #define PACKAGE_STRING "Battle for Wesnoth 1.1.7" | #define PACKAGE_BUGREPORT "davidnwhite@verizon.net" | #define WESNOTH_DEFAULT_SERVER "devsrv.wesnoth.org:14999" | #define PACKAGE "wesnoth" | #define VERSION "1.1.7" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3409: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnulibc1 ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnulibc1 ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_XGETTEXT=/usr/bin/xgettext ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=mawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnulibc1 am_cv_prog_tar_ustar=gnutar ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/ja/download/wesnoth-1.1.7/config/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/ja/download/wesnoth-1.1.7/config/missing --run tar' AUTOCONF='${SHELL} /home/ja/download/wesnoth-1.1.7/config/missing --run autoconf' AUTOHEADER='${SHELL} /home/ja/download/wesnoth-1.1.7/config/missing --run autoheader' AUTOMAKE='${SHELL} /home/ja/download/wesnoth-1.1.7/config/missing --run automake-1.9' AWK='mawk' CAMPAIGNSERVER_FALSE='' CAMPAIGNSERVER_TRUE='' CC='gcc' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DATADIR='' DATA_FILES='' DEFS='' DEPDIR='.deps' DESKTOPDIR='' DUMMYLOCALES_FALSE='' DUMMYLOCALES_TRUE='' ECHO_C='' ECHO_N='-n' ECHO_T='' EDITOR_FALSE='' EDITOR_TRUE='' EGREP='' EXEEXT='' FONT_FILES='' FREETYPE_CONFIG='' FREETYPE_LIBS='' FRIBIDI_CFLAGS='' FRIBIDI_CONFIG='' FRIBIDI_FALSE='' FRIBIDI_LIBS='' FRIBIDI_TRUE='' FULLLOCALEDIR='' GAME_FALSE='' GAME_TRUE='' GCC_FALSE='' GCC_TRUE='' GMSGFMT='/usr/bin/msgfmt' GNOME1_DESKTOP='' GNOME1_FALSE='' GNOME1_TRUE='' GNOME2_FALSE='' GNOME2_TRUE='' GNOME_CONFIG='' GREP='' HAS_RELATIVE_LOCALEDIR='' ICONDIR='' IMAGE_FILES='' INCLUDEDINTL_FALSE='' INCLUDEDINTL_TRUE='' INSTALLDATA_FALSE='' INSTALLDATA_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' INTLLIBS='' INTL_MACOSX_LIBS='' KDE_CONFIG='' KDE_DESKTOP='' KDE_FALSE='' KDE_ICON='' KDE_TRUE='' LDFLAGS='' LDPREFIX='' LIBICONV='' LIBINTL='' LIBOBJS='' LIBPNG_FALSE='' LIBPNG_TRUE='' LIBS='' LIBZIPIOS='' LITE_FALSE='' LITE_TRUE='' LOCALEDIR='' LTLIBICONV='' LTLIBINTL='' LTLIBOBJS='' LTOOL='' MAKEINFO='${SHELL} /home/ja/download/wesnoth-1.1.7/config/missing --run makeinfo' MKINSTALLDIRS='$(top_builddir)/config/mkinstalldirs' MSGFMT='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' MUSIC_FILES='' OBJEXT='' PACKAGE='wesnoth' PACKAGE_BUGREPORT='davidnwhite@verizon.net' PACKAGE_NAME='Battle for Wesnoth' PACKAGE_STRING='Battle for Wesnoth 1.1.7' PACKAGE_TARNAME='wesnoth' PACKAGE_VERSION='1.1.7' PATH_SEPARATOR=':' PNG_CFLAGS='' PNG_CONFIG='' PNG_LIBS='' POSUB='' PREFSDIR_FALSE='' PREFSDIR_TRUE='' PYTHON='' PYTHON_CFLAGS='' PYTHON_FALSE='' PYTHON_LIBS='' PYTHON_TRUE='' RANLIB='' SDL_CFLAGS='' SDL_CONFIG='' SDL_IMAGE_LIBS='' SDL_LIBS='' SDL_MIXER_LIBS='' SDL_NET_LIBS='' SERVER_FALSE='' SERVER_TRUE='' SET_MAKE='' SHELL='/bin/sh' SOUND_FILES='' STATIC_FALSE='' STATIC_TRUE='' STRIP='' TINYGUI_FALSE='' TINYGUI_TRUE='' TOOLS_FALSE='' TOOLS_TRUE='' USE_NLS='yes' VERSION='1.1.7' X11_FALSE='' X11_TRUE='' XGETTEXT='/usr/bin/xgettext' XMKMF='' X_CFLAGS='' X_EXTRA_LIBS='' X_LIBS='' X_PRE_LIBS='' ac_ct_CC='gcc' ac_ct_CXX='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnulibc1' build_alias='' build_cpu='i686' build_os='linux-gnulibc1' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' fifodir='' host='i686-pc-linux-gnulibc1' host_alias='' host_cpu='i686' host_os='linux-gnulibc1' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='/home/ja/download/wesnoth-1.1.7/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' prefsdir='' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' servergid='' serveruid='' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnulibc1' target_alias='' target_cpu='i686' target_os='linux-gnulibc1' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "Battle for Wesnoth" #define PACKAGE_TARNAME "wesnoth" #define PACKAGE_VERSION "1.1.7" #define PACKAGE_STRING "Battle for Wesnoth 1.1.7" #define PACKAGE_BUGREPORT "davidnwhite@verizon.net" #define WESNOTH_DEFAULT_SERVER "devsrv.wesnoth.org:14999" #define PACKAGE "wesnoth" #define VERSION "1.1.7" configure: exit 77
        • Re: Re: Re: kompilovanie hry wesnoth 26.07.2006 | 21:01
          Stano   Návštevník
          urcite sa tu najde dusicka co poradi :)
          • Re: Re: Re: Re: kompilovanie hry wesnoth 26.07.2006 | 21:06
            Avatar uid0 Debian  Používateľ
            samozrejme http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=wesnoth&searchon=names&subword=1&version=dapper&release=all nedakuj
            Debian. apt-get into it…
            • Re: Re: Re: Re: Re: kompilovanie hry wesnoth 26.07.2006 | 21:12
              skywaker   Návštevník
              co som sa pozrel do toho vypisu tak tam mu vyspisuje najaku hlasku ze chyba \"crt.o\" ... mas nainstalovane SDL kniznicu a podobne.... skusim to skompilovat v mandrive
              • Re: Re: Re: Re: Re: Re: kompilovanie hry wesnoth 26.07.2006 | 21:38
                WlaSaTy   Návštevník
                /usr/bin/ld: crt1.o: No such file: No such file or directory toto bola chyba ak sa mlatili viacere verzie gcc na jednom pocitaci.
                • Re: Re: Re: Re: Re: Re: Re: kompilovanie hry wesno 26.07.2006 | 21:53
                  Avatar Stanislav Hoferek Greenie 18.04  Používateľ
                  no... priamo v repozitaroch je wesnoth 1.0.2, ale tak viac sa mi paci 1.1.7 ktoru mam pod windows
                  • Re: Re: Re: Re: Re: Re: Re: Re: kompilovanie hry w 26.07.2006 | 22:09
                    WlaSaTy   Návštevník
                    a kolko gcc mas na pocitaci, respektive mal si ale neboli korektne odinstalovane?
                    • Re: Re: Re: Re: Re: Re: Re: Re: Re: kompilovanie h 27.07.2006 | 01:12
                      Avatar Stanislav Hoferek Greenie 18.04  Používateľ
                      neodinstalovala som ziadne. ale tak mozem hodit vypis gcc-ciek co mam podla synapticu :)
                      • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: kompilovan 27.07.2006 | 15:03
                        WlaSaTy   Návštevník
                        cirou nahodou si tam neinstaloval rucne nejake ine, ze nie?
                        • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: kompil 27.07.2006 | 16:20
                          Avatar Stanislav Hoferek Greenie 18.04  Používateľ
                          cirou nahodou... ee :) iba ak by to bola sucast dacoho co som doinstalvoal :)
                          • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: ko 27.07.2006 | 21:00
                            WlaSaTy   Návštevník
                            neverim, ale to je moj osobny nazor. skus preinstalovat gcc a balik ktory by mal obsahovat crt1.o.