Re: Can't build wxWigets/pgadmin3 on Debian sarge

Поиск
Список
Период
Сортировка
От Raphaël Enrici
Тема Re: Can't build wxWigets/pgadmin3 on Debian sarge
Дата
Msg-id 4293709D.8080204@club-internet.fr
обсуждение исходный текст
Ответ на Can't build wxWigets/pgadmin3 on Debian sarge  (ow <oneway_111@yahoo.com>)
Ответы Re: Can't build wxWigets/pgadmin3 on Debian sarge  (ow <oneway_111@yahoo.com>)
Список pgadmin-support
ow wrote:
> 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.

It seems you don't have g++ installed on your system or at least it's
not in the PATH.
apt-get install g++

However, as I told you last night, up to date packages are about to be
released... Andreas solved the bug mentioned yesterday and I'm currently
trying a build... Maybe you should wait a bit and try the packages when
they will be available: we'd need testers for them.

Regards,
Raphaël


> 
> 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/
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
> 


-- Raphaël Enrici            blacknoz@club-internet.fr-- ICQ: 207246758  / Jabber: blacknoz@jabber.org ---- Use Debian
GNU/Linuxhttp://www.debian.org/   ---- Use pgAdmin          http://www.pgadmin.org/  --
 


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

Предыдущее
От: ow
Дата:
Сообщение: Can't build wxWigets/pgadmin3 on Debian sarge
Следующее
От: ow
Дата:
Сообщение: Re: Can't build wxWigets/pgadmin3 on Debian sarge