Thread: basename: not found /usr/bin/createlangpsql: not found : external error

basename: not found /usr/bin/createlangpsql: not found : external error

From
Shogo Yahagi
Date:
I currently have PostgreSQL running fine on WinXP.
But the createlang command is having problems:

$ createlang plpgsql template1
basename: not found
/usr/bin/createlangpsql: not found
:external error

What could possibly be going on? strange that cygwin
is spitting out "createlangpsql: not found" when I
didn't type that.  I typed "createlang".

Any suggestions?

desperate and up all night... -shogo

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

Re: basename: not found /usr/bin/createlangpsql: not found :

From
Jason Tishler
Date:
Shogo,

On Fri, Mar 14, 2003 at 06:21:42AM -0800, Shogo Yahagi wrote:
> Any suggestions?

Does the following help?

    $ find /usr/bin -name '*.exe' -o -name '*.dll' | xargs chmod +r,+x

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Re: basename: not found /usr/bin/createlangpsql: not found : external error

From
s0lao@netscape.net (S. L.)
Date:
[...]
>But the createlang command is having problems:
>
>$ createlang plpgsql template1
>basename: not found
[...]
>
>Any suggestions?
[...]

Yes. You should install sh-utils package (the one that contains basename.exe command).

SLao

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455

Re: basename: not found /usr/bin/createlangpsql: not found :

From
Jason Tishler
Date:
Shogo,

Please keep your replies on-list.

On Fri, Mar 14, 2003 at 02:39:44PM -0800, Shogo Yahagi wrote:
> sorry about the dum email.. turned out i fixed it by just updating
> parts of cygwin... i didn't know what to update honestly.. but i just
> kept guessing and updating stuff (can't select all with 56k hehe)
> until it finally started working!!!!
>
> so i learned my lesson that if you get:
>
> basename: not found
>
> then to fix the problem run a cygwin update until its gone!  you think
> that's a good rule to stick to?

One can use the following:

    http://cygwin.com/packages/

to determine which package contains a particular file.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6