Thread: Trouble with pgadmin installation

Trouble with pgadmin installation

From
"mef"
Date:
<p><span lang="en-us"><font face="Arial" size="2">Ok, I try to execute ./configure script and receive a
message</font></span><br/><span lang="en-us"><font face="Arial" size="2">"check pgsql in /usr/local/pgsql…. failed" but
itis a real path of my postgreSQL installation - server is run from this location, all databases located in
/usr/local/pgsql/dataetc. </font></span><p><span lang="en-us"><font face="Arial" size="2">OS - SuSE 9.2 pro, postgreSQL
8.0.0</font></span><br /><span lang="en-us"><font face="Arial" size="2">And I try to install</font> <font
face="Arial">pgAdminIII v1.2.0 </font></span><br /> 

Re: Trouble with pgadmin installation

From
Vasilev Max
Date:
mef пишет:

> Ok, I try to execute ./configure script and receive a message
> "check pgsql in /usr/local/pgsql…. failed" but it is a real path of my 
> postgreSQL installation - server is run from this location, all 
> databases located in /usr/local/pgsql/data etc.
>
> OS - SuSE 9.2 pro, postgreSQL 8.0.0
> And I try to install pgAdmin III v1.2.0
>
>
1) install postgresql-devel package if you use PostgreSQL from rpm
2) use ./configure --with-pgsql=/usr/local/pgsq if you install 
PostgreSQL from source with default prefix


Re: Trouble with pgadmin installation

From
Vasilev Max
Date:
mef пишет:

>Thank you fo quick answer!
>  
>
I'm not pgadmin-support, I'm SuSE linux 9.2 user also. (sorry for my 
english :) )

>I install PostgreSQL from src with default options/path - it work fine and I
>can compile C-code with including postgres.h - ( => postgresql-devel is
>installed...)
>  
>
I install postgresql with --prefix=/opt/pgsql, and i also compile 
pgadmin with --with-pdsql=/opt/pgsql and it (pgadmin) compile fine.

>I try any path's in option --with-pgsql= (/usr/local/pgsq,
>/usr/local/pgsq/bin etc.) - no results :(
>In present I use phpAdmin - it work too, but I think pgAdmin III v1.2.0 more
>usefull...
>
>  
>
For compile pgadmin required headers files from postgresql, try 
--with-pgsql=/usr/local/include/pgsql or copy all files from 
/usr/local/include/pgsql to /usr/include

My build of pgadmin for SuSE 9.2 Professional 32 bit:
http://pub.kckk.ru/pgadmin3-1.2.0-1.SuSE-9.2.i586.rpm

>>Ok, I try to execute ./configure script and receive a message "check 
>>pgsql in /usr/local/pgsql:. failed" but it is a real path of my 
>>postgreSQL installation - server is run from this location, all 
>>databases located in /usr/local/pgsql/data etc.
>>
>>OS - SuSE 9.2 pro, postgreSQL 8.0.0
>>And I try to install pgAdmin III v1.2.0
>>
>>
>>    
>>
>1) install postgresql-devel package if you use PostgreSQL from rpm
>2) use ./configure --with-pgsql=/usr/local/pgsq if you install PostgreSQL
>from source with default prefix
>
>  
>



Re: Trouble with pgadmin installation

From
Vasilev Max
Date:
And remove gtk-qt-engine package from SuSE, pgadmin chash if this present in system. :)