pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
createlang 'pltclu' with postgreSQL.
5+ messages / 2 participants
[nested] [flat]

* createlang 'pltclu' with postgreSQL.
@ 2005-04-06 14:09 Dinesh Pandey <dpandey@secf.com>
  2005-04-06 15:43 ` Re: createlang 'pltclu' with postgreSQL. Michael Fuhr <mike@fuhr.org>
  0 siblings, 1 reply; 5+ messages in thread

From: Dinesh Pandey @ 2005-04-06 14:09 UTC (permalink / raw)
  To: pgsql-sql

Hi,

I have already installed Postgres 8.0.1.
I am able to use pl/pgsql language but...I want to use language 'pltclu'
with postgreSQL. Its unable to find "pltcl".

I am getting this error.

$ createlang pltclu testdb
ERROR:  could not access file "$libdir/pltcl": No such file or directory
createlang: language installation failed: ERROR:  could not access file
"$libdir/pltcl": No such file or directory

Where this file "$libdir/pltcl" can be found????

I have installed "tk-8.4.9-sol9-sparc-local.gz" and
"tcl-8.4.9-sol9-sparc-local.gz" file using pkgadd -d command.
Any othe configuration required????

Regards
Dinesh Pandey 

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: createlang 'pltclu' with postgreSQL.
  2005-04-06 14:09 createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>
@ 2005-04-06 15:43 ` Michael Fuhr <mike@fuhr.org>
  2005-04-06 15:48   ` Re: createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>
  2005-04-06 15:59   ` Re: createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>
  0 siblings, 2 replies; 5+ messages in thread

From: Michael Fuhr @ 2005-04-06 15:43 UTC (permalink / raw)
  To: Dinesh Pandey <dpandey@secf.com>; +Cc: pgsql-sql

On Wed, Apr 06, 2005 at 07:39:02PM +0530, Dinesh Pandey wrote:
> 
> I have already installed Postgres 8.0.1.

How did you install PostgreSQL?  Did you build it from source?

> $ createlang pltclu testdb
> ERROR:  could not access file "$libdir/pltcl": No such file or directory
> createlang: language installation failed: ERROR:  could not access file
> "$libdir/pltcl": No such file or directory

If you built from source, did you run configure with --with-tcl?

> I have installed "tk-8.4.9-sol9-sparc-local.gz" and
> "tcl-8.4.9-sol9-sparc-local.gz" file using pkgadd -d command.
> Any othe configuration required????

When I build PostgreSQL on Solaris 9, I run configure with the
following options (amongst others not shown):

configure --with-tcl --with-tclconfig=/usr/local/lib

Try rebuilding and reinstalling PostgreSQL with those options and
see if you can then createlang pltclu.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: createlang 'pltclu' with postgreSQL.
  2005-04-06 14:09 createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>
  2005-04-06 15:43 ` Re: createlang 'pltclu' with postgreSQL. Michael Fuhr <mike@fuhr.org>
@ 2005-04-06 15:48   ` Dinesh Pandey <dpandey@secf.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Dinesh Pandey @ 2005-04-06 15:48 UTC (permalink / raw)
  To: 'Michael Fuhr' <mike@fuhr.org>; +Cc: pgsql-sql

Hi Mike,

Have you installed tcl and tk before popstgres installation and set some
PATH for that before installing postgres.

Because I installed  "tk-8.4.9-sol9-sparc-local.gz" and
"tcl-8.4.9-sol9-sparc-local.gz" after postgres installation.

Can I use "configure --with-tcl --with-tclconfig=/usr/local/lib" this
command now??

What is "/usr/local/lib" - Path of TCL or Path of Postgres installation??

Thanks
Dinesh Pandey

 
 



-----Original Message-----
From: Michael Fuhr [mailto:mike@fuhr.org]
Sent: Wednesday, April 06, 2005 9:14 PM
To: Dinesh Pandey
Cc: 'PostgreSQL'
Subject: Re: [SQL] createlang 'pltclu' with postgreSQL.

On Wed, Apr 06, 2005 at 07:39:02PM +0530, Dinesh Pandey wrote:
>
> I have already installed Postgres 8.0.1.

How did you install PostgreSQL?  Did you build it from source?

> $ createlang pltclu testdb
> ERROR:  could not access file "$libdir/pltcl": No such file or
> directory
> createlang: language installation failed: ERROR:  could not access
> file
> "$libdir/pltcl": No such file or directory

If you built from source, did you run configure with --with-tcl?

> I have installed "tk-8.4.9-sol9-sparc-local.gz" and
> "tcl-8.4.9-sol9-sparc-local.gz" file using pkgadd -d command.
> Any othe configuration required????

When I build PostgreSQL on Solaris 9, I run configure with the following
options (amongst others not shown):

configure --with-tcl --with-tclconfig=/usr/local/lib

