RE: Integrating Ralf's rebase into setup.exe

2003-01-03 Thread Ralf Habacker
> > 1) some that go to stdout probably should be stderr, and vice versa.
>
> still open. I think debug message should go to cerr and normal printing should
> go to cout.
>
This seems mostly to be fixed in the recent cvs release.

Ralf




RE: Integrating Ralf's rebase into setup.exe

2003-01-03 Thread Ralf Habacker
> Of course, rebind_main doesn't call BindImage or BindImageEx.  It does
> have a commented-out call to dll.rebind() -- but
> LinkedObjectFile::rebind() doesn't call BindImage() or BindImageEx
> either -- LinkedObjectFile::rebind() does all of the work itself.
>
> Looks like the factorization isn't quite complete...work in progress, right?

You've got the point :-)
BindImage[Ex]() is only an imagehlp compatible wrapper, which I have written
later. And it works, so I haven't recognized this.

>
> 1) some that go to stdout probably should be stderr, and vice versa.

still open. I think debug message should go to cerr and normal printing should
go to cout.

> 2) some are guarded by 'if (debug)' and probably should be 'if (some
> library call that returns the value of debug for this instance)' -- but
> I didn't really check the lexical scope.  These may be fine.

For building and debugging a standalone rebase i think it is good.
For the setup integration we can change this later.

> 3) some aren't even guarded at all, and should be.

I'm preparing a patch for this.

> 4) Then there's that whole exceptions vs. print-an-error-message from
> within the library deal.
>
still open

Ralf




Re: Setup vertical scrollbar doesn't display

2003-01-03 Thread Max Bowsher
Earnie Boyd wrote:
> Max Bowsher wrote:
>> 
>> There is no other way.
>> (Well, of course, it is possible, but please trust me - it's too
>> complicated.)
>> 
> 
> Too complicated!?!?  What's complicated about using tar in the root
> ``/'' directory?  Oh, yea, it's the meta package control that can't be
> easily duplicated.  The postinstall scripts would need to be manually
> executed.  The setup control data would need to be populated; but, if
> you don't use setup to upgrade that shouldn't matter.

But someone will. And then they will ask why setup isn't working properly.

> Other,
> automagical stuff that is executed by setup would be ignored or even
> unknown.
> 
> Making statements that give the impression of ``you really don't want
> to understand what setup does'' is just asking to have you explain
> what setup does that can't be done manually. ;)

Ok, ok. Maybe I should have said:

Yes, there is a way, but *when* it breaks, you get to keep the pieces.

Max.




RE: Integrating Ralf's rebase into setup.exe

2003-01-03 Thread Ralf Habacker
Hi Gary,

>
> How about "libhabackersimagehelp.a" etc?
>
this would suggest, that this is my lib, but there are also others who have
worked and probably will work on this library. I habe only started this lib

I think imagehelper will be good.

Ralf




Re: Setup vertical scrollbar doesn't display

2003-01-03 Thread Earnie Boyd
Max Bowsher wrote:


There is no other way.
(Well, of course, it is possible, but please trust me - it's too
complicated.)



Too complicated!?!?  What's complicated about using tar in the root 
``/'' directory?  Oh, yea, it's the meta package control that can't be 
easily duplicated.  The postinstall scripts would need to be manually 
executed.  The setup control data would need to be populated; but, if 
you don't use setup to upgrade that shouldn't matter.  Other, 
automagical stuff that is executed by setup would be ignored or even 
unknown.

Making statements that give the impression of ``you really don't want to 
understand what setup does'' is just asking to have you explain what 
setup does that can't be done manually. ;)

Earnie.



Re: Setup vertical scrollbar doesn't display

2003-01-03 Thread Max Bowsher
Richard Garrison wrote:
> for instance?ahforgot it was my laptop
>
> 1400x1050
>
> the following also does not work(tested each after
> rebooting)
>
> 1280x1024
> 1024x768
> 800x600

No, DPI, not resolution.
Right-click Desktop, choose Properties.
Settings tab.
Advanced button.
General (first) tab.
Top half.
Values like "Normal Size (96 DPI)", "Large Size (120 DPI)" or "Custom".

