Thread: pgAdfmin svn 8079 core

pgAdfmin svn 8079 core

From
Vladimir Koković
Date:
Hi,

Again, I did release version (svn 8085) but SEGMENTATION fault is still happening.

"Gray Delete" key is WXK_DELETE.
WXK_NUMPAD_DELETE works as expected.

I had to change the branding and i8n makefile.am when the build is outside the source directory.

I am not sure whether the 'make install' done properly.
pgadmin3-release/share/pgadmin3 --> missing ui directory.
---------------------------------------------------------------
root@vlD-kuci:/tmp# ls -la /usr/local/pgadmin3/share/pgadmin3/  DEBUG
total 36
drwxr-xr-x  6 root root 4096 2009-11-22 04:38 .
drwxr-xr-x  3 root root 4096 2009-11-17 17:03 ..
drwxr-xr-x  2 root root 4096 2009-11-22 04:37 branding
drwxr-xr-x 11 root root 4096 2009-11-17 17:03 docs
drwxr-xr-x 23 root root 4096 2009-11-22 04:37 i18n
-rw-r--r--  1 root root 7283 2009-11-22 04:38 plugins.ini
-rw-r--r--  1 root root 1023 2009-11-22 04:38 settings.ini
drwxr-xr-x  2 root root 4096 2009-11-22 04:38 ui
root@vlD-kuci:/tmp#

root@vlD-kuci:/tmp# ls -la /usr/local/pgadmin3-release/share/pgadmin3/  RELEASE
total 32
drwxr-xr-x  5 root root 4096 2009-11-22 06:59 .
drwxr-xr-x  3 root root 4096 2009-11-22 06:01 ..
drwxr-xr-x  2 root root 4096 2009-11-22 06:57 branding
drwxr-xr-x 11 root root 4096 2009-11-22 06:57 docs
drwxr-xr-x 23 root root 4096 2009-11-22 06:57 i18n
-rw-r--r--  1 root root 7283 2009-11-22 06:57 plugins.ini
-rw-r--r--  1 root root 1023 2009-11-22 06:57 settings.ini
root@vlD-kuci:/tmp#
------------------------------------------------------------------------

Best regards,
Vladimir Kokovic, DP senior, Belgrade, Serbia





--- /media/sda5/tmp/pgadmin3-svn/pgadmin3/branding/Makefile.am    2009-04-26 20:12:48.000000000 +0200
+++ /media/sda5/tmp/pgadmin3-svn/release/branding/Makefile.am    2009-11-22 06:26:19.000000000 +0100
@@ -20,4 +20,4 @@

 install-data-local:
     $(mkinstalldirs) $(DESTDIR)$(brandingdir)
-    $(install_sh) -c -m 644 branding.ini $(DESTDIR)$(brandingdir)
+    $(install_sh) -c -m 644 $(EXTRA_DIST) $(DESTDIR)$(brandingdir)
--- /media/sda5/tmp/pgadmin3-svn/pgadmin3/i18n/Makefile.am    2009-07-06 18:18:02.000000000 +0200
+++ /media/sda5/tmp/pgadmin3-svn/release/i18n/Makefile.am    2009-11-22 07:03:40.000000000 +0100
@@ -36,13 +36,13 @@
     @pub_tx='$(PUB_TX)'; \
     for DIR in $$pub_tx; do \
         $(mkinstalldirs) $(DESTDIR)$(i18ndir)/$$DIR; \
-        for FILE in `ls $$DIR/*.mo`; do \
+        for FILE in `ls $(srcdir)/$$DIR/*.mo`; do \
             $(install_sh) -c -m 644 $$FILE $(DESTDIR)$(i18ndir)/$$DIR/; \
         done \
     done
-    $(install_sh) -c -m 644 pgadmin3.lng $(DESTDIR)$(i18ndir)/$$DIR
-    $(install_sh) -c -m 644 pg_settings.csv $(DESTDIR)$(i18ndir)/$$DIR
-    $(install_sh) -c -m 644 wxstd.mo $(DESTDIR)$(i18ndir)/$$DIR
+    $(install_sh) -c -m 644 $(srcdir)/pgadmin3.lng $(DESTDIR)$(i18ndir)/$$DIR
+    $(install_sh) -c -m 644 $(srcdir)/pg_settings.csv $(DESTDIR)$(i18ndir)/$$DIR
+    $(install_sh) -c -m 644 $(srcdir)/wxstd.mo $(DESTDIR)$(i18ndir)/$$DIR

 # Remove the wildcard directory that automake will have added for us
 dist-hook:

Attachment

Re: pgAdfmin svn 8079 core

From
Guillaume Lelarge
Date:
Le dimanche 22 novembre 2009 à 08:35:17, Vladimir Koković a écrit :
> [...]
> Again, I did release version (svn 8085) but SEGMENTATION fault is still
>  happening.
>
> "Gray Delete" key is WXK_DELETE.
> WXK_NUMPAD_DELETE works as expected.
>
> I had to change the branding and i8n makefile.am when the build is outside
>  the source directory.
>

If I understand you correctly, you make some changes in the source files
(makefile.am). You should check without those changes. If you don't have any
more issues, your changes are at fault. If you still have, then we have a
bigger problem.

> I am not sure whether the 'make install' done properly.
> pgadmin3-release/share/pgadmin3 --> missing ui directory.

That's not an issue, there's no ui directory in the release build.


--
Guillaume.http://www.postgresqlfr.orghttp://dalibo.com