Re: [lfs-support] No Network Connections: LFS 8.3

2018-09-23 Thread John Le Brasseur
Hi Pierre.
I have searched the internet to find a way to stop gmail top-posting.
Is there a client I should perhaps be using.?
Sorry if this is top-posting.
I apologise.

ip addr list: attached screenshot
ip route list: no response to the command.

There is just no ipv4 addresses at all.

On Sun, 23 Sep 2018 at 21:06, Pierre Labastie 
wrote:

> On 9/23/18 8:18 PM, John Le Brasseur wrote:
> > Hi Pierre.
> > Many thanks.
> > Just one last question.
> > Where do I find the IPv4 setting in the make menuconfig menu system. Just
> > can't find where to set it.
> >
>
> Actually, it is Networking support>Networking options>TCP/IP networking,
> but
> if you have IPV6, then you have it (I should have checked that...)
>
> Can you post the output of "ip addr list" and "ip route list"?
>
> Pierre
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


-- 
Kind regards,

John Le Brasseur
+27  73 157 5605
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] No Network Connections: LFS 8.3

2018-09-23 Thread John Le Brasseur
Hi Pierre.
Many thanks.
Just one last question.
Where do I find the IPv4 setting in the make menuconfig menu system. Just
can't find where to set it.

On Sun, 23 Sep 2018 at 19:25, Pierre Labastie 
wrote:

> On 9/23/18 6:34 PM, John Le Brasseur wrote:
> > Hi Pierre.
> > I don't know if attachments are allowed on this forum but I have attached
> > three screenshots:
> > startup screen,
> > ls-l_sys_class_net and
> > ip_link_list
> >
> > I am not sure of the answers to your other questions but i did not use
> systemd
> > and there is no /etc/udev/rules.d/70-persistent-net.rules file at all.
> Only
> > 55- ..., 81- ... and 83- ...
> > I checked in my LFS 8.2 build and found
> > a /etc/udev/rules.d/70-persistent-net.rules file.
> > I typed it identically into my LFS 8.3 build, with no visible success.
> > Copy of net-rules also attached.
> > Iv'e just got this feeling it is the kernel build but do not know how to
> > tackle the problem itself.(or Iv'e forgotten)
> >
>
> This is not a kernel problem, since the NIC's are recognized (but see
> below).
> They are given names of the form enp0sx, with x=3, 8, 10. But it seems that
> your startup files bring them up, although only messages concerning IPV6
> are
> shown. Maybe IPV4 is not configured? Is IPV4 enabled in the kernel? If
> IPV4 is
> configured, the only things that can be wrong are the IP addresses. To see
> the
> IP addresses, the command is "ip addr list". The NIC connected to NAT
> should
> have an address starting with 10.0.2.
>
> Then to test what you have as a gateway (normally 10.0.2.2), the command is
> "ip route list". It should return something like
> "default via 10.0.2.2 blah"
>
> Test that you can reach it with "ping 10.0.2.2" (I hope it works with
> virtualbox, it does with qemu). Then verify that /etc/resolv.conf has
> "nameserver 10.0.2.3"
>
> That's all I can think of
>
> Pierre
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


John
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] No Network Connections: LFS 8.3

2018-09-23 Thread John Le Brasseur
Hi Pierre.
I don't know if attachments are allowed on this forum but I have attached
three screenshots:
startup screen,
ls-l_sys_class_net and
ip_link_list

I am not sure of the answers to your other questions but i did not use
systemd and there is no /etc/udev/rules.d/70-persistent-net.rules file at
all. Only  55- ..., 81- ... and 83- ...
I checked in my LFS 8.2 build and found a /etc/udev/rules.d/70-persisten
t-net.rules file.
I typed it identically into my LFS 8.3 build, with no visible success.
Copy of net-rules also attached.
Iv'e just got this feeling it is the kernel build but do not know how to
tackle the problem itself.(or Iv'e forgotten)

On Sun, 23 Sep 2018 at 17:50, Pierre Labastie 
wrote:

> On 9/23/18 5:29 PM, John Le Brasseur wrote:
> > Hi Pierre.
> > Thank you.
> > I have set VirtualBox adapter one to NAT, adapter two to bridged and
> adapter
> > three to internal. It has the same host I used for LFS 8.2.
> > All networks operate in chroot mode. None when restarting the LFS 8.3
> build.
> > The LFS 8.2 build is on the same host so the settings are identical,
> > naturally, and works fine.
> > I don't think its anything to do with the settings in VirtualBox.
>
> Rather a missing kernel module/option, or some udev/eudev setting.
>
>
> Have you tested that you can see the NIC? Either "ip link list" or "ls -l
> /sys/class/net". You should see the 3 adapters...
>
> Are you using systemd (udev) or SYSV (eudev)? It the second, do you have
> /etc/udev/rules.d/70-persistent-net.rules?
>
> Pierre
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


-- 
Kind regards,

John Le Brasseur
+27  73 157 5605
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] No Network Connections: LFS 8.3

