You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Timo Wendt <tw...@online.de> on 2006/04/17 08:41:18 UTC

SD Depot for HP-UX

Hi,

I would like to build a SD Depot of Subversion for HP-UX. Does  
anybody know if there is already a depot around somehwere?
How do I find out the complete list of files that "make install"  
installs on my system? Is there probably a tool around that is able  
to create a list of all the files by parsing the Makefiles?

Timo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by Timo Wendt <tw...@online.de>.
Thank you. Sometimes it the easy things that help.

Timo

Am 17.04.2006 um 14:41 schrieb David Everly:

> Typically, when packaging software, one uses a "staging" area.  For
> modern autoconf/automake/libtool build processes, this can typically
> be done as follows:
>
>    ./configure
>    make
>    make install DESTDIR=/path/to/staging/area
>
> The contents of /path/to/staging/area is what you can build your
> package from (of course, the contents may change based on the options
> passed to ./configure).
>
> On 4/17/06, Timo Wendt <tw...@online.de> wrote:
>> Hi,
>>
>> I would like to build a SD Depot of Subversion for HP-UX. Does
>> anybody know if there is already a depot around somehwere?
>> How do I find out the complete list of files that "make install"
>> installs on my system? Is there probably a tool around that is able
>> to create a list of all the files by parsing the Makefiles?
>>
>> Timo
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
>
> --
> ASCII ribbon campaign:
> ()  against HTML email
> /\  against Microsoft attachments
>     Information:  http://www.expita.com/nomime.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by Timo Wendt <tw...@online.de>.
Hi,

I suppose that this was, what I was missing:

> LDFLAGS="-L/opt/vzb/lib -L/home/deverly/svn-tmp/opt/vzb/lib"

That was the reason why it was only looking in /usr/local/... I will  
try this out tomorrow.


Is there some howto or book about all these little tricks?

Timo



Am 18.04.2006 um 18:45 schrieb David Everly:

> Hmmm....here is exactly what I do on HP-UX B.11.23 U ia64 HP-UX, and
> it worked fine for me (of course I previously compiled/installed
> apache2 httpd under /opt/vzb using similar options):
>
> +++
>
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/vzb/bin:/opt/vzb/sbin
>
> ./configure \
>         --with-ssl \
>         --prefix=/opt/vzb \
>         --with-apr=/opt/vzb/bin/apr-config \
>         --with-apr-util=/opt/vzb/bin/apu-config \
>         --with-apxs=/opt/vzb/sbin/apxs  \
>         --without-berkeley-db \
>         CC=/usr/bin/cc \
>         CFLAGS="+DD64" \
>         CPPFLAGS="-I/opt/vzb/include" \
>         LDFLAGS="-L/opt/vzb/lib -L/home/deverly/svn-tmp/opt/vzb/lib"
>
> make
> make install DESTDIR=/home/deverly/svn-tmp
>
> +++
>
> Of course everything inside /home/deverly/svn-tmp must be installed
> starting from / in the resulting depot package.
>
> This all works for me.
>
> On 4/18/06, Timo Wendt <tw...@online.de> wrote:
>> Hi,
>>
>> I tried the trick using DESTDIR, but it doesn't really work on HP-UX.
>> It still tries to find certain libraries in /usr/local/... during
>> make install. The problem seems to be that HP-UX doesn't support
>> libraries that move. There it does the linking during "make install"
>> instead of during make. I tried the --disable-shared option to see if
>> that helps, but it has problems with the Apache modules then. The
>> modules don't like to be linked with --disbable.shared. Where in the
>> Makefile could I enable shared for mod_dav_svn explicitly? Ot is
>> there some sort of option for configure to use.
>>
>>
>>
>> Am 18.04.2006 um 07:40 schrieb Timo Wendt:
>>
>>> Thank you very much for all your help. I will just try it out. I
>>> don't need the Apache modules on all hosts. I am fine with just
>>> having them on one host which has the central repository.
>>>
>>> Timo
>>>
>>>
>>> Am 17.04.2006 um 23:13 schrieb René Berber:
>>>
>>>> Max Bowsher wrote:
>>>> [snip]
>>>>>>> That won't work with subversion's install, it uses apsx to
>>>>>>> install the Apache
>>>>>>> modules which are outside your "staging area" (the modules are
>>>>>>> copied to
>>>>>>> wherever Apache has its modules
>>>>>
>>>>> The above is incorrect - DESTDIR is honoured by the apache module
>>>>> installation.
>>>>
>>>> Incorrect?  Where does apsx use DESTDIR?
>>>>
>>>> To be precise, I know svn 1.3.0 install used apsx and that in turn
>>>> installed the
>>>> modules outside DESTDIR; it may have changed in 1.3.1 .
>>>>
>>>>>>> and httpd.conf is also changed).
>>>>>
>>>>> This, however, is a valid concern. Use the --disable-mod-
>>>>> activation flag
>>>>> to ./configure to suppress this behaviour.
>>>>
>>>> --
>>>> René Berber
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
>
> --
> ASCII ribbon campaign:
> ()  against HTML email
> /\  against Microsoft attachments
>     Information:  http://www.expita.com/nomime.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: SD Depot for HP-UX

