ďťż
 
 
   checking for C++ compiler default output file name...
 
 

Tematy

 
    
 

 

 

 

checking for C++ compiler default output file name...





Coremeil - 19-10-2007 08:28
Przy wpisaniu ./configure przy instalacji programu pojawia mi się:
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details. Jakie pakiety są potrzebne?



Yampress - 19-10-2007 09:00
sprawdz czy masz zainstalowany pakiet build-essential



Coremeil - 19-10-2007 09:25
Nie mam go, instaluje teraz, :mrgreen:

[ Dodano: 2007-10-19, 09:31 ]
Jestem pełen podziwu, skąd wiesz jakie pakiety do czego są potrzebne?

Może pomożesz mi jeszcze z tym?
checking for g++... g++
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 g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
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 argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for wx-config... no
configure: error:
        Please check that wx-config is in path, the directory
        where wxWindows libraries are installed (returned by
        'wx-config --libs' command) is in LD_LIBRARY_PATH or
        equivalent variable and wxWindows is version 2.4.0 or above.
        Or this might also be a bug in our configure. Please try again
        with --with-wx-config=/usr/bin/wx-config
        (replace /usr/bin/wx-config with a valid path to your wx-config)
        * Note:
        Most probably, either one of the above aren't correct, you don't
        have wxGTK installed, or are missing wxGTK-devel (or equivalent) package.



thalcave - 19-10-2007 09:44

Jestem pełen podziwu, skąd wiesz jakie pakiety do czego są potrzebne? czytamy + troszke wprawy i się takie rzeczy kojarzy

a tamto co dałeś: prawdopodobnie wx-config nie jest w zmiennej PATH (ta zmienna zawiera wszystkie katalogi, które zawierają narzędzia uruchamione po wpisaniu komendy jak np. cp)
komunikat sugeruje byś spróbował uruchomić to jeszcze raz z opcją --with-wx-config=pełna_ścieżka_do_wx-config



ShinnRa - 19-10-2007 10:17

Most probably, either one of the above aren't correct, you don't
have wxGTK installed, or are missing wxGTK-devel (or equivalent) package
Prawdopodobnie brakuje Ci paczki wxGTK-devel. wpisz:
dpkg -l | grep wxGTK i zobacz co Ci zwróci. Jeśli nic to musisz doinstalować wxGTK i wxGTK-devel



Coremeil - 19-10-2007 12:57
Tych pakietów nie ma w repo, ani ja ich na komputerze nie mam.
Po wpisaniu aptitude install wxGTK wxGTK-devel żadnych pakietów nie znajduje...



thalcave - 19-10-2007 13:55
packages contain "wxGTK" in their name:
  python2.4-wxgtk2.6 libwxgtk2.4-dbg python-wxgtk2.4 python-wxgtk2.6
  libwxgtk2.4-dev libwxgtk-dbg libwxgtk-dev libwxgtk-contrib-dev
  libwxgtk2.4-1 libwxgtk2.6-0 libwxgtk2.4-1-contrib libwxgtk2.6-dbg
  libwxgtk2.6-dev libwxgtk2.4-contrib-dev To chyba będzie libwxgtk2.4-1



Dreadlord - 27-09-2008 15:58
Witam. mam problem. po wpiasaniu komendy make na końcu dostaje taką odpowiedź:
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I./libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC  -MT libmuleappgui_a-MuleGifCtrl.o -MD -MP -MF ".deps/libmuleappgui_a-MuleGifCtrl.Tpo" -c -o libmuleappgui_a-MuleGifCtrl.o `test -f 'MuleGifCtrl.cpp' || echo './'`MuleGifCtrl.cpp; \
        then mv -f ".deps/libmuleappgui_a-MuleGifCtrl.Tpo" ".deps/libmuleappgui_a-MuleGifCtrl.Po"; else rm -f ".deps/libmuleappgui_a-MuleGifCtrl.Tpo"; exit 1; fi
MuleGifCtrl.cpp: In member function ‘bool MuleGifCtrl::LoadData(const char*, int)’:
MuleGifCtrl.cpp:69: error: no matching function for call to ‘wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)’
/usr/include/wx-2.8/wx/gifdecod.h:105: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/usr/include/wx-2.8/wx/gifdecod.h:53: note:                wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: error: ‘class wxGIFDecoder’ has no member named ‘ReadGIF’
MuleGifCtrl.cpp:76: error: ‘class wxGIFDecoder’ has no member named ‘GoFirstFrame’
MuleGifCtrl.cpp:78: error: no matching function for call to ‘wxGIFDecoder::ConvertToImage(wxImage*)’
/usr/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::Start()’:
MuleGifCtrl.cpp:89: error: ‘class wxGIFDecoder’ has no member named ‘GoLastFrame’
MuleGifCtrl.cpp: In member function ‘virtual wxSize MuleGifCtrl::GetBestSize()’:
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenWidth’
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenHeight’
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnTimer(wxTimerEvent&)’:
MuleGifCtrl.cpp:113: error: ‘class wxGIFDecoder’ has no member named ‘GoNextFrame’
MuleGifCtrl.cpp:116: error: no matching function for call to ‘wxGIFDecoder::ConvertToImage(wxImage*)’
/usr/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to ‘wxGIFDecoder::GetDelay()’
/usr/include/wx-2.8/wx/gifdecod.h:66: note: candidates are: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnPaint(wxPaintEvent&)’:
MuleGifCtrl.cpp:132: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenWidth’
MuleGifCtrl.cpp:133: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenHeight’
MuleGifCtrl.cpp:137: error: ‘class wxGIFDecoder’ has no member named ‘GetLeft’
MuleGifCtrl.cpp:137: error: ‘class wxGIFDecoder’ has no member named ‘GetTop’
make[2]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[2]: Leaving directory `/root/aMule-2.1.3/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.1.3/src'
make: *** [install-recursive] Error 1 Czy ktoś może mi powiedzieć w czym tkwi problem :-?
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis