#3150: Ghostscript-9.00
--------------------------------------+-------------------------------------
 Reporter:  k...@…                     |       Owner:  k...@…                   
     Type:  task                      |      Status:  assigned                
 Priority:  normal                    |   Milestone:  6.7                     
Component:  BOOK                      |     Version:  SVN                     
 Severity:  normal                    |    Keywords:                          
--------------------------------------+-------------------------------------

Comment(by ra...@…):

 Well, I'm done here Ken. My whole deal was why wasn't an x11 driver being
 built? Apparently it is not in the default ALL set of drivers any longer.
 It used to be. So I simply added it and then it built fine. You do
 whatever you feel is right; however, I'm going with this for my build (we
 will need to have individual explanations for each optional package, i.e.,
 break out the sed and removal of directories):

 1. Remove the zlib directory.

 2. Remove any or all of the following directories (jasper jpeg tiff libpng
 freetype jbig2dec lcms expat)

 3. Apply the Jasper patch if that directory was removed.

 4. Run configure
 {{{
 ./configure --prefix=/usr \
             --with-system-libtiff \
             --enable-dynamic \
             --with-drivers=ALL,x11
 }}}
 Note that --with-drivers=ALL is the default. I only use it to add the x11
 driver. Also the --with-system-libtiff line is optional.

 5. Apply ghostscript-9.00-system_zlib-1.patch (in the LFS repo)

 6. Run any or all of the following seds (The zlib sed is mandatory, the
 rest broken out with individual explanations)
 {{{
 sed -i -e 's|SHARE_FT=0|SHARE_FT=1|'                                  \
        -e 's|SHARE_LCMS=0|SHARE_LCMS=1|'                              \
        -e 's|ZSRCDIR=src|ZSRCDIR=zlib|'                               \
        -e 's|LCMSSRCDIR=lcms|LCMSSRCDIR=/usr|'                        \
        -e 's|=imdi|&\n\n# Use system expat library\n\nSHARE_EXPAT=1|' \
     Makefile
 }}}

 7.  Run make and the rest of the instructions.

 Works for me. I'm moving on. Thanks for working with me on this.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3150#comment:29>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to