hi.
after run ./ltib this is the message I read in the host_config.log. can anybory help me with this?
thanks !
------------------------------------------------------------------
Processing platform: Host support packages
============================================
using /home/david/ltib/config/platform/host/ltib.preconfig
Processing: fake-provides
===========================
Processing: mkspooflinks
==========================
Processing: distcc
====================
Processing: ccache
====================
Processing: bison
===================
Processing: flex
==================
Processing: texinfo
=====================
Processing: autoconf
======================
Processing: libtool
=====================
Processing: lkc
=================
Processing: patch
===================
Processing: wget-ssl
======================
Build path taken because: directory build, no prebuilt rpm,
Cowardly refusing to clobber existing directory:
/opt/ltib/usr/src/rpm/BUILD/wget-1.14
Remove this by hand if you really want to rebuild this package from scratch
Died at ./ltib line 1492.
traceback:
main::build_host_rpms:1492
main::host_checks:1554
main:562
Have you tried removing /opt/ltib/usr/src/rpm/BUILD/wget-1.14 ??
yes, but I obtain teh same message after I run ./ltib an check the file host_config.log
I'm usign ubuntu 14.04.
I check teh line you said me, but was added (--without-ssl) . en I run again and the same message appear :smileysad:.
I working with the HHH (Home health hub) this platform use a imx283, is there another diferent tool to the LTIB to create the projects embbeded in the processor?
Thanks
The "Cowardly refusing to clobber existing directory: /opt/ltib/usr/src/rpm/BUILD/wget-1.14" error will disappear once you have successfully deleted that folder (sudo rm -rf /opt/ltib/usr/src/rpm/BUILD/wget-1.14).
Please post the error you get, after deleting the folder and running LTIB again.
I have recently built the full MX28 LTIB BSP (L2.6.35_1.1.0_130130_source.tar.gz) from scratch, using Ubuntu 14.04.
this is that I obtain when remove the file and run again the ./ltib , and wait for a long time then is showing the message in the left terminal.
The log says you used"--with-ssl" instead of "--without-ssl".
Please:
- double check that you actually did put without instead of with, and try it again
- if that does not work, please revert back to the original wget.spec and try this again.
Thanks.
hi!
these are the files that I changed (wget.spec) and checked (host_config.log) after run ./ltib. I added the comand you said me but the same issue appear.
David,
I am sorry that you are struggling with this. One option is to use an older, officially-supported version of Ubuntu.
That said, it worked for me on Ubuntu 14.04 64-bit. But please make sure you have all these packages installed on your host:
# from "Setting_Up_LTIB_host.pdf" included in BSP Docs
echo "Loading Min Packages for LTIB"
echo "LTIB 1/3: needed by LTIB"
sudo apt-get -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo apt-get -y install libdbus-glib-1-dev liborbit2-dev intltool
sudo apt-get -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo apt-get -y install uuid-dev liblzo2-dev
sudo apt-get -y install tcl dpkg
sudo apt-get -y install asciidoc texlive-latex-base dblatex xutils-dev
echo "LTIB 2/3: for 64b Ubuntu"
sudo apt-get -y install ia32-libs libc6-dev-i386 lib32z1
sudo apt-get -y install
sudo apt-get -y install
echo "LTIB 3/3: recommended"
sudo apt-get -y install gparted emacs22-nox openssh-server
sudo apt-get -y install nfs-common nfs-kernel-server lintian
sudo apt-get -y install git-core git-doc git-email git-gui gitk
sudo apt-get -y install diffstat indent tofrodos fakeroot doxygen uboot-mkimage
sudo apt-get -y install sendmail mailutils meld atftpd sharutils
sudo apt-get -y install manpages-dev manpages-posix manpages-posix-dev linux-doc
sudo apt-get -y install vnc4server xvnc4viewer
Regards,
Rod.
hi!
I install all the packages, and run it again, but I got the same error.
:smileysad:
Hi!
Neither Installing additional packages, nor removing wget-source won't help. This happens because wget can't compile it's manpage with perl5.18. So you can either install perl5.17, or patch wget sources. I haven't tried downgrading to perl5.17, but tried patching, and it worked for me, so sharing it with you as tiny Bash script for convenience (it fixes wget-ssl.spec along with wget.texi).
Copy-paste command for lazies:
wget -qO- https://gist.github.com/the-admax/684d56db33f2f0792b69/raw/be70219025a11c97037b0e423f961b776cd3d418/... | bash
After it's done its work just run
ltib --hostcf
I ran the patch (copy-pated into terminal) and came up with this error:
bash: line 17: pushd: /opt/ltib/pkgs: No such file or directory
bash: line 109: popd: directory stack empty
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/dist/lfs-5.1/wget/wget-ssl.spec 2014-07-04 02:49:10.338387548 +0400
|+++ b/dist/lfs-5.1/wget/wget-ssl.spec 2014-07-04 02:48:31.836591528 +0400
--------------------------
File to patch:
Any info?
Hello! You must have noticed # some config. Adapt to your env
code on line 3: it warns about adaptation of script to your particular environment. It's my bad I neither done any config-confirmation, nor command-line argument acquision, nor input protection...
So you need to fetch the script to some file, change those paths to conform your actual LTIB-installation dir, and then run the modified script.You could also set LTIB_ROOT to relative path (i.e. .
and run script from within lrib root directly).
These errors you see are all caused by wrong path to LTIB. Fix it inside script header, and problem should be resolved then.
I used your patch, but still not compiling;
checking for compress in -lz... (cached) yes
checking for gpg_err_init in -lgpg-error... no
checking for gcry_control in -lgcrypt... no
checking for libgnutls... no
configure: error: --with-ssl was given, but GNUTLS is not available.
error: Bad exit status from /home/jixbo/ltib/tmp/rpm-tmp.5458 (%build)
RPM build errors:
Bad exit status from /home/jixbo/ltib/tmp/rpm-tmp.5458 (%build)
Build time for wget-ssl: 21 seconds
Failed building wget-ssl
Died at ./ltib line 1492.
traceback:
main::build_host_rpms:1492
main::host_checks:1554
main:562
Started: Thu Sep 4 18:19:56 2014
Ended: Thu Sep 4 18:20:17 2014
Elapsed: 21 seconds
VERSION : 13.2.1
CVS_VERSION : $Revision: 1.93 $ (Savannah)
PLATFORM : host
GNUTARCH : x86_64
TOOLCHAIN :
TOOLCHAIN_CFLAGS :
These packages failed to build:
wget-ssl
Build Failed
Any ideas?
It says "--with-ssl was given" but it's not true.ven--with-ssl was given
Sure.
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : The GNU utility for retrieving files across the internet
Name : wget
Version : 1.9.1
Release : 1
License : GPL
Vendor : Freescale
Packager : Stuart Hughes
Group : Applications/Internet
Source : wget-1.9.1.tar.gz
BuildRoot : %{_tmppath}/%{name}
Prefix : %{pfx}
%Description
%{summary}
%Prep
%setup
%Build
./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --host=$CFGHOST --mandir=%{_mandir} --without-ssl
make
%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
%Clean
rm -rf $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
%{pfx}/*
Thank you in advance.
totally fine following along until this:
After adding this you need to manually remove the wgest file from BUILD (/opt/freescale/ltib/usr/src/rpm/BUILD) directory then again compile
inside my BUILD folder I don't have a wgest file, just a wget-1.9.1 folder. i'm officially lost at this point.