Re: TCL/TK, PostgreSQL and pgaccess (on X11)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



daniellewis wrote:
| Hello,
|
| I'm quite new to postgreSQL, pgaccess and TCL/TK... Here is my
| scenario:
|
|
| PROBLEM 1:
| I'm running X11R6 on Apple X11 (on OS X 10.3.8), I want to run pgaccess
| (which I have version 0.98.7 from http://ns.flex.ro/pgaccess/ ). I have
| PostgreSQL (Version 8.0.1). I installed from fink; tcl/tk 8.4.1-12, and
| changed the pgaccess bash script to read wish8.4. I tried to run this
| and I go the following error:
|
| Application initialization failed: no display name and no $DISPLAY
| environment variable
| Error in startup script: invalid command name "image"
|     while executing
| "image create bitmap dnarw -data  {
| #define down_arrow_width 15
| #define down_arrow_height 15
| static char down_arrow_bits[] = {
|         0x00,0x80,0x00,0x80,0x0..."
|     (file "/usr/local/pgaccess/main.tcl" line 5)
|
| Thats my main problem.
|
| PROBLEM 2:
| I tried to fix this by downloading Tcl/Tk Aqua (TclTkAquaBI-8.4.9.1 for
| Mac OS X 10.3 and later only). When I tried to load the main.tcl script
| for pgaccess I got the following error:
|
| "Error: dyld:
| /Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish
| Shell.app/Contents/MacOS/Wish Shell can't open library libpgtcl.dylib
| (No such file or directory, errno = 2)"
|
| With the following details:
|
| dyld: /Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish
| Shell.app/Contents/MacOS/Wish Shell can't open library: libpgtcl.dylib
| (No such file or directory, errno = 2)
|
| dyld: /Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish
| Shell.app/Contents/MacOS/Wish Shell can't open library: libpgtcl.dylib
| (No such file or directory, errno = 2)
|
|     while executing
| "load libpgtcl[info sharedlibextension]"
|     (procedure "main" line 3)
|     invoked from within"
|
| I have a feeling that this is something to do with the User, I should
| be logged in as postgres.
|
| Any help will be appreciated... as I have to learn PostgreSQL for work,
| which I start in two weeks time.
|
| Thanks again.
|
| Daniel Lewis
|

You may also want to see this page:

http://www.wordtech-software.com/pgaccess.html

I've packaged an Aqua-native verison of PGAccess.


- -- Cheers,

Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.smallbizmac.com
http://www.kevin-walzer.com
mailto:sw@xxxxxxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFClnG+JmdQs+6YVcoRAs/QAJ9DrpzgeLrxadDuRLsLmLZZa7z1IQCbB07B
PuI0FBf04TYfJtXj1yUN2xA=
=E2IO
-----END PGP SIGNATURE-----
.



Relevant Pages

  • [Full-Disclosure] [ GLSA 200410-16 ] PostgreSQL: Insecure temporary file use in make_oidjoins_check
    ... The make_oidjoins_check script, part of the PostgreSQL package, is ... overwrite arbitrary files with the rights of the user running the ... PostgreSQL is an open source database based on the POSTGRES database ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Full-Disclosure)
  • Re: fbsd 6.1 and starting services problem
    ... It is a brand new install of FreeBSD 6.1. ... For example the postgresql install is NOT from ports. ... Here is my script: ...
    (freebsd-questions)
  • Re: Postgresql-8.0.1
    ... Why not simply getting the RPM package, extracting only postgresql ... I'll be nice enough to attach the script for you;-) ... # Eliminate the pidof postmaster test in stop -- we're using pg_ctl so we don't need pidof. ...
    (Fedora)
  • Re: Good front end for small postgress dtabases?
    ... $ apt-cache show pgaccess ... Description: Tk/Tcl interface to PostgreSQL ... used to generate and store queries, views, reports and forms. ... The PostgreSQL database may be local or on a remote machine. ...
    (Debian-User)
  • Setting up PostgreSQL on Debian...
    ... I chose to install PostgreSQL during the installation of Debian Sarge. ... Both PostgreSQL and pgAccess were installed. ...
    (Debian-User)