[ Start > DebianMongerHowto ] [ Edit this Page | Viewing Version 2 ]

Pike's external module building tool (analogous to Perl's CPAN) requires several non-header files to be present in the include path. In order to get Public.Parser.XML2 to install I had to use the following workaround.

1) Compile and install pike7.6 using apt-get -b source pike7.6

2) mkdir -p /usr/lib/pike/7.6.33/include

3) ln -s /usr/include/pike/7.6.33 /usr/lib/pike/7.6.33/include/pike

4) cp [create pikesrc]/build/[create arch]/specs /usr/include/pike/7.6.33/

5) chmod 755 /usr/include/pike/7.6.33/run_autoconfig

6) cp [create pikesrc]/src/aclocal.m4 /usr/include/pike/7.6.33/

7) cp [create pikesrc]/bin/smartlink /usr/include/pike/7.6.33/

8) cp [create pikesrc]/bin/mktestsuite /usr/include/pike/7.6.33/

9) cp [create pikesrc]/bin/install_module /usr/include/pike/7.6.33/

10) cp [create pikesrc]/bin/test_pike.pike /usr/include/pike/7.6.33/

11) pike -x monger --install Public.Parser.XML2

There's probably others, but this was sufficient to get what I needed working.

Powered by PikeWiki2 | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University