'xslt-config' is not recognized as an internal or external command, make sure the development packages of libxml2 and libxslt are installed

836 views
Skip to first unread message

Hunter

unread,
Nov 8, 2011, 11:30:40 PM11/8/11
to PortablePython
I am having trouble installing libxml2 and libxslt development version
which are needed to easy_install epubmaker. The error I get is here:

ERROR: 'xslt-config' is not recognized as an internal or external
command,
operable program or batch file.

** make sure the development packages of libxml2 and libxslt are
installed **

The full screen dump is below:

Thanks,
Hunter
-----------------------

C:\pyth>path=%path%;c:\pyth;c:\pyth\App;c:\pyth\App\Scripts;c:\pyth\App
\Lib;c:\p
yth\App\Libs

C:\pyth>cd app

C:\pyth\App>easy_install epubmaker
Searching for epubmaker
Best match: epubmaker 0.3.18
Processing epubmaker-0.3.18-py2.7.egg
epubmaker 0.3.18 is already the active version in easy-install.pth
Installing epubmaker-script.py script to c:\pyth\App\Scripts
Installing epubmaker.exe script to c:\pyth\App\Scripts
Installing epubmaker.exe.manifest script to c:\pyth\App\Scripts

Using c:\pyth\app\lib\site-packages\epubmaker-0.3.18-py2.7.egg
Processing dependencies for epubmaker
Searching for lxml>=2.2.8
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.3.1
Downloading http://lxml.de/files/lxml-2.3.1.tgz
Processing lxml-2.3.1.tgz
Running lxml-2.3.1\setup.py -q bdist_egg --dist-dir c:\users\hmonroe
\appdata\loc
al\temp\easy_install-gv89z2\lxml-2.3.1\egg-dist-tmp-aablcp
Building lxml version 2.3.1.
Building without Cython.
ERROR: 'xslt-config' is not recognized as an internal or external
command,
operable program or batch file.

** make sure the development packages of libxml2 and libxslt are
installed **

Using build configuration of libxslt
warning: no files found matching 'lxml.etree.c' under directory 'src
\lxml'
warning: no files found matching 'lxml.objectify.c' under directory
'src\lxml'
warning: no files found matching 'lxml.etree.h' under directory 'src
\lxml'
warning: no files found matching 'lxml.etree_api.h' under directory
'src\lxml'
warning: no files found matching 'etree_defs.h' under directory 'src
\lxml'
warning: no files found matching 'pubkey.asc' under directory 'doc'
warning: no files found matching 'tagpython*.png' under directory
'doc'
warning: no files found matching 'Makefile' under directory 'doc'
cl : Command line warning D9025 : overriding '/W3' with '/w'
lxml.etree.c
c:\users\hmonroe\appdata\local\temp\easy_install-gv89z2\lxml-2.3.1\src
\lxml\etre
e_defs.h(9) : fatal error C1083: Cannot open include file: 'libxml/
xmlversion.h'
: No such file or directory
error: Setup script exited with error: command '"C:\Program Files
\Microsoft Visu
al Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2

C:\pyth\App>
Reply all
Reply to author
Forward
0 new messages