|
From: | Li Yuan-Lung |
Subject: | Re: [Ltib] Ubuntu 12.04 compatibility (was Re: Build problem in Ubuntu 12.04 LTS) |
Date: | Thu, 5 Jul 2012 10:54:32 +0800 |
sudo apt-get install libwww-perl
Hi Stuart,
Currently we did not use proxy in our environment. We are using directly connections.
So the proxy in ltibrc is "0". I think is is correct.
Now I just manually wget the packages and let the ltib go through. I don't know why.
Maybe I should have the "Don't have HTTP::Request::Common" to be solved?
Currently I have done the below command to pass some packages:
wget http://bitshrine.org/gpp/rpm-4.0.4.tar.gz
wget http://bitshrine.org/gpp/rpm_lfs.patch
wget http://bitshrine.org/gpp/rpm-4.0.4-python-configure.patch
wget http://bitshrine.org/gpp/rpm-4.0.4-sysconfig-configure.patch
wget http://bitshrine.org/gpp/rpm-4.0.4-no-usr-local.patch
wget http://bitshrine.org/gpp/mkspooflinks-3.4.tar.gz --> this wget command is fail, I have to download it from firefox.
wget http://bitshrine.org/gpp/mkspooflinks-3.4-mmlink.patch
wget http://bitshrine.org/gpp/mkspooflinks-3.4-prefixbefore.patch
wget http://bitshrine.org/gpp/mkspooflinks-3.4-ccache.patch
wget http://bitshrine.org/gpp/distcc-2.18.3.tar.bz2
wget http://bitshrine.org/gpp/ccache-2.4.tar.gz
wget http://bitshrine.org/gpp/ccache-2.4.tar.gz.md5
wget http://bitshrine.org/gpp/ccache.bsh.in
wget http://bitshrine.org/gpp/ccache.csh.in
wget http://bitshrine.org/gpp/ccache-html-links.patch
wget http://bitshrine.org/gpp/ccache-2.4-coverage-231462.patch
But the build is still stuck at new packages.
So I think I have to make the message in the beginning to be solved:
"Don't have HTTP::Request::Common
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request::Common and LWP::UserAgent"
But how? Where can I force the HTTP request to become normal?
In ltibrc, maybe I should change the "/data/Websites/bitshrine/gpp" to be "http://www.bitshrine.org/gpp"?
Thank you.
Henry2012/7/4 Stuart Hughes <address@hidden>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 <address@hidden>
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
--
Best Regards,
Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231
FAX: +886-2-2792-6618
[Prev in Thread] | Current Thread | [Next in Thread] |