Hello, On Jan 8 19:49 Suffield, David wrote: > If you want to build hpijs with-out the libcups.so dependency, build > hpijs with-out hplip support. > For example if you want to build hpijs for use with other spoolers, > don't use the top-level hplip makefile, use configure/make in the hpijs > directory. There is a hpijs configure time "hplip-build" flag that > defaults to false if you don't use the top-level make file.
For your information: It is not so easy to do both in one single build run. The biggest problem is that a plain configure/make in the hpijs directory will also try to access/build/install whatever *.html documentation from the ../../doc directory. I wonder if it is 100% correct when a make in a sub-directory needs stuff from whatever higher level directory? What works for me to build it via our RPM spec file is: ---------------------------------------------------------------------- %build AUTOMAKE='automake --foreign' autoreconf --force --install # First of all build a special hpijs which does not require # the CUPS library. # To avoid an impact on the normal build of hpijs afterwards # the specific make target "make hpijs" is called and afterwards # "make distclean" removes in particular the Makefile to make # sure it is created anew by the different configure call # of the normal build. pushd prnt/hpijs ./configure --prefix=/usr --libdir=%_libdir \ --disable-hplip-build --disable-cups-install \ --disable-foomatic-install make hpijs mv hpijs hpijs.without-libcups make distclean popd ./configure --prefix=/usr --libdir=%_libdir --disable-cups-install make [...] %install make install DESTDIR=%{buildroot} # Install the special hpijs which does not require the CUPS library: install -m 755 prnt/hpijs/hpijs.without-libcups %{buildroot}%{_bindir} ---------------------------------------------------------------------- The resulting library dependencies are: # ldd hpijs linux-gate.so.1 => (0xffffe000) libhpip.so.0 => /usr/lib/libhpip.so.0 (0xb7f85000) libnetsnmp.so.15 => /usr/lib/libnetsnmp.so.15 (0xb7eca000) libcups.so.2 => /usr/lib/libcups.so.2 (0xb7e9a000) libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0xb7e91000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7d5d000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7d45000) libdl.so.2 => /lib/libdl.so.2 (0xb7d41000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d21000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c3d000) libm.so.6 => /lib/libm.so.6 (0xb7c17000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c0a000) libc.so.6 => /lib/libc.so.6 (0xb7adc000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7a9f000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7a6c000) libz.so.1 => /lib/libz.so.1 (0xb7a59000) /lib/ld-linux.so.2 (0xb7fcc000) # ldd hpijs.without-libcups linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7f2c000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7f0c000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e28000) libm.so.6 => /lib/libm.so.6 (0xb7e02000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7df5000) libc.so.6 => /lib/libc.so.6 (0xb7cc7000) /lib/ld-linux.so.2 (0xb7f4f000) Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED] 90409 Nuernberg, Germany WWW: http://www.suse.de/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ HPLIP-Devel mailing list HPLIP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-devel