Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37803 - Can't emerge pgadmin3-1.0.2
Summary: Can't emerge pgadmin3-1.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-10 08:18 UTC by valli
Modified: 2004-01-17 07:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to 1.0.2 ebuild to compile correctly (pgadmin3-1.0.2-r1.ebuild.patch,428 bytes, patch)
2004-01-15 21:04 UTC, Geoff Cant (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description valli 2004-01-10 08:18:34 UTC
During the configure process I get the following error:
configure: error: you must specify a valid pgsql installation with --with-pgsql=DIR

!!! ERROR: dev-db/pgadmin3-1.0.2 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1. emerge -u dev-db/pgadmin3

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-db/pgadmin3-1.0.2 to /
>>> md5 src_uri ;-) pgadmin3-1.0.2.tar.gz
>>> Unpacking source...
>>> Unpacking pgadmin3-1.0.2.tar.gz to /var/tmp/portage/pgadmin3-1.0.2/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... 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 i686-pc-linux-gnu-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 libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking pgsql in /usr... failed
configure: error: you must specify a valid pgsql installation with --with-pgsql=DIR

!!! ERROR: dev-db/pgadmin3-1.0.2 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed


Expected Results:  
emerge successfully

emerge info:
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.23)
=================================================================
System uname: 2.4.23 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs distcc keeptemp keepwork noauto noclean
notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gd gdbm gif gpm gtk
gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline
sasl sdl slang spell ssl svga tcpd tiff truetype wmf x86 xml2 xmms xv zlib"

Remark: dev-db/postgresql-7.4.1-r1 is installed
Comment 1 Geoff Cant (RETIRED) gentoo-dev 2004-01-15 21:04:10 UTC
Created attachment 23899 [details, diff]
patch to 1.0.2 ebuild to compile correctly

Hi there, I had the same problem - configure wasn't finding the pgsql includes
or libraries properly. The patch modifies the ebuild to specify where pgsql
lives so it can build properly.

The resulting ebuild compiles fine on my x86 box with postgres 7.4.1-r1 and
seems to run fine.
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2004-01-17 07:09:03 UTC
Fixed.

Thanks for report