![]() |
|< 1 2 3 4 >| | ![]() |
36 Einträge, 4 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Removing previously used /Users/crian/.cpan/build/XML-Parser-2.34
CPAN.pm: Going to build M/MS/MSERGEANT/XML-Parser-2.34.tar.gz
Note (probably harmless): No library found for -lexpat
Expat must be installed prior to building XML::Parser and I can't find
it in the standard library directories. You can download expat from:
http://sourceforge.net/projects/expat/
If expat is installed, but in a non-standard directory, then use the
following options to Makefile.PL:
EXPATLIBPATH=... To set the directory in which to find libexpat
EXPATINCPATH=... To set the directory in which to find expat.h
For example:
perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include
Note that if you build against a shareable library in a non-standard location
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
variable at run time for perl to find the library.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Schneeflocke:~ crian$ locate expat
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynload/pyexpat.so
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/test/output/test_pyexpat
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/test/test_pyexpat.py
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/test/test_pyexpat.pyc
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/test/test_pyexpat.pyo
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/dom/expatbuilder.py
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/dom/expatbuilder.pyc
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/dom/expatbuilder.pyo
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/parsers/expat.py
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/parsers/expat.pyc
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/parsers/expat.pyo
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/expatreader.py
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/expatreader.pyc
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/expatreader.pyo
/usr/include/php/ext/xml/expat
/usr/include/php/ext/xml/expat/ascii.h
/usr/include/php/ext/xml/expat/asciitab.h
/usr/include/php/ext/xml/expat/expat.h
/usr/include/php/ext/xml/expat/iasciitab.h
/usr/include/php/ext/xml/expat/latin1tab.h
/usr/include/php/ext/xml/expat/nametab.h
/usr/include/php/ext/xml/expat/utf8tab.h
/usr/include/php/ext/xml/expat/winconfig.h
/usr/include/php/ext/xml/expat/xmlrole.h
/usr/include/php/ext/xml/expat/xmltok.h
/usr/include/php/ext/xml/expat/xmltok_impl.h
/usr/share/doc/libxml2-2.6.7/html/tutorial/includexpath.c
/usr/X11R6/lib/libexpat.1.0.dylib
/usr/X11R6/lib/libexpat.1.dylib
/usr/X11R6/lib/libexpat.dylib
Schneeflocke:~ crian$
1
2
3
4
5
cpan
look XML::Parser
# jetzt befindet man sich im ausgepackten XML-Parser-Verzeichnis in der Shell
perl Makefile.PL KEY=VAL ...
make all test && sudo make install
1
2
3
4
cpan
look XML::Parser
perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/include/php/ext/xml/expat/
make all
1
2
3
4
5
Schneeflocke:~/.cpan/build/XML-Parser-2.34 crian$ make allcc -c -I/usr/include/php/ext/xml/expat/ -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" Expat.c
In file included from Expat.xs:12:
/usr/include/php/ext/xml/expat/expat.h:18:24: error: php_compat.h: No such file or directory
make[1]: *** [Expat.o] Error 1
make: *** [subdirs] Error 2
1
2
Schneeflocke:~/.cpan/build/XML-Parser-2.34 crian$ locate php_compat.h
/usr/include/php/main/php_compat.h
![]() |
|< 1 2 3 4 >| | ![]() |
36 Einträge, 4 Seiten |