RE: _update-info-dir (was: libXm.so)

2007-12-31 Thread Captain Webber
Another way to re-run update-info is to execute
/etc/postinstall/update-info-dir.sh.done.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Marc Girod
Sent: Monday, December 31, 2007 3:15 PM
To: Captain Webber
Cc: cygwin@cygwin.com
Subject: Re: _update-info-dir (was: libXm.so)

Thanks...

On Dec 31, 2007 7:52 PM, Captain Webber <[EMAIL PROTECTED]> wrote:
> Find it as /etc/setup/_update-info-dir.lst.gz

setup> cd /tmp
tmp> zcat /etc/setup/_update-info-dir.lst.gz > _update-info-dir.lst
tmp> wc -l _update-info-dir.lst
3 _update-info-dir.lst
tmp> cat _update-info-dir.lst
etc/
etc/postinstall/
etc/postinstall/update-info-dir.sh
tmp> ll /etc/postinstall/update-info-dir.sh
ls: cannot access /etc/postinstall/update-info-dir.sh: No such file or
directory
tmp> cd /etc/postinstall/
postinstall> ll update-info-dir.sh.done
-r-xr-x---+ 1 marc Users 413 Feb 20  2006 update-info-dir.sh.done

Ah... The point is that there was no 'dir' in either of the two info
directories I found:
/usr/info, and /usr/share/info, before I edited one myself by hand.

So, possibly this was run once at an early stage, and I should ran it again?
Which I did. Thanks: it worked.

Marc

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: _update-info-dir (was: libXm.so)

2007-12-31 Thread Marc Girod
Thanks...

On Dec 31, 2007 7:52 PM, Captain Webber <[EMAIL PROTECTED]> wrote:
> Find it as /etc/setup/_update-info-dir.lst.gz

setup> cd /tmp
tmp> zcat /etc/setup/_update-info-dir.lst.gz > _update-info-dir.lst
tmp> wc -l _update-info-dir.lst
3 _update-info-dir.lst
tmp> cat _update-info-dir.lst
etc/
etc/postinstall/
etc/postinstall/update-info-dir.sh
tmp> ll /etc/postinstall/update-info-dir.sh
ls: cannot access /etc/postinstall/update-info-dir.sh: No such file or directory
tmp> cd /etc/postinstall/
postinstall> ll update-info-dir.sh.done
-r-xr-x---+ 1 marc Users 413 Feb 20  2006 update-info-dir.sh.done

Ah... The point is that there was no 'dir' in either of the two info
directories I found:
/usr/info, and /usr/share/info, before I edited one myself by hand.

So, possibly this was run once at an early stage, and I should ran it again?
Which I did. Thanks: it worked.

Marc

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: _update-info-dir (was: libXm.so)

2007-12-31 Thread Dave Korn
On 31 December 2007 18:26, Marc Girod wrote:

> Dave Korn wrote:
>> 
>>   http://cygwin.com/packages/ is the best place to search.  If it's in the
>> cygwin distro, that will tell you which package you need installed.
>> 
> 
> But what I am looking for is:
>  _update-info-dir/_update-info-dir-00573-1   Generate info/dir file
> automatically

  Well, that's listed there as well:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=_update-info-dir

> Now, trying to install this from setup, I cannot find it.

  You probably shouldn't be trying to to that; it's not a real package and
it's not intended for general use, it's really part of the setup.exe support
infrastructure.

> I assume it should be in the Doc category, but is not.

  Nope, it's in the _PostInstallLast category.

> I cycle the View to show all packages, and get the full list in alphabetic
> order, from
>  a2ps
> to
>  zsh
> 
> If the leading '_' was ignored, it ought to be between unzip and upx...

  It's not ignored, it makes it sort right to the very end of the list.

> What am I missing?

  Uncheck the "Hide obsolete packages" checkbox!  Because _update-info-dir is
an internal package intended for use as a dependency of other packages only,
it's hidden away in there.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: _update-info-dir (was: libXm.so)

2007-12-31 Thread Captain Webber
Find it as /etc/setup/_update-info-dir.lst.gz


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Marc Girod
Sent: Monday, December 31, 2007 1:26 PM
To: cygwin@cygwin.com
Subject: _update-info-dir (was: libXm.so)


Hello,

I was skimming this thread, and found an answer to a question I did have
time to make:


Dave Korn wrote:
> 
>   http://cygwin.com/packages/ is the best place to search.  If it's in the
> cygwin distro, that will tell you which package you need installed.
> 

But what I am looking for is:
 _update-info-dir/_update-info-dir-00573-1   Generate info/dir file
automatically

Now, trying to install this from setup, I cannot find it.
I assume it should be in the Doc category, but is not.
I cycle the View to show all packages, and get the full list in alphabetic
order, from
 a2ps
