|
From: Joel S. <js...@co...> - 2003-04-08 19:56:15
|
Thank you for your help with this problem. I have found that the problem is really in my distrobution, which for some reason is altering the configure script before running it. I was able to run the unmodified one fine. Below is a snippet of my post to the sourcemage users mailing list:
On to my problem. I was able to fix it, sort of, but it is not "really fixed" yet. What I found is that in the original source for scrollkeeper the offending line does not have a !, so it reads:
if xmlcatalog /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.1.2//EN" |
grep "No entry" >/dev/null ; then
Honestly the ! smelled funny to me in the first place. Anyway when I cast the spell, the resultant configure file in /usr/src/scrollkeeper-0.3.12 has:
if ! xmlcatalog /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.1.2//EN"
| grep "No entry" >/dev/null ; then
So somewhere the cast is inserting this ! which changes the test so that it succeeds only if you do *not* have the proper DTD installed. I was able to change this in the configure script, then do a
./configure && make && make install
and all was well, I was even able to cast gnome-terminal normally because although it still needed scrollkeeper to be cast and recast it it still compiled itself properly since scrollkeeper is really there (whereas it broke before because scrollkeeper was neither cast nor there). I am still interested in fixing this bug so I can cast scrollkeeper properly, and was planning to learn to write spells so learning how cast works will be beneficial anyway.
Just to make sure I am not being insane, I did the following:
$ cd /home/rifter/iftest
$ echo raar > raar
$ cat raar
raar
$ if cat raar | grep raar
> then
> echo true
> else
> echo false
> fi
raar
true
$ if cat raar | grep notthere
> then
> echo true
> else
> echo false
> fi
false
$
|