Posted by David Everly <de...@gmail.com>.
Hmmm....here is exactly what I do on HP-UX B.11.23 U ia64 HP-UX, and
it worked fine for me (of course I previously compiled/installed
apache2 httpd under /opt/vzb using similar options):

+++

PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/vzb/bin:/opt/vzb/sbin

./configure \
        --with-ssl \
        --prefix=/opt/vzb \
        --with-apr=/opt/vzb/bin/apr-config \
        --with-apr-util=/opt/vzb/bin/apu-config \
        --with-apxs=/opt/vzb/sbin/apxs  \
        --without-berkeley-db \
        CC=/usr/bin/cc \
        CFLAGS="+DD64" \
        CPPFLAGS="-I/opt/vzb/include" \
        LDFLAGS="-L/opt/vzb/lib -L/home/deverly/svn-tmp/opt/vzb/lib"

make
make install DESTDIR=/home/deverly/svn-tmp

+++

Of course everything inside /home/deverly/svn-tmp must be installed
starting from / in the resulting depot package.

This all works for me.

On 4/18/06, Timo Wendt <tw...@online.de> wrote:
> Hi,
>
> I tried the trick using DESTDIR, but it doesn't really work on HP-UX.
> It still tries to find certain libraries in /usr/local/... during
> make install. The problem seems to be that HP-UX doesn't support
> libraries that move. There it does the linking during "make install"
> instead of during make. I tried the --disable-shared option to see if
> that helps, but it has problems with the Apache modules then. The
> modules don't like to be linked with --disbable.shared. Where in the
> Makefile could I enable shared for mod_dav_svn explicitly? Ot is
> there some sort of option for configure to use.
>
>
>
> Am 18.04.2006 um 07:40 schrieb Timo Wendt:
>
> > Thank you very much for all your help. I will just try it out. I
> > don't need the Apache modules on all hosts. I am fine with just
> > having them on one host which has the central repository.
> >
> > Timo
> >
> >
> > Am 17.04.2006 um 23:13 schrieb René Berber:
> >
> >> Max Bowsher wrote:
> >> [snip]
> >>>>> That won't work with subversion's install, it uses apsx to
> >>>>> install the Apache
> >>>>> modules which are outside your "staging area" (the modules are
> >>>>> copied to
> >>>>> wherever Apache has its modules
> >>>
> >>> The above is incorrect - DESTDIR is honoured by the apache module
> >>> installation.
> >>
> >> Incorrect?  Where does apsx use DESTDIR?
> >>
> >> To be precise, I know svn 1.3.0 install used apsx and that in turn
> >> installed the
> >> modules outside DESTDIR; it may have changed in 1.3.1 .
> >>
> >>>>> and httpd.conf is also changed).
> >>>
> >>> This, however, is a valid concern. Use the --disable-mod-
> >>> activation flag
> >>> to ./configure to suppress this behaviour.
> >>
> >> --
> >> René Berber
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> >> For additional commands, e-mail: users-help@subversion.tigris.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


--
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: SD Depot for HP-UX

Posted by René Berber <r....@computer.org>.
Timo Wendt wrote:

> I tried the trick using DESTDIR, but it doesn't really work on HP-UX. It
> still tries to find certain libraries in /usr/local/... during make
> install.

What exactly are you trying to do?  It looks like you want to build subversion
but don't want the result linked with libraries in /usr/local, is that all?