to
 zsh

If the leading '_' was ignored, it ought to be between unzip and upx...

What am I missing?

Thanks,
Marc
-- 
View this message in context:
http://www.nabble.com/libXm.so-tp14555733p14560489.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



_update-info-dir (was: libXm.so)

2007-12-31 Thread Marc Girod

Hello,

I was skimming this thread, and found an answer to a question I did have
time to make:


Dave Korn wrote:
> 
>   http://cygwin.com/packages/ is the best place to search.  If it's in the
> cygwin distro, that will tell you which package you need installed.
> 

But what I am looking for is:
 _update-info-dir/_update-info-dir-00573-1   Generate info/dir file
automatically

Now, trying to install this from setup, I cannot find it.
I assume it should be in the Doc category, but is not.
I cycle the View to show all packages, and get the full list in alphabetic
order, from
 a2ps
to
 zsh

If the leading '_' was ignored, it ought to be between unzip and upx...

What am I missing?

Thanks,
Marc
-- 
View this message in context: 
http://www.nabble.com/libXm.so-tp14555733p14560489.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: libXm.so

2007-12-31 Thread Ron Askew
I did not know that -p did an online check.
Thanks!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Dave Korn
Sent: Monday, December 31, 2007 6:09 AM
To: cygwin@cygwin.com
Subject: RE: libXm.so

On 31 December 2007 10:51, Captain Webber wrote:

> I've got all of Cygwin installed and cygcheck -p gives me:

  The output of cygcheck -p doesn't depend what you've got installed; it
connects to the cygwin website and uses the package search feature there, in
pretty much the same way as when you browse to it.

> 
> $ cygcheck -p libXm
> Found 11 matches for libXm.

  Yes, it detects partial matches, so you're also seeing various libxml and
libxmi stuff; that's why I used "libXm.dll" as the argument to -p, adding
the
extension cuts out the false positives.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: internal error alloc with echo/cat and workaround

2007-12-31 Thread Stepp, Charles
How about trying cpio_nbr=$(<$sprojdir/cpionbr). That "cat <" is
unnecessary. For that matter, the '<' is unnecessary with the use of
'cat'. That error looks like a bug to be pursued, though.

