Обсуждение: compilation problems on Mandrake 10.1
Hello, I have a compile issue during buidling pgadmin from source. I've installed gtk+-2.6.5 and wxWidgets-2.6.1 from source, both successfully. I am saying that as no error messages during thebuild process were output. I cannot, however, 'make' pgadmin. Here's the output on the screen: [nrgweb@nrg pgadmin3-1.2.2]# ./configure --prefix=/usr checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... 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 how to run the C preprocessor... gcc -E checking for egrep... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working strtod... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for wx-config binary... yes checking for pgsql include files... yes checking for pgsql... yes checking for PQexec in -lpq... yes checking for SSL_connect in -lpq... no checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking pgsql in /usr... ok checking for wxWindows... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pkg/Makefile config.status: creating pkg/mac/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands [nrgweb@nrg pgadmin3-1.2.2]# make ............. many sussccessfully compiled lines ............... make all-recursive make[1]: Entering directory `/usr/share/pgadmin3-1.2.2' Making all in src make[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -I/usr/include -I/usr/lib/wx/include/x11univ-ansi-release-2.6 -I/usr/include/wx-2.6 -D__WXUNIVERSAL__ -D__WXX11__ -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" -c -o pgAdmin3.o pgAdmin3.cpp; \ then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f ".deps/pgAdmin3.Tpo"; exit 1; fi In file included from ../src/include/ctlSQLBox.h:17, from ../src/include/frmMain.h:24, frompgAdmin3.cpp:51: /usr/include/wx/stc/stc.h:2288: error: `wxDragResult' does not name a type make[2]: *** [pgAdmin3.o] Error 1 make[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/share/pgadmin3-1.2.2' make: *** [all] Error 2 [nrgweb@nrg pgadmin3-1.2.2]# I run Mandrake 10.1 on SunFire V20z. Could anyone tell me what issue I am having here, please? This make problem may or may not be related to the fact that I could not build wxGTK-2.6.1 due to a similar compile error: [root@nrg share]# cd wxGTK-2.6.1/ [root@nrg wxGTK-2.6.1]# ./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 std::istream... yes checking for std::ostream... 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.6.8) 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/Makefile config.status: creating demos/bombs/Makefile config.status: creating demos/dbbrowse/Makefile config.status: creating demos/forty/Makefile config.status: creating demos/life/Makefile config.status: creating demos/poem/Makefile config.status: creating demos/fractal/Makefile config.status: creating utils/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/hhp2cached/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 utils/wxrc/Makefile config.status: creating contrib/Makefile config.status: creating contrib/samples/animate/Makefile config.status: creating contrib/samples/Makefile config.status: creating contrib/samples/applet/Makefile config.status: creating contrib/samples/fl/Makefile config.status: creating contrib/samples/gizmos/dynsash/Makefile config.status: creating contrib/samples/gizmos/Makefile config.status: creating contrib/samples/gizmos/dynsash_switch/Makefile config.status: creating contrib/samples/gizmos/editlbox/Makefile config.status: creating contrib/samples/gizmos/led/Makefile config.status: creating contrib/samples/gizmos/multicell/Makefile config.status: creating contrib/samples/gizmos/splittree/Makefile config.status: creating contrib/samples/mmedia/Makefile config.status: creating contrib/samples/ogl/ogledit/Makefile config.status: creating contrib/samples/ogl/Makefile config.status: creating contrib/samples/ogl/studio/Makefile config.status: creating contrib/samples/plot/Makefile config.status: creating contrib/samples/stc/Makefile config.status: creating contrib/samples/svg/Makefile config.status: creating contrib/samples/deprecated/proplist/Makefile config.status: creating contrib/samples/deprecated/Makefile config.status: creating contrib/samples/deprecated/resource/Makefile config.status: creating contrib/samples/deprecated/treelay/Makefile config.status: creating contrib/samples/foldbar/extended/Makefile config.status: creating contrib/samples/foldbar/foldpanelbar/Makefile config.status: creating contrib/src/animate/Makefile config.status: creating contrib/src/Makefile config.status: creating contrib/src/applet/Makefile config.status: creating contrib/src/fl/Makefile config.status: creating contrib/src/gizmos/Makefile config.status: creating contrib/src/mmedia/Makefile config.status: creating contrib/src/net/Makefile config.status: creating contrib/src/ogl/Makefile config.status: creating contrib/src/plot/Makefile config.status: creating contrib/src/stc/Makefile config.status: creating contrib/src/svg/Makefile config.status: creating contrib/src/deprecated/Makefile config.status: creating contrib/src/foldbar/Makefile config.status: creating contrib/utils/convertrc/Makefile config.status: creating contrib/utils/Makefile config.status: creating lib/wx/include/gtk2-unicode-debug-static-2.6/wx/setup.h config.status: executing wx-config commands Configured wxWidgets 2.6.1 for `i686-pc-linux-gnu' Which GUI toolkit should wxWidgets use? GTK+ 2 Should wxWidgets be compiled into single library? no Should wxWidgets be compiled in debug mode? yes Should wxWidgets be linked as a shared library? no Should wxWidgets be compiled in Unicode mode? yes What level of wxWidgets compatibility should be enabled? wxWidgets 2.2 no wxWidgets 2.4 yes Which libraries should wxWidgets use? jpeg sys png sys regex builtin tiff sys zlib sys odbc no expat sys libmspack no sdl no gnomeprint no [root@nrgweb wxGTK-2.6.1]#make ./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] Error 1 [root@nrg wxGTK-2.6.1]# I could get by this issue by building wxWidgets with X11. Many thanks in advance! Roy
> -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of roy vinner > Sent: 13 July 2005 23:37 > To: pgadmin-support@postgresql.org > Subject: [pgadmin-support] compilation problems on Mandrake 10.1 > > Hello, > > I have a compile issue during buidling pgadmin from source. I've > installed gtk+-2.6.5 and wxWidgets-2.6.1 from source, both > successfully. > I am saying that as no error messages during the build process were > output. > <snip> > > > I could get by this issue by building wxWidgets with X11. X11 wx is untested and most likely won't work as you've found. The bug you're seeing in wxGTK is easily fixed though (it has been patched in wx CVS) - just configure it with --enable-mimetype=yes instead of the usual --enable-mimetype=no. Regards, Dave.
Thanks, Dave. I've done as you suggested below and could get a bit further in compiling, but still got an error. What would you suggest to do now? I could uninstall wxGTK and replace it with the most recent version taken from cvs, but this may open a can of worms. Or going to the previous version of wxGTK-2.4?? My build output is below. Roy [nrgweb@nrg pgadmin3-1.2.2]# ./configure --prefix=/usr checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... 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 how to run the C preprocessor... gcc -E checking for egrep... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working strtod... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for wx-config binary... yes checking for pgsql include files... yes checking for pgsql... yes checking for PQexec in -lpq... yes checking for SSL_connect in -lpq... no checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking pgsql in /usr... ok checking for wxWindows... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pkg/Makefile config.status: creating pkg/mac/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands [nrgweb@nrg pgadmin3-1.2.2]# and 'make' [nrgweb@nrg pgadmin3-1.2.2]# make make all-recursive make[1]: Entering directory `/usr/share/pgadmin3-1.2.2' Making all in src make[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -I/usr/include -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.6 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT ctlSQLBox.o -MD -MP -MF ".deps/ctlSQLBox.Tpo" -c -o ctlSQLBox.o `test -f 'ui/ctlSQLBox.cpp' || echo './'`ui/ctlSQLBox.cpp; \ then mv -f ".deps/ctlSQLBox.Tpo" ".deps/ctlSQLBox.Po"; else rm -f ".deps/ctlSQLBox.Tpo"; exit 1; fi ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox()': ui/ctlSQLBox.cpp:296: error: no matching function for call to `wxStyledTextCtrl::wxStyledTextCtrl()' /usr/include/wx/stc/stc.h:1148: note: candidates are: wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&) /usr/include/wx/stc/stc.h:1162: note: wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&) ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int)': ui/ctlSQLBox.cpp:302: error: no matching function for call to `wxStyledTextCtrl::wxStyledTextCtrl()' /usr/include/wx/stc/stc.h:1148: note: candidates are: wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&) /usr/include/wx/stc/stc.h:1162: note: wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&) make[2]: *** [ctlSQLBox.o] Error 1 make[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/share/pgadmin3-1.2.2' make: *** [all] Error 2 [nrgweb@nrg pgadmin3-1.2.2]# Dave Page wrote: > > > >>-----Original Message----- >>From: pgadmin-support-owner@postgresql.org >>[mailto:pgadmin-support-owner@postgresql.org] On Behalf Of roy vinner >>Sent: 13 July 2005 23:37 >>To: pgadmin-support@postgresql.org >>Subject: [pgadmin-support] compilation problems on Mandrake 10.1 >> >>Hello, >> >>I have a compile issue during buidling pgadmin from source. I've >>installed gtk+-2.6.5 and wxWidgets-2.6.1 from source, both >>successfully. >> I am saying that as no error messages during the build process were >>output. >> > > > <snip> > >> >>I could get by this issue by building wxWidgets with X11. > > > X11 wx is untested and most likely won't work as you've found. The bug > you're seeing in wxGTK is easily fixed though (it has been patched in wx > CVS) - just configure it with --enable-mimetype=yes instead of the usual > --enable-mimetype=no. > > Regards, Dave.
> -----Original Message----- > From: roy vinner [mailto:roypivn@indiana.edu] > Sent: 14 July 2005 15:59 > To: Dave Page; pgadmin-support@postgresql.org > Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 > > Thanks, Dave. I've done as you suggested below and could get a bit > further in compiling, but still got an error. > > What would you suggest to do now? I could uninstall wxGTK and > replace it > with the most recent version taken from cvs, but this may > open a can of > worms. Or going to the previous version of wxGTK-2.4?? 2.4 won't work, but CVS tip should. However, this should work fine on Mandrake. Did you completely remove all of the failed wx builds, including stc/ogl? Perhaps try again, making sure you do so, and work from a clean version of the wx source tree (ie. Unpack a fresh copy from the archive). Regards, Dave.
So far, simly recompiling wxGTK-2.6.1 is failing. I am recompiling wxGTK and then trying to make pgadmin. For some reason, 'make uninstall' does not work, so I am simply re-writing all over again. If that is the issue, where should I delete the install files from? There's a note about changing LD_LIBRARY_PATH after 'make install' is completed, but I have it already installed and pointing to /usr/lib in my case. Is there any particular version of the cvs build which is better than others for Mandrake 10.1? I've downloaded the latest and am going to try it now. Thank you for your comments. Roy Dave Page wrote: > > > >>-----Original Message----- >>From: roy vinner [mailto:roypivn@indiana.edu] >>Sent: 14 July 2005 15:59 >>To: Dave Page; pgadmin-support@postgresql.org >>Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 >> >>Thanks, Dave. I've done as you suggested below and could get a bit >>further in compiling, but still got an error. >> >>What would you suggest to do now? I could uninstall wxGTK and >>replace it >>with the most recent version taken from cvs, but this may >>open a can of >>worms. Or going to the previous version of wxGTK-2.4?? > > > 2.4 won't work, but CVS tip should. However, this should work fine on > Mandrake. Did you completely remove all of the failed wx builds, > including stc/ogl? Perhaps try again, making sure you do so, and work > from a clean version of the wx source tree (ie. Unpack a fresh copy from > the archive). > > Regards, Dave.
> -----Original Message----- > From: roy vinner [mailto:roypivn@indiana.edu] > Sent: 14 July 2005 19:14 > To: Dave Page > Cc: pgadmin-support@postgresql.org > Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 > > So far, simly recompiling wxGTK-2.6.1 is failing. I am > recompiling wxGTK > and then trying to make pgadmin. For some reason, 'make > uninstall' does > not work, so I am simply re-writing all over again. If that is the > issue, where should I delete the install files from? Wx installs by default under /usr/local/. You'll find files in the include/ lib/ and bin/ directories iirc. Tey should be easy to spot - just delete them to be sure. wxGTK 2.6.1 should compile out of the box from a clean tree. If not, try removing the entire tree, and unpacking a new copy from the original tarball. If it still fails, you will need to ask the wx list I'm afraid. > There's a note about changing LD_LIBRARY_PATH after 'make install' is > completed, but I have it already installed and pointing to > /usr/lib in > my case. I've never needed to touch LD_LIBRARY_PATH. > Is there any particular version of the cvs build which is better than > others for Mandrake 10.1? I've downloaded the latest and am > going to try > it now. No idea (I'm a Slackware user) - however, I would definitely stick with 2.6.1 unless advised otherwise by the wx people. The original bug you ran into is highly unlikely to cause you any noticable issues in pgAdmin so is definitely better than using an untested CVS version. Regards, Dave.
I've deleted the wx library files with x11 reference and everything which seemed relevant. Having done that made no difference in my case: I could compile wxGTK-2.4, wxGTK-2.6.1 and wxGTK snapshot from the cvs depository individually but I cannot compile pgadmin. The same error persists: Dave: Could you, please, pass this e-mail to the developers? Many thanks in advance! Roy [nrgweb@nrg pgadmin3-1.2.2]# make make all-recursive make[1]: Entering directory `/usr/share/pgadmin3-1.2.2' Making all in src make[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -I/usr/include -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.6 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT ctlSQLBox.o -MD -MP -MF ".deps/ctlSQLBox.Tpo" -c -o ctlSQLBox.o `test -f 'ui/ctlSQLBox.cpp' || echo './'`ui/ctlSQLBox.cpp; \ then mv -f ".deps/ctlSQLBox.Tpo" ".deps/ctlSQLBox.Po"; else rm -f ".deps/ctlSQLBox.Tpo"; exit 1; fi ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox()': ui/ctlSQLBox.cpp:296: error: no matching function for call to `wxStyledTextCtrl::wxStyledTextCtrl()' /usr/include/wx/stc/stc.h:1148: note: candidates are: wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&) /usr/include/wx/stc/stc.h:1162: note: wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&) ui/ctlSQLBox.cpp: In constructor `ctlSQLBox::ctlSQLBox(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int)': ui/ctlSQLBox.cpp:302: error: no matching function for call to `wxStyledTextCtrl::wxStyledTextCtrl()' /usr/include/wx/stc/stc.h:1148: note: candidates are: wxStyledTextCtrl::wxStyledTextCtrl(const wxStyledTextCtrl&) /usr/include/wx/stc/stc.h:1162: note: wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&) make[2]: *** [ctlSQLBox.o] Error 1 make[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/share/pgadmin3-1.2.2' make: *** [all] Error 2 [nrgweb@nrg pgadmin3-1.2.2]# Dave Page wrote: > > > >>-----Original Message----- >>From: roy vinner [mailto:roypivn@indiana.edu] >>Sent: 14 July 2005 19:14 >>To: Dave Page >>Cc: pgadmin-support@postgresql.org >>Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 >> >>So far, simly recompiling wxGTK-2.6.1 is failing. I am >>recompiling wxGTK >>and then trying to make pgadmin. For some reason, 'make >>uninstall' does >>not work, so I am simply re-writing all over again. If that is the >>issue, where should I delete the install files from? > > > Wx installs by default under /usr/local/. You'll find files in the > include/ lib/ and bin/ directories iirc. Tey should be easy to spot - > just delete them to be sure. > > wxGTK 2.6.1 should compile out of the box from a clean tree. If not, try > removing the entire tree, and unpacking a new copy from the original > tarball. If it still fails, you will need to ask the wx list I'm afraid. > > >>There's a note about changing LD_LIBRARY_PATH after 'make install' is >>completed, but I have it already installed and pointing to >>/usr/lib in >>my case. > > > I've never needed to touch LD_LIBRARY_PATH. > > >>Is there any particular version of the cvs build which is better than >>others for Mandrake 10.1? I've downloaded the latest and am >>going to try >>it now. > > > No idea (I'm a Slackware user) - however, I would definitely stick with > 2.6.1 unless advised otherwise by the wx people. The original bug you > ran into is highly unlikely to cause you any noticable issues in pgAdmin > so is definitely better than using an untested CVS version. > > Regards, Dave.
[Removed Mark & Frank from the CC as they aren't active pga3 developers] > -----Original Message----- > From: roy vinner [mailto:roypivn@indiana.edu] > Sent: 14 July 2005 20:39 > To: Dave Page > Cc: pgadmin-support@postgresql.org; Mark Yeatman; frank_lupo@email.it > Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 > > I've deleted the wx library files with x11 reference and everything > which seemed relevant. Having done that made no difference in > my case: I > could compile wxGTK-2.4, wxGTK-2.6.1 and wxGTK snapshot from the cvs > depository individually but I cannot compile pgadmin. The same error > persists: Oh, I thought you were still having trouble getting wxGTK to compile properly. So, the current situtation is that you have wxGTK 2.6.1 built and installed as per the pgAdmin instructions (except the mimetype option), along with the stc and ogl modules? If so, have you tried removing, and un-tarring a fresh copy of pgAdmin's source? If not, please do so. Finally, if it still won't compile, what version of pgAdmin are you trying to use? > Dave: Could you, please, pass this e-mail to the developers? Not the wx developers - I don't know any of them or subscribe to their mailing lists. Regards, Dave.
Dave Page wrote: >> >>I've deleted the wx library files with x11 reference and everything >>which seemed relevant. Having done that made no difference in >>my case: I >>could compile wxGTK-2.4, wxGTK-2.6.1 and wxGTK snapshot from the cvs >>depository individually but I cannot compile pgadmin. The same error >>persists: > > > Oh, I thought you were still having trouble getting wxGTK to compile > properly. So, the current situtation is that you have wxGTK 2.6.1 built > and installed as per the pgAdmin instructions (except the mimetype > option), along with the stc and ogl modules? Yes, that is correct. > > If so, have you tried removing, and un-tarring a fresh copy of pgAdmin's > source? If not, please do so. Yes, I've done that. I used the pgadmin*tar.gz file saved on my hard drive as the source. > Finally, if it still won't compile, what version of pgAdmin are you > trying to use? pgadmin3-1.2.2 After doing what I've been told, pgadmin still does not compile. But, the error message has changed and I am pasting it below. Many thanks again! Roy [nrgweb@nrg share]# cd pgadmin3-1.2.2/ [nrgweb@nrg pgadmin3-1.2.2]# ./configure --prefix=/usr --enable-static --enable-debug checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... 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 how to run the C preprocessor... gcc -E checking for egrep... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working strtod... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for wx-config binary... yes checking for pgsql include files... yes ./configure: line 1: --cflags: command not found ./configure: line 1: --cppflags: command not found checking for pgsql... yes checking for PQexec in -lpq... yes checking for SSL_connect in -lpq... no checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking pgsql in /usr... ok checking for wxWindows... yes Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--release] [--basename] [--static] [--libs] [--gl-libs] [--cppflags] [--cflags] [--cxxflags][--ldflags] [--rezflags] [--cc] [--cxx] [--ld] [--inplace] wx-config returns configuration information about the installed version of wxWindows. It may be used to query its version and installation directories and also retrieve the C and C++ compilers and linker which were used for its building and the corresponding flags. The --inplace flag allows wx-config to be used from the wxWindows build directory and output flags to use the uninstalled version of the headers and libs in the build directory. (Currently configure must be invoked via a full path name for this to work correctly.) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pkg/Makefile config.status: creating pkg/mac/Makefile config.status: creating config.h config.status: executing depfiles commands [nrgweb@nrg pgadmin3-1.2.2]# gmake gmake all-recursive gmake[1]: Entering directory `/usr/share/pgadmin3-1.2.2' Making all in src gmake[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -I/usr/include -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" -c -o pgAdmin3.o pgAdmin3.cpp; \ then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f ".deps/pgAdmin3.Tpo"; exit 1; fi pgAdmin3.cpp:19:27: wx/xrc/xmlres.h: No such file or directory pgAdmin3.cpp:23:25: wx/stdpaths.h: No such file or directory In file included from pgAdmin3.cpp:55: ../src/include/xh_calb.h:21: error: expected class-name before '{' token ../src/include/xh_calb.h:26: error: `CanHandle' declared as a `virtual' field ../src/include/xh_calb.h:26: error: expected `;' before '(' token In file included from pgAdmin3.cpp:56: ../src/include/xh_timespin.h:21: error: expected class-name before '{' token ../src/include/xh_timespin.h:26: error: `CanHandle' declared as a `virtual' field ../src/include/xh_timespin.h:26: error: expected `;' before '(' token In file included from pgAdmin3.cpp:57: ../src/include/xh_sqlbox.h:21: error: expected class-name before '{' token ../src/include/xh_sqlbox.h:26: error: `CanHandle' declared as a `virtual' field ../src/include/xh_sqlbox.h:26: error: expected `;' before '(' token In file included from pgAdmin3.cpp:58: ../src/include/xh_ctlcombo.h:18:29: wx/xrc/xh_combo.h: No such file or directory In file included from pgAdmin3.cpp:58: ../src/include/xh_ctlcombo.h:22: error: expected class-name before '{' token ../src/include/xh_ctlcombo.h:27: error: `CanHandle' declared as a `virtual' field ../src/include/xh_ctlcombo.h:27: error: expected `;' before '(' token ../src/include/xh_ctlcombo.h: In constructor `ctlComboBoxXmlHandler::ctlComboBoxXmlHandler()': ../src/include/xh_ctlcombo.h:25: error: class `ctlComboBoxXmlHandler' does not have any field named `wxComboBoxXmlHandler' pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()': pgAdmin3.cpp:381: error: `wxXmlResource' has not been declared pgAdmin3.cpp:381: error: `Get' undeclared (first use this function) pgAdmin3.cpp:381: error: (Each undeclared identifier is reported only once for each function it appears in.) pgAdmin3.cpp:382: error: `wxXmlResource' has not been declared pgAdmin3.cpp:383: error: `wxXmlResource' has not been declared pgAdmin3.cpp:384: error: `wxXmlResource' has not been declared pgAdmin3.cpp:385: error: `wxXmlResource' has not been declared pgAdmin3.cpp:506: error: `wxXmlResource' has not been declared gmake[2]: *** [pgAdmin3.o] Error 1 gmake[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/share/pgadmin3-1.2.2' gmake: *** [all] Error 2 [nrgweb@nrg pgadmin3-1.2.2]# gmake gmake all-recursive gmake[1]: Entering directory `/usr/share/pgadmin3-1.2.2' Making all in src gmake[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -I/usr/include -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT pgAdmin3.o -MD -MP -MF ".deps/pgAdmin3.Tpo" -c -o pgAdmin3.o pgAdmin3.cpp; \ then mv -f ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; else rm -f ".deps/pgAdmin3.Tpo"; exit 1; fi pgAdmin3.cpp:19:27: wx/xrc/xmlres.h: No such file or directory pgAdmin3.cpp:23:25: wx/stdpaths.h: No such file or directory In file included from pgAdmin3.cpp:55: ../src/include/xh_calb.h:21: error: expected class-name before '{' token ../src/include/xh_calb.h:26: error: `CanHandle' declared as a `virtual' field ../src/include/xh_calb.h:26: error: expected `;' before '(' token In file included from pgAdmin3.cpp:56: ../src/include/xh_timespin.h:21: error: expected class-name before '{' token ../src/include/xh_timespin.h:26: error: `CanHandle' declared as a `virtual' field ../src/include/xh_timespin.h:26: error: expected `;' before '(' token In file included from pgAdmin3.cpp:57: ../src/include/xh_sqlbox.h:21: error: expected class-name before '{' token ../src/include/xh_sqlbox.h:26: error: `CanHandle' declared as a `virtual' field ../src/include/xh_sqlbox.h:26: error: expected `;' before '(' token In file included from pgAdmin3.cpp:58: ../src/include/xh_ctlcombo.h:18:29: wx/xrc/xh_combo.h: No such file or directory In file included from pgAdmin3.cpp:58: ../src/include/xh_ctlcombo.h:22: error: expected class-name before '{' token ../src/include/xh_ctlcombo.h:27: error: `CanHandle' declared as a `virtual' field ../src/include/xh_ctlcombo.h:27: error: expected `;' before '(' token ../src/include/xh_ctlcombo.h: In constructor `ctlComboBoxXmlHandler::ctlComboBoxXmlHandler()': ../src/include/xh_ctlcombo.h:25: error: class `ctlComboBoxXmlHandler' does not have any field named `wxComboBoxXmlHandler' pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()': pgAdmin3.cpp:381: error: `wxXmlResource' has not been declared pgAdmin3.cpp:381: error: `Get' undeclared (first use this function) pgAdmin3.cpp:381: error: (Each undeclared identifier is reported only once for each function it appears in.) pgAdmin3.cpp:382: error: `wxXmlResource' has not been declared pgAdmin3.cpp:383: error: `wxXmlResource' has not been declared pgAdmin3.cpp:384: error: `wxXmlResource' has not been declared pgAdmin3.cpp:385: error: `wxXmlResource' has not been declared pgAdmin3.cpp:506: error: `wxXmlResource' has not been declared gmake[2]: *** [pgAdmin3.o] Error 1 gmake[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/share/pgadmin3-1.2.2' gmake: *** [all] Error 2 [nrgweb@nrg pgadmin3-1.2.2]# > >>Dave: Could you, please, pass this e-mail to the developers? > > > Not the wx developers - I don't know any of them or subscribe to their > mailing lists. > > Regards, Dave.
> -----Original Message----- > From: roy vinner [mailto:roypivn@indiana.edu] > Sent: 14 July 2005 21:29 > To: Dave Page > Cc: pgadmin-support@postgresql.org > Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 > > > > > Oh, I thought you were still having trouble getting wxGTK to compile > > properly. So, the current situtation is that you have wxGTK > 2.6.1 built > > and installed as per the pgAdmin instructions (except the mimetype > > option), along with the stc and ogl modules? > > Yes, that is correct. Hmm - the wx-config program appears to be from wx 2.4 (you can tell from the compile option it returned: -I /usr/local/lib/wx/include/gtk2u-2.4). Try using the --with-wx-config option to pgAdmin's configure program (I think that's right - use configure --help if not) to point it at the correct wx-config for 2.6.1. Regards, Dave.
Dave Page wrote: >> >>>Oh, I thought you were still having trouble getting wxGTK to compile >>>properly. So, the current situtation is that you have wxGTK >> >>2.6.1 built >> >>>and installed as per the pgAdmin instructions (except the mimetype >>>option), along with the stc and ogl modules? >> >>Yes, that is correct. > > > Hmm - the wx-config program appears to be from wx 2.4 (you can tell from > the compile option it returned: -I /usr/local/lib/wx/include/gtk2u-2.4). > Try using the --with-wx-config option to pgAdmin's configure program (I > think that's right - use configure --help if not) to point it at the > correct wx-config for 2.6.1. This has done it. Many thanks to you!!!!!!!!! Especially for your time! I've check for an executable and it runs. Whoooah! After that I've found about a dozen more of files from 2.4 version: now that I could recognize them. Roy > > Regards, Dave.
> -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of > Roy Eugene Vinner > Sent: 14 July 2005 22:35 > To: Dave Page > Cc: pgadmin-support@postgresql.org > Subject: Re: [pgadmin-support] compilation problems on Mandrake 10.1 > > This has done it. Many thanks to you!!!!!!!!! Especially for > your time! > I've check for an executable and it runs. Whoooah! Great, glad it's working :-) Regards, Dave