Re: Compiling ghostscript 5.50 on woody : HELP !!!

2001-04-24 Thread Osamu Aoki
On Mon, Apr 23, 2001 at 11:48:46PM +0200, Dominique Deleris wrote:
> I know that configuring my /etc/printcap with magicfilterconfig is OK,
> but then I don't have access to my newly compiled driver...
> 
> I've seen that you are the package maintainer for printtool, so I guess
> you're the right person to ask :)

First current version on woody only works for LPRng (I know what it
saids in package description.)  If you want to use lpr(BSD) then
installing from Stormix may be a choice (Not tested but program has been
checked).

You can set up with similar printer and edit entry for your needs.
/etc/printcap is basic.

For printtool /var/spool/lpr... are places to look.

Whatever filter program you use, GS does PS to printer format conversion
and that the only thing needed for new printer not listed in these
convienience packages.  gs -v or something print out usable drivers.

Good luck.

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  For my debian quick-reference, peek into:  +
+   http://www.aokiconsulting.com/quick/  +



Re: Compiling ghostscript 5.50 on woody : HELP !!!

2001-04-23 Thread Dominique Deleris
Thanks a lot !

I finally succeeded compiling ghostscript painless, thanks to you ;-)

Now I have another (hopefully final) problem : when setting my printer
with printtool, and trying to print ASCII test to it, nothing happens.

I know that configuring my /etc/printcap with magicfilterconfig is OK,
but then I don't have access to my newly compiled driver...

I've seen that you are the package maintainer for printtool, so I guess
you're the right person to ask :)

Thanks for your help.

Dominique, from Lausanne (Switzerland)



Re: Compiling ghostscript 5.50 on woody : HELP !!!

2001-04-22 Thread Osamu Aoki
On Sun, Apr 22, 2001 at 10:18:26PM +0200, Dominique Deleris wrote:
> 1. download sources for ghostscript 5.50 from unstable (sid)
...
> 4. go to gs5.50 directory and make
> 
> Result :
> make: gdevx.c: Command not found
> make: *** [gdevx.o] Error 127

It may be easier following previous debian package (Successful compile).

Read packaging-manual

Whem you make debian package, do not just "make" but use packaging command
If you are building package named "package"
Do something like following

$ dpkg-source -x package.dsc
$ cd package
 ... make changes for your needs
# ./debian/rules binary
# cd ..
# dpkg -i packagefile.deb

For gohstscript, original packager had many instructions for potato
package what to do.  I got tired and did not do thing on recompilation.

Good luck.

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  For my debian quick-reference, peek into:  +
+   http://www.aokiconsulting.com/quick/  +



Compiling ghostscript 5.50 on woody : HELP !!!

2001-04-22 Thread Dominique Deleris
Hello there...

I bought a brand new printer yesterday (HP deskjet 959C), and
I am now trying to install the latest HP drivers (yes they now
provide drivers for linux)...

The problem is that I have to compile ghostscript from source.

Question : does anybody have succeeded in this ? It's a real
pain in the ass ! :-(

Here's what I do :

1. download sources for ghostscript 5.50 from unstable (sid)
and ghostscript site
gnu-gs-5.50jpeg.tar.gz
gnu-gs-5.50libpng.tar.gz
gnu-gs-5.50zlib.tar.gz
gnu-gs-fonts-other-5.50.tar.gz
gnu-gs-fonts-std-5.50.tar.gz
gs_5.50-6.diff.gz
gs_5.50.orig.tar.gz

2. Extract sources and patch them with debian patch (diff file)
in gs/gs5.50

3. Extract additional libs and respect directory hierarchy
gs
¦__libjpeg
¦__gs5.50
¦__zlib
¦__libpng
¦__obj

4. go to gs5.50 directory and make

Result :
make: gdevx.c: Command not found
make: *** [gdevx.o] Error 127

What can I do ??? I already spent one day trying to compile
this piece of s :-((

Please help me

Dominique