Stuart Hughes | 4 Jul 2012 09:54

Re: Ubuntu 12.04 compatibility (was Re: Build problem in Ubuntu 12.04 LTS)

Hi Henry,

You need to fix your network problems to get this to work, it's not feasible to manually download the files.

Start of by trying to load a file from the GPP from a browser on the same machine you have ltib installed, for example try accessing: http://bitshrine.org/gpp/termcap-buffer.patch

If that works, then use any proxy settings you have in the browser settings in the .ltibrc ltib config file.

Regards, Stuart

On 03/07/12 10:54, Li Yuan-Lung wrote:
Hi Stuart,
After testing, I am still stuck at the rpm-4.0.4.tar.gz get

The error message is still like below:

$ cat /home/henry/prjs/hpgw/ltib/host_config.log

Processing platform: host support
===================================

Processing: rpm-fs
====================
Build path taken because: no prebuilt rpm,
Can't get: rpm-4.0.4.tar.gz at ./ltib line 834.
Died at ./ltib line 2537.
traceback:
 main::check_rpm_setup:2537
  main::host_checks:1520
   main:561


Started: Tue Jul  3 17:48:06 2012
Ended:   Tue Jul  3 17:48:09 2012
Elapsed: 3 seconds

VERSION          : 11.4.1
CVS_VERSION      : $Revision: 1.87 $ (Savannah)
PLATFORM         : host
GNUTARCH         : i686
TOOLCHAIN        :
TOOLCHAIN_CFLAGS :

These packages failed to build:
rpm-fs

Build Failed

Is it possible for me to get the package manually or to check if my firewall block the download link in the script?
Thank you.

Henry


2012/7/2 Stuart Hughes <seh <at> zee2.com>
Hi everyone,

I managed to get some time to test LTIB on Ubuntu 12.04 (Xubuntu, 32
bit).  There were no significant changes needed, although I checked in
some minor changes to clear some warning messages (the force-debian one).

So if you want to try on Ubuntu 12.04 and you check-out the latest from
CVS and follow these step, you should be successful.

---+ Steps to install LTIB on Ubuntu 12.04

Install dependencies (yours may vary):

        sudo apt-get install g++ zlib1g-dev rpm libncurses5-dev patch

        sudo visudo

Add a line to enable sudo for your username.  For example mine is seh
and this is what I added at the end of the file:

        seh ALL = NOPASSWD: /usr/bin/rpm, /opt/ltib/usr/bin/rpm

Run ltib after CVS checkout:

        ./ltib


Regards, Stuart


<div>
    Hi Henry,<br><br>
    You need to fix your network problems to get this to work, it's not
    feasible to manually download the files.<br><br>
    Start of by trying to load a file from the GPP from a browser on the
    same machine you have ltib installed, for example try accessing:
    <a class="moz-txt-link-freetext" href="http://bitshrine.org/gpp/termcap-buffer.patch">http://bitshrine.org/gpp/termcap-buffer.patch</a><br><br>
    If that works, then use any proxy settings you have in the browser
    settings in the .ltibrc ltib config file.<br><br>
    Regards, Stuart<br><br>
    On 03/07/12 10:54, Li Yuan-Lung wrote:
    <blockquote cite="mid:CACbfYDs+F6oiF=iBy1j3SExZNKHZi8dFMeUCUy0z7hMfgnF+nw <at> mail.gmail.com" type="cite">Hi Stuart,<br>
      After testing, I am still stuck at the rpm-4.0.4.tar.gz get<br><br>
      The error message is still like below:<br><br><blockquote class="gmail_quote">
        $ cat /home/henry/prjs/hpgw/ltib/host_config.log<br><br>
        Processing platform: host support<br>
        ===================================<br><br>
        Processing: rpm-fs<br>
        ====================<br>
        Build path taken because: no prebuilt rpm, <br>
        Can't get: rpm-4.0.4.tar.gz at ./ltib line 834.<br>
        Died at ./ltib line 2537.<br>
        traceback:<br>
        &nbsp;main::check_rpm_setup:2537<br>
        &nbsp; main::host_checks:1520<br>
        &nbsp;&nbsp; main:561<br><br><br>
        Started: Tue Jul&nbsp; 3 17:48:06 2012<br>
        Ended:&nbsp;&nbsp; Tue Jul&nbsp; 3 17:48:09 2012<br>
        Elapsed: 3 seconds<br><br>
        VERSION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 11.4.1<br>
        CVS_VERSION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : $Revision: 1.87 $ (Savannah)<br>
        PLATFORM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : host<br>
        GNUTARCH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : i686<br>
        TOOLCHAIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <br>
        TOOLCHAIN_CFLAGS : <br><br>
        These packages failed to build:<br>
        rpm-fs <br><br>
        Build Failed<br>
</blockquote>
      <br>
      Is it possible for me to get the package manually or to check if
      my firewall block the download link in the script?<br>
      Thank you.<br><br>
      Henry<br><br><br><div class="gmail_quote">
        2012/7/2 Stuart Hughes <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:seh <at> zee2.com" target="_blank">seh <at> zee2.com</a>&gt;</span><br><blockquote class="gmail_quote">
          Hi everyone,<br><br>
          I managed to get some time to test LTIB on Ubuntu 12.04
          (Xubuntu, 32<br>
          bit). &nbsp;There were no significant changes needed, although I
          checked in<br>
          some minor changes to clear some warning messages (the
          force-debian one).<br><br>
          So if you want to try on Ubuntu 12.04 and you check-out the
          latest from<br>
          CVS and follow these step, you should be successful.<br><br>
          ---+ Steps to install LTIB on Ubuntu 12.04<br><br>
          Install dependencies (yours may vary):<br><br>
          &nbsp; &nbsp; &nbsp; &nbsp; sudo apt-get install g++ zlib1g-dev rpm
          libncurses5-dev patch<br><br>
          &nbsp; &nbsp; &nbsp; &nbsp; sudo visudo<br><br>
          Add a line to enable sudo for your username. &nbsp;For example mine
          is seh<br>
          and this is what I added at the end of the file:<br><br>
          &nbsp; &nbsp; &nbsp; &nbsp; seh ALL = NOPASSWD: /usr/bin/rpm,
          /opt/ltib/usr/bin/rpm<br><br>
          Run ltib after CVS checkout:<br><br>
          &nbsp; &nbsp; &nbsp; &nbsp; ./ltib<br><br><br>
          Regards, Stuart<br><br>
</blockquote>
      </div>
    </blockquote>
    <br>
</div>

Gmane