Can't build wxWigets/pgadmin3 on Debian sarge

Поиск
Список
Период
Сортировка
От ow
Тема Can't build wxWigets/pgadmin3 on Debian sarge
Дата
Msg-id 20050524143025.32182.qmail@web53908.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Can't build wxWigets/pgadmin3 on Debian sarge  (Raphaël Enrici <blacknoz@club-internet.fr>)
Список pgadmin-support
Hi,

Tried building pgadmin from source starting with wxWigets 2.5.5. Am getting a
bunch of errors when compiling wxWigets (below). If anyone has any clues, your
input is welcome.

Thanks

-------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by wxWidgets configure 2.5.5, which was
generated by GNU Autoconf 2.59.  Invocation command line was
 $ ./configure --with-gtk --enable-gtk2 --enable-unicode --disable-shared
--enable-debug --enable-mimetype=no

## --------- ##
## Platform. ##
## --------- ##

hostname = test
uname -m = i686
uname -r = 2.6.8-2-686
uname -s = Linux
uname -v = #1 Mon Jan 24 03:58:38 EST 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1582: checking build system type
configure:1600: result: i686-pc-linux-gnu
configure:1608: checking host system type
configure:1622: result: i686-pc-linux-gnu
configure:1630: checking target system type
configure:1644: result: i686-pc-linux-gnu

...

configure:10367: result: no
configure:10388: checking for toolkit
configure:10458: result: gtk
configure:10660: checking for gcc
configure:10676: found /usr/bin/gcc
configure:10686: result: gcc
configure:10930: checking for C compiler version
configure:10933: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-12)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:10936: $? = 0
configure:10938: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-inclu
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-12)
configure:10941: $? = 0
configure:10943: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:10946: $? = 1
configure:10969: checking for C compiler default output file name

...

configure:11402: gcc -c   conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:11408: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:11538: checking if the C compiler requires -ext o
configure:11559: gcc -c   conftest.c >&5
configure:11562: $? = 0
configure:11585: result: 
configure:11675: checking whether we are using the Metrowerks C compiler
configure:11699: gcc -c   conftest.c >&5
conftest.c: In function `main':
conftest.c:16: error: `choke' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
conftest.c:16: error: parse error before "me"
configure:11705: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __MWERKS__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:11730: result: no
configure:11747: checking whether we are using the IBM xlC C compiler
configure:11771: gcc -c   conftest.c >&5
conftest.c: In function `main':
conftest.c:16: error: `choke' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
conftest.c:16: error: parse error before "me"
configure:11777: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __xlC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:11802: result: no
configure:11820: checking how to run the C preprocessor
configure:11855: gcc -E  conftest.c
configure:11861: $? = 0
configure:11893: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:11899: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:11938: result: gcc -E
configure:11962: gcc -E  conftest.c
configure:11968: $? = 0
configure:12000: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:12006: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:12050: checking for egrep
configure:12060: result: grep -E
configure:12066: checking whether gcc needs -traditional
configure:12108: result: no
configure:12180: checking for g++
configure:12209: result: no
configure:12180: checking for c++
configure:12209: result: no

...

configure:12265: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:12271: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:12296: result: no
configure:12302: checking whether g++ accepts -g
configure:12323: g++ -c -g  conftest.cc >&5
./configure: line 1: g++: command not found
configure:12329: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:12352: result: no
configure:12394: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found

...

configure:12394: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:12400: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "2.5.5"
| #define PACKAGE_STRING "wxWidgets 2.5.5"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define __LINUX__ 1
| #define __UNIX__ 1
| /* end confdefs.h.  */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:12394: g++ -c   conftest.cc >&5
./configure: line 1: g++: command not found
configure:12400: $? = 127
configure: failed program was:

...
...
...

wxUSE_ZLIB='yes'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
#define PACKAGE_NAME "wxWidgets"
#define PACKAGE_STRING "wxWidgets 2.5.5"
#define PACKAGE_TARNAME "wxwidgets"
#define PACKAGE_VERSION "2.5.5"
#define __LINUX__ 1
#define __UNIX__ 1
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1
-------------------------------------------------------------------





    
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


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

Предыдущее
От: "Amit Sharma"
Дата:
Сообщение: Re: cannot access postgresql 7.3 via pgadmin III
Следующее
От: Raphaël Enrici
Дата:
Сообщение: Re: Can't build wxWigets/pgadmin3 on Debian sarge