[HowTo]: pgDesigner+Ubuntu-6.06 (ENG/ITL/POL)

Help
pe3no
2006-10-09
2013-04-24
  • pe3no
    pe3no
    2006-10-09

    La versione italiana di questo HowTo si trova al: http://www.ldrweb.net/modules/newbb/viewtopic.php?topic_id=6&forum=10
    Polska wersja tego HowTo została umieszczona na: http://forum.ubuntu.pl/viewtopic.php?p=77625

    *************************************************************************

    p g D e s i g n e r -  OPEN SOURCE Datamodel designer for PostgreSQL  !!!

    *************************************************************************

    Screenshots: http://sourceforge.net/project/screenshots.php?group_id=158060
    Home page of the project: http://pgdesigner.sourceforge.net/en/index.html
    The last version of the program: http://sourceforge.net/projects/pgdesigner
    English Forum: http://sourceforge.net/forum/?group_id=158060
    Italian Forum: http://www.ldrweb.net/modules/newbb/viewforum.php?forum=10

    Hi,
    I prepared a guide on the installation of pgDesigner at Ubuntu-6.06.1-i386

    1. First of all, back up your "sources.list":
    $ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

    2. Open the file:
    $ sudo gedit /etc/apt/sources.list

    3. Delete all the "#" in front of "deb". Save the file and close editor.

    4. Update the lists of packages:
    $ sudo apt-get update

    5. Download the newest version of pgDesigner (*.bz2) from the project's home site, into your home directory:
    http://sourceforge.net/project/showfiles.php?group_id=158060

    6. Check, which version of Gambas is needed to compile pgDesigner:
    - Visit this web site http://sourceforge.net/projects/pgdesigner
    - Click at the link of the freshest pgDesigner - "pgDesigner X.X.XX Released"
    - In the bottom of the list of changes, made to the newest version of the program,
    indicated in the ChangeLog, you may check the version of Gambas used to compile pgDesigner:
    "Program compiled with version Y.Y.YY of Gambas"

    *********************************************************************************

    Note - you'll need to modify commands for the future versions of program

    *********************************************************************************

    7. Download Gambas from http://gambas.sourceforge.net/  - into your home directory:

    8. pass to your home directory:
    $ cd $HOME

    9. Install all the packages needed by Gambas and to compile Designer - about 314 MB:
    $ sudo apt-get install build-essential libsdl-gfx1.2-dev libsdl-ttf2.0-dev libomniorb4-dev libldap2-dev libcurl3-gnutls-dev libpq-dev libgtkhtml2-dev kdepim-dev unixodbc-dev libdbd-sqlite libsqlite0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsqlite3-dev libmysqlclient15-dev

    10. Untar pgDesigner's source code (substitute "X.X.XX" using the current version of program):
    $ tar xjvf pgDesigner-X.X.XX.tar.bz2

    11. Unpack Gambas'es sources file (substitute "Y-Y.Y.YY" with the version from the ChangeLog):
    $ tar xjvf gambasY-Y.Y.YY.tar.bz2

    12. Pass to the directory created during Gambas unpacking process:
    $ cd gambasY-Y.Y.YY

    13. Run the command for the preparation of the compilation process:
    $ sudo ./configure -C

    14. Compile Gambas:
    $ sudo make

    15. Install Gambas:
    $ sudo make install

    16. Create a symbolic link to pgDesigner:
    $ sudo ln -s $HOME/pgDesigner/pgDesigner.gambas /usr/bin/pgdesigner

    17. Modify the rights of .kde directory - to unblock dcopserver:
    $ sudo chmod -R 777 /home/`whoami`/.kde/

    18. To run pgDesigner, open terminal:
    $ pgdesigner

    Kind regards~~Piotrek~~pe3no

     
    • Carlotto Luigi
      Carlotto Luigi
      2006-10-09

      A thanks to the Piotrek friend for this guide.

       
    • ferriswheel
      ferriswheel
      2006-10-24

      Hi

      I get pgDesigner in italian only. Using the LANG= var set to my locale setting does not change things.

      any suggestions

      regards

       
      • Carlotto Luigi
        Carlotto Luigi
        2006-10-24

        On some Linux distributions based on Debian, it has been found a problem relatively to the start of pgDesigner in an other language.
        To how much it seems, and at the moment I do not have still uncovered why, it is necessary to set up also the variable LANGUAGE:

        # LANG=en_US LANGUAGE=en_US /pgDesigner

        By