LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   fontconfig make errors in -current (https://www.linuxquestions.org/questions/slackware-14/fontconfig-make-errors-in-current-842748/)

TSquaredF 11-06-2010 12:42 PM

fontconfig make errors in -current
 
I have just installed current into a new partition. I usually upgrade the font system as per Dugan Chen's page. I have modified the SlackBuilds somewhat, but as noted below, it should work. When I rebuilt fontconfig, I got the following:
Code:

...snipped
docbook2man -o devel-man local-fontconfig-devel.sgml && \
mv devel-man/manpage.refs func.refs && \
mv devel-man/*.3 . && \
rm -f devel-man/manpage.* && \
rmdir devel-man
grep: character class syntax is [[:space:]], not [:space:]
grep: character class syntax is [[:space:]], not [:space:]
jw: There is no frontend called "/docbook/utils-0.6.14/frontends/docbook".
make[2]: *** [func.refs] Error 2
make[2]: Leaving directory `/tmp/SBo/fontconfig-2.8.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/fontconfig-2.8.0'
make: *** [all] Error 2

There is a file
"/usr/share/sgml/docbook/utils-0.6.14/frontends/docbook"
The same SlackBuild works perfectly in a clean -13.1 install. I'm thinking of installing the package made in -13.1 into -current, but am not sure that is a good idea. Can anyone cast a little light into this darkness?
Regards,
Bill

gnashley 11-06-2010 02:24 PM

Start by tracing the grep error -I'm guessing it to be within the SlackBuild itself. If so, then change the syntax to what the error recommends.

BrZ 11-06-2010 03:18 PM

Same error here just typing 'jw'. What package provides this Jade Wrapper?

edit: It seems to be grep. Tried using "POSIXLY_CORRECT=true export POSIXLY_CORRECT" and it fails with:
Quote:

Can't locate SGMLS/Output.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.12.2 /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.2 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.12.0 /usr/lib64/perl5/vendor_perl .) at /usr/bin/sgmlspl line 68.
BEGIN failed--compilation aborted at /usr/bin/sgmlspl line 68.

TSquaredF 11-06-2010 04:30 PM

Yes. Downgrading grep to -2.5.4, from -13.1, stopped the error from popping up when running the "jw" command, plus my fontconfig.SlackBuild built perfectly. I'm going to reinstall grep-2.7 to see what else breaks with it.
Oh, "jw" is in linuxdoc-tools, if it still matters.
Regards,
Bill

BrZ 11-06-2010 04:42 PM

Thanks Bill,

I was able to compile fontconfig with '--disable-docs \', but it's only a workaround.

edit: This seem to fix docbook-utils (jw) error: http://www.mail-archive.com/pld-cvs-...msg232996.html

edit2: Yes! Fixed my Perl issues and the fontconfig was built without issues. Thanks again TSquaredF =]


All times are GMT -5. The time now is 09:59 AM.