ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Problems building LTIB...


From: hugo Alexandre
Subject: Re: [Ltib] Problems building LTIB...
Date: Wed, 13 Jul 2011 10:17:12 -0300

Hi Stuart,

Tired of trying to build LTIB on Ubuntu 10.04, I've decided to test LTIB on Ubuntu 10.10.

I did the same things that I'd done on Ubuntu 10.04, and now LTIB is working fine.

thanks for you help.

Hugo A. Gabardo


2011/7/12 Stuart Hughes <address@hidden>
Hi Hugo,

I can't see anything obviously wrong.

What should happen is that test_proxy in bin/Ltibutils.pm should get
triggered.  I can't see any messages and so am not sure why.

Do you see any messages when you run ltib (easier without -v) about:
       Don't have HTTP::Request::Common
       Don't have LWP::UserAgent

You need both of these for proxies?

If you do have these, then you could try to uncomment:
#use LWP::Debug qw(+);

which is in ltib around line 41, this will give LWP debug output.  Don't
post output from this though to the list as it may reveal your password
(for proxy).

Also you could also add some 'prints' to test_proxy() to see what's
going on.

Regards, Stuart

On 05/07/11 16:58, hugo Alexandre wrote:
> Hi Stuart,
>
> Here is the part of .ltibrc//file that I've changed:
>
> # The HTTP proxy for internet access
> # example: http://USER:address@hidden:PORT
> %http_proxy
> http://my_user:address@hidden:3128
>
> # 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
> 1
>
> %gpp_stage_proxy
> 0
>
> And the host_config.log when I run ./ltib -v is attached to this message.
>
>
> Thanks,
>
> Hugo A. Gabardo
>
>
> 2011/7/5 Stuart Hughes <address@hidden <mailto:address@hidden>>
>
>     __
>     Hi Hugo,
>
>     You need to make sure the settings you put into .ltibrc for your
>     proxy are correct.
>
>     The message below:
>
>
>         Processing: rpm-fs
>         ====================
>         Build path taken because: no prebuilt rpm,
>         Testing network connectivity for gpp
>         No network download connection available
>
>
>     Shows that the test for network connectivity failed.
>
>     You could try running ./ltib -v this will spew out a lot more
>     information but may reveal what is not set-up correctly.
>
>     Regards, Stuart
>
>
>
>
>     On 05/07/11 15:17, hugo Alexandre wrote:
>>     Stuart,
>>
>>     I ran this command you wrote, and I've run command below to
>>     install Authen/NTLM module too:
>>
>>     sudo dpkg -i libauthen-ntlm-perl_1.08-1_all.deb
>>
>>     This solved Authen/NTLM problem.
>>
>>     But I'm still not able to build LTIB. Now I'm getting the
>>     following erro message:
>>
>>     Processing platform: host support
>>     ===================================
>>
>>     Processing: rpm-fs
>>     ====================
>>     Build path taken because: no prebuilt rpm,
>>     Testing network connectivity for gpp
>>     No network download connection available
>>     Can't get: rpm-4.0.4.tar.gz at ./ltib line 821.
>>     Died at ./ltib line 2498.
>>     traceback:
>>      main::check_rpm_setup:2498
>>       main::host_checks:1483
>>        main:548
>>
>>
>>     Started: Tue Jul  5 09:17:59 2011
>>     Ended:   Tue Jul  5 09:18:00 2011
>>     Elapsed: 1 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 :
>>
>>     These packages failed to build:
>>     rpm-fs
>>
>>     Build Failed
>>
>>
>>     And apparently my internet connection is OK now.
>>
>>
>>     Thanks in Advance,
>>
>>     Hugo A. Gabardo
>>
>>
>>
>>     2011/7/5 Stuart Hughes <address@hidden <mailto:address@hidden>>
>>
>>         Try:
>>
>>         sudo apt-get install libwww-perl
>>
>>
>>         On 05/07/11 08:46, Stuart Hughes wrote:
>>>         Hi Hugo,
>>>
>>>         Why can't you install it, what distro are you on?
>>>
>>>         Regards, Stuart
>>>
>>>         On 04/07/11 21:47, hugo Alexandre wrote:
>>>>         Hi Stuart,
>>>>
>>>>         The Authen/NTLM module (libauthen-ntlm-perl) isn't able to
>>>>         install on my synaptic package list. Are there another
>>>>         package that I could use?
>>>>
>>>>         Thank,
>>>>
>>>>         Hugo A. Gabardo
>>>>
>>>>         2011/7/2 Stuart Hughes <address@hidden <mailto:address@hidden>>
>>>>
>>>>             Hi Hugo,
>>>>
>>>>             You need to install the missing Authen/NTLM perl modules
>>>>             for your
>>>>             machine using the package manager (synaptic/yum for
>>>>             example depending on
>>>>             distro).
>>>>
>>>>             Regards, Stuart
>>>>
>>>>             On 01/07/11 20:13, hugo Alexandre wrote:
>>>>             > Hi Stuart,
>>>>             >
>>>>             > Yes, I use a proxy to access the Internet.
>>>>             > I've done what you wrote (changing .ltibrc file ), and
>>>>             I got the
>>>>             > folowing message:
>>>>             >
>>>>             > Processing platform: host support
>>>>             > ===================================
>>>>             >
>>>>             > Processing: rpm-fs
>>>>             > ====================
>>>>             > Build path taken because: no prebuilt rpm,
>>>>             > Testing network connectivity for gpp
>>>>             > No network download connection available
>>>>             > Can't get: rpm-4.0.4.tar.gz at ./ltib line 821.
>>>>             > Can't locate Authen/NTLM.pm in @INC (@INC contains:
>>>>             > /home/user/Desktop/ltib/bin /etc/perl
>>>>             /usr/local/lib/perl/5.10.1
>>>>             > /usr/local/share/perl/5.10.1 /usr/lib/perl5
>>>>             /usr/share/perl5
>>>>             > /usr/lib/perl/5.10 /usr/share/perl/5.10
>>>>             /usr/local/lib/site_perl .) at
>>>>             > /usr/share/perl5/LWP/Authen/Ntlm.pm line 8.
>>>>             > BEGIN failed--compilation aborted at
>>>>             /usr/share/perl5/LWP/Authen/Ntlm.pm
>>>>             > line 8.
>>>>             > Compilation failed in require at (eval 26) line 3.
>>>>             >     ...propagated at ./ltib line 2498.
>>>>             > tracebackincd
>>>>             >
>>>>             >  main::check_rpm_setup:2498
>>>>             >   main::host_checks:1483
>>>>             >    main:548
>>>>             >
>>>>             >
>>>>             > Started: Fri Jul  1 14:41:45 2011
>>>>             > Ended:   Fri Jul  1 14:41:55 2011
>>>>             > Elapsed: 10 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 :
>>>>             >
>>>>             > These packages failed to build:
>>>>             > rpm-fs
>>>>             >
>>>>             > Build Failed
>>>>             >
>>>>             >
>>>>             > I don't know if this info will help, but I was having
>>>>             the same ploblem
>>>>             > with apt-get, then I added the following lines on
>>>>             file/etc/enviroment/
>>>>             > and now it works fine:
>>>>             >
>>>>             >  http_proxy="http://user:address@hidden:3128"
>>>>             >   ftp_proxy="http://user:address@hidden:3128"
>>>>             >
>>>>             >   Acquire {
>>>>             >   HTTP::Proxy user:address@hidden:3128
>>>>             <http://user:address@hidden:3128>;
>>>>             >   FTP::Proxy user:address@hidden:3128
>>>>             <http://user:address@hidden:3128>;
>>>>             >   };
>>>>             >   alias wget="wget --proxy-user=<user>
>>>>             --proxy-passwd=<password>"
>>>>             >
>>>>             > Thanks,
>>>>             >
>>>>             > Hugo A. Gabardo
>>>>             >
>>>>             >
>>>>             > 2011/6/29 Stuart Hughes <address@hidden
>>>>             <mailto:address@hidden> <mailto:address@hidden
>>>>             <mailto:address@hidden>>>
>>>>             >
>>>>             >     __
>>>>             >     Hi Hugo,
>>>>             >
>>>>             >     It look like you don't have direct network
>>>>             connectivity to the Internet.
>>>>             >
>>>>             >     Are you at work? if so do you know if you normally
>>>>             use a proxy to
>>>>             >     access the Internet?  If so you'll need to set-up
>>>>             proxying for LTIB
>>>>             >     by editing the .ltibrc file.  The sections you
>>>>             need to change would be:
>>>>             >
>>>>             >     # The HTTP proxy for internet access
>>>>             >     # example:
>>>>             http://USER:address@hidden:PORT
>>>>             <mailto:http://USER:address@hidden:PORT>
>>>>             >     <mailto:http
>>>>             <mailto:http>://USER:address@hidden:PORT>
>>>>             >     %http_proxy
>>>>             >     http://USER:address@hidden:PORT
>>>>             <mailto:http://USER:address@hidden:PORT>
>>>>             >     <mailto:http
>>>>             <mailto:http>://USER:address@hidden:PORT>
>>>>             >
>>>>             >     # 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
>>>>             >
>>>>             >     %gpp_proxy
>>>>             >     1
>>>>             >
>>>>             >     Obviously the  %http_proxy entry needs to reflect
>>>>             your environment.
>>>>             >
>>>>             >     The quick way to find out your proxy settings is
>>>>             to see if you can
>>>>             >     access http://bitshrine.org/ from your browser.
>>>>              If so look at the
>>>>             >     proxy settings it is using and crib those.
>>>>             >
>>>>             >     Regards, Stuart
>>>>             >
>>>>             >
>>>>             >
>>>>             >     On 29/06/11 13:45, hugo Alexandre wrote:
>>>>             >>     Hi All,
>>>>             >>
>>>>             >>     I'm trying to build LTIB for the first time on
>>>>             Ubuntu 10.04, and I
>>>>             >>     always get the same error.
>>>>             >>
>>>>             >>     The content of host_config.log is:
>>>>             >>
>>>>             >>     Processing platform: host support
>>>>             >>     ===================================
>>>>             >>
>>>>             >>     Processing: rpm-fs
>>>>             >>     ====================
>>>>             >>     Build path taken because: no prebuilt rpm,
>>>>             >>     Testing network connectivity for gpp
>>>>             >>     No network download connection available
>>>>             >>     Can't get: rpm-4.0.4.tar.gz at ./ltib line 821.
>>>>             >>     Can't connect to bitshrine.org:80
>>>>             <http://bitshrine.org:80> <http://bitshrine.org:80>
>>>>             >>     (connect: Connection timed out)    ...propagated
>>>>             at ./ltib line 2498.
>>>>             >>     traceback:
>>>>             >>      main::check_rpm_setup:2498
>>>>             >>       main::host_checks:1483
>>>>             >>        main:548
>>>>             >>
>>>>             >>
>>>>             >>     Started: Wed Jun 29 08:24:29 2011
>>>>             >>     Ended:   Wed Jun 29 08:25:00 2011
>>>>             >>     Elapsed: 31 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 :
>>>>             >>
>>>>             >>     These packages failed to build:
>>>>             >>     rpm-fs
>>>>             >>
>>>>             >>     Build Failed
>>>>             >>
>>>>             >>     I've already searched for a solution on google,
>>>>             but I couldn't
>>>>             >>     find anything.
>>>>             >>
>>>>             >>
>>>>             >>     Thanks in advance,
>>>>             >>
>>>>             >>     Hugo A. Gabardo
>>>>             >>
>>>>             >>
>>>>             >>     _______________________________________________
>>>>             >>     LTIB home page: http://ltib.org
>>>>             >>
>>>>             >>     Ltib mailing list
>>>>             >>     address@hidden <mailto:address@hidden>
>>>>             <mailto:address@hidden <mailto:address@hidden>>
>>>>             >>     https://lists.nongnu.org/mailman/listinfo/ltib
>>>>             >
>>>>             >
>>>>
>>>>
>>>
>>>
>>>         _______________________________________________
>>>         LTIB home page: http://ltib.org
>>>
>>>         Ltib mailing list
>>>         address@hidden <mailto:address@hidden>
>>>         https://lists.nongnu.org/mailman/listinfo/ltib
>>
>>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]