Hi, I tried to compile geany under my Red Hat Entreprise 5 with personnal prefix and I have an error during the first compilation. See bellow the configure and make outputs :
*>* ./configure --prefix=/home/user/tools/geany/x86_64p 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... gawk checking whether make sets $(MAKE)... yes 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 how to run the C preprocessor... gcc -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes 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 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 a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether NLS is requested... yes checking for intltool-update... /home/user/tools/geany/x86_64p/bin/intltool-update checking for intltool-merge... /home/user/tools/geany/x86_64p/bin/intltool-merge checking for intltool-extract... /home/user/tools/geany/x86_64p/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.8.8 checking for XML::Parser... ok checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdlib.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gethostname... yes checking for ftruncate... yes checking for fgetpos... yes checking for mkstemp... yes checking for regcomp... yes checking for strerror... yes checking for strstr... yes checking whether binary relocation support should be enabled... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes checking for GIO... no checking for library containing connect... none required checking whether the force is with you... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... be bg ca cs de el en_GB es fi fr hu it ja ko nl pl pt_BR ro ru sv tr uk vi zh_CN zh_TW configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating icons/16x16/Makefile config.status: creating tagmanager/Makefile config.status: creating tagmanager/include/Makefile config.status: creating scintilla/Makefile config.status: creating scintilla/include/Makefile config.status: creating src/Makefile config.status: creating plugins/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating doc/geany.1 config.status: creating geany.spec config.status: creating geany.pc config.status: creating doc/Doxyfile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands ---------------------------------------- Install Geany in : /home/user/tools/geany/x86_64p Using GTK version : 2.10.4 Build with GTK printing support : yes Build with plugin support : yes Use virtual terminal support : yes Use (UNIX domain) socket support : yes
Configuration is done OK.
*>* make make all-recursive make[1]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17 » Making all in tagmanager make[2]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » Making all in include make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/tagmanager/include » make[3]: Rien à faire pour « all ». make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/tagmanager/include » make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » make[3]: Rien à faire pour « all-am ». make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » make[2]: quittant le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » Making all in scintilla make[2]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/scintilla » Making all in include make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/scintilla/include » make[3]: Rien à faire pour « all ». make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/scintilla/include » make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/scintilla » g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -DNDEBUG -DGTK -DGTK2 -DSCI_LEXER -DG_THREADS_IMPL_NONE -g -O2 -MT PlatGTK.o -MD -MP -MF .deps/PlatGTK.Tpo -c -o PlatGTK.o PlatGTK.cxx Converter.h: In member function ‘size_t Converter::Convert(char**, size_t*, char**, size_t*) const’: Converter.h:81: erreur: no matching function for call to ‘iconv_adaptor(size_t (&)(_GIConv*, gchar**, gsize*, gchar**, gsize*), _GIConv* const&, char**&, size_t*&, char**&, size_t*&)’ make[3]: *** [PlatGTK.o] Erreur 1 make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/scintilla » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /stck3/user/tmp/geany-0.17/scintilla » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /stck3/user/tmp/geany-0.17 » make: *** [all] Erreur 2
What is the problem ? I could not fix it.
Thanks. Sigmun
Hi,
This error is in the Scintilla editing component used by Geany (http://www.scintilla.org).
I have created Scintilla bug report 2876053 there with an analysis of the problem.
I think it may be specific to your version of g++ so please post the version of g++ you are using (output of g++ --version) to the Scintilla bug 2876053 or to the Scintilla mailing list referencing that bug number (and copy us here).
Cheers Lex
2009/10/9 lkltp ltppr unname1@gmail.com:
Hi, I tried to compile geany under my Red Hat Entreprise 5 with personnal prefix and I have an error during the first compilation. See bellow the configure and make outputs :
./configure --prefix=/home/user/tools/geany/x86_64p
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... gawk checking whether make sets $(MAKE)... yes 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 how to run the C preprocessor... gcc -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes 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 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 a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether NLS is requested... yes checking for intltool-update... /home/user/tools/geany/x86_64p/bin/intltool-update checking for intltool-merge... /home/user/tools/geany/x86_64p/bin/intltool-merge checking for intltool-extract... /home/user/tools/geany/x86_64p/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.8.8 checking for XML::Parser... ok checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdlib.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gethostname... yes checking for ftruncate... yes checking for fgetpos... yes checking for mkstemp... yes checking for regcomp... yes checking for strerror... yes checking for strstr... yes checking whether binary relocation support should be enabled... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes checking for GIO... no checking for library containing connect... none required checking whether the force is with you... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... be bg ca cs de el en_GB es fi fr hu it ja ko nl pl pt_BR ro ru sv tr uk vi zh_CN zh_TW configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating icons/16x16/Makefile config.status: creating tagmanager/Makefile config.status: creating tagmanager/include/Makefile config.status: creating scintilla/Makefile config.status: creating scintilla/include/Makefile config.status: creating src/Makefile config.status: creating plugins/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating doc/geany.1 config.status: creating geany.spec config.status: creating geany.pc config.status: creating doc/Doxyfile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands
Install Geany in : /home/user/tools/geany/x86_64p Using GTK version : 2.10.4 Build with GTK printing support : yes Build with plugin support : yes Use virtual terminal support : yes Use (UNIX domain) socket support : yes
Configuration is done OK.
make
make all-recursive make[1]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17 » Making all in tagmanager make[2]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » Making all in include make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/tagmanager/include » make[3]: Rien à faire pour « all ». make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/tagmanager/include » make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » make[3]: Rien à faire pour « all-am ». make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » make[2]: quittant le répertoire « /stck3/user/tmp/geany-0.17/tagmanager » Making all in scintilla make[2]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/scintilla » Making all in include make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/scintilla/include » make[3]: Rien à faire pour « all ». make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/scintilla/include » make[3]: entrant dans le répertoire « /stck3/user/tmp/geany-0.17/scintilla » g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -DNDEBUG -DGTK -DGTK2 -DSCI_LEXER -DG_THREADS_IMPL_NONE -g -O2 -MT PlatGTK.o -MD -MP -MF .deps/PlatGTK.Tpo -c -o PlatGTK.o PlatGTK.cxx Converter.h: In member function ‘size_t Converter::Convert(char**, size_t*, char**, size_t*) const’: Converter.h:81: erreur: no matching function for call to ‘iconv_adaptor(size_t (&)(_GIConv*, gchar**, gsize*, gchar**, gsize*), _GIConv* const&, char**&, size_t*&, char**&, size_t*&)’ make[3]: *** [PlatGTK.o] Erreur 1 make[3]: quittant le répertoire « /stck3/user/tmp/geany-0.17/scintilla » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /stck3/user/tmp/geany-0.17/scintilla » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /stck3/user/tmp/geany-0.17 » make: *** [all] Erreur 2
What is the problem ? I could not fix it.
Thanks. Sigmun
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany