Amule Compile Problems?
Compile Problems?
Hi! I get the following errors when I try to compile the wxGTK does anyone know what is wrong? I believe it is because I am missing the comiler required but I don't know exactly which one. Can someone please point out how to install the missing compiler with yum. Thanks. [root@localhost ~]# cd wxGTK-2.6.0 [root@localhost wxGTK-2.6.0]# ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu loading argument cache configarg.cache checking for --enable-gui... yes checking for --enable-monolithic... no checking for --enable-plugins... no checking for --enable-universal... no checking for --enable-nanox... no checking for --enable-gpe... no checking for --with-libpng... yes checking for --with-libjpeg... yes checking for --with-libtiff... yes checking for --with-libxpm... yes checking for --with-libmspack... yes checking for --with-sdl... no checking for --with-gnomeprint... no checking for --with-opengl... no checking for --with-dmalloc... no checking for --with-regex... yes checking for --with-zlib... yes checking for --with-odbc... no checking for --with-expat... yes checking for --enable-shared... yes checking for --enable-optimise... yes checking for --enable-debug... no checking for --enable-stl... no checking for --enable-debug_flag... no checking for --enable-debug_info... no checking for --enable-debug_gdb... no checking for --enable-debug_cntxt... no checking for --enable-mem_tracing... no checking for --enable-profile... no checking for --enable-no_rtti... no checking for --enable-no_exceptions... no checking for --enable-permissive... no checking for --enable-no_deps... no checking for --enable-compat22... no checking for --disable-compat24... no checking for --enable-rpath... yes checking for --enable-intl... yes checking for --enable-config... yes checking for --enable-protocols... yes checking for --enable-ftp... yes checking for --enable-http... yes checking for --enable-fileproto... yes checking for --enable-sockets... yes checking for --enable-ole... yes checking for --enable-dataobj... yes checking for --enable-ipc... yes checking for --enable-apple_ieee... yes checking for --enable-arcstream... yes checking for --enable-backtrace... yes checking for --enable-catch_segvs... yes checking for --enable-cmdline... yes checking for --enable-datetime... yes checking for --enable-debugreport... yes checking for --enable-dialupman... yes checking for --enable-dynlib... yes checking for --enable-dynamicloader... yes checking for --enable-exceptions... yes checking for --enable-ffile... yes checking for --enable-file... yes checking for --enable-filesystem... yes checking for --enable-fontmap... yes checking for --enable-fs_inet... yes checking for --enable-fs_zip... yes checking for --enable-geometry... yes checking for --enable-log... yes checking for --enable-longlong... yes checking for --enable-mimetype... yes checking for --enable-mslu... yes checking for --enable-snglinst... yes checking for --enable-std_iostreams... yes checking for --enable-std_string... yes checking for --enable-stdpaths... yes checking for --enable-stopwatch... yes checking for --enable-streams... yes checking for --enable-system_options... yes checking for --enable-textbuf... yes checking for --enable-textfile... yes checking for --enable-timer... yes checking for --enable-unicode... yes checking for --enable-sound... yes checking for --enable-mediactrl... no checking for --enable-wxprintfv... no checking for --enable-zipstream... yes checking for --enable-url... yes checking for --enable-protocol... yes checking for --enable-protocol_http... yes checking for --enable-protocol_ftp... yes checking for --enable-protocol_file... yes checking for --enable-threads... yes checking for --enable-docview... yes checking for --enable-help... yes checking for --enable-mshtmlhelp... yes checking for --enable-html... yes checking for --enable-htmlhelp... yes checking for --enable-xrc... yes checking for --enable-constraints... yes checking for --enable-printarch... yes checking for --enable-mdi... yes checking for --enable-mdidoc... yes checking for --enable-loggui... yes checking for --enable-logwin... yes checking for --enable-logdialog... yes checking for --enable-webkit... yes checking for --enable-postscript... yes checking for --enable-prologio... no checking for --enable-resources... no checking for --enable-clipboard... yes checking for --enable-dnd... yes checking for --enable-metafile... yes checking for --enable-controls... no checking for --enable-accel... yes checking for --enable-button... yes checking for --enable-bmpbutton... yes checking for --enable-calendar... yes checking for --enable-caret... yes checking for --enable-checkbox... yes checking for --enable-checklst... yes checking for --enable-choice... yes checking for --enable-choicebook... yes checking for --enable-combobox... yes checking for --enable-datepick... yes checking for --enable-display... yes checking for --enable-gauge... yes checking for --enable-grid... yes checking for --enable-imaglist... yes checking for --enable-listbook... yes checking for --enable-listbox... yes checking for --enable-listctrl... yes checking for --enable-notebook... yes checking for --enable-radiobox... yes checking for --enable-radiobtn... yes checking for --enable-sash... yes checking for --enable-scrollbar... yes checking for --enable-slider... yes checking for --enable-spinbtn... yes checking for --enable-spinctrl... yes checking for --enable-splitter... yes checking for --enable-statbmp... yes checking for --enable-statbox... yes checking for --enable-statline... yes checking for --enable-stattext... yes checking for --enable-statusbar... yes checking for --enable-tabdialog... no checking for --enable-textctrl... yes checking for --enable-togglebtn... yes checking for --enable-toolbar... yes checking for --enable-tbarnative... yes checking for --enable-tbarsmpl... yes checking for --enable-treectrl... yes checking for --enable-tipwindow... yes checking for --enable-popupwin... yes checking for --enable-commondlg... yes checking for --enable-choicedlg... yes checking for --enable-coldlg... yes checking for --enable-filedlg... yes checking for --enable-finddlg... yes checking for --enable-fontdlg... yes checking for --enable-dirdlg... yes checking for --enable-msgdlg... yes checking for --enable-numberdlg... yes checking for --enable-splash... yes checking for --enable-textdlg... yes checking for --enable-tipdlg... yes checking for --enable-progressdlg... yes checking for --enable-wizarddlg... yes checking for --enable-menus... yes checking for --enable-miniframe... yes checking for --enable-tooltips... yes checking for --enable-splines... yes checking for --enable-mousewheel... yes checking for --enable-validators... yes checking for --enable-busyinfo... yes checking for --enable-joystick... yes checking for --enable-metafile... yes checking for --enable-dragimage... yes checking for --enable-accessibility... no checking for --enable-palette... yes checking for --enable-image... yes checking for --enable-gif... yes checking for --enable-pcx... yes checking for --enable-iff... no checking for --enable-pnm... yes checking for --enable-xpm... yes checking for --enable-ico_cur... yes checking for --enable-official_build... no saving argument cache configarg.cache checking for toolkit... gtk checking for gcc... gcc checking for C compiler default output file name... a.outgoogle.com/ 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 ANSI C... none needed checking if the C compiler requires -ext o... checking whether we are using the Metrowerks C compiler... no checking whether we are using the IBM xlC C compiler... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no 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 whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking if the C++ compiler requires -ext o... configure: error: cannot figure out if compiler needs -ext o: cannot compile See `config.log' for more details. [root@darpanet wxGTK-2.6.0]# |
looks like you need to install g++, should be found in your package manager.
|
As to your problem, I agree with cuiq.
Just wanted to let you know that I managed to create working wxGTK rpms from those source files. This is the .spec file I used; I changed the original myself. You need to have both the wxGTK and wxBase .bz2 files in the same directory. Just replace the wxGTK.spec file in the wxGTK .bz2 archive, and create the rpms as usuall (rpmbuild -tb wxGTK-2.6.1.tar.bz2). wxGTK.spec Code:
%define _prefix /usr |
Thank You it works.
Thanks for all the help, I did a yum install gcc-c++ and it installed the compiler, now I can finally install amule. Thanks a ton.
|
Problems installing aMule
I ahve been following the insturctions for installing aMule on FC4. using the following URLs
http://www.amule.org/wiki/index.php/...n_Installation and http://www.fedoraforum.org/forum/showthread.php?t=63728 Compiling wxGTK-2.6.1 Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make I get the following Error message: ------------------------------------------------------------------------- checking for GTK+ version... checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. I installed yum install gettext-devel gtk+-devel curl-devel gcc-c++ gd-devel according to Saint Mike's, post on this forum, Which I thought would install gtk+-2.0 Can someone please clear up this problem and help me with installing aMule and the other dependent programs or libraries. I am a nebe and do not know what to next. :confused: |
All times are GMT -5. The time now is 03:21 AM. |