2018-09-23 Thread John Le Brasseur
Hi Pierre.
Thank you.
I have set VirtualBox adapter one to NAT, adapter two to bridged and
adapter three to internal. It has the same host I used for LFS 8.2.
All networks operate in chroot mode. None when restarting the LFS 8.3 build.
The LFS 8.2 build is on the same host so the settings are identical,
naturally, and works fine.
I don't think its anything to do with the settings in VirtualBox.


On Sun, 23 Sep 2018 at 16:37, Pierre Labastie 
wrote:

> On 9/23/18 3:36 PM, John Le Brasseur wrote:
> >
> >
> > Hi
> > I  have now built LFS 8.3.
> > When in the chroot state 'evrything' seems to be 100% including network
> > connections.
>
> Expected, since it's your host connection.
>
> > When starting the system, everything still seems fine but there are no
> network
> > connections.
> > I am building on VirtualBox with Ubuntu as host for the builds.
> > I don't think I had any problems with network connections in 8.2 so I
> should
> > imagine I have done something wrong this time.
> > Any obvious places to check please.
>
> That depends on the mode you have selected for networking under
> virtualbox. If
> you are using "NAT", check that you have set up a static address of the
> form
> 10.0.2.x (DHCP would allocate 10.0.2.15, but I guess you have not yet built
> dhcpcd). Personally, I use 10.0.2.9 for a static address. Also the DNS
> should
> be set to 10.0.2.3, and gateway to 10.0.2.2.
>
> Also, virtualbox emulates various NIC, check that the modules for the NIC
> you
> have selected are included in the kernel. You can also look at
> /sys/class/net
> (in booted guest), to check that the kernel has found a NIC.
>
> HTH
> Pierre
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


-- 
Kind regards,

John Le Brasseur
+27  73 157 5605
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] No Network Connections: LFS 8.3

2018-09-23 Thread John Le Brasseur
Hi
I  have now built LFS 8.3.
When in the chroot state 'evrything' seems to be 100% including network
connections.
When starting the system, everything still seems fine but there are no
network connections.
I am building on VirtualBox with Ubuntu as host for the builds.
I don't think I had any problems with network connections in 8.2 so I
should imagine I have done something wrong this time.
Any obvious places to check please.

Regards,

John
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Running the mpfr-4.0.1 Tests

2018-08-07 Thread John Le Brasseur
t
--enable-plugins --enable-shared --disable-werror --enable-64-bit-bfd
--with-system-zlib
  200  make tooldir=/usr
  201  make -k check
  202  make tooldir=/usr install
  203  mv -v /tools/bin/{ld,ld-old}
  204  mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,ld-old}
  205  mv -v /tools/bin/{ld-new,ld}
  206  ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld
  207  gcc -dumpspecs | sed -e 's@/tools@@g' -e
'/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' -e '/\*cpp:/{n;s@$@
-isystem /usr/include@}' > `dirname $(gcc --print-libgcc-file-name)`/specs
  208  echo 'int main(){}' > dummy.c
  209  cc dummy.c -v -Wl,--verbose &> dummy.log
  210  readelf -l a.out | grep ': /lib'
  211  cd ..
  212  cd ..
  213  grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
  214  grep -B1 '^ /usr/include' dummy.log
  215  grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
  216  grep "/lib.*/libc.so.6 " dummy.log
  217  grep found dummy.log
  218  rm -v dummy.c a.out dummy.log
  219  ls -l gmp*
  220  tar -xvf gmp-6.1.2.tar.xz
  221  cd gmp-6.1.2
  222  ./configure --prefix=/usr --enable-cxx --disable-static
--docdir=/usr/share/doc/gmp-6.1.2
  223  make
  224  make html
  225  make check 2>&1 | tee gmp-check-log
  226  awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log
  227  make install
  228  make install-html
  229  cd ..
  230  ls -l mpfr*
  231  tar -xvf mpfr-4.0.1.tar.xz
  232  cd mp
  233  cd mpfr-4.0.1
  234  ./configure --prefix=/usr --disable-static --enable-thread-safe
