Feb 4, 2010

Compiled and installed CUPS 1.4.2 on Solaris 10 U8

Today I downloaed the CUPS 1.4.2 release.

After setting some Environment variable to /usr/local/bin and /usr/local/lib ( installed packages from http://www.sunfreeware.com ) as decribed in
the INSTALL.txt file:
       CFLAGS="-I/some/directory" \
        CPPFLAGS="-I/some/directory" \
        CXXFLAGS="-I/some/directory" \
        DSOFLAGS="-L/some/directory" \
        LDFLAGS="-L/some/directory" \

I could compile and install CUPS, when I disable gss-api during the configure with --disable-gssapi ( Compile-Problems with Kerberos ).

Other options where --prefix and --enable-dbus --enable-dbus.

The source tree contains a SMF Descriptor in /init/cups.xml which 
can be imported with
svccfg import /init/cups.xml

After enabling the service, the browser can be pointed to http://localhost:631.

The new feature is, a searching button for printers in the network.
If you have the PPD files, the can also be supplied during the configuration.

Java-Printing with JDK 1.6.0 U18 in jEdit  results in a InvocationTragetException.

The solution was to add the cups-Library directory into LD_LIBRAY_PATH.
After this printing in jEdit with JDK worked.