Greetings.

I am trying to install the last version of LTIB by netinstall in Ubuntu 11.10, but an error occurs.

How fix it?

Regards.
--
eval 'LANG=C exec perl -w -S $0 ${1+"$@"}'
    if $running_under_some_shell;
$running_under_some_shell = 0;

######################################################################
#
# Copyright © Freescale Semiconductor, Inc. 2004-2005. All rights reserved.
#
# Stuart Hughes, [email protected], 14th June 2005
#   
# This file is part of LTIB.
#
# LTIB is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# LTIB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LTIB; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
#
#
######################################################################
use FindBin;
use Cwd;
$isodir = $FindBin::Bin;
$echo   = '';

die <<TXT if $> == 0;

You should not be root when installing LTIB

TXT

umask(0);

print <<TXT;

You are about to install the LTIB (GNU/Linux Target Image Builder)

Do you want to continue ? Y|n
TXT
$_ = <STDIN>;
die "Installation aborted, goodbye\n" if /^n/i;

$tag  = "ltib";
$tdir = cwd();

while(1){
    print "Where do you want to install LTIB ? ($tdir/$tag)\n";
    chomp($line  = <STDIN>);
    ($tdir,$tag) = $line =~ m,(/[^\s]+)/([^/\s]+), if $line;
    warn("You need to supply an absolute path\n\n"), next unless $tdir && $tag;
    warn("Directory $tdir/$tag already exists\n\n"), next if -d "$tdir/$tag";
    if(! -d $tdir) {
        print "Making target directory $tdir\n";
        system("$echo mkdir -p $tdir/$tag") == 0 or next;
    }
    chdir $tdir or die "chdir $tdir";
    last;
}

print "Installing LTIB to $tdir/$tag\n";
system("set -x; $echo cvs -z3 
-d:pserver:anonymous\@cvs.savannah.nongnu.org:/sources/ltib co -d $tag -P 
ltib") == 0 or die;

print <<TXT;

LTIB download complete, your ltib installation has been placed in 
$tdir/$tag, to complete the installation, run the following commands:

\$ cd $tdir/$tag
\$ ./ltib

TXT
exit 0;

#
# Please examine and set the values according to your needs.
# The comment out values have good defaults.  If you want
# to override them, uncomment and set your value.
#
# You can copy this to your home directory to apply these values
# to other instances of this utility (becomes global for your user)
#

# base for location of the built root filesystem, this also doubles up as
# the storage area for all interface libraries/headers.  This directory
# will have rootfs appended to it
#%bldbase

# The directory where rpms will be built
#%rpmdir

# The base directory where the binary rpms go
#%_rpmdir

# The directory containing the rpm database
#%rpmdb

# The directory containing scripts that spoof the compiler
#%spoof_path

# The directory containing scripts/binaries called from the main script
#%bin_path

# Local directories, these are searched before the Local Package Pool
# for files.  This can be a whitespace separated list (including new-lines)
%ldirs
/var/tmp/pkgs
/opt/freescale/pkgs

# The Local Package Pool, the global storage area for downloads.
# This directory must exist and you must have write permission.
# In general, leave this as it is.
#%lpp

# This is a list of the package pools to use (whitespace separated inc newline)
%pps
ppp
gpp

# The URL of the PPP (Private Package Pool) private code repository
%ppp_url

# The URL of the GPP (Global Package Pool) master code repository
%gpp_url
http://bitshrine.org/gpp/

# The URL of the GPP staging area.   This is only used for -m release
%gpp_stage_url
http://bitshrine.org/gpp/

# The URL of the Clickthru staging area.  This is only used for -m release
%cpp_stage_url

# The HTTP proxy for internet access
# example: http://USER:[email protected]:PORT
%http_proxy

# For each of the sources: ppp, gpp, gpp_stage, cpp_stage
# there is a corresponding entry that says whether or not
# to use a proxy.
# Valid values are: 1 : 0
%ppp_proxy
0

%gpp_proxy
0

%gpp_stage_proxy
0

%cpp_stage_proxy
0

# use this to bypass proxy testing (set to 1)
%bypass_network_tests
0

# use for multi-processor, or with distcc
%MAKEFLAGS
-j 8

# distcc
#%DISTCC_HOSTS
#localhost @virginia:/opt/freescale/ltib/usr/bin/distccd

#%DISTCC_TCP_CORK
#0

# ccache related environments
%CCACHE_DIR
$home/.ccache

# control whether datestamps are UTC (default) or localtime
#%use_localtime
#0

# This is used to trigger re-running the host install package
# pass.  Bump this number up if you update a host support
# package and you want to force others to install this update
%host_wait_warning
.host_wait_warning35
rpmdb: --force-debian: unknown option
Died at ./ltib line 2429.
traceback:
 main::setup_rpmdb:2429
  main::check_rpm_setup:2495
   main::host_checks:1483
    main:548


Started: Thu Oct 27 10:20:32 2011
Ended:   Thu Oct 27 10:20:34 2011
Elapsed: 2 seconds

Use of uninitialized value in concatenation (.) or string at ./ltib line 2818.
Use of uninitialized value in concatenation (.) or string at ./ltib line 2818.
VERSION          : 10.1.1
CVS_VERSION      : $Revision: 1.75 $ (Savannah)
PLATFORM         : host
GNUTARCH         : i686
TOOLCHAIN        : 
TOOLCHAIN_CFLAGS : 


Build Failed

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to