--docdir=/usr/share/doc/mpfr-4.0.1
  235  make
  236  make html
  237  cd ..
  238   history >/duff-hist

Thank you Ken especially for the 'history >/duff-hist' tip. Hope I remember
that.

Thanks everyone once again.
I am proceeding.

John.



On Tue, 7 Aug 2018 at 02:08, Xi Ruoyao  wrote:

> On 2018-08-06 15:11 -0400, Michael Shell wrote:
> > On Mon, 06 Aug 2018 19:52:52 +0800
> > Xi Ruoyao  wrote:
> >
> > > No.  /tools/lib/libquadmath.so.* is useless now.  After "6.10
> > > Adjusting the Toolchain" the default dynamic linker should have
> > > been changed to /lib64/ld-linux-x86-64.so.2 instead of
> > > /tools/lib64/ld-linux-x86-64.so.2.  Then it should search /usr/lib,
> > > not /tools/lib.
> > >
> > > MPFR configure script add "-lquadmath" if
> >
> >
> >Xi,
> >
> > Good catch! But, I think what threw me (and Hazel) off is why does
> > the MPFR build process attempt to link against libquadmath in the
> > first place? After all, as you said, libquadmath won't be available
> > (in /usr/lib) until after gcc is (re)installed in step 6.20.1
> >
> > So, MPFR's configure detects libquadmath (in /tools/lib) and then
> > links its tests against libquadmath, but those tests later fail
> > because the dynamic linker is set to link from what is in /usr/lib?
>
> I made a mistake descripting what MPFR configure was doing.  Should be:
>
> echo "int main(){}" > conftest.c &&
> cc conftest.c -lquadmath
>
> And do *not* run the compiled test program.  So it don't know the program
> can't be executed.
>
> The problem is, GCC default dynamic linker has been changed to
> /lib64/ld-linux-x86-64.so.2 built in 6.9, but the linker (`ld`, not
> `ld.so`) still searches /tools/lib.  It's a mismatch of linker and
> dynamic linker.  So, libquadmath can be searched by linker, but not
> by dynamic linker.
>
> > In short, does the presence or absence of libquadmath affect the actual
> > libmpfr.so or just its test executables - that without libquadmath the
> > tests would not be linked against it and yet they still work fine?
> > Does it affect, say, the number of tests that are done? Depending
> > on the answer here, there may be a case for reinstalling MPFR again
> > after gcc.
>
> I just tried to build MPFR on a completed LFS.  The tests linked to
> libquadmath, but libmpfr.so itself did not.
>
> Oh no, I think there is another problem.  In 6.16 the final Binutils
> should have been built.  So the final `ld` should have replaced the
> linker used in "Adjusting the Toolchain".
>
> Suggestion to John:
>
> Remove /tools and extract your backup.  Then restart Chapter 6.  Make
> sure to do all checks in "Adjusting the Toolchain".  And, do them again
> after "6.16 Binutils".
>
> Ken's debugging way (using .bash_histroy") may be useful.  You can
> attach it here and we will play a "Spot The Differences" game :)
> --
> Xi Ruoyao 
> School of Aerospace Science and Technology, Xidian University
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


-- 
Kind regards,

John Le Brasseur
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Running the mpfr-4.0.1 Tests

2018-08-06 Thread John Le Brasseur
Thank you Xi Ruoyao.
You are correct.

"echo "int main(){}" > dummy.c &&
cc dummy.c -Wl,--verbose | grep SEARCH | sed 's/; /\n/g' "
still points to /tools/lib.

I saved a copy of /tools and /sources before starting chapter 6.

Can I exit chroot and delete certain folders, stay in chroot and delete
certain folders, stay in chroot and delete all the contents or is there
another option?
I should be able to restart Chapter 6, right?

On Mon, 6 Aug 2018 at 14:13, Xi Ruoyao  wrote:

