> 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?
Last I checked there were about 1000 Linux distros and with ltib not being associated with any particular one, it is near impossible to list even a fraction of the variations of core/dev/version of the packages. There are many that are not even apt/dpkg/deb based. Feel free to post a list for your distro and version so others may benefit. Some of the packages, which you may or may not have selected, could have their own requirements which the top level ltib will not be aware. It is daunting to get ltib going the first time (something I'd like to make easy also), but the only solution I have: know your distro. It is a tool in itself. I made a pre-req list for my co-workers since we usually run the same distro/release: Unbuntu about 12.04: install patch g++ rpm zlib1g-dev m4 bison libncurses5-dev libglib2.0-dev gettext build-essential tcl intltool libxml2-dev liborbit2-dev libx11-dev ccache flex uuid-dev liblzo2-dev libglib2.0-dev If 64-bit host install: ia32-libs gcc-multilib lib32g++ set the correct symlink for libs if it does not exist. sudo ln -s /usr/lib32/libstdc++.so.6 /usr/lib32/libstdc++.so Sorry, can't help on the flex. > 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 list >> [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 > _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