Charles Stepp
Meskimen's Law:
There's never time to do it rite, but there's always time to do it over.
-Original Message-
From: Irving Bunton [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 29, 2007 8:19 AM
To: cygwin@cygwin.com
Subject: internal error alloc with echo/cat and workaround

I have a ksh shell script that does echo/cat to from a file which is
on a mounted file system
C:\home   58612648  56353660   2258988  97% /home
The ksh script file on the mounted file system is
/home/irvb/bin/massjupdate.ksh (attached)
Like all ksh scripts it has !#/bin/ksh as the first line.
I was executing the ksh script from another script /tmp/whyu (attached)

In the ksh script that has the problem (massjupdate.ksh),
I was using echo/cat to/from a file ($sprojdir/cpionbr) which is also
on a mounted file system
C:\var\opt\bea58612648  56353784   2258864  97% /var/opt/bea

For example in the ksh shell script on the mounted volume
(/home/irvb/bin/massjupdate.ksh)
 echo 1 > $sprojdir/cpionbr
and
cpio_nbr=$(cat < $sprojdir/cpionbr)

I get this error
internal error: alloc: freeing memory outside of block (corrupted?)

This is diffucult to isolate as when I put the equivalent line in a
ksh on a mounted file system, it has no problem.
When I change the script to be sh vs ksh, the error goes away.
Another way to avoid the error is to use cd to change to the directory
for ksh which has the problem
for example
cd $sprojdir/cpionbr
echo 1 > cpionbr
cpio_nbr=$(cat < cpionbr)
cd $spwd

Or use sh as well to avoid the problem (i.e. #!/bin/sh instead of
#!/bin/ksh

I was also using one shell script to call the other one

I used the 1.5.24-2 as well as the lastest version 1.5.25-7 and have
the same problem

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: libXm.so

2007-12-31 Thread Dave Korn
On 31 December 2007 10:51, Captain Webber wrote:

> I've got all of Cygwin installed and cygcheck -p gives me:

  The output of cygcheck -p doesn't depend what you've got installed; it
connects to the cygwin website and uses the package search feature there, in
pretty much the same way as when you browse to it.

> 
> $ cygcheck -p libXm
> Found 11 matches for libXm.

  Yes, it detects partial matches, so you're also seeing various libxml and
libxmi stuff; that's why I used "libXm.dll" as the argument to -p, adding the
extension cuts out the false positives.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: libXm.so

2007-12-31 Thread Captain Webber
I've got all of Cygwin installed and cygcheck -p gives me:

$ cygcheck -p libXm
Found 11 matches for libXm.
XFree86-lib-compat/XFree86-lib-compat-4.3.0-1   Cygwin/X 4.2.0 shared
libraries
XFree86-lib-compat/XFree86-lib-compat-4.3.0-2   Cygwin/X 4.2.0 shared
libraries
XmHTML/XmHTML-1.1.7-1   A widget capable of displaying HTML 3.2 conforming
text
XmHTML/XmHTML-1.1.7-2   A widget capable of displaying HTML 3.2 conforming
text
lesstif/lesstif-0.93.91-6   lesstif
lesstif/lesstif-0.93.94-2   lesstif
lesstif/lesstif-0.94.4-1lesstif
xorg-x11-devel/xorg-x11-devel-6.8.1.0-1 Cygwin/X headers and import
libraries
xorg-x11-devel/xorg-x11-devel-6.8.2.0-1 Cygwin/X headers and import
libraries
xorg-x11-devel/xorg-x11-devel-6.8.2.0-2 Cygwin/X headers and import
libraries
xorg-x11-devel/xorg-x11-devel-6.8.99.901-1  Cygwin/X headers and import
libraries

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Dave Korn
Sent: Monday, December 31, 2007 5:39 AM
To: cygwin@cygwin.com
Subject: RE: libXm.so

On 31 December 2007 10:30, Captain Webber wrote:
> -Original Message-
> > From: cygwin-owner On Behalf Of horacioemilio
> > Sent: Monday, December 31, 2007 4:45 AM

> > I need to install some application which on linux requires libXm.so.
efore
> > trying to install it I checked and there is no such thing on my cygwin
> > installation. Should I install some other package or program to be able
to
> > use/have this file ?

> Cygwin library have the .dll and .dll.a suffixes.
> 
> Why did you not just search for the file your-self?
> 
> /usr/X11R6/lib/libXm.dll.a
> /usr/X11R6/lib/libXm.la

  Problem being that doesn't help if you don't already have it installed.

  http://cygwin.com/packages/ is the best place to search.  If it's in the
cygwin distro, that will tell you which package you need installed.

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=libXm.dll
  Looks like it's shipped with lesstif.

  You can also use the -p option to cygcheck to search from the shell:

/artimi/software/firmware $ cygcheck -p libXm.dll
Found 3 matches for libXm.dll.
lesstif/lesstif-0.93.91-6   lesstif
lesstif/lesstif-0.93.94-2   lesstif
lesstif/lesstif-0.94.4-1lesstif
/artimi/software/firmware $

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: libXm.so

2007-12-31 Thread Dave Korn
On 31 December 2007 10:30, Captain Webber wrote:
> -Original Message-
> > From: cygwin-owner On Behalf Of horacioemilio
> > Sent: Monday, December 31, 2007 4:45 AM

> > I need to install some application which on linux requires libXm.so. efore
> > trying to install it I checked and there is no such thing on my cygwin
> > installation. Should I install some other package or program to be able to
> > use/have this file ?

> Cygwin library have the .dll and .dll.a suffixes.
> 
> Why did you not just search for the file your-self?
> 
> /usr/X11R6/lib/libXm.dll.a
> /usr/X11R6/lib/libXm.la

  Problem being that doesn't help if you don't already have it installed.

  http://cygwin.com/packages/ is the best place to search.  If it's in the
cygwin distro, that will tell you which package you need installed.

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=libXm.dll
  Looks like it's shipped with lesstif.

  You can also use the -p option to cygcheck to search from the shell:

/artimi/software/firmware $ cygcheck -p libXm.dll
Found 3 matches for libXm.dll.
lesstif/lesstif-0.93.91-6   lesstif
lesstif/lesstif-0.93.94-2   lesstif
lesstif/lesstif-0.94.4-1lesstif
/artimi/software/firmware $

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: libXm.so

2007-12-31 Thread Captain Webber

Cygwin library have the .dll and .dll.a suffixes.  

Why did you not just search for the file your-self?

/usr/X11R6/lib/libXm.dll.a
/usr/X11R6/lib/libXm.la

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
horacioemilio
Sent: Monday, December 31, 2007 4:45 AM
To: cygwin@cygwin.com
Subject: libXm.so


Hi,

I need to install some application which on linux requires libXm.so. efore
trying to install it I checked and there is no such thing on my cygwin
installation. Should I install some other package or program to be able to
use/have this file ?

Thanks

-- 
View this message in context:
http://www.nabble.com/libXm.so-tp14555733p14555733.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



libXm.so

2007-12-31 Thread horacioemilio

Hi,

I need to install some application which on linux requires libXm.so. efore
trying to install it I checked and there is no such thing on my cygwin
installation. Should I install some other package or program to be able to
use/have this file ?

Thanks

-- 
View this message in context: 
http://www.nabble.com/libXm.so-tp14555733p14555733.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/