Обсуждение: RE: [QUESTIONS] pgaccess,... OK What are the steps ????

Поиск
Список
Период
Сортировка

RE: [QUESTIONS] pgaccess,... OK What are the steps ????

От
"Jackson, DeJuan"
Дата:
Forwarded to INTERFACES.

> -----Original Message-----
> From:    TUTU [SMTP:jg791569@er.uqam.ca]
> Sent:    Wednesday, May 06, 1998 1:33 PM
> To:    pgsql-questions@postgreSQL.org
> Subject:    [QUESTIONS] pgaccess,... OK What are the steps ????
>
> It's always like that !#@$#%
>
> You download a program, try to install it and than, BANG !!!! SORRY
> but you'll need to do part of the programmer's job if you want to use
> me !!!#~#@~!@#
>
> I hate to spend days searching for information and tricks and files
> etc just because some guy forgot to putt something in his installation
> files and because he forgot to tell everyone.
>
> SO ...
>
> I'm using RedHat 5.0 and i installed the last version of postgresql
> but with the RPM file type...
> I've downloaded pgaccess from the web site, (*.tar.gz...) bla bla bla
> ...
>
> I've installed the two libpgtcl.so and libpq.so in my system /lib
> directories.
>
> Is there a way for my to use pgaccess without getting a *.tar.gz
> version of the postgresql files and compiling them ???
>
> What will i need ??? Where to get it ??? Where is libcrypt.so and what
> does 'link it' means in that context...
>
> Thanks for any help !!
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Sebastien Auclair
> Jg791569@er.uqam.ca
>
> --
> Official WWW Site: http://www.postgresql.org
> Online Docs & FAQ: http://www.postgresql.org/docs
> Searchable Lists: http://www.postgresql.org/mhonarc

Re: pgaccess,... OK What are the steps ????

От
Constantin Teodorescu
Дата:
Sebastian wrote:

> It's always like that !#@$#%
> You download a program, try to install it and than, BANG !!!! SORRY
> but you'll need to do part of the programmer's job if you want to use
> me !!!#~#@~!@#

Dear Sebastian,

I'm sorry. You are right. But there are a lot of operating systems,
versions and the developer is using a single computer with a single
version of his PostgreSQL and Linux.

I'm using for example RedHat 4.2 on a i386 , PostgreSQL 6.3.2.

There are a lot of other user on Solaris, on Free-BSD, on HP-UX, Irix.
It's a good thing that PostgreSQL is ported on many operating systems
and this could cause trouble sometimes. But we have luck, the problems
could be solved with a few minor corections.

I am sorry that I have unsubscribed from psql-questions . I was waiting
for questions on PgAccess directly (teo@flex.ro) or through the
psql-interfaces mail list. Now I have subscribed again on pgsql-question
list and I will listen on that too.

> > I hate to spend days searching for information and tricks and files
> > etc just because some guy forgot to putt something in his installation
> > files and because he forgot to tell everyone.

I am realy sorry. I had the same trouble as you many times but I learned
to contact the developer and I have always get quickly answers.

> > I'm using RedHat 5.0 and i installed the last version of postgresql
> > but with the RPM file type...

You have to tell me what version of rpm is (i.e. what version of
PostgreSQL is)

> > I've downloaded pgaccess from the web site, (*.tar.gz...) bla bla bla

Also, what version, 6.3.2 ? Please send me directly all these
information and I will try to help you as soon as I can. Maybe I could
send you some libraries precompiled for your system.

> > I've installed the two libpgtcl.so and libpq.so in my system /lib
> > directories.

so far ... so good

> > What will i need ??? Where to get it ??? Where is libcrypt.so and what
> > does 'link it' means in that context...

must be in /lib directory.

Adding a -lcrypt near -lpq in Makefile (didn't recall because I was
compiling PostgreSQL on RedHat 5.0 just once ... some time ago). Anyone
using RedHat 5.0 could help ?

