Re: [xml] built libxml and libxslt, possible bugs



On Tue 2003-11-11 Daniel Veillard wrote:
On Linux libiconv comes from glibc, nothing special should be
needed.

I hope this one is sufficient:

tobi ~ $ /lib/ld-linux.so.2 /lib/libc.so.6 | head -1
GNU C Library stable release version 2.3.2 (20030827), by Roland
  McGrath et al.

Zlib should be installed, and autodetected by libxml2 configure.

I see. How can I find out if it was autodetected?
(Another tool did not compile because there seem to be two versions on
my machine, see [libz].) Is zlib == libz?

libxml2-2.6.2/config.log:
(again, I can send you any of the generated files if it helps)

configure:8347: checking zlib.h usability
configure:8360: gcc -c -g -O2  conftest.c >&5
configure:8406:18: zlib.h: No such file or directory
configure:8363: $? = 1
configure: failed program was:
| #line 8349 "configure"
| /* confdefs.h.  */
[...]
| #include <zlib.h>
configure:8379: result: no
configure:8383: checking zlib.h presence
configure:8394: gcc -E  conftest.c
configure:8408:18: zlib.h: No such file or directory
configure:8400: $? = 1
configure: failed program was:
| #line 8385 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
[...]
| #include <zlib.h>
configure:8419: result: no
configure:8455: checking for zlib.h
configure:8462: result: no
[...]
ac_cv_header_zlib_h=no

Does this mean configure didn't find zlib?

  Well you don't have the DocBook DTDs in the catalogs.

I see, I thought the DTD should have been supplied with the package.

I recently switched to Linux and I'm still in the process of setting
up my environment. The /etc/xml/catalog that came with SuSE
9.0 Professional is an empty skeleton, I don't know why.

## Threaded regression tests
## generating dba100000.xml
/bin/sh: line 1: dbgenattr.pl: command not found
make: *** [dba100000.xml] Error 127

  Seems perl is not where the dbgenattr.pl expects 
    #!/usr/bin/perl

Perhaps
#!/usr/bin/env perl
would help with some issues of this type?

Anyways, it's at the location you list above:

tobi ~ $ which perl
/usr/bin/perl
tobi ~ $ /usr/bin/perl -v
This is perl, v5.8.1 [...]

Tobi

[libz]
tobi ~ $ ls -l  /usr/lib/libz*
lrwxrwxrwx    1 root     root           10 2003-10-28 16:19
  /usr/lib/libz.so.1 -> libgz.so.1
tobi ~ $ ls -l  /lib/libz*
lrwxrwxrwx    1 root     root           13 2003-10-28 16:14
  /lib/libz.so.1 -> libz.so.1.1.4
-rwxr-xr-x    1 root     root        65927 2003-09-23 17:28
  /lib/libz.so.1.1.4

-- 
Vim as XML Editor
http://www.vim.org/tips/tip.php?tip_id=583



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]