Hello,
I am trying to compile cups and ghostscript for the phycore-am335x target using
ptxdist.
Most of the work is done, and both packages compile and build successfully. The
problem I have is that I cannot get ghostscript to create gstoraster which is
needed for cups to work with non-Postscript printers.
I already know that ghostscript requires libcups and libcupsimage from the cups
package. I am trying to install them with:
# Install the libraries.
@$(call install_lib, cups, 0, 0, 0644, libcups)
@$(call install_lib, cups, 0, 0, 0644, libcupsimage)
To try and help install_lib find the right packages, I have added these
commands into the makefile before the calls to install_lib:
# Copy the built libraries into a place where they will be found.
cp --recursive $(CUPS_DIR)/cups/usr $(CUPS_DIR)
cp --recursive $(CUPS_DIR)/filter/usr $(CUPS_DIR)
CUPS puts libcups.so.2 in $(CUPS_DIR)/cups/usr/lib/ after it has built it and
it makes a symbolic link from libcups.so to it there. It puts libcupsimage.so.2
in $(CUPS_DIR)/filter/usr/lib/ after it has built it and it makes a symbolic
link from libcupsimage.so to it there. The above copy commands make copies of
these files in $(CUPS_DIR)/usr/lib.
The call to install libcups fails with the following:
Error: ptxd_lib_install: cannot find library 'libcups'!
make: ***
[/home/z/z/phyCORE-AM335x-PD13.1.0/platform-phyCORE-AM335x/state/cups.targetinstall]
Error 1
failed
I think I need to copy the libraries to somewhere else to get this to work, but
I can't figure it out.
I saw something about the package's install stage having to be DESTDIR-aware.
I'm not sure what that means, but I believe it might be related to this problem.
Thanks,
David Thomas
--
ptxdist mailing list
[email protected]