Bug 12309

Summary: poppler-data-0.1 Makefile fails on Solaris and gnumake
Product: poppler Reporter: Andreas Liebe <liebe>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: low CC: liebe
Version: unspecifiedKeywords: patch
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description Andreas Liebe 2007-09-07 02:43:02 UTC
On Solaris 8 and 9 you should use /usr/ucb/install instead of just install. So it might me handsome to have some variable INSTALL=/usr/ucb/install at the beginning of the makefile. For now it helps prepending /usr/ucb to the PATH.

The makefile itself runs after a small change

*** poppler-data-0.1/Makefile   Fri Sep 22 03:34:37 2006
--- poppler-data-0.1_solaris/Makefile   Fri Sep  7 11:32:39 2007
***************
*** 16,22 ****
        install -m 0644 $(unicode-map-files) $(DESTDIR)$(pkgdatadir)/unicodeMap
  
        for f in $(cmap-files); do                                          \
!               install -d -m 0755 $(DESTDIR)$(pkgdatadir)/$$(dirname $$f); \
                install -m 0644 $$f $(DESTDIR)$(pkgdatadir)/$$f;            \
        done
  
--- 16,22 ----
        install -m 0644 $(unicode-map-files) $(DESTDIR)$(pkgdatadir)/unicodeMap
  
        for f in $(cmap-files); do                                          \
!               install -d -m 0755 $(DESTDIR)$(pkgdatadir)/`dirname $$f`; \
                install -m 0644 $$f $(DESTDIR)$(pkgdatadir)/$$f;            \
        done
Comment 1 Albert Astals Cid 2007-09-07 11:43:47 UTC

*** This bug has been marked as a duplicate of bug 12276 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.