Re: compilation problems on Mandrake 10.1

Поиск
Список
Период
Сортировка
От roy vinner
Тема Re: compilation problems on Mandrake 10.1
Дата
Msg-id 42D67DA6.90908@indiana.edu
обсуждение исходный текст
Ответ на Re: compilation problems on Mandrake 10.1  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgadmin-support
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.



В списке pgadmin-support по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Eclipse version of pgAdmin
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: compilation problems on Mandrake 10.1