Tomorow I will try to make some precompiled libraries (libpq and
libpgtcl) for both RedHat 4.2 and RedHat 5.0 and for the latest 6.3.2
library. They would be available for download directly from my site (
http://www.flex.ro/pgaccess )

Thank you for your feedback, we would try to improve services for
PgAccess. In order to do that, I would need your help.

The most important thing : Don't loose your patience ... and don't go
back to Windows :-)

--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

Precompiled libraries for PgAccess on RedHat 4.2 and RedHat 5.0

От
Constantin Teodorescu
Дата:
Some precompiled shared libraries (libpq.so and libpgtcl.so) for RedHat
i386 versions 4.2 and 5.0 are available at :

ftp://ftp.flex.ro/pub/pgaccess

For RedHat 5.0 are available libraries for PostgreSQL 6.3.1 version.
I will update as soon as I can that libraries for 6.3.2 version as well.

If anyone could send me (checked and functional) precompiled libraries
for the latest PostgreSQL version (6.3.2) other operating systems
(Solaris, Free-BSD) I will put them on my ftp server.

Thanks,

--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

Re: [QUESTIONS] Re: pgaccess,... OK What are the steps ????

От
"Brett W. McCoy"
Дата:
On Wed, 6 May 1998, Constantin Teodorescu wrote:

> I'm sorry. You are right. But there are a lot of operating systems,
> versions and the developer is using a single computer with a single
> version of his PostgreSQL and Linux.

You'll be happy to know that, after fixing the Makefiles and adding
'-lcrypt' to the LD_FLAGS_SL flag in the libpq makefile, pgaccess is now
working on my Red Hat 5.0 system.  I can put up the precise steps I needed
to take to run this fix later tonight.  I did a clean compile from
scratch, and everything is where it is supposed to.  Now I just need to
play with it.

> I am realy sorry. I had the same trouble as you many times but I learned
> to contact the developer and I have always get quickly answers.

I like the fact I can talk to the developer of the software.  How many
people have been able to talk directly to a developer of, say,
MS-Access?  This is what makes open source software the best bang for the
buck, in my book.

Brett W. McCoy
                                         http://www.lan2wan.com/~bmccoy
-----------------------------------------------------------------------
"The Number of UNIX installations has grown to 10, with more expected."
   -- The UNIX Programmer's Manual, 2nd Edition, June, 1972


Re: Precompiled libraries for PgAccess...

От
"Oliver Elphick"
Дата:
Constantin Teodorescu wrote:
  >Some precompiled shared libraries (libpq.so and libpgtcl.so) for RedHat
  >i386 versions 4.2 and 5.0 are available at :
  >
  >ftp://ftp.flex.ro/pub/pgaccess
  >
  >For RedHat 5.0 are available libraries for PostgreSQL 6.3.1 version.
  >I will update as soon as I can that libraries for 6.3.2 version as well.

Precompiled packages for Debian Linux, containing all of 6.3.2, can be
downloaded from www.debian.org or its mirrors; these packages require
a libc6 system (hamm).


--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "If it is possible, as much as it depends on you, live
      peaceably with all men."        Romans 12:18



Re: [INTERFACES] Re: pgaccess,... OK What are the steps ????

От
Doug Lo
Дата:
Constantin Teodorescu wrote:

> > > What will i need ??? Where to get it ??? Where is libcrypt.so and what
> > > does 'link it' means in that context...
>
> must be in /lib directory.

Nope! I can't find it.

> Adding a -lcrypt near -lpq in Makefile (didn't recall because I was
> compiling PostgreSQL on RedHat 5.0 just once ... some time ago). Anyone
> using RedHat 5.0 could help ?

I adding '-lcrypt' to the LDFLAGS_SL flag in the libpq makefile, it got:

ld -lcrypt -shared -soname libpq.so.1 -o libpq.so.1. fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-lobj.o dllist.o pqsignal.o pqcomprim.o
ld: cannot open -lcrypt: No such file or directory
make[1]: *** [libpq.so.1.] Error 1
make[1]: Leaving directory
`/usr/src/pgsql/postgresql-6.3.2/src/interfaces/libpq'
make: *** [all] Error 2

Regards,
Doug.