configure doesn't find my pgsql installation
configure doesn't find my pgsql installation
От:
Linuxer Wang <linuxerwang@gmail.com>
Дата:
Hi, all I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the pgadmin 1.2.2 source codes, I got the following errors by configure: checking pgsql in /usr/lib/pgsql... failed configure: error: you must specify a valid pgsql installation with --with-pgsql=DIR I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the errors still occured. There is a post in the mailing list which fixed the bug, but in my instance, it seems don't work. Can anybody help me? Thank you in advance.
Re: configure doesn't find my pgsql installation
От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Hi, Linuxer Wang wrote: > Hi, all > > I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the > pgadmin 1.2.2 source codes, I got the following errors by configure: > > checking pgsql in /usr/lib/pgsql... failed > configure: error: you must specify a valid pgsql installation with > --with-pgsql=DIR > > I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the > errors still occured. > > There is a post in the mailing list which fixed the bug, but in my > instance, it seems don't work. > > Can anybody help me? > > Thank you in advance. can you post your config.log and detail where the libs you are looking for are supposed to be please? Regards, Raphaël
Re: configure doesn't find my pgsql installation
От:
OpenMacNews <OpenMacNews@speakeasy.net>
Дата:
hi, >> I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the >> pgadmin 1.2.2 source codes, I got the following errors by configure: >> >> checking pgsql in /usr/lib/pgsql... failed >> configure: error: you must specify a valid pgsql installation with >> --with-pgsql=DIR >> >> I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the >> errors still occured. >> >> There is a post in the mailing list which fixed the bug, but in my >> instance, it seems don't work. >> >> Can anybody help me? just a guess/hunch .... have you tried EXPLICITLY defining BOTH: --with-pgsql-include=/usr/lib/pgsql --with-pgsql-include=/usr/...path..to..wherever../pgsql/include richard
Re: configure doesn't find my pgsql installation
От:
Linuxer Wang <linuxerwang@gmail.com>
Дата:
Raphaël Enrici wrote:
>Hi,
>
>Linuxer Wang wrote:
>
>
>>Hi, all
>>
>>I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the
>>pgadmin 1.2.2 source codes, I got the following errors by configure:
>>
>>checking pgsql in /usr/lib/pgsql... failed
>>configure: error: you must specify a valid pgsql installation with
>>--with-pgsql=DIR
>>
>>I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the
>>errors still occured.
>>
>>There is a post in the mailing list which fixed the bug, but in my
>>instance, it seems don't work.
>>
>>Can anybody help me?
>>
>>Thank you in advance.
>>
>>
>
>can you post your config.log and detail where the libs you are looking
>for are supposed to be please?
>
>
Thank you for your reply, the file config.log is attached.
>Regards,
>Raphaël
>
>
>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by pgadmin3 configure 1.3.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = kenny
uname -m = i686
uname -r = 2.6.11-1.1286_FC4
uname -s = Linux
uname -v = #1 Wed May 4 11:13:05 EDT 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: /opt/TeX/bin/i386-linux/
PATH: /usr/java/jdk1.5.0_03/bin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/lib/oss/bin
PATH: /home/kenny/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1378: checking build system type
configure:1396: result: i686-pc-linux-gnu
configure:1404: checking host system type
configure:1418: result: i686-pc-linux-gnu
configure:1440: checking for a BSD-compatible install
configure:1495: result: /usr/bin/install -c
configure:1506: checking whether build environment is sane
configure:1549: result: yes
configure:1614: checking for gawk
configure:1630: found /bin/gawk
configure:1640: result: gawk
configure:1650: checking whether make sets $(MAKE)
configure:1670: result: yes
configure:1887: checking for gcc
configure:1903: found /usr/bin/gcc
configure:1913: result: gcc
configure:2157: checking for C compiler version
configure:2160: gcc --version &5
gcc (GCC) 4.0.0 20050423 (Red Hat 4.0.0-2)
Copyright (C) 2005 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:2163: $? = 0
configure:2165: gcc -v &5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050423 (Red Hat 4.0.0-2)
configure:2168: $? = 0
configure:2170: gcc -V &5
gcc: '-V' option must have argument
configure:2173: $? = 1
configure:2196: checking for C compiler default output file name
configure:2199: gcc conftest.c >&5
configure:2202: $? = 0
configure:2248: result: a.out
configure:2253: checking whether the C compiler works
configure:2259: ./a.out
configure:2262: $? = 0
configure:2279: result: yes
configure:2286: checking whether we are cross compiling
configure:2288: result: no
configure:2291: checking for suffix of executables
configure:2293: gcc -o conftest conftest.c >&5
configure:2296: $? = 0
configure:2321: result:
configure:2327: checking for suffix of object files
configure:2348: gcc -c conftest.c >&5
configure:2351: $? = 0
configure:2373: result: o
configure:2377: checking whether we are using the GNU C compiler
configure:2401: gcc -c conftest.c >&5
configure:2407: $? = 0
configure:2411: test -z
|| test ! -s conftest.err
configure:2414: $? = 0
configure:2417: test -s conftest.o
configure:2420: $? = 0
configure:2433: result: yes
configure:2439: checking whether gcc accepts -g
configure:2460: gcc -c -g conftest.c >&5
configure:2466: $? = 0
configure:2470: test -z
|| test ! -s conftest.err
configure:2473: $? = 0
configure:2476: test -s conftest.o
configure:2479: $? = 0
configure:2490: result: yes
configure:2507: checking for gcc option to accept ANSI C
configure:2577: gcc -c -g -O2 conftest.c >&5
configure:2583: $? = 0
configure:2587: test -z
|| test ! -s conftest.err
configure:2590: $? = 0
configure:2593: test -s conftest.o
configure:2596: $? = 0
configure:2614: result: none needed
configure:2632: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2638: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2782: checking for style of include used by make
configure:2810: result: GNU
configure:2838: checking dependency style of gcc
configure:2928: result: gcc3
configure:2997: checking for g++
configure:3013: found /usr/bin/g++
configure:3023: result: g++
configure:3039: checking for C++ compiler version
configure:3042: g++ --version &5
g++ (GCC) 4.0.0 20050423 (Red Hat 4.0.0-2)
Copyright (C) 2005 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:3045: $? = 0
configure:3047: g++ -v &5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050423 (Red Hat 4.0.0-2)
configure:3050: $? = 0
configure:3052: g++ -V &5
g++: '-V' option must have argument
configure:3055: $? = 1
configure:3058: checking whether we are using the GNU C++ compiler
configure:3082: g++ -c conftest.cc >&5
configure:3088: $? = 0
configure:3092: test -z
|| test ! -s conftest.err
configure:3095: $? = 0
configure:3098: test -s conftest.o
configure:3101: $? = 0
configure:3114: result: yes
configure:3120: checking whether g++ accepts -g
configure:3141: g++ -c -g conftest.cc >&5
configure:3147: $? = 0
configure:3151: test -z
|| test ! -s conftest.err
configure:3154: $? = 0
configure:3157: test -s conftest.o
configure:3160: $? = 0
configure:3171: result: yes
configure:3213: g++ -c -g -O2 conftest.cc >&5
configure:3219: $? = 0
configure:3223: test -z
|| test ! -s conftest.err
configure:3226: $? = 0
configure:3229: test -s conftest.o
configure:3232: $? = 0
configure:3258: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:15: error: 'exit' was not declared in this scope
configure:3264: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3213: g++ -c -g -O2 conftest.cc >&5
configure:3219: $? = 0
configure:3223: test -z
|| test ! -s conftest.err
configure:3226: $? = 0
configure:3229: test -s conftest.o
configure:3232: $? = 0
configure:3258: g++ -c -g -O2 conftest.cc >&5
configure:3264: $? = 0
configure:3268: test -z
|| test ! -s conftest.err
configure:3271: $? = 0
configure:3274: test -s conftest.o
configure:3277: $? = 0
configure:3302: checking dependency style of g++
configure:3392: result: gcc3
configure:3419: checking how to run the C preprocessor
configure:3454: gcc -E conftest.c
configure:3460: $? = 0
configure:3492: gcc -E conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
configure:3498: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include
configure:3537: result: gcc -E
configure:3561: gcc -E conftest.c
configure:3567: $? = 0
configure:3599: gcc -E conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
configure:3605: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include
configure:3649: checking for egrep
configure:3659: result: grep -E
configure:3664: checking for ANSI C header files
configure:3689: gcc -c -g -O2 conftest.c >&5
configure:3695: $? = 0
configure:3699: test -z
|| test ! -s conftest.err
configure:3702: $? = 0
configure:3705: test -s conftest.o
configure:3708: $? = 0
configure:3797: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:31: warning: incompatible implicit declaration of built-in function 'exit'
configure:3800: $? = 0
configure:3802: ./conftest
configure:3805: $? = 0
configure:3820: result: yes
configure:3844: checking for sys/types.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for sys/stat.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for stdlib.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for string.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for memory.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for strings.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for inttypes.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for stdint.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for unistd.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3919: checking arpa/inet.h usability
configure:3931: gcc -c -g -O2 conftest.c >&5
configure:3937: $? = 0
configure:3941: test -z
|| test ! -s conftest.err
configure:3944: $? = 0
configure:3947: test -s conftest.o
configure:3950: $? = 0
configure:3960: result: yes
configure:3964: checking arpa/inet.h presence
configure:3974: gcc -E conftest.c
configure:3980: $? = 0
configure:4000: result: yes
configure:4035: checking for arpa/inet.h
configure:4042: result: yes
configure:3919: checking netdb.h usability
configure:3931: gcc -c -g -O2 conftest.c >&5
configure:3937: $? = 0
configure:3941: test -z
|| test ! -s conftest.err
configure:3944: $? = 0
configure:3947: test -s conftest.o
configure:3950: $? = 0
configure:3960: result: yes
configure:3964: checking netdb.h presence
configure:3974: gcc -E conftest.c
configure:3980: $? = 0
configure:4000: result: yes
configure:4035: checking for netdb.h
configure:4042: result: yes
configure:3919: checking netinet/in.h usability
configure:3931: gcc -c -g -O2 conftest.c >&5
configure:3937: $? = 0
configure:3941: test -z
|| test ! -s conftest.err
configure:3944: $? = 0
configure:3947: test -s conftest.o
configure:3950: $? = 0
configure:3960: result: yes
configure:3964: checking netinet/in.h presence
configure:3974: gcc -E conftest.c
configure:3980: $? = 0
configure:4000: result: yes
configure:4035: checking for netinet/in.h
configure:4042: result: yes
configure:3910: checking for stdlib.h
configure:3915: result: yes
configure:4057: checking for stdbool.h that conforms to C99
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4120: test -z
|| test ! -s conftest.err
configure:4123: $? = 0
configure:4126: test -s conftest.o
configure:4129: $? = 0
configure:4140: result: yes
configure:4142: checking for _Bool
configure:4166: gcc -c -g -O2 conftest.c >&5
configure:4172: $? = 0
configure:4176: test -z
|| test ! -s conftest.err
configure:4179: $? = 0
configure:4182: test -s conftest.o
configure:4185: $? = 0
configure:4196: result: yes
configure:4215: checking for an ANSI C-conforming const
configure:4282: gcc -c -g -O2 conftest.c >&5
configure:4288: $? = 0
configure:4292: test -z
|| test ! -s conftest.err
configure:4295: $? = 0
configure:4298: test -s conftest.o
configure:4301: $? = 0
configure:4312: result: yes
configure:4322: checking for size_t
configure:4346: gcc -c -g -O2 conftest.c >&5
configure:4352: $? = 0
configure:4356: test -z
|| test ! -s conftest.err
configure:4359: $? = 0
configure:4362: test -s conftest.o
configure:4365: $? = 0
configure:4376: result: yes
configure:4388: checking whether time.h and sys/time.h may both be included
configure:4413: gcc -c -g -O2 conftest.c >&5
configure:4419: $? = 0
configure:4423: test -z
|| test ! -s conftest.err
configure:4426: $? = 0
configure:4429: test -s conftest.o
configure:4432: $? = 0
configure:4443: result: yes
configure:4455: checking for working strtod
configure:4498: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:43: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c:53: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c:55: warning: incompatible implicit declaration of built-in function 'exit'
configure:4501: $? = 0
configure:4503: ./conftest
configure:4506: $? = 0
configure:4520: result: yes
configure:4706: checking for gethostbyname
configure:4763: gcc -o conftest -g -O2 conftest.c >&5
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for inet_ntoa
configure:4763: gcc -o conftest -g -O2 conftest.c >&5
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for memmove
configure:4763: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:57: warning: conflicting types for built-in function 'memmove'
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for memset
configure:4763: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:58: warning: conflicting types for built-in function 'memset'
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for strchr
configure:4763: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:59: warning: conflicting types for built-in function 'strchr'
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4830: checking for wx-config binary
configure:4848: result: yes
configure:4851: checking for pgsql include files
configure:4869: result: yes
configure:4894: checking for pgsql
configure:4911: result: yes
configure:4955: checking for PQexec in -lpq
configure:4985: gcc -o conftest -g -O2 -L/usr/lib conftest.c -lpq >&5
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
configure:4991: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_STRCHR 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char PQexec ();
| int
| main ()
| {
| PQexec ();
| ;
| return 0;
| }
configure:5017: result: no
configure:5035: checking for SSL_connect in -lpq
configure:5065: gcc -o conftest -g -O2 -L/usr/lib conftest.c -lpq >&5
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
configure:5071: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_STRCHR 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char SSL_connect ();
| int
| main ()
| {
| SSL_connect ();
| ;
| return 0;
| }
configure:5097: result: no
configure:5162: checking libpq-fe.h usability
configure:5174: gcc -c -g -O2 -I/usr/include conftest.c >&5
conftest.c:70:22: error: libpq-fe.h: No such file or directory
configure:5180: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_STRCHR 1
| /* end confdefs.h. */
| #include
| #if HAVE_SYS_TYPES_H
| # include
| #endif
| #if HAVE_SYS_STAT_H
| # include
| #endif
| #if STDC_HEADERS
| # include
| # include
| #else
| # if HAVE_STDLIB_H
| # include
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include
| # endif
| # include
| #endif
| #if HAVE_STRINGS_H
| # include
| #endif
| #if HAVE_INTTYPES_H
| # include
| #else
| # if HAVE_STDINT_H
| # include
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include
| #endif
| #include
configure:5203: result: no
configure:5207: checking libpq-fe.h presence
configure:5217: gcc -E -I/usr/include conftest.c
conftest.c:36:22: error: libpq-fe.h: No such file or directory
configure:5223: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "pgadmin3 1.3.0"
| #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.3.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_STRCHR 1
| /* end confdefs.h. */
| #include
configure:5243: result: no
configure:5278: checking for libpq-fe.h
configure:5285: result: no
configure:5310: checking pgsql in /usr
configure:5312: result: failed
configure:5316: error: you must specify a valid pgsql installation with --with-pgsql=DIR
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_gethostbyname=yes
ac_cv_func_inet_ntoa=yes
ac_cv_func_memmove=yes
ac_cv_func_memset=yes
ac_cv_func_strchr=yes
ac_cv_func_strtod=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libpq_fe_h=no
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_pq_PQexec=no
ac_cv_lib_pq_SSL_connect=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_type__Bool=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
pgsql_cv_libpq=no
pgsql_cv_libpqfe_h=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/kenny/download/pgadmin3/config/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/kenny/download/pgadmin3/config/missing --run tar'
APPBUNDLE_FALSE=''
APPBUNDLE_TRUE='#'
AUTOCONF='${SHELL} /home/kenny/download/pgadmin3/config/missing --run autoconf'
AUTOHEADER='${SHELL} /home/kenny/download/pgadmin3/config/missing --run autoheader'
AUTOMAKE='${SHELL} /home/kenny/download/pgadmin3/config/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=' -lcrypto -lpq'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/kenny/download/pgadmin3/config/missing --run makeinfo'
OBJEXT='o'
PACKAGE='pgadmin3'
PACKAGE_BUGREPORT='pgadmin-support@postgresql.org'
PACKAGE_NAME='pgadmin3'
PACKAGE_STRING='pgadmin3 1.3.0'
PACKAGE_TARNAME='pgadmin3'
PACKAGE_VERSION='1.3.0'
PATH_SEPARATOR=':'
POW_LIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.3.0'
WX_CONFIG=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
bundledir=''
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/kenny/download/pgadmin3/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pg_debug_build='no'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_ARPA_INET_H 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_INET_NTOA 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCHR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE__BOOL 1
#define PACKAGE "pgadmin3"
#define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org"
#define PACKAGE_NAME "pgadmin3"
#define PACKAGE_STRING "pgadmin3 1.3.0"
#define PACKAGE_TARNAME "pgadmin3"
#define PACKAGE_VERSION "1.3.0"
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define VERSION "1.3.0"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1
Re: configure doesn't find my pgsql installation
От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Linuxer Wang wrote: > Raphaël Enrici wrote: > > >>Hi, >> >>Linuxer Wang wrote: >> >> >> >>>Hi, all >>> >>>I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the >>>pgadmin 1.2.2 source codes, I got the following errors by configure: >>> >>>checking pgsql in /usr/lib/pgsql... failed >>>configure: error: you must specify a valid pgsql installation with >>>--with-pgsql=DIR >>> >>>I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the >>>errors still occured. >>> >>>There is a post in the mailing list which fixed the bug, but in my >>>instance, it seems don't work. >>> >>>Can anybody help me? >>> >>>Thank you in advance. >>> >>> >> >>can you post your config.log and detail where the libs you are looking >>for are supposed to be please? >> >> > > > Thank you for your reply, the file config.log is attached. > according to what I read, configure does not find the file named "libq-fe.h". This file should be located somewhere in /usr/include. Did you install the package named postgresql-devel ? Regards, Raphaël
Re: configure doesn't find my pgsql installation
От:
Linuxer Wang <linuxerwang@gmail.com>
Дата:
OpenMacNews wrote: > hi, > >>> I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the >>> pgadmin 1.2.2 source codes, I got the following errors by configure: >>> >>> checking pgsql in /usr/lib/pgsql... failed >>> configure: error: you must specify a valid pgsql installation with >>> --with-pgsql=DIR >>> >>> I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the >>> errors still occured. >>> >>> There is a post in the mailing list which fixed the bug, but in my >>> instance, it seems don't work. >>> >>> Can anybody help me? >> > > just a guess/hunch .... > > have you tried EXPLICITLY defining BOTH: > > --with-pgsql-include=/usr/lib/pgsql > --with-pgsql-include=/usr/...path..to..wherever../pgsql/include > > > richard > I am sorry that now I realize that the problem is because I have not installed the postgresql-devel package. After I installed it, the configure can be run successfully without any arguments! But the make step reported the following errors: ./pgAdmin3.cpp:59:24: error: wx/ogl/ogl.h: no such file or directory ./pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’: ./pgAdmin3.cpp:293: error: ‘wxOGLInitialize’ was not declared in this scope make[2]: *** [pgAdmin3.o] error 1 make[2]: Leaving directory `/home/kenny/download/pgadmin3/src' make[1]: *** [all-recursive] error 1 make[1]: Leaving directory `/home/kenny/download/pgadmin3' make: *** [all] error 2 Thank you all.
Re: configure doesn't find my pgsql installation
От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Please, stay on the list, you'll get more chance to get it up ;) Linuxer Wang wrote: > Raphaël Enrici wrote: > > >>according to what I read, configure does not find the file named >>"libq-fe.h". This file should be located somewhere in /usr/include. >>Did you install the package named postgresql-devel ? >> >>Regards, >>Raphaël >> >> >> > > > WOW! Your are so right! Now the configure succeed without any arguments. > But when I make it, error occurs: > > ../pgAdmin3.cpp:59:24: error: wx/ogl/ogl.h: no such file or directory ok, it seems you built wxWidgets without ogl support. Can you describe the way you built wxWidgets and which version it was? > ../pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’: > ../pgAdmin3.cpp:293: error: ‘wxOGLInitialize’ was not declared in this scope > make[2]: *** [pgAdmin3.o] error 1 > make[2]: Leaving directory `/home/kenny/download/pgadmin3/src' > make[1]: *** [all-recursive] error 1 > make[1]: Leaving directory `/home/kenny/download/pgadmin3' > make: *** [all] error 2 > > Are there other package it lacks? > > Thank you so much, Glad I could help, Cheers, Raphaël
Re: configure doesn't find my pgsql installation
От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Linuxer Wang wrote: > Raphaël Enrici wrote: > > >>>WOW! Your are so right! Now the configure succeed without any arguments. >>>But when I make it, error occurs: >>> >>>../pgAdmin3.cpp:59:24: error: wx/ogl/ogl.h: no such file or directory >>> >>> >> >>ok, it seems you built wxWidgets without ogl support. >>Can you describe the way you built wxWidgets and which version it was? >> >> > > Actually, I have not built wxWidgets. I installed it through the rpms in > fedora extras. > So I don't know if fedora built it with ogl. My fedora is 4 test 3. > > # rpm -qa | grep wx > wxGTK2-xrc-2.4.2-12 > wxGTK-2.4.2-12 > wxGTK2-devel-2.4.2-12 > wxGTK-common-2.4.2-12 > wxGTK2-2.4.2-12 > wxGTK-common-devel-2.4.2-12 > wxGTK2-gl-2.4.2-12 > wxGTK2-stc-2.4.2-12 > > So, it seems I have to recompile the wxWidgets. Yes, take a look at the website: http://www.pgadmin.org/download.php#source Don't take wxWid 2.5.3 but 2.6.0 from wxwidgets.org. I'm CCing Devrim who is responsible of fedora/rh builds maybe he'll have time to help / provide a package. Cheers, Raphaël > > >> >> >> >>>../pgAdmin3.cpp: In member function ‘virtual bool pgAdmin3::OnInit()’: >>>../pgAdmin3.cpp:293: error: ‘wxOGLInitialize’ was not declared in this scope >>>make[2]: *** [pgAdmin3.o] error 1 >>>make[2]: Leaving directory `/home/kenny/download/pgadmin3/src' >>>make[1]: *** [all-recursive] error 1 >>>make[1]: Leaving directory `/home/kenny/download/pgadmin3' >>>make: *** [all] error 2 >>> >>>Are there other package it lacks? >>> >>>Thank you so much, >>> >>> >> >>Glad I could help, >> >>Cheers, >>Raphaël >> >> >> > > -- Raphaël Enrici blacknoz@club-internet.fr -- ICQ: 207246758 / Jabber: blacknoz@jabber.org -- -- Use Debian GNU/Linux http://www.debian.org/ -- -- Use pgAdmin http://www.pgadmin.org/ --
Re: configure doesn't find my pgsql installation
От:
blacknoz@club-internet.fr
Дата:
Please, stay on the list. I have no time for this now, maybe you didn't enable unicode in the wx build. Someone has another idea ? ----Message d'origine---- >Date: Sun, 05 Jun 2005 14:25:40 -0700 >De: Linuxer Wang >A: Raphaël Enrici >Sujet: Re: [pgadmin-hackers] configure doesn't find my pgsql installation > > >>ok, tell us if you succeed or not. >> >> >I successfully compiled and install wxGtk2, stc and ogl, and configure >of pgadmin3 is ok, >but when compiling, I got: > >then mv -f ".deps/utffile.Tpo" ".deps/utffile.Po"; else rm -f >".deps/utffile.Tpo"; exit 1; fi >../utils/utffile.cpp:20:2: error: #error utffile.cpp is implemented for >unicode only. >make[2]: *** [utffile.o] error 1 >make[2]: Leaving directory `/home/kenny/download/pgadmin3/src' >make[1]: *** [all-recursive] error 1 >make[1]: Leaving directory `/home/kenny/download/pgadmin3' >make: *** [all] error 2 > >
Re: configure doesn't find my pgsql installation
От:
Linuxer Wang <linuxerwang@gmail.com>
Дата:
blacknoz@club-internet.fr wrote: >Please, stay on the list. > >I have no time for this now, maybe you didn't enable unicode in the wx build. Someone has another idea ? > > Hi, I successfully compiled and installed the pgadmin3. Youare right, I recompiled the wxGTK2 and enabled the unicode, that's a key point. My command for the whole compilation is as follows: (With root user) # tar xvfj wxGTK-2.6.1.tar.bz2 # cd wxGTK-2.6.1 # mkdir buildgtk # cd buildgtk # ../configure --with-gtk --enable-gtk2 --enable-unicode # make # make install # cd contrib/src/stc/ # make # make install # cd ../ogl/ # make # make install # ldconfig # tar xvfz pgadmin3.tar.gz # cd pgadmin3 # sh bootstrap # ./configure # make # make install The installation script didn't create a link of the executing program pgadmin to /usr/bin or /usr/local/bin, so I have to make a link manually. Thank you guys so much, Best Regards,