<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>37803</bug_id>
          
          <creation_ts>2004-01-10 08:18 0000</creation_ts>
          <short_desc>Can&apos;t emerge pgadmin3-1.0.2</short_desc>
          <delta_ts>2004-01-17 07:09:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@valli.org</reporter>
          <assigned_to>pgsql-bugs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo@valli.org</who>
            <bug_when>2004-01-10 08:18:34 0000</bug_when>
            <thetext>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!
&gt;&gt;&gt; emerge (1 of 1) dev-db/pgadmin3-1.0.2 to /
&gt;&gt;&gt; md5 src_uri ;-) pgadmin3-1.0.2.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking pgadmin3-1.0.2.tar.gz to /var/tmp/portage/pgadmin3-1.0.2/work
&gt;&gt;&gt; Source unpacked.
configure: WARNING: If you wanted to set the --build type, don&apos;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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-mcpu=pentium3 -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-mcpu=pentium3 -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs buildpkg ccache cvs distcc keeptemp keepwork noauto noclean
notitles sandbox userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;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&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;

Remark: dev-db/postgresql-7.4.1-r1 is installed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>geoff@gentoo.org</who>
            <bug_when>2004-01-15 21:04:10 0000</bug_when>
            <thetext>Created an attachment (id=23899)
patch to 1.0.2 ebuild to compile correctly

Hi there, I had the same problem - configure wasn&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nakano@gentoo.org</who>
            <bug_when>2004-01-17 07:09:03 0000</bug_when>
            <thetext>Fixed.

Thanks for report
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>23899</attachid>
            <date>2004-01-15 21:04 0000</date>
            <desc>patch to 1.0.2 ebuild to compile correctly</desc>
            <filename>pgadmin3-1.0.2-r1.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHBnYWRtaW4zLTEuMC4yLmVidWlsZAkyMDA0LTAxLTE2IDE3OjUwOjU4LjAwMDAwMDAwMCAr
MTMwMAorKysgcGdhZG1pbjMtMS4wLjItcjEuZWJ1aWxkCTIwMDQtMDEtMTYgMTc6NTE6MjguMDAw
MDAwMDAwICsxMzAwCkBAIC0xOCw3ICsxOCw3IEBACiAJZGV2LWRiL3Bvc3RncmVzcWwiCiAKIHNy
Y19jb21waWxlKCkgewotCWVjb25mIHx8IGRpZQorCWVjb25mIC0td2l0aC1wZ3NxbD0vdXNyL2xp
Yi9wb3N0Z3Jlc3FsIC0td2l0aC1wZ3NxbC1pbmNsdWRlPS91c3IvaW5jbHVkZS9wb3N0Z3Jlc3Fs
L3Bnc3FsIHx8IGRpZQogCWNkICR7U30vc3JjCiAJc2VkIC1pIC1lICJzOl5cKExJQlNcKS4qOlwx
ID0gLWxzc2wgLWxjcnlwdG8gLWxwcSAtbHd4X2d0azItMi40CS1sd3hfZ3RrMl94cmMtMi40IC1s
d3hfZ3RrMl9zdGMtMi40OiIgTWFrZWZpbGUKIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>