coolmaniac Posted February 25, 2005 Report Share Posted February 25, 2005 hi all , i was trying to install gbuilder , a c++ ide for gnome on my mandrake 10.1 installation http://gbuilder.sourceforge.net/ ihave installed gnome already .when im trying to compile gbuilder , i get an error that gnomemm is missing . i have installed gnomemm can anyone tell me how to build gbuilder and use it ? i want this IDE because i want to have lightweight c++ IDE as anjuta and kdevelop are too heavy and not much useful for running small programs. Thanks in advance. here is the log message during compilation. ========================================================== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:572: checking for a BSD compatible install configure:625: checking whether build environment is sane configure:682: checking whether make sets ${MAKE} configure:728: checking for working aclocal configure:741: checking for working autoconf configure:754: checking for working automake configure:767: checking for working autoheader configure:780: checking for working makeinfo configure:806: checking for a BSD compatible install configure:861: checking for gcc configure:974: checking whether the C compiler (gcc ) works configure:990: gcc -o conftest conftest.c 1>&5 configure:1016: checking whether the C compiler (gcc ) is a cross-compiler configure:1021: checking whether we are using GNU C configure:1030: gcc -E conftest.c configure:1049: checking whether gcc accepts -g configure:1081: checking how to run the C preprocessor configure:1102: gcc -E conftest.c >/dev/null 2>conftest.out configure:1165: checking for c++ configure:1197: checking whether the C++ compiler (c++ ) works configure:1213: c++ -o conftest conftest.C 1>&5 configure:1239: checking whether the C++ compiler (c++ ) is a cross-compiler configure:1244: checking whether we are using GNU C++ configure:1253: c++ -E conftest.C configure:1272: checking whether c++ accepts -g configure:1345: checking for gtkmm-config configure:1381: checking for GTK-- - version >= 1.2.5 configure:1495: c++ -o conftest -g -O2 -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 conftest.C -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgtkmm -lgdkmm -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lsigc -lpthread 1>&5 configure:1623: checking for gnome-config configure:1659: checking for Gnome-- - version >= 1.2.1 configure:1741: c++ -o conftest -g -O2 conftest.C 1>&5 configure:1696:21: gnome--.h: No such file or directory configure: In function `int main()': configure:1709: error: `g_strdup' undeclared (first use this function) configure:1709: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:1714:20: too many decimal points in number configure:1714: error: `gnome' undeclared (first use this function) configure:1714: error: `libs' undeclared (first use this function) configure:1715:20: too many decimal points in number configure:1715:51: too many decimal points in number configure:1716:20: too many decimal points in number configure:1716:51: too many decimal points in number configure:1716:82: too many decimal points in number configure:1723:26: too many decimal points in number configure:1723:44: too many decimal points in number configure:1723:62: too many decimal points in number configure: failed program was: #line 1691 "configure" #include "confdefs.h" #ifdef __cplusplus extern "C" void exit(int) throw(); #endif #include <gnome--.h> #include <stdio.h> #include <stdlib.h> int main () { int major, minor, micro; char *tmp_version; system ("touch conf.gnomemmtest"); /* HP/UX 0 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("1.2.1"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.2.1"); exit(1); } if ((gnome-libs-1.4.2 > major) || ((gnome-libs-1.4.2 == major) && (gnome-libs-1.4.2 > minor)) || ((gnome-libs-1.4.2 == major) && (gnome-libs-1.4.2 == minor) && (gnome-libs-1.4.2 >= micro))) { return 0; } else { printf("\n*** An old version of Gnome-- (%d.%d.%d) was found.\n", gnome-libs-1.4.2, gnome-libs-1.4.2, gnome-libs-1.4.2); printf("*** You need a version of Gnome-- newer than %d.%d.%d. The latest version of\n", major, minor, micro); printf("*** Gnome-- is always available from http://gtkmm.sourceforge.net.\n"); printf("***\n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the gnome-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of Gnome--, but you can also set the GNOME_CONFIG environment to point to the\n"); printf("*** correct copy of gnome-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } return 1; } configure:1785: c++ -o conftest -g -O2 conftest.C 1>&5 configure:1777:21: gnome--.h: No such file or directory configure:1781:22: too many decimal points in number configure:1781:44: too many decimal points in number configure:1781:66: too many decimal points in number configure: In function `int main()': configure:1781: error: `gnome' undeclared (first use this function) configure:1781: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:1781: error: `libs' undeclared (first use this function) configure: failed program was: #line 1775 "configure" #include "confdefs.h" #include <gnome--.h> #include <stdio.h> int main() { return ((gnome-libs-1.4.2) || (gnome-libs-1.4.2) || (gnome-libs-1.4.2)); ; return 0; } [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
rolf Posted February 27, 2005 Report Share Posted February 27, 2005 Do you have the -devel package(s) for gnomemm installed? This is on 10.2 beta3, for example: # urpmq gnomemm The following packages contain gnomemm: libgnomemm-1.2_9 libgnomemm2.6_1 libgnomemm2.6_1-devel Quote Link to comment Share on other sites More sharing options...
coolmaniac Posted March 1, 2005 Author Report Share Posted March 1, 2005 HI all, i tried to build again after installing the necessary dependencies ( gnomemm etc). But, the package is not installed due to some more errors. anyideas why it isnt working ?? here is the complete screenshot of the messages im getting while building gbuilder . [root@blade gbuilder-0.2.1]# make Making all in src make[1]: Entering directory `/home/blade/gbuilder-0.2.1/src' c++ -DPACKAGE=\"gbuilder\" -DVERSION=\"0.2.1\" -I. -I. -I/usr/lib/gnomemm/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr/lib/gtkmm/include -Wall -O2 -c app.cc In file included from editor.h:30, from projectbook.h:29, from app.cc:31: scwidget.h:26:26: gtkscintilla.h: No such file or directory In file included from editor.h:30, from projectbook.h:29, from app.cc:31: scwidget.h:123: error: expected constructor, destructor, or type conversion before '*' token scwidget.h:123: error: expected `,' or `;' before '*' token scwidget.h:124: error: expected constructor, destructor, or type conversion before '*' token scwidget.h:124: error: expected `,' or `;' before '*' token app.cc: In member function `void GBuilderApp::build_curfile_cb()': app.cc:453: error: no matching function for call to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, size_t)' /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:231: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:224: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:217: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:206: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::size_type, typename _Alloc::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:195: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::size_type, typename _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:181: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.tcc:189: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/basic_string.h:1970: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] make[1]: *** [app.o] Error 1 make[1]: Leaving directory `/home/blade/gbuilder-0.2.1/src' make: *** [all-recursive] Error 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.