Try rebuilding and reinstalling PostgreSQL with those options and see if you
can then createlang pltclu.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: createlang 'pltclu' with postgreSQL.
  2005-04-06 14:09 createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>
  2005-04-06 15:43 ` Re: createlang 'pltclu' with postgreSQL. Michael Fuhr <mike@fuhr.org>
@ 2005-04-06 15:59   ` Dinesh Pandey <dpandey@secf.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Dinesh Pandey @ 2005-04-06 15:59 UTC (permalink / raw)
  To: 'Michael Fuhr' <mike@fuhr.org>; +Cc: pgsql-sql

1. I installed with compiled package using "pkgadd -d
postgresql-8.0.1-sol9-sparc-local"

2. I haven't used --with-tcl?


Thanks
Dinesh Pandey

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Michael Fuhr
Sent: Wednesday, April 06, 2005 9:14 PM
To: Dinesh Pandey
Cc: 'PostgreSQL'
Subject: Re: [SQL] createlang 'pltclu' with postgreSQL.

On Wed, Apr 06, 2005 at 07:39:02PM +0530, Dinesh Pandey wrote:
> 
> I have already installed Postgres 8.0.1.

How did you install PostgreSQL?  Did you build it from source?

> $ createlang pltclu testdb
> ERROR:  could not access file "$libdir/pltcl": No such file or 
> directory
> createlang: language installation failed: ERROR:  could not access 
> file
> "$libdir/pltcl": No such file or directory

If you built from source, did you run configure with --with-tcl?

> I have installed "tk-8.4.9-sol9-sparc-local.gz" and 
> "tcl-8.4.9-sol9-sparc-local.gz" file using pkgadd -d command.
> Any othe configuration required????

When I build PostgreSQL on Solaris 9, I run configure with the following
options (amongst others not shown):

configure --with-tcl --with-tclconfig=/usr/local/lib

Try rebuilding and reinstalling PostgreSQL with those options and see if you
can then createlang pltclu.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* FW: createlang 'pltclu' with postgreSQL.
@ 2005-04-06 16:22 Dinesh Pandey <dpandey@secf.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Dinesh Pandey @ 2005-04-06 16:22 UTC (permalink / raw)
  To: pgsql-sql

Unable to run "createlang pltcl testdb"
 
[1]. I tried with this command
	./configure --with-tcl --with-tclconfig=/usr/local/lib

.....
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking whether to build with Tcl... yes
.....
.....
checking for tclsh... /usr/local/bin/tclsh
checking for tclConfig.sh... /usr/local/lib/tclConfig.sh
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes


[2]. And then 
	createlang pltcl testdb

ERROR:  could not access file "$libdir/pltcl": No such file or directory
createlang: language installation failed: ERROR:  could not access file
"$libdir/pltcl": No such file or directory

Thanks
Dinesh Pandey

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Dinesh Pandey
Sent: Wednesday, April 06, 2005 9:30 PM
To: 'Michael Fuhr'
Cc: 'PostgreSQL'
Subject: Re: [SQL] createlang 'pltclu' with postgreSQL.

1. I installed with compiled package using "pkgadd -d
postgresql-8.0.1-sol9-sparc-local"

2. I haven't used --with-tcl?


Thanks
Dinesh Pandey

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Michael Fuhr
Sent: Wednesday, April 06, 2005 9:14 PM
To: Dinesh Pandey
Cc: 'PostgreSQL'
Subject: Re: [SQL] createlang 'pltclu' with postgreSQL.

On Wed, Apr 06, 2005 at 07:39:02PM +0530, Dinesh Pandey wrote:
> 
> I have already installed Postgres 8.0.1.

How did you install PostgreSQL?  Did you build it from source?

> $ createlang pltclu testdb
> ERROR:  could not access file "$libdir/pltcl": No such file or 
> directory
> createlang: language installation failed: ERROR:  could not access 
> file
> "$libdir/pltcl": No such file or directory

If you built from source, did you run configure with --with-tcl?

> I have installed "tk-8.4.9-sol9-sparc-local.gz" and 
> "tcl-8.4.9-sol9-sparc-local.gz" file using pkgadd -d command.
> Any othe configuration required????

When I build PostgreSQL on Solaris 9, I run configure with the following
options (amongst others not shown):

configure --with-tcl --with-tclconfig=/usr/local/lib

Try rebuilding and reinstalling PostgreSQL with those options and see if you
can then createlang pltclu.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2005-04-06 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-06 14:09 createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>
2005-04-06 15:43 ` Michael Fuhr <mike@fuhr.org>
2005-04-06 15:48   ` Dinesh Pandey <dpandey@secf.com>
2005-04-06 15:59   ` Dinesh Pandey <dpandey@secf.com>
2005-04-06 16:22 FW: createlang 'pltclu' with postgreSQL. Dinesh Pandey <dpandey@secf.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox