Thread: problem compiling pgadmin 1.6

problem compiling pgadmin 1.6

From
Luca Ferrari
Date:
Hi all,
I'm running kubuntu 6.0.6 LTS and I've installed the wxWidgets 2.8 as reported 
from the pgadmin web site. After installing also the contrib package, I try 
to config the compilation environment for pgadmin but I got:

checking wxWidgets in /usr/local... failed
configure: error: Your wxWidgets installation cannot support pgAdmin in the 
selected configuration. This may be because it was configured without 
the --enable-unicode option, or the combination of dynamic/static linking and 
debug/non-debug libraries selected did not match any installed wxWidgets 
libraries.


So I tried to re-compile the wxWidgets specifying a prefix directory, and then 
passing it to the configure script with the --with-wx=prefix but the error is 
the same above.

Any idea about what can I do to compile pgadmin?

Thanks,
Luca


Re: problem compiling pgadmin 1.6

From
Dave Page
Date:
Luca Ferrari wrote:
> Hi all,
> I'm running kubuntu 6.0.6 LTS and I've installed the wxWidgets 2.8 as reported 
> from the pgadmin web site. After installing also the contrib package, I try 
> to config the compilation environment for pgadmin but I got:
> 
> checking wxWidgets in /usr/local... failed
> configure: error: Your wxWidgets installation cannot support pgAdmin in the 
> selected configuration. This may be because it was configured without 
> the --enable-unicode option, or the combination of dynamic/static linking and 
> debug/non-debug libraries selected did not match any installed wxWidgets 
> libraries.
> 
> 
> So I tried to re-compile the wxWidgets specifying a prefix directory, and then 
> passing it to the configure script with the --with-wx=prefix but the error is 
> the same above.
> 
> Any idea about what can I do to compile pgadmin?

Add --with-wx-version=2.8 to pgAdmin's configure command. 1.6 defaults 
to 2.7.

Regards, Dave.


Re: problem compiling pgadmin 1.6

From
Luca Ferrari
Date:
On Sunday 03 December 2006 20:42 Dave Page's cat, walking on the keyboard, 
wrote:
>
> Add --with-wx-version=2.8 to pgAdmin's configure command. 1.6 defaults
> to 2.7.

That's worked, and I finally get pgadmin compiled. However, if I run it:

/usr/local/postgresql/pgadmin1.6.1/bin/pgadmin3
/usr/local/postgresql/pgadmin1.6.1/bin/pgadmin3: error while loading shared 
libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No such 
file or directory


Any idea?

Thanks,
Luca


Re: problem compiling pgadmin 1.6

From
Dave Page
Date:
Luca Ferrari wrote:
> On Sunday 03 December 2006 20:42 Dave Page's cat, walking on the keyboard, 
> wrote:
>> Add --with-wx-version=2.8 to pgAdmin's configure command. 1.6 defaults
>> to 2.7.
> 
> That's worked, and I finally get pgadmin compiled. However, if I run it:
> 
> /usr/local/postgresql/pgadmin1.6.1/bin/pgadmin3
> /usr/local/postgresql/pgadmin1.6.1/bin/pgadmin3: error while loading shared 
> libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No such 
> file or directory
> 
> 
> Any idea?

Assuming you're on Linux, make sure the directory containing that 
library (/usr/local/lib by default) is in /etc/ld.so.conf, and run ldconfig.

Regards, Dave.