> The problem seems to be that HP-UX doesn't support libraries
> that move.

Yes it does.

> There it does the linking during "make install" instead of
> during make. I tried the --disable-shared option to see if that helps,
> but it has problems with the Apache modules then. The modules don't like
> to be linked with --disbable.shared. Where in the Makefile could I
> enable shared for mod_dav_svn explicitly? Ot is there some sort of
> option for configure to use.

There are many options but it is not clear what you want to do.  Start by
checking the output of configure, it describes what it is looking for and where
does it find it... if some part used, say openssl is in /usr/local/ssl, is in a
place that you don't want to use then you can disable it (--without-ssl) or you
can use it and later configure the dynamic loader to search for those libraries
where you want.  By default library paths are hard-coded in the executable, is
that what you want to disable?
-- 
René Berber


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by Timo Wendt <tw...@online.de>.
Hi,

I tried the trick using DESTDIR, but it doesn't really work on HP-UX.  
It still tries to find certain libraries in /usr/local/... during  
make install. The problem seems to be that HP-UX doesn't support  
libraries that move. There it does the linking during "make install"  
instead of during make. I tried the --disable-shared option to see if  
that helps, but it has problems with the Apache modules then. The  
modules don't like to be linked with --disbable.shared. Where in the  
Makefile could I enable shared for mod_dav_svn explicitly? Ot is  
there some sort of option for configure to use.



Am 18.04.2006 um 07:40 schrieb Timo Wendt:

> Thank you very much for all your help. I will just try it out. I  
> don't need the Apache modules on all hosts. I am fine with just  
> having them on one host which has the central repository.
>
> Timo
>
>
> Am 17.04.2006 um 23:13 schrieb René Berber:
>
>> Max Bowsher wrote:
>> [snip]
>>>>> That won't work with subversion's install, it uses apsx to  
>>>>> install the Apache
>>>>> modules which are outside your "staging area" (the modules are  
>>>>> copied to
>>>>> wherever Apache has its modules
>>>
>>> The above is incorrect - DESTDIR is honoured by the apache module
>>> installation.
>>
>> Incorrect?  Where does apsx use DESTDIR?
>>
>> To be precise, I know svn 1.3.0 install used apsx and that in turn  
>> installed the
>> modules outside DESTDIR; it may have changed in 1.3.1 .
>>
>>>>> and httpd.conf is also changed).
>>>
>>> This, however, is a valid concern. Use the --disable-mod- 
>>> activation flag
>>> to ./configure to suppress this behaviour.
>>
>> -- 
>> René Berber
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: SD Depot for HP-UX

Posted by Timo Wendt <tw...@online.de>.
Thank you very much for all your help. I will just try it out. I  
don't need the Apache modules on all hosts. I am fine with just  
having them on one host which has the central repository.

Timo


Am 17.04.2006 um 23:13 schrieb René Berber:

> Max Bowsher wrote:
> [snip]
>>>> That won't work with subversion's install, it uses apsx to  
>>>> install the Apache
>>>> modules which are outside your "staging area" (the modules are  
>>>> copied to
>>>> wherever Apache has its modules
>>
>> The above is incorrect - DESTDIR is honoured by the apache module
>> installation.
>
> Incorrect?  Where does apsx use DESTDIR?
>
> To be precise, I know svn 1.3.0 install used apsx and that in turn  
> installed the
> modules outside DESTDIR; it may have changed in 1.3.1 .
>
>>>> and httpd.conf is also changed).
>>
>> This, however, is a valid concern. Use the --disable-mod- 
>> activation flag
>> to ./configure to suppress this behaviour.
>
> -- 
> René Berber
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: SD Depot for HP-UX

Posted by René Berber <r....@computer.org>.
Max Bowsher wrote:
[snip]
>>> That won't work with subversion's install, it uses apsx to install the Apache
>>> modules which are outside your "staging area" (the modules are copied to
>>> wherever Apache has its modules
> 
> The above is incorrect - DESTDIR is honoured by the apache module
> installation.

Incorrect?  Where does apsx use DESTDIR?

To be precise, I know svn 1.3.0 install used apsx and that in turn installed the
modules outside DESTDIR; it may have changed in 1.3.1 .

>>> and httpd.conf is also changed).
> 
> This, however, is a valid concern. Use the --disable-mod-activation flag
> to ./configure to suppress this behaviour.

