View previous topic :: View next topic |
Author |
Message |
vert Apprentice
Joined: 07 May 2002 Posts: 214 Location: Delft, The Netherlands
|
Posted: Tue May 21, 2002 7:27 am Post subject: How to Ebuild ghostscript with changed Makefile ?? |
|
|
I'm trying to get my printer to work. Therefor I need to recompile ghostscript with a specific printer driver included. This is what I did:
1. Unpack the ghostscript source (from /usr/portage/distfiles/)
2. Edit the Makefile
3. Tar the ghostscript dir back into an tar.bz2 archive
4. Replace the orginal with the new source archive
5. Change the md5sum and size in the ghostscript digest file
6. Run emerge ghostscript
Everything then works as normal, only the driver is not compiled. Tried other drivers, but it seems the configuration changes are simply ignored. I also tried the whole process with ebuild steps, but (not surprising) still no drivers. Am I doing something wrong?? Is it true that the changes are ignored by the ghostscript ebuild ??
Any help is very much appreciated. I would really really like to print under gentoo |
|
Back to top |
|
|
vert Apprentice
Joined: 07 May 2002 Posts: 214 Location: Delft, The Netherlands
|
Posted: Wed May 22, 2002 9:42 am Post subject: |
|
|
Is there really nobody that can help me with this problem??
No ghostscript/ebuild experts around?
|
|
Back to top |
|
|
Curious Bodhisattva
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Wed May 22, 2002 10:04 am Post subject: Re: How to Ebuild ghostscript with changed Makefile ?? |
|
|
vert wrote: |
1. Unpack the ghostscript source (from /usr/portage/distfiles/)
2. Edit the Makefile
3. Tar the ghostscript dir back into an tar.bz2 archive
4. Replace the orginal with the new source archive
5. Change the md5sum and size in the ghostscript digest file
6. Run emerge ghostscript
|
I know nothing about your specific problem, but why not emerge ghostscript, recompile ghostscript with the custom driver in, say, your home directory, test if it works, and then copy the files over the top of the installed ones?
Of course, an update will break this, but it would break it your way regardless.
Bryn. _________________ Are you down with the Hawk? |
|
Back to top |
|
|
vert Apprentice
Joined: 07 May 2002 Posts: 214 Location: Delft, The Netherlands
|
Posted: Sat May 25, 2002 5:24 pm Post subject: |
|
|
I tried your suggestion, but the compile breaks on some function (right now I'm not behind my computer). I tried using binaries from a debian server (same version, which does have all printer support...) but no luck. It can't find all sorts of things. And I would still like to know if it isn't possible to use the ebuild tools in this case. I think it is very strange the modifications are just ignored |
|
Back to top |
|
|
|