Splix 2.0.0 Compilation/Installation

  • kccricket

    kccricket - 2008-06-04

    I have been attempting to compile and install Splix 2.0.0-rc1 on Ubuntu without success.  I have read others' posts and have learned from their mistakes, to a degree.  I believe I have all the necessary packages installed.  Using either the 2.0.0-rc1 tarball from SF or rev 211 from SVN I experience the following:
    Issuing a make in the root of the package tree seems to complete successfully:
    $ make
         GEN               .defs.mk..
    |      THREADS     =  enabled                 |
    |      THREADS Nr  =        2                 |
    |      CACHESIZE   =       30                 |
    |      JBIG        =  enabled                 |
    |      BLACK OPTIM =  enabled                 |
    (Do a "make clean" before updating these values)

         CXX               src/rastertoqpdl.cpp
         CXX               src/request.cpp
         CXX               src/printer.cpp
         CXX               src/qpdl.cpp
         CXX               src/document.cpp
         CXX               src/core.cpp

    INSTALL says to issue a make install, like any other Makefile-based package package.  However, the root Makefile doesn't contain an install clause.  The Makefile in the ppd directory crashes and burns if called as 'make ppd'.  It seems to reference variables defined in the root Makefile, but the root makefile never seems to call the ppd makefile.

    What am I missing here?  Thanks!

    • kccricket

      kccricket - 2008-06-07

      Ok, after much struggle, I think I've managed to get everything compiled and installed.  I have a CLP-300 installed in CUPS using the Splix 2.0.0 ppd.  However, when I print anything, I get the following error in the logs:
      E [07/Jun/2008:15:19:57 -0400] [Job 15] SpliX Cannot open job
      E [07/Jun/2008:15:19:57 -0400] [Job 15] SpliX Error while rendering the request. Check the previous message

      Seems rather cryptic.

    • kccricket

      kccricket - 2008-06-07

      I turned on CUPS debugging and this seems to be the relevant information from the logs:

      D [07/Jun/2008:15:31:25 -0400] PID 28593 (/usr/lib/cups/filter/pstoraster) exited with no errors.
      D [07/Jun/2008:15:31:25 -0400] [Job 18] Error: /undefined in 3SaRÿþÿÀÿþûðþüþÿ
      D [07/Jun/2008:15:31:25 -0400] [Job 18] Operand stack:
      D [07/Jun/2008:15:31:25 -0400] [Job 18]
      D [07/Jun/2008:15:31:25 -0400] [Job 18] Execution stack:
      D [07/Jun/2008:15:31:25 -0400] [Job 18] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
      D [07/Jun/2008:15:31:25 -0400] [Job 18] Dictionary stack:
      D [07/Jun/2008:15:31:25 -0400] [Job 18] --dict:1149/1684(ro)(G)--   --dict:0/20(G)--   --dict:92/200(L)--
      D [07/Jun/2008:15:31:25 -0400] [Job 18] Current allocation mode is local
      D [07/Jun/2008:15:31:25 -0400] [Job 18] Last OS error: 2
      D [07/Jun/2008:15:31:25 -0400] [Job 18] GPL Ghostscript 8.61: Unrecoverable error, exit code 1
      E [07/Jun/2008:15:31:25 -0400] [Job 18] SpliX Cannot open job
      D [07/Jun/2008:15:31:25 -0400] Discarding unused printer-state-changed event...
      E [07/Jun/2008:15:31:25 -0400] [Job 18] SpliX Error while rendering the request. Check the previous message
      D [07/Jun/2008:15:31:25 -0400] Discarding unused printer-state-changed event...
      D [07/Jun/2008:15:31:25 -0400] PID 28595 (/usr/lib/cups/filter/pstoqpdl) exited with no errors.
      D [07/Jun/2008:15:31:25 -0400] PID 28596 (/usr/lib/cups/backend/hal) exited with no errors.
      D [07/Jun/2008:15:31:25 -0400] [Job 18] File 0 is complete.
      I [07/Jun/2008:15:31:25 -0400] [Job 18] Completed successfully.

      For whatever reason, Make wouldn't work through all the necessary steps, so I had to perform most of the compilation and installation steps manually.  The only thing I can think of is that one of the two filter apps is messed up somehow.  I would really appreciate some help with this!  Thanks.


Log in to post a comment.