I've been attempting to install prefix on irix and osf1 and neither system has bzip2 installed by default Reproducible: Always
HP-UX needs this as well.
I should have noticed this earlier. Trivial to do, committed. Sorry and thanks!
You forgot a "() {" at the end of bzip2 and even with that added I still can't get it to work. bash-3.2$ ../global/bootstrap-prefix.sh $EPREFIX/tmp bzip2 * Bootstrapping Gentoo prefixed portage installation using * host: ia64-hp-hpux11.23 * prefix: /home/jolexa/portage/hpux-11.23/tmp * ready to bootstrap bzip2 * Bootstrapping bzip2 * Unpacking bzip2 * Compiling bzip2 ../global/bootstrap-prefix.sh: line 20: ./configure: No such file or directory I don't think the bzip2 package is on the GNU mirrors either, at least I can't find it.
hmmm oops! Couldn't check as the gnu website is down. Ok, should have checked in a version that has more chance to work now...
(In reply to comment #4) > Ok, should have checked in a version that has more chance to work now... Its not PREFIX friendly: * Installing bzip2 if ( test ! -d /usr/local/bin ) ; then mkdir -p /usr/local/bin ; fi if ( test ! -d /usr/local/lib ) ; then mkdir -p /usr/local/lib ; fi if ( test ! -d /usr/local/man ) ; then mkdir -p /usr/local/man ; fi if ( test ! -d /usr/local/man/man1 ) ; then mkdir -p /usr/local/man/man1 ; fi if ( test ! -d /usr/local/include ) ; then mkdir -p /usr/local/include ; fi cp -f bzip2 /usr/local/bin/bzip2 cp: cannot create regular file `/usr/local/bin/bzip2': Permission denied make: *** [install] Error 1
it should be now. I forgot econf. Sorry for not testing. I'm doing something else at the moment, so don't hestitate to keep on replying ;)
(In reply to comment #6) > it should be now. I forgot econf. Sorry for not testing. I'm doing something > else at the moment, so don't hestitate to keep on replying ;) > Well, the fun part about this one is that you can't use econf because there is no configure script. Sorry for being vague in my previous report. I didn't have time at that second to look into it. You compile bzip2 just by running make. In this case we will need something like "make install PREFIX=/xxx/yyy" -- maybe "make install $EPREFIX/"${ROOT}"/usr" ? I'm not sure how the cmd line arguments gets stored into a variable or what variable but we call bootstrap-prefix.sh with the path where we want it to go on the cmd line.
HOW TO BUILD -- UNIX Type 'make'. This builds the library libbz2.a and then the programs bzip2 and bzip2recover. Six self-tests are run. If the self-tests complete ok, carry on to installation: To install in /usr/local/bin, /usr/local/lib, /usr/local/man and /usr/local/include, type make install To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type make install PREFIX=/xxx/yyy If you are (justifiably) paranoid and want to see what 'make install' is going to do, you can first do make -n install or make -n install PREFIX=/xxx/yyy respectively. The -n instructs make to show the commands it would execute, but not actually execute them.
ok, works on Solaris while testing now.
(In reply to comment #9) > ok, works on Solaris while testing now. > Works on hp-ux ia64. Thanks.