Re: compilation problems on Mandrake 10.1

From: roy vinner <roypivn(at)indiana(dot)edu>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: compilation problems on Mandrake 10.1
Date: 2005-07-14 20:29:00
Message-ID: 42D6CB0C.8060104@indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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(at)nrg share]# cd pgadmin3-1.2.2/
[nrgweb(at)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(at)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(at)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(at)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.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2005-07-14 20:43:47 Re: compilation problems on Mandrake 10.1
Previous Message Dave Page 2005-07-14 19:53:15 Re: compilation problems on Mandrake 10.1