#8442 closed task (worksforme)
Test cups-filters with php (is it broken)
Reported by: | Samuel | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 8.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
In cups-filters
it states that php
might be broken. We should test this to see if it is actually broken.
Change History (4)
comment:1 by , 8 years ago
Type: | enhancement → task |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Yes it is broken without some changes and then it might not work.
First you need to add --with-php. Then the build fails with several warnings like:
fontembed/fontfile.h:13:4: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
And it fails with
scripting/php/phpcups.c:29:33: fatal error: cups/string-private.h: No such file or directory
string-private.h does exist in the cups tarball, but it is not installed with our instructions. cups does have
--with-privateinclude set path for private include files, default=none
so I suppose that should be set to /usr/include/cups to get that to install. I'm not sure we want to go to all this trouble for something no one has ever asked for.