Hi Stuart,
Thanks for your reply. I'm a few steps further now, but ltib is not
working yet. See below.
The wget command works, and produces exactly the expected output, so
network connectivity seems fine. Also, I know I am not behing a proxy.
Anyway, I have installed libwww-perl and the initial messages have
disappeared. Also, the rpm-4.0.4.tar.gz error has disappeared.
The next error was that the 'flex' command was not found, so I have done
`sudo apt-get install flex' as well, and manually removed
/opt/ltib/usr/src/rpm/BUILD/lkc-1.4 before retrying. Shouldn't a check for
flex have been included earlier in the ltib script?
Anyway, I tried again, and now I get the following error for the git:
install git
'/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64/opt/ltib/usr/bin'
make -C templates
DESTDIR='/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64' install
make[1]: Entering directory
`/opt/ltib/usr/src/rpm/BUILD/git-1.5.6.5/templates'
install -d -m 755
'/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64/opt/ltib/usr/share/git-core/templates/'
(cd blt && tar cf - .) | \
(cd
'/home/johan/ltib/tmp/git//opt/freescale/rootfs/x86_64/opt/ltib/usr/share/git-core/templates/'
&& umask 022 && tar xf -)
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/opt/ltib/usr/src/rpm/BUILD/git-1.5.6.5/templates'
make: *** [install] Error 2
error: Bad exit status from /home/johan/ltib/tmp/rpm-tmp.53067 (%install)
RPM build errors:
Bad exit status from /home/johan/ltib/tmp/rpm-tmp.53067 (%install)
Build time for git: 43 seconds
Failed building git
Died at ./ltib line 1470.
traceback:
main::build_host_rpms:1470
main::host_checks:1532
main:561
Started: Wed Oct 10 14:28:15 2012
Ended: Wed Oct 10 14:31:39 2012
Elapsed: 204 seconds
VERSION : 11.4.1
CVS_VERSION : $Revision: 1.88 $ (Savannah)
PLATFORM : host
GNUTARCH : x86_64
TOOLCHAIN :
TOOLCHAIN_CFLAGS :
These packages failed to build:
git
Build Failed
As a side note, ltib initially complained about a number of missing
packages, including ncurses-devel and zlib-devel. However, 'apt-get
install ncurses-devel' and 'apt-get install zlib-devel' cannot find these
packages (in the default Mint repositories). It took me some time to
figure out that libncurses5-dev and zlib1g-dev provide the required
functionality. Would it be a good idea to include this information in the
ltib output, so that other first-time installers don't loose time?
Regards, Johan
On Wed, Oct 10, 2012 at 11:11 AM, Stuart Hughes <[email protected]> wrote:
> **
> Hi Johan,
>
> The warnings mean that ltib can't test whether or not proxies/networking
> is available.
>
> I suspect from your error: "Can't get: rpm-4.0.4.tar.gz at ./ltib line
> 834".
> you have network connectivity problem.
>
> To check this, on the machine you're running ltib, make sure you can run:
>
> wget -q -O - bitshrine.org/gpp/rpm-4.0.4.tar.gz.md5
>
> It should show: b92c46d5add17d6edff235d776cc1af3 rpm-4.0.4.tar.gz
>
> If that doesn't work you don't have Internet access. That means you may
> need to configure the .ltibrc if you're behind a proxy.
>
> Ideally you should install the missing HTTP::Request::Common and
> LWP::UserAgent Perl modules, these should be in libwww-perl, so: sudo
> apt-get install libwww-perl
>
> Regards, Stuart
>
>
> On 10/10/12 09:54, Johan Cockx wrote:
>
> Hi,
>
> I'm trying to install ltib on Linux Mint 1.6, but no succes: the error is
> "Can't get: rpm-4.0.4.tar.gz at ./ltib line 834".
>
> This is the first time that I am trying to use LTIB. I did the following:
>
> cvs -z3 -d:pserver:[email protected]:/sources/ltib co -P
> ltib
> cd ltib
> ./ltib
>
> Output is:
>
> 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
>
> Installing host support packages.
>
> This only needs to be done once per host, but may take up to
> an hour to complete ...
>
> If an error occurs, a log file with the full output may be found in:
> /home/johan/ltib/host_config.log
>
> If you would like to see the log messages as the host packages are built
> and
> installed:
>
> * Open another terminal in the same directory
> * Run the command: tail -f host_config.log
> * When you're done with the tail, use CTRL+C to exit
>
> Exiting on error or interrupt
> Please see >> /home/johan/ltib/host_config.log for details
>
>
> I don't understand the first four lines (about HTTP and LWP); is this
> related?
>
> Here are the contents of 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: Wed Oct 10 10:38:14 2012
> Ended: Wed Oct 10 10:38:14 2012
> Elapsed: 0 seconds
>
> VERSION : 11.4.1
> CVS_VERSION : $Revision: 1.88 $ (Savannah)
> PLATFORM : host
> GNUTARCH : x86_64
> TOOLCHAIN :
> TOOLCHAIN_CFLAGS :
>
> These packages failed to build:
> rpm-fs
>
> Build Failed
>
> Regards,
> Johan Cockx
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing [email protected]https://lists.nongnu.org/mailman/listinfo/ltib
>
>
>
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib