ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Installing ltib on VM machine with Fedora 20 x86_64


From: QuentinWanQiang YANG
Subject: Re: [Ltib] Installing ltib on VM machine with Fedora 20 x86_64
Date: Sun, 22 Jun 2014 18:57:16 +1000

Hi Stuart,

Thanks for the reply. No luck after installing 'gnutls-devel'. But the error message is different now. Failed to compile.

make[3]: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14/src'
make[2]: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14/src'
Making all in doc
make[2]: Entering directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14/doc'
./texi2pod.pl -D VERSION="1.14" ./wget.texi wget.pod
/usr/bin/pod2man --center="GNU Wget" --release="GNU Wget 1.14" wget.pod > wget.1
wget.pod around line 2105: Expected text after =item, not a number
wget.pod around line 2110: Expected text after =item, not a number
wget.pod around line 2116: Expected text after =item, not a number
wget.pod around line 2121: Expected text after =item, not a number
wget.pod around line 2126: Expected text after =item, not a number
wget.pod around line 2131: Expected text after =item, not a number
wget.pod around line 2136: Expected text after =item, not a number
wget.pod around line 2141: Expected text after =item, not a number
POD document had syntax errors at /usr/bin/pod2man line 69.
make[2]: *** [wget.1] Error 255
make[2]: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14'
make: *** [all] Error 2
error: Bad exit status from /home/q.yang/DataPacV3/ltib/tmp/rpm-tmp.53736 (%build)


RPM build errors:
    Bad exit status from /home/q.yang/DataPacV3/ltib/tmp/rpm-tmp.53736 (%build)
Build time for wget-ssl: 84 seconds

Failed building wget-ssl
Died at ./ltib line 1492.
traceback:
 main::build_host_rpms:1492
  main::host_checks:1554
   main:562


address@hidden ltib]$ yum list gnutls*
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
gnutls.i686                                             3.1.25-1.fc20                                     address@hidden
gnutls.x86_64                                           3.1.25-1.fc20                                     address@hidden
gnutls-c++.x86_64                                       3.1.25-1.fc20                                     address@hidden
gnutls-dane.x86_64                                      3.1.25-1.fc20                                     address@hidden
gnutls-devel.x86_64                                     3.1.25-1.fc20                                     address@hidden
gnutls-utils.x86_64                                     3.1.25-1.fc20                                     address@hidden
Available Packages
gnutls-c++.i686                                         3.1.25-1.fc20                                      updates 
gnutls-dane.i686                                        3.1.25-1.fc20                                      updates 
gnutls-devel.i686                                       3.1.25-1.fc20                                      updates 

MY LINUX KERNEL VERSION:
address@hidden ltib]$ uname -a
Linux fedora20 3.14.6-200.fc20.x86_64 #1 SMP Sun Jun 8 01:21:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

COULD NO LONGER REPRODUCE PREVIOUS ERROR.
Another thing I don't understand is after I uninstall packages that didn't help, I could not get the previous error. 
The error is now always "....POD document had syntax errors at /usr/bin/pod2man line 69....."

address@hidden ltib]# yum erase gnutls-devel
address@hidden ltib]$ yum list gnutls*
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
gnutls.x86_64                                           3.1.25-1.fc20                                     address@hidden
gnutls-c++.x86_64                                       3.1.25-1.fc20                                     address@hidden
gnutls-dane.x86_64                                      3.1.25-1.fc20                                     address@hidden
Available Packages
gnutls.i686                                             3.1.25-1.fc20                                      updates 
gnutls-c++.i686                                         3.1.25-1.fc20                                      updates 
gnutls-dane.i686                                        3.1.25-1.fc20                                      updates 
gnutls-devel.i686                                       3.1.25-1.fc20                                      updates 
gnutls-devel.x86_64                                     3.1.25-1.fc20                                      updates 
gnutls-utils.x86_64                                     3.1.25-1.fc20   


address@hidden ltib]# rm -rf /opt/ltib/usr/src/rpm/BUILD/wget-1.14
address@hidden ltib]$ ./ltib

