Re: AfterStep1.5pre7 questions

Daniel Clausen (
Thu, 13 Aug 1998 16:46:45 +0200

Hi there, Dave

thanks for your reply. I'm still a lil confused though:

On Wed, 12 Aug 1998, Daniel Clausen wrote:

:! 1. I don't seem to be able to use the patch-files. I used GNUPatch2.5
:!    and get the following error msg:
:!       can't find file to patch at input line 4
:!    Funny thing is that there's no file on line 4, but some lines
:!    with @@ in it. Is this maybe a special format for a patch file? I
:!    used to patch a lot in the past (laughs) but never saw this format.
:!    Is it maybe something Linux-specific? (I'm using an Alpha with OSF1)
:        Which patch is this, is it the 02 patch?  If so, that patch was
:posted without the full path in the file, simply mv it to the src/afwharf
:dir and do the patch (gunzip -c allanon-02-wharf_icon_mask.patch.gz |
:patch -p1).

Actually it happens with both patches. (01 and 02). This is the output I get
from 2 versions of patch:

Version 1: (patch version 1.0)
[tiger/cld]~/Library/AS> patch -p1
Hmm...  I can't seem to find a patch in there anywhere.

Version 2: (gnupatch version 2.5)
[tiger/cld]~/Library/AS> gnupatch -p1 <allanon-02-wharf_icon_mask_patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- src/afwharf/Wharf.c        Sun Aug  9 18:08:50 1998
|+++ src/afwharf/Wharf_new.c    Sun Aug  9 18:09:26 1998
File to patch: [hit CTRL-C]

I think it's because of the special format of the patch file. Patchfiles I know
and which work looks like this:

*** 48,54 ****
        rsa.o dsa.o dsaparam.o \
        x509.o genrsa.o s_server.o s_client.o speed.o \
        s_time.o $(A_OBJ) $(S_OBJ) version.o sess_id.o \
!       ciphers.o

but the 01 and 02 patch files have a different structure. Oh well, guess I will
patch it by hand then, since they're not THAT big.

:! 2. I noticed that '' didn't find its way in the
:!    distribution.
:        That's because that file is a non-existant file - there is no such
:thing.  Perhaps you are thinking of the

No, I meant I'm quite sure that pre6 had this file. And it's
surely referenced in the README-file of pre7:

1-1. Edit file in this directory if needed.

No biggie though, since I don't intend to change something in this file anymore.

:! 4. 'make' ran fine until it entered 'doc/afterstep'. There it stopped
:!    with:
:!      Don't know how to make all
:        More than likely due to the additions you made to the
:compilation.h.  Did it actuallstop with a warning or error?  Is it due to
:not having the sgml2html tools?

I did correct the problem with XPM being redefine (was my fault, of course).
Everything builds fine now - but still until doc/afterdoc:

making all in ./doc/afterdoc...
Make: Don't know how to make all.  Stop.
*** Exit 1

A 'grep : Makefile' showed that this Makefile just doesn't have an 'all'
target. Could you please send me your doc/afterstep/Makefile, so that I can
compare the two?

:! 5. I'm forced to install AfterStep as non-root. So I was rather glad I
:!    could specify install-dirs etc during the configure script. I
:!    noticed some problems with 'make install'. Half of the things were
:!    installed at the proper place, the other files produced
:!    'permission denied' errors, because they wanted to be installed in
:!    '/usr/local/'
:        You'll need to change all the paths (during ./configure) if you
:are a non-root user. I have checked this and it does work, perhaps you
:missed something?

I tried it 3 times now and I'm pretty sure I set all variables, but it still
doesn't work for me. So I had a look at 2 Makefiles. (in ascd and asdm)

[tiger/cld]~/afterstep/src/ascd> more Makefile | grep usr/local/bin
[tiger/cld]~/afterstep/src/ascd> ../asdm
[tiger/cld]~/afterstep/src/asdm> more Makefile | grep usr/local/bin
BINDIR = /usr/local/bin

So the BINDIR is correct in the ascd-case but wrong in the asdm-case. But during
./configure I was only asked for a single installation path for binaries.
There are directories where BINDIR is correct and there are others where
it is not. Now I'm a lil confused. :)


 If it can't be expressed in figures, it is not science; it is opinion.
                                 -- Lazarus Long (Time Enough For Love)