Skip site navigation (1) Skip section navigation (2)

Re: xrc files not installed when --enable-debug i s not set(?)

From: "Dave Page" <dpage(at)postgresql(dot)org>
To: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
Cc: "PgAdmin Hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: xrc files not installed when --enable-debug i s not set(?)
Date: 2007-11-17 21:48:31
Message-ID: 200711172148310000@234713901 (view raw or flat)
Thread:
Lists: pgadmin-hackers

> ------- Original Message -------
> From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
> To: PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>
> Sent: 17/11/07, 21:34:25
> Subject: [pgadmin-hackers] xrc files not installed when --enable-debug is not set(?)
> 
> Hi,
> 
> here is my stupid question of the day:
> is it normal that pgadmin/ui/*.xrc files are not installed if
> "--enable-debug" is not set? I thought these files were mandatory for
> the app to appear (if not, can someone explain what role they have in
> the app?).
> 
> It appears to be disabled in pgadmin/Makefile.am:
>  64 if BUILD_DEBUG
>  65 nobase_dist_pkgdata_DATA = $(TMP_ui)
>  66 endif
> 
> If normal, can I safely ignore these files for the packaging stuff?

Yeah, for a release build they are compiled into xrcdialogs.cpp. In a debug build they are dynamically loaded each time a dialog is opened, making testing easier.

/D

Responses

pgadmin-hackers by date

Next:From: Raphaël EnriciDate: 2007-11-17 21:55:59
Subject: Re: xrc files not installed when --enable-debug i
Previous:From: Raphaël EnriciDate: 2007-11-17 21:34:25
Subject: xrc files not installed when --enable-debug is not set(?)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group