-- 
René Berber


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by Max Bowsher <ma...@ukf.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

René Berber wrote:
> David Everly wrote:
> 
>> Typically, when packaging software, one uses a "staging" area.  For
>> modern autoconf/automake/libtool build processes, this can typically
>> be done as follows:
>>
>>    ./configure
>>    make
>>    make install DESTDIR=/path/to/staging/area
>>
>> The contents of /path/to/staging/area is what you can build your
>> package from (of course, the contents may change based on the options
>> passed to ./configure).
> 
> That won't work with subversion's install, it uses apsx to install the Apache
> modules which are outside your "staging area" (the modules are copied to
> wherever Apache has its modules

The above is incorrect - DESTDIR is honoured by the apache module
installation.

> and httpd.conf is also changed).

This, however, is a valid concern. Use the --disable-mod-activation flag
to ./configure to suppress this behaviour.

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFERAIsfFNSmcDyxYARAjQfAKC3XlMuqLl3X7Z1oAUqEiymiyfwdgCgks3C
TtXvMD8SEPIGg4F3SYLzzbc=
=36QP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by David Everly <de...@gmail.com>.
On Mon, Apr 17, 2006 at 02:32:31PM -0500, René Berber wrote:
> David Everly wrote:
> 
> > Typically, when packaging software, one uses a "staging" area.  For
> > modern autoconf/automake/libtool build processes, this can typically
> > be done as follows:
> > 
> >    ./configure
> >    make
> >    make install DESTDIR=/path/to/staging/area
> > 
> > The contents of /path/to/staging/area is what you can build your
> > package from (of course, the contents may change based on the options
> > passed to ./configure).
> 
> That won't work with subversion's install, it uses apsx to install the Apache
> modules which are outside your "staging area" (the modules are copied to
> wherever Apache has its modules and httpd.conf is also changed).

Right you are!  I was only considering the basic svn build.  Its
unfortunate that apsx doesn't support this to give packagers a break.

If you give an option to gnu make to force it to keep going in spite of
problems (-k), and don't run make install as root, then it may be
possible to see which problems require a manual fix.  It may be that
only the Apache modules/config have this problem.

-- 
Encrypted Mail Preferred:
    Key ID:  8527B9AF
    Key Fingerprint:  E1B6 40B6 B73F 695E 0D3B  644E 6427 DD74 8527 B9AF
    Information:  http://www.gnupg.org/
                                                                                
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by René Berber <r....@computer.org>.
David Everly wrote:

> Typically, when packaging software, one uses a "staging" area.  For
> modern autoconf/automake/libtool build processes, this can typically
> be done as follows:
> 
>    ./configure
>    make
>    make install DESTDIR=/path/to/staging/area
> 
> The contents of /path/to/staging/area is what you can build your
> package from (of course, the contents may change based on the options
> passed to ./configure).

That won't work with subversion's install, it uses apsx to install the Apache
modules which are outside your "staging area" (the modules are copied to
wherever Apache has its modules and httpd.conf is also changed).

Another technique is to find what was changed:

1. touch timestamp
2. make install
3. find /usr -newer timestamp -print > installed-filelist.txt

Of course it assumes everything is under /usr or wherever you do the find (/
won't work because many things change all the time under /var and /proc).

A more complicated technique is to use a chroot'ed staging area.  That one
covers all possible changes but it's difficult to set up (you need to copy all
the files that will be needed).
-- 
René Berber


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SD Depot for HP-UX

Posted by David Everly <de...@gmail.com>.
Typically, when packaging software, one uses a "staging" area.  For
modern autoconf/automake/libtool build processes, this can typically
be done as follows:

   ./configure
   make
   make install DESTDIR=/path/to/staging/area

The contents of /path/to/staging/area is what you can build your
package from (of course, the contents may change based on the options
passed to ./configure).

On 4/17/06, Timo Wendt <tw...@online.de> wrote:
> Hi,
>
> I would like to build a SD Depot of Subversion for HP-UX. Does
> anybody know if there is already a depot around somehwere?
> How do I find out the complete list of files that "make install"
> installs on my system? Is there probably a tool around that is able
> to create a list of all the files by parsing the Makefiles?
>
> Timo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


--
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org