Thread: compile report

compile report

From
Joachim Wieland
Date:
Hi,

I've just compiled yesterday's pgadmin3 snapshot and here's what I noticed
during install:
(I used wxWidgets-pgAdmin3-20040907-2)

1. ./configure failed because the linker gets called with --as-needed and
--no-as-needed which it doesn't understand. I created a wrapper script that
would filter out these parameters.

I have:

GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux

2. --with-wx-config=FILE
I wrote: --with-wx-config=/usr/local/wxwidgets/...
because I've installed the widgets to this directory. However the configure
script didn't check for the absolute path but it rather prepended another
/usr/, so that I had to specify --with-wx-config=local/wxwidgets/...

3. configure checks for the stc contrib module but not for the xrc module.
This one seems to be necessary as well.

4. Linking didn't work because the Makefile did not add the shared
libraries. I changed the Makefile:

pgadmin3_LDADD = $(LDADD) -lwx_base-2.5 -lwx_base_net-2.5 -lwx_base_xml-2.5 \
-lwx_gtk2_adv-2.5 -lwx_gtk2_core-2.5 -lwx_gtk2_html-2.5 \
-lwx_gtk2_stc-2.5 -lwx_gtk2_xrc-2.5

Don't know if all of them were necessary but it worked fine that way.

Feel free to request further information as you need it. Please note that
I'm not on the mailing list, so you'll have to send a copy to me as well.


Joachim




Re: compile report

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Joachim Wieland
> Sent: 08 November 2004 23:27
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] compile report
>
> Hi,
>
> I've just compiled yesterday's pgadmin3 snapshot and here's
> what I noticed during install:
> (I used wxWidgets-pgAdmin3-20040907-2)

We now use the standard wxWidgets 2.5.3 (finally, no separate version!).
Can you try again with that please?

Regards, Dave

Re: compile report

From
Raphaël Enrici
Date:
Hi Dave, Joachim,

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: pgadmin-hackers-owner@postgresql.org
>>[mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
>>Joachim Wieland
>>Sent: 08 November 2004 23:27
>>To: pgadmin-hackers@postgresql.org
>>Subject: [pgadmin-hackers] compile report
>>
>>Hi,
>>
>>I've just compiled yesterday's pgadmin3 snapshot and here's
>>what I noticed during install:
>>(I used wxWidgets-pgAdmin3-20040907-2)
>

Dave,
considering the version of ld reported by Joachim, it seems he is using
Debian/testing or unstable. I didn't take care of daily snapshots for a
while as I'm working on the two recent bugs opened on d.o. concerning
pgA3. I've just looked at snapshots and it seems no source snapshot was
produced since September 24...

Can you take a look at it please ? I'll adapt my scripts then and daily
snap for Debian testing/unstable should be back online ;)

> We now use the standard wxWidgets 2.5.3 (finally, no separate version!).
> Can you try again with that please?

Ron is on the way to upload official packages of 2.5.3 to the main
Debian unstable archive. If we are able to get a stable pgAdmin III
1.2.0 (RC or not) and if it builds ok on top of Ron's packages, this
would be the end of a "small" nightmare :)


> Regards, Dave

Regards,
Raphaël