how to install software in cygwin without installer

2005-11-09 Thread Liu Haibin
Hi,

I'm using a product which integrates a cygwin. I want to install some
software like gcc in this cygwin. But the problem is this cygwin
doesn't have a installer. Any idea how I can install software in this
special cygwin?


Regards,
Haibin

--
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/



error on installing new packages for the third-party cygwin

2005-12-19 Thread Liu Haibin
Hi,

I'm using a product which integrates cygwin. I wanted to install a new
package into this cygwin but after installation, I got an error
message when I ran the newly installed package.

"The procedure entry point __getreent could not be located in the
dynamic link library cygwin1.dll"

I googled and found that it could be multiple cygwin1.dll's problem.
But I found only one cygwin1.dll on my computer, which is installed by
the product I'm using.

By the way, I just downloaded a setup.exe and changed the root
directory to the product's cygwin's root to install the new package.

Any idea what went wrong. Could it be that installing a new package
will install another cygwin1.dll?


Regards,
Haibin

--
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/



base-files-mketc.sh hangs

2005-12-26 Thread Liu Haibin
Hi,

I got a problem after I reinstalled cygwin.
/etc/postinstall/base-files-mketc.sh hangs there everytime I install
packages. And it will produce some log files like
setup.log.postinstallXa00156 under /var/log. I tried to run
/etc/postinstall/base-files-mketc.sh in the shell and it ran ok. Any
idea what went wrong?


Regards,
Haibin

--
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: base-files-mketc.sh hangs

2005-12-26 Thread Liu Haibin
On 12/27/05, Igor Peshansky <[EMAIL PROTECTED]> wrote:
> > I got a problem after I reinstalled cygwin.
> > /etc/postinstall/base-files-mketc.sh hangs there everytime I install
> > packages.
>
> This is obviously not normal.  Do you press "Cancel" to interrupt it?

Yes, I do.

> > And it will produce some log files like setup.log.postinstallXa00156
> > under /var/log.
>
> This, however, is.  That's the mechanism setup uses to get the script
> output into its log.

Those setup.log.postinstall files are all 0 byte. But I do remember I
saw one file with one sentence like child process died. I can't
remember it exactly. Unfortunately I deleted it.

> > I tried to run /etc/postinstall/base-files-mketc.sh in the shell and it
> > ran ok. Any idea what went wrong?
>
> Not really -- there isn't enough information in your report.  Please read
> and follow the Cygwin problem reporting guidelines at
> , especially the part about attaching (as
> an uncompressed text attachment) the output of "cygcheck -svr" on your
> system.

