Cups 1.6

2012-08-09
2012-12-23
<< < 1 2 (Page 2 of 2)
  • adskankster

    adskankster - 2012-09-04

    Found this:


    r9989 | mike | 2011-09-09 11:35:07 -0700 (Fri, 09 Sep 2011) | 2 lines

    libcupsdriver.so no longer exists.

    http://www.cups.org/articles.php?L634

    Can't find where it's all moved to. Most of the documentation seems to refer to 1.5 with very little on 1.6.

     
  • adskankster

    adskankster - 2012-09-04

    Here's the 1.6 cups-config man entry:

    NAME
           cups-config - get cups api, compiler, directory, and link information.

    SYNOPSIS
           cups-config -api-version
           cups-config -build
           cups-config -cflags
           cups-config -datadir
           cups-config -help
           cups-config -ldflags
           cups-config   -libs
           cups-config -serverbin
           cups-config -serverroot
           cups-config -version

    DESCRIPTION
           cups-config  is the CUPS program configuration utility. It should be used by application developers to determine the necessary command-line options for the compiler and linker, as well as determin‐
           ing installation directories for filters, configuration files, and drivers.

    OPTIONS
           -api-version
                Displays the current API version (major.minor).

           -build
                Displays a system-specific build number.

           -cflags
                Displays the necessary compiler options.

           -datadir
                Displays the default CUPS data directory.

           -help
                Displays the program usage message.

           -image
                When used with -libs, adds the CUPS imaging library to the list of displayed libraries.

           -ldflags
                Displays the necessary linker options.

           -libs
                Displays the necessary librarys to link to.

           -serverbin
                Displays the default CUPS binary directory, where filters and backends are stored.

           -serverroot
                Displays the default CUPS configuration file directory.

           -static
                When used with -libs, shows the static libraries instead of the default (shared) libraries.

           -version
                Displays the full version number of the CUPS installation (major.minor.patch).

    Here's the result if a cups-config call with most options. Let me know if you want a different combination:

    $cups-config -cflags -build -libs -datadir -ldflags

    cups-1.6.1
    -lcups -Wl,-O1,-sort-common,-as-needed,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -lpthread -lm -lcrypt -lz
    /usr/share/cups

     
  • PaulN

    PaulN - 2012-09-04

    I think we need to link -lcupsfilters instead of -lcupsdriver

     
  • PaulN

    PaulN - 2012-09-04

    version c2esp26~rc5 tries to link -lcupsfilters

     
  • SysEngBD

    SysEngBD - 2012-09-05

    I just tried building from c2esp~rc6 and get the following:

    c2espcommon.c:16:86: fatal error: cups/driver.h: No such file or directory
    compilation terminated.
    make: ***  Error 1
    make: *** Waiting for unfinished jobs….
    c2esp.c:33:52: fatal error: cups/driver.h: No such file or directory
    compilation terminated.
    make: ***  Error 1

     
  • SysEngBD

    SysEngBD - 2012-09-05

    Sorry, c2esp26~rc5

     
  • adskankster

    adskankster - 2012-09-05

    Hello c2esp26~rc5 built successfully on my computer and I was able to print to the printer - not tried anything more than a basic lp xxx.pdf but that printed fine.

    However, I built it before seeing sysengbd's posts above, so I've just checked and I still have a symlink of driver.h in /usr/include/cups leftover from earlier tests. I'll remove that and try again.

     
  • adskankster

    adskankster - 2012-09-05

    Yep, I've just tested with and without drivers.h symlink and it builds with it, and not without it.
    So it's just looking for driver.h in the wrong place, it should be in /usr/include/cupsfilters.

     
  • SysEngBD

    SysEngBD - 2012-09-05

    Yes, that's exactly my experience - I should have mentioned that I removed the symlink to driver.h from earlier tests to see if it built cleanly without modification.

    Cheers

     
  • PaulN

    PaulN - 2012-09-05

    Yes - I'm afraid I forgot that I needed to change the #include directives in the source files.
    So I'll fix that and upload c2esp26~rc6 in a few hours

     
  • SysEngBD

    SysEngBD - 2012-09-05

    Great, I should have time this evening to test rc6 out, once you upload it.

    Cheers

     
  • PaulN

    PaulN - 2012-09-06

    Sorry, there's a delay because I can't get any version of c2esp to run now without crashing

     
  • PaulN

    PaulN - 2012-09-06

    c2esp26~rc6 is available now. I'm hoping I've got everything right this time.
    Yesterday it was not printing for me. I think that might have been that I had an old ppd. It seemed to work OK today after I deleted the printer queue and made a new one.

     
  • adskankster

    adskankster - 2012-09-06

    That built correctly with no symlinks. I can't test it until tomorrow UK time, but I'll do it first thing and report back here.

    Many thanks for providing and sorting this. It's massively appreciated. :)

     
  • SysEngBD

    SysEngBD - 2012-09-06

    c2esp26~rc6 built fine for me as well with no modifications. I printed a test page with it as well and that worked perfectly fine. Like adskankster, I massively appreciate you getting this sorrted, and all this work in general. Thanks paulnewal!

     
  • adskankster

    adskankster - 2012-09-07

    I printed a test page as well. Looks good.

     
  • PaulN

    PaulN - 2012-09-07

    c2esp26~rc6 has now been converted to c2esp26  (only the README file changed)

     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks