Hi Dave, many thanks for quick answer! > - Run pgAdmin from the command line, with a command like: > G_SLICE=always-malloc pgadmin3 & This works fine
> - Recompile pgAdmin. That's what I tried, too. Sorry, forgot to mention it. I downloaded the source-rpm for my distribution and installed it. Controlling all the requirements mentioned in the INSTALL file I found installed GTK 2.12.5 automake 1.9.6 autoconf 2.60 gcc 4.1.3 wxGTK 2.6.8 libxml2 2.6.30 libxslt 1.1.22 Postgresql 8.1.11 So I thought that all requirements were fullfilled and I tried to compile it with rpmbuild but unfortunately it stopped at the first step (suppose the configure-process). The error message was: checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Attached you find the config.log. Perhaps it helps to determine the problem... Michael
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.8.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --host=i686-suse-linux-gnu --build=i686-suse-linux-gnu --target=i586-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --enable-static --with-pgsql=/usr/local/pgsql --with-wx-version=2.8 --with-wx=/usr/local/wxwindows ## --------- ## ## Platform. ## ## --------- ## hostname = mip4 uname -m = i686 uname -r = 2.6.18.8-0.9-default uname -s = Linux uname -v = #1 SMP Sun Feb 10 22:48:05 UTC 2008 /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: /sbin PATH: /usr/sbin PATH: /usr/local/sbin PATH: /opt/gnome/sbin PATH: /root/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /bin PATH: /usr/games PATH: /opt/gnome/bin PATH: /opt/kde3/bin PATH: /usr/lib/jvm/jre/bin PATH: /usr/lib/mit/bin PATH: /usr/lib/mit/sbin PATH: /usr/lib/qt3/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1380: checking build system type configure:1398: result: i686-suse-linux-gnu configure:1406: checking host system type configure:1420: result: i686-suse-linux-gnu configure:1442: checking for a BSD-compatible install configure:1497: result: /usr/bin/install -c configure:1508: checking whether build environment is sane configure:1551: result: yes configure:1616: checking for gawk configure:1632: found /usr/bin/gawk configure:1642: result: gawk configure:1652: checking whether make sets $(MAKE) configure:1672: result: yes configure:1835: checking how to create a ustar tar archive configure:1848: tar --version tar (GNU tar) 1.15.1 configure:1851: $? = 0 configure:1891: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:1894: $? = 0 configure:1898: tar -xf - <conftest.tar configure:1901: $? = 0 configure:1914: result: gnutar configure:1932: checking for i686-suse-linux-gnu-gcc configure:1961: result: no configure:1970: checking for gcc configure:1986: found /usr/bin/gcc configure:1996: result: gcc configure:2240: checking for C compiler version configure:2243: gcc --version </dev/null >&5 gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux) Copyright (C) 2006 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:2246: $? = 0 configure:2248: gcc -v </dev/null >&5 Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-4.1 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) configure:2251: $? = 0 configure:2253: gcc -V </dev/null >&5 gcc: '-V' option must have argument configure:2256: $? = 1 configure:2279: checking for C compiler default output file name configure:2282: gcc -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 conftest.c -lldap >&5 /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lldap collect2: ld returned 1 exit status configure:2285: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "pgadmin3" | #define PACKAGE_TARNAME "pgadmin3" | #define PACKAGE_VERSION "1.8.2" | #define PACKAGE_STRING "pgadmin3 1.8.2" | #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org" | #define PACKAGE "pgadmin3" | #define VERSION "1.8.2" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2324: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-suse-linux-gnu ac_cv_build_alias=i686-suse-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' 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=set ac_cv_env_CXXFLAGS_value='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' 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=set ac_cv_env_build_alias_value=i686-suse-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-suse-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i586-suse-linux ac_cv_host=i686-suse-linux-gnu ac_cv_host_alias=i686-suse-linux-gnu ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes am_cv_prog_tar_ustar=gnutar ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/src/packages/BUILD/pgadmin3-1.8.2/config/missing --run aclocal-1.9' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /usr/src/packages/BUILD/pgadmin3-1.8.2/config/missing --run tar' APPBUNDLE_FALSE='' APPBUNDLE_TRUE='' AUTOCONF='${SHELL} /usr/src/packages/BUILD/pgadmin3-1.8.2/config/missing --run autoconf' AUTOHEADER='${SHELL} /usr/src/packages/BUILD/pgadmin3-1.8.2/config/missing --run autoheader' AUTOMAKE='${SHELL} /usr/src/packages/BUILD/pgadmin3-1.8.2/config/missing --run automake-1.9' AWK='gawk' BUILD_DEBUG='' BUILD_DEBUG_FALSE='' BUILD_DEBUG_TRUE='' CC='gcc' CCDEPMODE='' CFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' CPP='' CPPFLAGS='' CXX='' CXXDEPMODE='' CXXFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' CYGPATH_W='echo' DEFS='' DEPDIR='' ECHO_C='' ECHO_N='-n' ECHO_T='' EDB_LIBPQ='' EDB_LIBPQ_FALSE='' EDB_LIBPQ_TRUE='' EGREP='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_DOCS_FALSE='' INSTALL_DOCS_TRUE='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='-lldap' LTLIBOBJS='' MAKEINFO='${SHELL} /usr/src/packages/BUILD/pgadmin3-1.8.2/config/missing --run makeinfo' OBJEXT='' PACKAGE='pgadmin3' PACKAGE_BUGREPORT='pgadmin-support@postgresql.org' PACKAGE_NAME='pgadmin3' PACKAGE_STRING='pgadmin3 1.8.2' PACKAGE_TARNAME='pgadmin3' PACKAGE_VERSION='1.8.2' PATH_SEPARATOR=':' PG_CONFIG='' POW_LIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' SUN_CC_FALSE='' SUN_CC_TRUE='' SUN_CXX_FALSE='' SUN_CXX_TRUE='' USE_PRECOMP='' VERSION='1.8.2' WX_CONFIG='' XML2_CONFIG='' XSLT_CONFIG='' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='/usr/bin' build='i686-suse-linux-gnu' build_alias='i686-suse-linux-gnu' build_cpu='i686' build_os='linux-gnu' build_vendor='suse' bundledir='' datadir='/usr/share' debugger_LDADD='' debuggerbindir='' exec_prefix='/usr' host='i686-suse-linux-gnu' host_alias='i686-suse-linux-gnu' host_cpu='i686' host_os='linux-gnu' host_vendor='suse' includedir='/usr/include' infodir='/usr/share/info' install_sh='/usr/src/packages/BUILD/pgadmin3-1.8.2/config/install-sh' libdir='/usr/lib' libexecdir='/usr/lib' localstatedir='/var' mandir='/usr/share/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' pgadmin3_LDADD='' pgagent_LDADD='' prefix='/usr' program_transform_name='s,^,,' sbindir='/usr/sbin' sharedstatedir='/usr/com' sysconfdir='/etc' target_alias='i586-suse-linux' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "pgadmin3" #define PACKAGE_BUGREPORT "pgadmin-support@postgresql.org" #define PACKAGE_NAME "pgadmin3" #define PACKAGE_STRING "pgadmin3 1.8.2" #define PACKAGE_TARNAME "pgadmin3" #define PACKAGE_VERSION "1.8.2" #define VERSION "1.8.2" configure: exit 77
-- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support