compiling gs-aladdin_4.03-7 (fwd)

1997-01-21 Thread Paul Tanner

There's a bug, but I'm not sure if it's me or the source package.

I sucessfully compiled, but ONLY after making these changes:  

   change in wrapper.c
change:  #include paper.h  to: #include paper.h


  change in debian/rules 
change: 
install -m 0644 -o root -g root debian/setuid /usr/doc/gs/setuid
install -m 0644 -o root -g root debian/changelog /usr/doc/gs/changelog
install -m 0644 -o root -g root debian/README /usr/doc/gs/README

to:
install -m 0644 -o root -g root debian/setuid  
debian/tmp/usr/doc/gs/setuid
install -m 0644 -o root -g root debian/changelog 
debian/tmp/usr/doc/gs/changelog
install -m 0644 -o root -g root debian/README  
debian/tmp/usr/doc/gs/README




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: compiling gs-aladdin_4.03-7 (fwd)

1997-01-21 Thread joost witteveen
 
 
 There's a bug, but I'm not sure if it's me or the source package.
 
 I sucessfully compiled, but ONLY after making these changes:  
Thanks for the report, but none of the changes you mention
make _compiling_ easier (though the ./debian/rules binary stuff
was indeed impossible on systems that didn't already have
gs installed.)

 
change in wrapper.c
 change:  #include paper.h  to: #include paper.h

Well, that means at least that you don't understand what
  #include filename.h 
means (it means: first look in the current dir, and then look
in the other system include dirs for filename.h), and,
if your compiler actuall didn't allow you to compile the
wrapper without the above change, then it also means
that your C preprocessor doesn't understand it. That
would be very strange -- what compiler are you using?
(gcc 2.7.2.1-2 on my system seems to be OK).

But, you are right in saying that I should replace the
 by  in the source, the paper.h file isn't in the
./debian dir, so I can just as well use .


   change in debian/rules 
 change: 
 install  root debian/setuid /usr/doc/gs/setuid
 to:
 install  root debian/setuid  debian/tmp/usr/doc/gs/setuid
[..and more..]

Wow that's serious! You really should have filed a bug when you
discovered this! (and this once more underlies the need for
the build stage to be done by ordinary users, not by root).
I changed those (and the - one) in my sources, will probably
be uploading new version soon.

Thanks,

-- 
joost witteveen
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
--
Use Debian/GNU Linux!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]