Murray Cumming wrote:
> 
> On Thu, 2001-10-11 at 15:09, Michael Huedepohl wrote:
> > Murray Cumming wrote:
> > >
> > > On Thu, 2001-10-11 at 01:01, D. Stimits wrote:
> > > > Murray Cumming wrote:
> > > > >
> > > > > On Thu, 2001-10-11 at 00:02, D. Stimits wrote:
> > > > > > Murray Cumming wrote:
> > > > > > >
> > > > > > > On Wed, 2001-10-10 at 19:02, D. Stimits wrote:
> > > > > > > > Where would I post, or ask for changes to the official Xerces
> > > > > > > > distribution?
> > > > > > >
> > > > > > > Erm, this list, of course.
> > > > > > >
> > > > > > >  Right now, the immediate change (and I can provide
> > > > > > > > Makefile patches if desired) would be that make install fails to place
> > > > > > > > headers for devel in any conventional location,
> > > > > > >
> > > > > > > Since Xerces-C 1.5.1, the headers have gone into <prefix>/include.
> > > > > > > What's wrong with that?
> > > > > >
> > > > > > Well, in general, "include" is a _really bad_ (did I mention "really
> > > > > > really" bad also?)
> > > > >
> > > > > Sorry, I mean that since 1.5.1 the headers have gone into
> > > > > <prefix>/include/xercesc. There is no problem with where the headers are
> > > > > installed.
> > > >
> > > > This is good. I'm using 1.5.1 though, and headers are not being
> > > > installed at all during make install.
> > >
> > > First you say that they are installed to 'random' locations, then you
> > > say that they are not installed at all. I'm sure that it's working for
> > > me. I personally changed the headers install path from <prefix>/include
> > > to <prefix>/include/xercesc so I know that there stuff in there to
> > > install the headers.
> >
> > Excuse me for intervening, but I can confirm that - e.g. on Solaris 8 -
> > if you don't specify anything for <prefix>, i.e. using the default /usr/local
> > (and I haven't seen documented how to configure the prefix),
> 
> ./runConfigure -P<prefix>, I think.
> 
> runConfigure has help output, either with no args or with --help, I
> don't remember.

Sorry, I found it just after sending my email - indeed, it's printed with the
help message (runConfigure with no args).
I tried runConfigure earlier (pre 1.5.1) and didn't get a message about the
install prefix, and I missed to check it again with version 1.5.1.
> 
> > the "make install" does install the library, but not the include files!
> 
> OK, I haven't discovered this because I always need to specify /usr on
> Redhat. Would anyone like to try to fix this? Sorry, I'm busy on other
> stuff at the moment.

Well, I've analyzed the configure file and found a solution:
You only have to move the setting of prefix_include behind the check
`test "x$prefix" = xNONE && prefix=$ac_default_prefix'.
I.e., remove line 1289 and insert it after line 1376.
Here is the diff output:
diff -r1.4 configure
1289d1288
< prefix_include=${prefix}/include/xercesc
1376a1376
> prefix_include=${prefix}/include/xercesc

Can you commit this change?

Cheers, Michael

> 
> > Instead, they are installed in the source tree in several subdirectories
> > named "NONE":
> >
> > $ cd $XERCESCROOT/src
> > $ ./runConfigure -p solaris -cgcc -xg++ -nsocket -tnative -rpthread
> > (...)
> > $ make
> > (...)
> > $ make install
> > cd util && make install && cd ..
> > make[1]: Entering directory `/home/michael/xerces/src/util'
> > mkdir -p NONE/include/xercesc/util
> > (...)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to