> On 2018-08-06 12:44 +0200, John Le Brasseur wrote:
> > Hi Mike.
> > Thanks for your reply.
> > The output is:
> >
> > ls -lad /tools/lib/libquad*
> > -rw-r--r-- 1 root root 1203304 Aug  4 13:55 /tools/lib/libquadmath.a
> > -rwxr-xr-x 1 root root 971 Aug  4 13:55 /tools/lib/libquadmath.la
> > lrwxrwxrwx 1 root root  20 Aug  4 13:55 /tools/lib/libquadmath.so ->
> libquadmath.so.0.0.0
> > lrwxrwxrwx 1 root root  20 Aug  4 13:55 /tools/lib/libquadmath.so.0
> -> libquadmath.so.0.0.0
> > -rwxr-xr-x 1 root root  955232 Aug  4 13:55
> /tools/lib/libquadmath.so.0.0.0
>
> No.  /tools/lib/libquadmath.so.* is useless now.  After "6.10
> Adjusting the Toolchain" the default dynamic linker should have
> been changed to /lib64/ld-linux-x86-64.so.2 instead of
> /tools/lib64/ld-linux-x86-64.so.2.  Then it should search /usr/lib,
> not /tools/lib.
>
> MPFR configure script add "-lquadmath" if
>
> echo "int main(){return 0;}" > conftest.c &&
> cc conftest.c -lquadmath &&
> ./a.out
>
> returns 0 (successful).  But after 6.10 this should NOT succeed
> because GCC spec has been changed to search /usr/lib instead
> of /tools/lib and there is NO libquadmath.so in /usr/lib.
>
> It's very likely you've made a mistake in 6.10.  Please run:
>
> echo "int main(){}" > dummy.c &&
> cc dummy.c -Wl,--verbose | grep SEARCH | sed 's/; /\n/g'
>
> It should contain "/usr/lib", and should NOT contain
> "/tools/lib".
> --
> Xi Ruoyao 
> School of Aerospace Science and Technology, Xidian University
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


-- 
Kind regards,

John Le Brasseur
+27  73 157 5605
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Running the mpfr-4.0.1 Tests

2018-08-06 Thread John Le Brasseur
Hi Mike.
Thanks for your reply.
The output is:

ls -lad /tools/lib/libquad*
-rw-r--r-- 1 root root 1203304 Aug  4 13:55 /tools/lib/libquadmath.a
-rwxr-xr-x 1 root root 971 Aug  4 13:55 /tools/lib/libquadmath.la
lrwxrwxrwx 1 root root  20 Aug  4 13:55 /tools/lib/libquadmath.so ->
libquadmath.so.0.0.0
lrwxrwxrwx 1 root root  20 Aug  4 13:55 /tools/lib/libquadmath.so.0 ->
libquadmath.so.0.0.0
-rwxr-xr-x 1 root root  955232 Aug  4 13:55 /tools/lib/libquadmath.so.0.0.0




On Mon, 6 Aug 2018 at 12:38, John Le Brasseur 
wrote:

> Many thanks for your reply Hazel.
> I won't be surprised to have made a mistake but I must say I concentrated
> hard during every step.
> I have the following in the /tools/lib folder:
>
> "-rw-r--r-- 1 root root  1203304 Aug  4 15:55 libquadmath.a
>  -rwxr-xr-x 1 root root  971 Aug  4 15:55 libquadmath.la
>  lrwxrwxrwx 1 root root   20 Aug  4 15:55 libquadmath.so ->
> libquadmath.so.0.0.0
>  lrwxrwxrwx 1 root root   20 Aug  4 15:55 libquadmath.so.0 ->
> libquadmath.so.0.0.0
>  -rwxr-xr-x 1 root root   955232 Aug  4 15:55 libquadmath.so.0.0.0"
>
> Does this indicate a mistake?
>
>
>
>
> On Mon, 6 Aug 2018 at 11:26, Hazel Russman 
> wrote:
>
>> On Mon, 6 Aug 2018 10:05:37 +0200
>> John Le Brasseur  wrote:
>>
>> > Hi.
>> >
>> > My first post.
>> > (Sorry for ignorance)
>> >
>> > I am using the LFS-BOOK-8.2
>> > I have reached step 6.18.1.
>> > Everything has gone according to plan so far unless I missed something.
>> > I ran 'make check' for mpfr-4.0.1 and all tests failed with similar
>> > comments, e.g.:
>> >
>> > "./tzeta_ui: error while loading shared libraries: libquadmath.so.0:
>> cannot
>> > open shared object file: No such file or directory
>> > FAIL tzeta_ui (exit status: 127)"
>> >
>> > Is this a common error?
>> > What could likely be wrong?
>> > Should I make mpfr again?
>> > Is there likely a problem elsewhere?
>> > Any ideas?
>> >
>> > Many, many thanks.
>> >
>> > John
>> >
>> > --
>> > Kind regards,
>> >
>> > John Le Brasseur
>>
>> No, it's not normal. It's a serious error which means that you have made
>> a mistake in Chapter 5 (probably in Section 5.10).
>>
>> Libquadmath, which this build needs, is part of gcc. The first pass of
>> gcc in Chapter 5 disables it, but the second pass includes it. So you
>> should have it installed in the /tools tree. Check in /tools/lib for it.
>>
>> If it isn't there, then you probably reused the gcc source tree for your
>> second pass instead of deleting it and re-extracting your gcc sources.
>>
>> It looks like you will need to start again.
>>
>> --
>> --
>> http://lists.linuxfromscratch.org/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>> Unsubscribe: See the above information page
>>
>> Do not top post on this list.
>>
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>> A: Top-posting.
>> Q: What is the most annoying thing in e-mail?
>>
>> http://en.wikipedia.org/wiki/Posting_style
>>
>
>
> --
> Kind regards,
>
> John Le Brasseur
>
>

