wiki:HP-UX

Version 1 (modified by Bruno Cornec, 13 years ago) ( diff )

--

Porting on HP-UX

HP-UX packages

Software Package Builder 7.0 User's Guide

Software Distributor Administration Guide

Port from scratch

These notes are taken as the HP-UX port is occuring

  • Working on a pre-installed HP-UX machine
  • Download the source of project-builder.org
    $ wget ftp://ftp.project-builder.org/src/project-builder-latest.tar.gz
    $ wget ftp://ftp.project-builder.org/src/ProjectBuilder-latest.tar.gz
    
  • Extract the sources
    $ gzip -cd ProjectBuilder-latest.tar.gz | tar xf -
    $ gzip -cd project-builder-latest.tar.gz | tar xf -
    
  • Install the project
    $ cd ProjectBuilder-0.10.1/
    $ perl Makefile.PL
    $ make
    $ sudo make install
    $ cd ../project-builder-0.10.1/
    $ perl Makefile.PL
    $ make
    $ sudo make install
    
  • Test that project-builder is installed and working correctly
  • Build project-builder.org with itself to create native packages
    $ echo > ~/.pbrc << EOF
    pburl pb = svn+ssh://bruno@mondo.hpintelco.net/mondo/svn/pb
    pbconfurl pb = svn+ssh://svn.project-builder.net/mondo/svn/pb/pbconf
    pbdefdir default = $ENV{'HOME'}/pb/projects
    pbdefdir pb = $ENV{'HOME'}
    pbconfdir pb = $ENV{'HOME'}/pb/pbconf
    EOF
    $ pb -p pb -r devel cms2pkg
    [...]
    
Note: See TracWiki for help on using the wiki.