Re: Compilation Problem with pgadmin3 1.2.1 / wxWdgets 2.6.0 - Mailing list pgadmin-support
From | Dave Page |
---|---|
Subject | Re: Compilation Problem with pgadmin3 1.2.1 / wxWdgets 2.6.0 |
Date | |
Msg-id | E7F85A1B5FF8D44C8A1AF6885BC9A0E4850764@ratbert.vale-housing.co.uk Whole thread Raw |
In response to | Compilation Problem with pgadmin3 1.2.1 / wxWdgets 2.6.0 (Marco Aurélio Carvalho <maurelioc@astrotec.com.br>) |
Responses |
Re: Compilation Problem with pgadmin3 1.2.1 / wxWdgets 2.6.0
|
List | pgadmin-support |
Hi, That's a wx bug that should be fixed in 2.6.1. In the meantime, compile with --enable-mimetype=yes instead of =no (you mightneed to 'make clean' first). Regards,Dave -----Original Message----- From: pgadmin-support-owner@postgresql.org on behalf of Marco Aurélio Carvalho Sent: Wed 6/1/2005 3:31 AM To: pgadmin-support@postgresql.org Subject: [pgadmin-support] Compilation Problem with pgadmin3 1.2.1 / wxWdgets 2.6.0 I am trying to compile pgadmin3 1.2.2 on a MKD10.1 box. wxWdgets is needed, so I started compiling it (using 2.6.0 sources) but the following error appears: ./bk-deps g++ -c -o qalib_dbgrptg.o -I.pch/wxprec_qalib -D__WXGTK__ -I./src/regex -DWX_PRECOMP -DNO_GCC_PRAGMA -D__WXDEBUG__ -Ilib/wx/include/gtk2-unicode-debug-static-2.6 -I./include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -g -O0 -pthread -Wall -Wno-ctor-dtor-privacy ./src/generic/dbgrptg.cpp ./src/generic/dbgrptg.cpp: In member function `void wxDebugReportDialog::OnOpen(wxCommandEvent&)': ./src/generic/dbgrptg.cpp:448: error: `wxFileType' has not been declared ./src/generic/dbgrptg.cpp:448: error: `ExpandCommand' undeclared (first use this function) ./src/generic/dbgrptg.cpp:448: error: (Each undeclared identifier is reported only once for each function it appears in.) make: ** [qalib_dbgrptg.o] Erro 1 Any clue to solve this? My machine information follows: uname result for my machine: Linux Tico 2.6.8.1-24mdk #1 Fri Jan 14 03:01:00 MST 2005 i686 Intel(R)Pentium(R) 4 CPU 2.40GHz unknown GNU/Linu using: GNU Make 3.80 using gcc: Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk) configure output: [maurelio@Tico wxGTK-2.6.0]$ ./configure --with-gtk --enable-gtk2 --enable-unicode --disable-shared --enable-debug --enable-mimetype=no 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... no checking for --enable-optimise... yes checking for --enable-debug... yes checking for --enable-stl... no checking for --enable-debug_flag... yes checking for --enable-debug_info... yes 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... no 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.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 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++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes 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 for ranlib... ranlib checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for strip... strip checking if make is GNU make... yes checking whether ln -s works... yes checking for strcasecmp() in string.h... yes 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 for stdlib.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking for fnmatch... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for X11/XKBlib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for void *... yes checking size of void *... 4 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for size_t... yes checking size of size_t... 4 checking for long long... yes checking size of long long... 8 checking for wchar_t... yes checking size of wchar_t... 4 checking for va_copy... yes checking for _FILE_OFFSET_BITS value needed for large files... 64 checking if large file support is available... yes checking for _LARGEFILE_SOURCE value needed for large files... 1 checking for fseeko... yes checking whether byte ordering is bigendian... no checking how to run the C++ preprocessor... g++ -E checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking if C++ compiler supports bool... yes checking if C++ compiler supports the explicit keyword... yes checking whether the compiler supports const_cast<>... yes checking whether the compiler supports reinterpret_cast<>... yes checking whether the compiler supports static_cast<>... yes checking for std::wstring in <string>... yes checking for glibc 2.1 or later... yes configure: WARNING: Defaulting to the the builtin regex library for Unicode build. checking for zlib.h >= 1.1.4... yes checking for zlib.h... (cached) yes checking for deflate in -lz... yes checking for png.h > 0.90... yes checking for png.h... (cached) yes checking for png_check_sig in -lpng... yes checking for jpeglib.h... yes checking for jpeg_read_header in -ljpeg... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for TIFFError in -ltiff... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking if expat.h is valid C++ header... yes checking for XML_ParserCreate in -lexpat... yes checking mspack.h usability... no checking mspack.h presence... no checking for mspack.h... no checking for GTK+ version... checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.4.9) checking for pango_font_family_is_monospace... no checking if GTK+ is version >= 2.4... yes checking for poll... yes checking for gdk_im_open in -lgdk... no checking for Xinerama... yes checking for Xxf86vm extension... yes checking for X11/extensions/xf86vmode.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... yes checking for ssize_t... yes checking if size_t is unsigned int... yes checking for pw_gecos in struct passwd... yes checking for wcslen... yes checking for wcsrtombs... yes checking for vsnprintf... yes checking for vsnprintf declaration... yes checking for wputc... no checking for wputchar... no checking for putws... no checking for fputws... yes checking for wprintf... yes checking for vswprintf... yes checking for _vsnwprintf... no checking for iconv... yes checking if iconv needs const... no checking for sigaction... yes checking for sa_handler type... int checking for backtrace() in <execinfo.h>... yes checking for __cxa_demangle() in <cxxabi.h>... yes checking for mkstemp... yes checking for statfs... yes checking for fcntl... yes checking for timegm... yes checking for putenv... yes checking for nanosleep... yes checking for uname... yes checking for strtok_r... yes checking for inet_addr... yes checking for inet_aton... yes checking for esd_close in -lesd... yes checking esd.h usability... yes checking esd.h presence... yes checking for esd.h... yes checking for known CD-ROM interface... yes checking whether pthreads work with -pthread... yes checking if more special flags are required for pthreads... no checking for thr_setconcurrency... no checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sched_yield... yes checking for pthread_attr_getschedpolicy... yes checking for pthread_attr_setschedparam... yes checking for sched_get_priority_max... yes checking for pthread_cancel... yes checking for pthread_mutexattr_t... yes checking for dlopen... no checking for dlopen in -ldl... yes checking for dlerror... no checking for dlerror in -ldl... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for strptime... yes checking for timezone variable in <time.h>... timezone checking for localtime... yes checking for tm_gmtoff in struct tm... yes checking for gettimeofday... yes checking whether gettimeofday takes two arguments... yes checking for socket... yes checking what is the type of the third argument of getsockname... socklen_t checking what is the type of the fifth argument of getsockopt... socklen_t checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes checking for cos... no checking for floor... no checking if floating point functions link without -lm... no checking for sin... yes checking for ceil... yes checking if floating point functions link with -lm... yes checking for ranlib... (cached) ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for nm... nm checking if make is GNU make... yes checking for dependency tracking method... gcc checking if the compiler supports precompiled headers... yes checking whether make sets $(MAKE)... (cached) yes checking for cppunit-config... no checking for Cppunit - version >= 1.8.0... configure: creating ./config.status config.status: creating lib/wx/config/gtk2-unicode-debug-static-2.6 config.status: creating lib/wx/config/inplace-gtk2-unicode-debug-static-2.6 config.status: creating version-script config.status: creating Makefile config.status: creating samples/xrc/Makefile config.status: creating samples/wizard/Makefile config.status: creating samples/widgets/Makefile config.status: creating samples/vscroll/Makefile config.status: creating samples/validate/Makefile config.status: creating samples/typetest/Makefile config.status: creating samples/treectrl/Makefile config.status: creating samples/toolbar/Makefile config.status: creating samples/thread/Makefile config.status: creating samples/text/Makefile config.status: creating samples/statbar/Makefile config.status: creating samples/splitter/Makefile config.status: creating samples/splash/Makefile config.status: creating samples/sound/Makefile config.status: creating samples/sockets/Makefile config.status: creating samples/shaped/Makefile config.status: creating samples/scrollsub/Makefile config.status: creating samples/scroll/Makefile config.status: creating samples/sashtest/Makefile config.status: creating samples/rotate/Makefile config.status: creating samples/richedit/Makefile config.status: creating samples/render/Makefile config.status: creating samples/propsize/Makefile config.status: creating samples/printing/Makefile config.status: creating samples/popup/Makefile config.status: creating samples/png/Makefile config.status: creating samples/notebook/Makefile config.status: creating samples/multimon/Makefile config.status: creating samples/mobile/wxedit/Makefile config.status: creating samples/mobile/styles/Makefile config.status: creating samples/mobile/Makefile config.status: creating samples/minimal/Makefile config.status: creating samples/minifram/Makefile config.status: creating samples/menu/Makefile config.status: creating samples/mdi/Makefile config.status: creating samples/listctrl/Makefile config.status: creating samples/layout/Makefile config.status: creating samples/keyboard/Makefile config.status: creating samples/joytest/Makefile config.status: creating samples/ipc/Makefile config.status: creating samples/internat/Makefile config.status: creating samples/image/Makefile config.status: creating samples/html/zip/Makefile config.status: creating samples/html/widget/Makefile config.status: creating samples/html/virtual/Makefile config.status: creating samples/html/test/Makefile config.status: creating samples/html/printing/Makefile config.status: creating samples/html/helpview/Makefile config.status: creating samples/html/help/Makefile config.status: creating samples/html/about/Makefile config.status: creating samples/html/Makefile config.status: creating samples/htlbox/Makefile config.status: creating samples/help/Makefile config.status: creating samples/grid/Makefile config.status: creating samples/font/Makefile config.status: creating samples/exec/Makefile config.status: creating samples/except/Makefile config.status: creating samples/event/Makefile config.status: creating samples/erase/Makefile config.status: creating samples/dynamic/Makefile config.status: creating samples/drawing/Makefile config.status: creating samples/dragimag/Makefile config.status: creating samples/docvwmdi/Makefile config.status: creating samples/docview/Makefile config.status: creating samples/dnd/Makefile config.status: creating samples/dialup/Makefile config.status: creating samples/dialogs/Makefile config.status: creating samples/controls/Makefile config.status: creating samples/console/Makefile config.status: creating samples/config/Makefile config.status: creating samples/checklst/Makefile config.status: creating samples/caret/Makefile config.status: creating samples/calendar/Makefile config.status: creating samples/artprov/Makefile config.status: creating samples/Makefile config.status: creating demos/life/Makefile config.status: creating demos/poem/Makefile config.status: creating demos/dbbrowse/Makefile config.status: creating demos/bombs/Makefile config.status: creating demos/forty/Makefile config.status: creating demos/fractal/Makefile config.status: creating demos/Makefile config.status: creating utils/wxrc/Makefile config.status: creating utils/hhp2cached/Makefile config.status: creating utils/tex2rtf/src/Makefile config.status: creating utils/tex2rtf/Makefile config.status: creating utils/emulator/src/Makefile config.status: creating utils/emulator/Makefile config.status: creating utils/Makefile config.status: creating utils/HelpGen/src/Makefile config.status: creating utils/HelpGen/Makefile config.status: creating utils/helpview/src/Makefile config.status: creating utils/helpview/Makefile config.status: creating contrib/src/fl/Makefile config.status: creating contrib/src/net/Makefile config.status: creating contrib/src/ogl/Makefile config.status: creating contrib/src/stc/Makefile config.status: creating contrib/src/svg/Makefile config.status: creating contrib/src/plot/Makefile config.status: creating contrib/src/applet/Makefile config.status: creating contrib/src/foldbar/Makefile config.status: creating contrib/src/gizmos/Makefile config.status: creating contrib/src/Makefile config.status: creating contrib/src/mmedia/Makefile config.status: creating contrib/src/animate/Makefile config.status: creating contrib/src/deprecated/Makefile config.status: creating contrib/utils/convertrc/Makefile config.status: creating contrib/utils/Makefile config.status: creating contrib/utils/wxrcedit/Makefile config.status: creating contrib/samples/fl/Makefile config.status: creating contrib/samples/ogl/Makefile config.status: creating contrib/samples/ogl/ogledit/Makefile config.status: creating contrib/samples/ogl/studio/Makefile config.status: creating contrib/samples/stc/Makefile config.status: creating contrib/samples/svg/Makefile config.status: creating contrib/samples/plot/Makefile config.status: creating contrib/samples/applet/Makefile config.status: creating contrib/samples/foldbar/extended/Makefile config.status: creating contrib/samples/foldbar/foldpanelbar/Makefile config.status: creating contrib/samples/gizmos/led/Makefile config.status: creating contrib/samples/gizmos/editlbox/Makefile config.status: creating contrib/samples/gizmos/dynsash_switch/Makefile config.status: creating contrib/samples/gizmos/dynsash/Makefile config.status: creating contrib/samples/gizmos/multicell/Makefile config.status: creating contrib/samples/gizmos/Makefile config.status: creating contrib/samples/gizmos/splittree/Makefile config.status: creating contrib/samples/Makefile config.status: creating contrib/samples/mmedia/Makefile config.status: creating contrib/samples/animate/Makefile config.status: creating contrib/samples/deprecated/resource/Makefile config.status: creating contrib/samples/deprecated/Makefile config.status: creating contrib/samples/deprecated/treelay/Makefile config.status: creating contrib/samples/deprecated/proplist/Makefile config.status: creating contrib/Makefile config.status: creating lib/wx/include/gtk2-unicode-debug-static-2.6/wx/setup.h config.status: lib/wx/include/gtk2-unicode-debug-static-2.6/wx/setup.h is unchanged config.status: executing wx-config commands Configured wxWidgets 2.6.0 for `i686-pc-linux-gnu' Which GUI toolkit should wxWidgets use? GTK+ 2 Should wxWidgets be compiled into single library? noShould wxWidgets be compiled in debug mode? yes Should wxWidgets be linked as a shared library? noShould wxWidgets be compiled in Unicode mode? yes What level of wxWidgets compatibility should be enabled? wxWidgets 2.2 no wxWidgets 2.4 yes Whichlibraries should wxWidgets use? jpeg sys png sys regex builtin tiff sys zlib sys odbc no expat sys libmspack no sdl no gnomeprint no -- Marco Aurélio ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
pgadmin-support by date: