allentc / pgadmin3-lts

Other
29 stars 33 forks source link

Fails to build on Mint LMDE6 (Debian 12 base). #34

Open Joe1962 opened 8 months ago

Joe1962 commented 8 months ago

I am still using pgadmin3-lts and am very grateful for this repo, Unfortunately, I must report that it now fails to build on Mint LMDE6 (Debian 12 base).

My procedure is:

apt install build-essential libwxgtk3.2-dev libxml2-dev libxslt-dev libcrypto++-dev libssl-dev libgcrypt-dev libz-dev libssh2-1-dev apt-get install postgresql-15 postgresql-contrib-15 postgresql-client-15 libjson-perl libpq-dev bash bootstrap ./configure --prefix=/opt/pgadmin3lts --with-pgsql=/usr/lib/postgresql/15 --with-libgcrypt --with-wx-version=3.2 CFLAGS=-fPIC CXXFLAGS=-fPIC --enable-databasedesigner

The error during make is:

make[3]: *** [Makefile:5766: ctl/ctlSQLGrid.o] Error 1

I do not know what to make (pun not intended) of this.

proxy-m commented 6 months ago

@Joe1962 Need detailed error output, not just last string.

Answer from clouds, if no details: https://www.postgresql.org/message-id/444BB23D.30107%40gmail.com

Joe1962 commented 6 months ago

@Joe1962 Need detailed error output, not just last string.

I can get that tonight, but in the meantime, FWIW, I believe the issue to be a difference between wx version 3.0 (on Mint 21.3 where it builds well) and 3.2 (LMDE 6).

proxy-m commented 6 months ago

I can get that tonight, but in the meantime, FWIW, I believe the issue to be a difference between wx version 3.0 (on Mint 21.3 where it builds well) and 3.2 (LMDE 6).

Again: We need detailed error output, not just last string, not somebody believes.

Joe1962 commented 6 months ago

Again: We need detailed error output, not just last string, not somebody believes.

Sorry about the delay, had some work and personal issues. And then the CPU started overheating during make! Anyway, I figured out it was a case of me not reading correctly and not installing wx3.2-headers.

Also noticed that it was not finding sphinx htmlhelp, so I tried installing sphinx and python3-sphinxcontrib.htmlhelp, but then make fails pretty much instantly. Removing or purging those 2 packages did not help, sphinx-build was somehow still there, so then I had to add --without-sphinx-build to ./configure.

Anyway, now it builds correctly (except the docs) and runs. It does give a few wx error popups whenever you open any popup window (except about), but it still works eventually. I will try and post separate issues for the sphinx stuff and the wx errors.