wget.pod around line 2116: Expected text after =item, not a number
wget.pod around line 2121: Expected text after =item, not a number
wget.pod around line 2126: Expected text after =item, not a number
wget.pod around line 2131: Expected text after =item, not a number
wget.pod around line 2136: Expected text after =item, not a number
wget.pod around line 2141: Expected text after =item, not a number
POD document had syntax errors at /usr/bin/pod2man line 69.
make[2]: *** [wget.1] Error 255
make[2]: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/wget-1.14'
make: *** [all] Error 2
error: Bad exit status from /home/q.yang/DataPacV3/ltib/tmp/rpm-tmp.48226 (%build)


RPM build errors:
    Bad exit status from /home/q.yang/DataPacV3/ltib/tmp/rpm-tmp.48226 (%build)
Build time for wget-ssl: 89 seconds

Failed building wget-ssl
Died at ./ltib line 1492.
traceback:
 main::build_host_rpms:1492
  main::host_checks:1554
   main:562


Started: Sun Jun 22 18:24:34 2014
Ended:   Sun Jun 22 18:26:04 2014
Elapsed: 90 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


SOME WORK DONE ON A FEDORA9 VM MACHINE
While tackling with ltib installation on Fedora 20,I created a Fedora 9 VM machine, which doesn't have to run on the old PC and can be easily ported to any new PC.

In fact, after having solved some missing packages issues, eventually same error as in Fedora20 happened again on this fresh ltib installation with Fedora9 VM. 

"
...........
checking for libgnutls... no
configure: error: --with-ssl was given, but GNUTLS is not available
...........
"

Comparing ltib on Fedora9 VM with ltib on old Fedora9 machine, I noticed that new ltib installation created two files under 'ltib/dist/lfs-5.1/wget/'  i.e., 'wget.spec', 'wget-ssl.spec'.  Whereas on old Fedora9 machine, there was only one file 'wget.spec'.

As suggested by this link 'https://community.freescale.com/thread/289198', as a temporary workaround. I added “--without-ssl” '' at line “./configure” in 'wget-ssl.spec' file. 

Fresh 'ltib' installation with Fedora9 VM machine successfully started up and populated that familiar blue configuration screen. : - )

[ Side notes: The new ltib installation is always using 'wget-ssl.spec'. I don't know how to get it to use 'wget.spec' file.So I edit 'wget-ssl.spec' file directly. 
  ''--without-ssl" was already there in 'wget.spec' file on old Fedora9 machine. Means on old Fedora9 machine. Wget was not able to support https link with wget. ]


Regards,
Quentin



On Fri, Jun 20, 2014 at 6:07 PM, Stuart Hughes <address@hidden> wrote:
Hi Quentin,

Try installing gnutls-devel

Regards, Stuart


On 20/06/14 03:22, QuentinWanQiang YANG wrote:
Hi Mike,

Unfortunately, installing 'SSL development libraries' didn't help.

Correct me if I am wrong.
'libssl-dev' seems is package name used in ubuntu. 
I think the corresponding one under fedora is 'openssl'

I installed 'openssl-devel' , but still having the same error as mentioned in previous email. 
address@hidden ltib]# yum install openssl-devel
address@hidden ltib]# yum install openssl-devel.i686

address@hidden ltib]$ yum list openssl*
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
openssl.x86_64                        1:1.0.1e-38.fc20                 address@hidden
openssl-devel.i686                    1:1.0.1e-38.fc20                 address@hidden
openssl-devel.x86_64                  1:1.0.1e-38.fc20                 address@hidden
openssl-libs.i686                     1:1.0.1e-38.fc20                 address@hidden
openssl-libs.x86_64                   1:1.0.1e-38.fc20                 address@hidden
Available Packages
openssl-perl.x86_64                   1:1.0.1e-38.fc20                  updates 
openssl-static.i686                   1:1.0.1e-38.fc20                  updates 
openssl-static.x86_64                 1:1.0.1e-38.fc20                  updates


I'll keep on looking for the missing packages.Thanks again for your reply.

Regards,
Quentin