-- 
Kind regards,

John Le Brasseur
+27  73 157 5605
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Running the mpfr-4.0.1 Tests

2018-08-06 Thread John Le Brasseur
Many thanks for your reply Hazel.
I won't be surprised to have made a mistake but I must say I concentrated
hard during every step.
I have the following in the /tools/lib folder:

"-rw-r--r-- 1 root root  1203304 Aug  4 15:55 libquadmath.a
 -rwxr-xr-x 1 root root  971 Aug  4 15:55 libquadmath.la
 lrwxrwxrwx 1 root root   20 Aug  4 15:55 libquadmath.so ->
libquadmath.so.0.0.0
 lrwxrwxrwx 1 root root   20 Aug  4 15:55 libquadmath.so.0 ->
libquadmath.so.0.0.0
 -rwxr-xr-x 1 root root   955232 Aug  4 15:55 libquadmath.so.0.0.0"

Does this indicate a mistake?




On Mon, 6 Aug 2018 at 11:26, Hazel Russman 
wrote:

> On Mon, 6 Aug 2018 10:05:37 +0200
> John Le Brasseur  wrote:
>
> > Hi.
> >
> > My first post.
> > (Sorry for ignorance)
> >
> > I am using the LFS-BOOK-8.2
> > I have reached step 6.18.1.
> > Everything has gone according to plan so far unless I missed something.
> > I ran 'make check' for mpfr-4.0.1 and all tests failed with similar
> > comments, e.g.:
> >
> > "./tzeta_ui: error while loading shared libraries: libquadmath.so.0:
> cannot
> > open shared object file: No such file or directory
> > FAIL tzeta_ui (exit status: 127)"
> >
> > Is this a common error?
> > What could likely be wrong?
> > Should I make mpfr again?
> > Is there likely a problem elsewhere?
> > Any ideas?
> >
> > Many, many thanks.
> >
> > John
> >
> > --
> > Kind regards,
> >
> > John Le Brasseur
>
> No, it's not normal. It's a serious error which means that you have made a
> mistake in Chapter 5 (probably in Section 5.10).
>
> Libquadmath, which this build needs, is part of gcc. The first pass of gcc
> in Chapter 5 disables it, but the second pass includes it. So you should
> have it installed in the /tools tree. Check in /tools/lib for it.
>
> If it isn't there, then you probably reused the gcc source tree for your
> second pass instead of deleting it and re-extracting your gcc sources.
>
> It looks like you will need to start again.
>
> --
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>


-- 
Kind regards,

John Le Brasseur
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Running the mpfr-4.0.1 Tests

2018-08-06 Thread John Le Brasseur
Hi.

My first post.
(Sorry for ignorance)

I am using the LFS-BOOK-8.2
I have reached step 6.18.1.
Everything has gone according to plan so far unless I missed something.
I ran 'make check' for mpfr-4.0.1 and all tests failed with similar
comments, e.g.:

"./tzeta_ui: error while loading shared libraries: libquadmath.so.0: cannot
open shared object file: No such file or directory
FAIL tzeta_ui (exit status: 127)"

Is this a common error?
What could likely be wrong?
Should I make mpfr again?
Is there likely a problem elsewhere?
Any ideas?

Many, many thanks.

John

-- 
Kind regards,

John Le Brasseur
+27  73 157 5605
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style