Re: [xml] prefix values inconsistent in sources

Date view Thread view Subject view Author view

From: Dave Madole (dmadole@cddb.com)
Date: Tue Oct 17 2000 - 19:46:54 EDT


Hmmmm. I just tar -x'ed libxml2-2.2.5.tar.gz

(from ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/ )

  libxml2-2.2.5.tar.gz 1090 Kb Sun Oct 15 16:47:00 2000 Unix Tape
Archive

(before typing ./config)

[root@toots libxml2-2.2.5]# grep prefix * | grep -v "\.c"
...
configure:ac_default_prefix=/usr/local
...
etc.

...and after typing ./config (no arguments) and here is what I get (edited).

[root@toots libxml2-2.2.5]# grep prefix * | grep -v "\.c"

Makefile:prefix = /usr/local
...
configure:ac_default_prefix=/usr/local
configure:exec_prefix=NONE
configure:prefix=NONE
...
config.status:s%@exec_prefix@%${prefix}%g
config.status:s%@prefix@%/usr/local%g
...
libxml-2.0.pc:prefix=/usr/local
libxml-2.0.pc:exec_prefix=${prefix}
libxml-2.0.pc:libdir=${exec_prefix}/lib
libxml-2.0.pc:includedir=${prefix}/include
libxml-2.0.pc.in:prefix=@prefix@
libxml-2.0.pc.in:exec_prefix=@exec_prefix@

etc.

?????

Thank you,

Dave

Daniel wrote:

> On Tue, Oct 17, 2000 at 03:36:14PM -0700, Dave Madole wrote:
> >
> >
> > It seems that the default prefix (install base directory) in for
> > libxml2-2.2.5 is /usr/local
>
> Huh ???
> no it's /usr
>
> ~ -> rpm -qlp ~ftp/pub/libxml/libxml2-2.2.5-1.i386.rpm
> /usr/bin/xmllint
> /usr/doc/libxml2-2.2.5
> /usr/doc/libxml2-2.2.5/AUTHORS
> [...]
> /usr/doc/libxml2-2.2.5/TODO
> /usr/lib/libxml.so.2
> /usr/lib/libxml.so.2.2.5
> /usr/man/man1/xml-config.1
> /usr/man/man1/xmllint.1
> /usr/man/man4/libxml.4
>
> > but for libxml2-devel-2.2.5-1 is /usr. I can't figure out how to use
>
> yep
>
> ~ -> rpm -qlp ~ftp/pub/libxml/libxml2-devel-2.2.5-1.i386.rpm
> /usr/bin/xml-config
> /usr/include/libxml
> /usr/include/libxml/HTMLparser.h
> [...]
> /usr/include/libxml/xpointer.h
> /usr/lib/libxml.a
> /usr/lib/libxml.la
> /usr/lib/libxml.so
> /usr/lib/xmlConf.sh
>
> > rpm (or cpio) to extract the devel package in /usr/local. (I've tried
> > passing a --prefix argument, editing the rpm2cpio output, etc.).
>
> The packages are built for /usr this is a common policy when
> shipping RPMs I'm not gonna break, rebuild locally from the tar otherwise
>
> ~ -> ls -l ~ftp/pub/libxml/libxml2-2.2.5.tar.gz
> -rw-r--r-- 1 veillard www 1116690 Oct 15 16:45 /serveur/ftp/pub/libxml/libxml2-2.2.5.tar.gz
> ~ ->
>
> > Could the devel package be put on the ftp site in a tarball?
>
> no, the -devel is generated as the same time as the normal package in
> a single pass
>
> > I realize this is more of a linux admin question (I'm more familiar with
> > Solaris) than an xml question, and may be slightly out of band, but any
> > help would be appreciated. Also it may be easier if they both defaulted
> > to the same prefix value.
>
> they are, make sure you get them from
> ftp://xmlsoft.org/ or ftp://rpmfind.net/pub/libxml (same machine)
>
> they should be signed with my GPG key available on my home page at rpmfind
> ~ -> rpm --checksig ~ftp/pub/libxml/libxml2-2.2.5-1.i386.rpm
> /serveur/ftp/pub/libxml/libxml2-2.2.5-1.i386.rpm: md5 gpg OK
> ~ -> rpm --checksig ~ftp/pub/libxml/libxml2-devel-2.2.5-1.i386.rpm
> /serveur/ftp/pub/libxml/libxml2-devel-2.2.5-1.i386.rpm: md5 gpg OK
>
> Daniel
>
> --
> Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml gnome XML toolkit
> Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/
> Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site
> http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/
> ----
> Message from the list xml@rpmfind.net
> Archived at : http://xmlsoft.org/messages/
> to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 17 2000 - 20:43:20 EDT