On Thu, Jun 19, 2014 at 10:55 PM, Mike Goins <address@hidden> wrote:
On Wed, Jun 18, 2014 at 10:17 AM, QuentinWanQiang YANG
<address@hidden> wrote:
> Hi all,
>
> I've been using Ltib under Fedora 9. But the old Fedora 9 machine is about
> to retire.
>
> I am planning to move all existing projects from old Fedora 9 to Fedora 20
> (64bits) running as VMware virtual machine.
>
> Fedora 20 default installation is missing following packages during ltib
> installation.
> So I installed all these missing packages from bottom one to top one as
> follows:
>
> address@hidden ltib]# yum install flex
> address@hidden ltib]# yum install ccache
> address@hidden ltib]# yum install perl-libwww-perl
> address@hidden ltib]# yum install bison
> address@hidden ltib]# yum install m4
> address@hidden ltib]# yum install ncurses-devel
> address@hidden ltib]# yum install rpm-build
> address@hidden ltib]# yum install zlib-devel
> address@hidden ltib]# yum install gcc-c++
> address@hidden ltib]# yum install gcc
> address@hidden ltib]# yum install cvs
> address@hidden DataPacV3]# yum install wget
>
> Now, I stuck on this error when running either '$./ltib' or '$./ltib -m
> config'
>
> "
> checking for socket in -lsocket... no
> checking for compress in -lz... yes
> 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/q.yang/DataPacV3/ltib/tmp/rpm-tmp.85115
> (%build)
>
> RPM build errors:
>     Bad exit status from /home/q.yang/DataPacV3/ltib/tmp/rpm-tmp.85115
> (%build)
> Build time for wget-ssl: 64 seconds
>
> Failed building wget-ssl
> Died at ./ltib line 1492.
> traceback:
>  main::build_host_rpms:1492
>   main::host_checks:1554
>    main:562
>
> "
>
> address@hidden ltib]$ yum list gnutls
> Loaded plugins: langpacks, refresh-packagekit
> fedora/20/x86_64/metalink
> | 3.7 kB  00:00:00
> Installed Packages
> gnutls.i686
> 3.1.25-1.fc20                                                     @updates
> gnutls.x86_64
> 3.1.25-1.fc20
>
> Both 32bits and 64bits 'gnutls' packages are installed.
> I have no idea why it's complaining ''.....GNUTLS is not available....."???
>
> I tried to search all packages with 'gnutls' keyword:
>
> address@hidden ltib]$ yum search gnutls
> Loaded plugins: langpacks, refresh-packagekit
> ============================= N/S matched: gnutls
> ==============================
> python-gnutls.x86_64 : Python wrapper for the GNUTLS library
> gnutls-c++.i686 : The C++ interface to GnuTLS
> gnutls-c++.x86_64 : The C++ interface to GnuTLS
> gnutls-dane.i686 : A DANE protocol implementation for GnuTLS
> gnutls-dane.x86_64 : A DANE protocol implementation for GnuTLS
> gnutls-devel.i686 : Development files for the gnutls package
> gnutls-devel.x86_64 : Development files for the gnutls package
> mingw32-gnutls.noarch : MinGW GnuTLS TLS/SSL encryption library
> mingw64-gnutls.noarch : MinGW GnuTLS TLS/SSL encryption library
> mod_gnutls.x86_64 : GnuTLS module for the Apache HTTP server
> xmlsec1-gnutls.i686 : GNUTls crypto plugin for XML Security Library
> xmlsec1-gnutls.x86_64 : GNUTls crypto plugin for XML Security Library
> xmlsec1-gnutls-devel.i686 : GNUTls crypto plugin for XML Security Library
> xmlsec1-gnutls-devel.x86_64 : GNUTls crypto plugin for XML Security Library
> gnutls.i686 : A TLS protocol implementation
> gnutls.x86_64 : A TLS protocol implementation
> gnutls-utils.x86_64 : Command line tools for TLS protocol
> libtasn1.i686 : The ASN.1 library used in GNUTLS
> libtasn1.x86_64 : The ASN.1 library used in GNUTLS
> rsyslog-gnutls.x86_64 : TLS protocol support for rsyslog
>
> I suspect I might still need some other packages to be installed, which I
> don't know yet except trying one by one.
>
> Has anyone successfully done a fresh installation under Fedora 20?
> Any suggestions or comments are much appreciated.
>
> Regards,
> Quentin
>
>
>


The error message from that source config looks misleading.  Usually
--with-ssl indicates libssl, so look for a libssl-dev in your package
manager to install.


>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>

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

Ltib mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ltib



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

Ltib mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ltib



reply via email to

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