> do you know of a way of installing a package without
> using the setup application?

There is no other way.
(Well, of course, it is possible, but please trust me - it's too
complicated.)

Max.




Re: config.guess from dejagnu-20021217-1 installed in wrong directory

2003-01-03 Thread Christopher Faylor
On Fri, Jan 03, 2003 at 12:33:19PM +0100, Volker Zell wrote:
>Hi
>
>dejagnu-20021217-1 installs config.guess in /usr/sbin but runtest is 
>searching for in
>/usr/share/dejagnu or /usr/share/dejagnu/libexec resulting in:
>
>02:17 PM [513]> runtest --version
>ERROR: Couldn't find config.guess program.
>
>Also depending on your PATH statement runtest.exp is only found when 
>/usr/bin
>is in front of /bin. This is not a big problem because DEJAGNULIBS can 
>take care of this.

I've uploaded a new version of dejagnu.

Thanks for the heads up.

cgf



Re: Two versions of uptime, one in procps-010801-2 and one in sh-utils-2.0-3

2003-01-03 Thread Christopher Faylor
On Fri, Jan 03, 2003 at 11:56:49AM +0100, Volker Zell wrote:
>Hi
>
>There are two versions of uptime in the cygwin distro.
>
>The one from sh-utils-2.0-3 seems to be none functional.
>
>05:23 PM [513]> uptime
>uptime: couldn't get boot time: Bad file descriptor
>
>The one in procps-010801-2 works for me.

Very strange.  I specifically removed uptime.exe in my postinstall process
but it was definitely there.  When I reran the build it disappeared.

I've uploaded a new version of sh-utils based on the port available
at alpha.gnu.org.  It removes uptime.exe but that means that uptime.exe
will be completely gone from your system after updating to this version
of sh-utils.

I wonder if Chris January would mind either making a new release of
procps or bumping up the release number on the current one?  That would
probably just require renaming the bin tarball and repackaging the source
tarball.

Once that number is bumped, people will get uptime automatically.

cgf



Re: Setup vertical scrollbar doesn't display

2003-01-03 Thread Max Bowsher
Richard Garrison wrote:
> The vertical scrollbar in the setup (initiated from
> the download now icon) doesn't display in my windows
> XP pro (service pack 1 - mobile PIII) box. Using the
> identical procedure on my windows 2k boxes works fine
> (the scrollbar displays).

Is your XP box using a non-standard DPI setting?
(Display>Settings>Advanced>General)

This has been reported to cause this.

Max.




Re: nfsd and mountd

2003-01-03 Thread Joe Buehler
Pavel Tsekov wrote:


* Quote the word which indicates the end of the _here_document which
  is used to create /etc/exports

I don't understand very well why the last change was necessary but it 
fixed the following problem:

/usr/bin/nfs-server-config: 69: Syntax error: EOF in backquote substitution

For "here" documents, the body undergoes substitutions by the shell, depending
on how the keyword is quoted.  There is a backquote (`) in the original script,
in an unquoted here-doc, and that is indeed a syntax error, since the shell
is trying to expand it as a command substitution.

Try these:

cat <


config.guess from dejagnu-20021217-1 installed in wrong directory

2003-01-03 Thread Volker Zell
Hi

dejagnu-20021217-1 installs config.guess in /usr/sbin but runtest is 
searching for in
/usr/share/dejagnu or /usr/share/dejagnu/libexec resulting in:

02:17 PM [513]> runtest --version
ERROR: Couldn't find config.guess program.

Also depending on your PATH statement runtest.exp is only found when 
/usr/bin
is in front of /bin. This is not a big problem because DEJAGNULIBS can 
take care of this.

Ciao
  Volker



Two versions of uptime, one in procps-010801-2 and one in sh-utils-2.0-3

2003-01-03 Thread Volker Zell
Hi

There are two versions of uptime in the cygwin distro.

The one from sh-utils-2.0-3 seems to be none functional.

05:23 PM [513]> uptime
uptime: couldn't get boot time: Bad file descriptor

The one in procps-010801-2 works for me.

Ciao
  Volker