Attached is the file. The cygwin is provided by a product I'm using. I
installed extra packages like gcc and upgraded the cygwin1.dll
(otherwise the new installed gcc won't work)


cygcheck.out
Description: Binary data
--
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: base-files-mketc.sh hangs

2005-12-26 Thread Liu Haibin
I tried changing base-files-mketc.sh to base-files-mketc.sh.done and
it started to hang at cygwin-doc.sh


On 12/27/05, Liu Haibin <[EMAIL PROTECTED]> wrote:
> On 12/27/05, Igor Peshansky <[EMAIL PROTECTED]> wrote:
> > > I got a problem after I reinstalled cygwin.
> > > /etc/postinstall/base-files-mketc.sh hangs there everytime I install
> > > packages.
> >
> > This is obviously not normal.  Do you press "Cancel" to interrupt it?
>
> Yes, I do.
>
> > > And it will produce some log files like setup.log.postinstallXa00156
> > > under /var/log.
> >
> > This, however, is.  That's the mechanism setup uses to get the script
> > output into its log.
>
> Those setup.log.postinstall files are all 0 byte. But I do remember I
> saw one file with one sentence like child process died. I can't
> remember it exactly. Unfortunately I deleted it.
>
> > > I tried to run /etc/postinstall/base-files-mketc.sh in the shell and it
> > > ran ok. Any idea what went wrong?
> >
> > Not really -- there isn't enough information in your report.  Please read
> > and follow the Cygwin problem reporting guidelines at
> > <http://cygwin.com/problems.html>, especially the part about attaching (as
> > an uncompressed text attachment) the output of "cygcheck -svr" on your
> > system.
>
> Attached is the file. The cygwin is provided by a product I'm using. I
> installed extra packages like gcc and upgraded the cygwin1.dll
> (otherwise the new installed gcc won't work)
>
>
>

--
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: base-files-mketc.sh hangs

2005-12-27 Thread Liu Haibin
On 12/27/05, Igor Peshansky <[EMAIL PROTECTED]> wrote:
> > > > I tried to run /etc/postinstall/base-files-mketc.sh in the shell and
> > > > it ran ok. Any idea what went wrong?
> > >
> > > Not really -- there isn't enough information in your report.  Please
> > > read and follow the Cygwin problem reporting guidelines at
> > > , especially the part about attaching
> > > (as an uncompressed text attachment) the output of "cygcheck -svr" on
> > > your system.
> >
> > Attached is the file. The cygwin is provided by a product I'm using. I
> > installed extra packages like gcc and upgraded the cygwin1.dll
> > (otherwise the new installed gcc won't work)
>
> First things first: this list does not support third party products
> () that integrate Cygwin in possibly
> weird ways.  You should try asking *them* (Altera?) for support on your
> problem (especially if you've paid for the product), unless you can also
> reproduce it on a clean (official) Cygwin installation.

I'm just doing some hacking on the product. I don't think Altera is
happy to know that I add extra packages in their cygwin ;-)


> > > > I got a problem after I reinstalled cygwin.
> > > > /etc/postinstall/base-files-mketc.sh hangs there everytime I install
> > > > packages.
> > >
> > > This is obviously not normal.  Do you press "Cancel" to interrupt it?
> >
> > Yes, I do.
>
> What does setup.log.full show after you interrupt the install?

Nothing much
"
2005/12/27 16:52:37 running: cmd.exe /c
C:\altera\quartus50\bin\cygwin\etc\postinstall\01bash.bat
2005/12/27 16:52:38 running:
C:\altera\quartus50\bin\cygwin\bin\bash.exe -c
/etc/postinstall/base-files-mketc.sh
2005/12/27 16:52:59 mbox note: Installation Complete
2005/12/27 16:53:00 Ending cygwin install
"

> > But I do remember I saw one file with one sentence like child process
> > died. I can't remember it exactly. Unfortunately I deleted it.
>
> See if you can reproduce this message on some install.  If you can, it
> would be interesting to see where it came from.  The content of the
> setup.log.postinstallX files is copied verbatim into setup.log.full,
> so it should have shown up for that installation (even if it was cancelled
> later).

See the attachment. These are obtained after I appended done to the
base-files-mketc.sh file and it hung on two other files
xorg-x11-fenc.sh and xorg-x11-fnts.sh. But I recall that the error
message is the same as base-files-mketc.sh.

As you mentioned before, it's probably bash problem.


> As I said above, it would be especially interesting if you can reproduce
> this problem on a clean Cygwin install on the same machine (you can
> temporarily rename the Altera Cygwin root folder, as well as the
> "HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions" registry key, do the clean
> install, and then remove the resulting folder and the registry key and
> rename the original back).
> HTH,

I have 3 entries in windows registry, which may be the cause of the problem.

Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/usr/bin
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/usr/lib
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus50_bin_cygwin_bin_cygwin1_dll
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus50_bin_cygwin_bin_cygwin1_dll\/
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus50_bin_cygwin_bin_cygwin1_dll\/usr/bin
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus50_bin_cygwin_bin_cygwin1_dll\/usr/lib
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus51_bin_cygwin_bin_cygwin1_dll
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus51_bin_cygwin_bin_cygwin1_dll\/
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus51_bin_cygwin_bin_cygwin1_dll\/usr/bin
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2
C__altera_quartus51_bin_cygwin_bin_cygwin1_dll\/usr/lib
Key Name:  HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\Program Options

Anyway, so far it's OK. I've not seen any bad effect of the problem.


haibin


setup.log.postinstallXa02520
Description: Binary data


setup.log.postinstallXa03848
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http: