Re: [lfs-support] First LFS login/boot

2013-06-21 Thread Ken Moffat
On Fri, Jun 21, 2013 at 05:03:53PM -0700, John Black wrote:

> My main purpose is creating Live CD with some unicodes support, should I 
> consider something about USB modem?

 Ambition, and having goals which encourage you to learn, is great.
But I fear you have a lot of topics to learn about.  I suggest that
your first step should be to get the network on your own machine
working.  If you can connect to wired ethernet using the Via Rhine
you will have a far easier time building a useful system.

 If for some reason you have to use a usb modem, I don't think we're
the best people to help : using ppp is not common, most of us use
either wired ethernet or wifi.  Googling for "linux using ppp0 usb"
found the following links which might be helpful :

https://wiki.archlinux.org/index.php/3G_and_GPRS_modems_with_pppd -
some of the detail is specific to how Arch bootscripts are
organized,  I'd forgotten all the intricacies of ppp 'chat' scripts
(I last used a modem more than 10 years ago, even then it was an
obsolete and painful way of connecting).

http://kiranjammula.wordpress.com/2010/10/03/gprs-connection-using-ppp-daemon-on-arm-linux-using-bluetoothusb-modem/
which is a blog post from 2010 about using a bluetooth/usb modem
for a GPRS connection on (some sort of) ARM processor

http://www.acmesystems.it/ppp which is another link for PPP over
GPRS, on some sort of embedded board, using debian

http://www.yolinux.com/TUTORIALS/LinuxTutorialPPP.html which is a
general tutorial on ppp from YoLinux - it's old (it mentions Redhat
6.2, which was about 14 years ago) so it will cover "regular" modems,
not usb (I've no idea how different they are).

 Just in case the point isn't obvious - if you don't have a network
connection, you can't download any source code.  LFS is all about
building from source.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread Bruce Dubbs
John Black wrote:

> -
> root:/sys/class/net# dmesg|grep eth0
> [2.611331] via-rhine :00:12.0: eth0: VIA Rhine II at 0xfdffe000, 
> 00:e0:4d:56:48:0a, IRQ 23
> [2.612057] via-rhine :00:12.0: eth0: MII PHY found at address 1, 
> status 0x7849 advertising 01e1 Link 
> [   20.191794] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   24.662664] via-rhine :00:12.0: eth0: link down
> [   24.663638] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   24.669753] ADDRCONF(NETDEV_UP): eth0: link is not ready
> root:/sys/class/net#
> -
> My main purpose is creating Live CD with some unicodes support,
> should I consider something about USB modem?

Do you have the via-rhine driver built into the kernel?

Device Drivers ->
   Network device support ->
 Ethernet driver support ->
   VIA Devices
   VIA Rhine support

I'm not really familiar with USB modems.  I haven't used a modem in 10 
years.  However the VIA site indicates a PCI network card.

On the host, you can try

lspci|grep -i network
lsusb|grep -i network

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


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread John Black





 From: Bruce Dubbs 
To: John Black ; LFS Support List 
 
Sent: Friday, June 21, 2013 8:38 PM
Subject: Re: [lfs-support] First LFS login/boot
 

John Black wrote:
>
> John Black wrote:
>
>> I got command not found
>> ---
>> root:/# ipconfig -a
>> bash: ipconfig: command not found
>> root:/# ifconfig eth0 up
>> bash: ifconfig: command not found
>> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
>> bash: ifconfig: command not found
>> ---
>
> ipconfig is a windows command, not Linux.  There is a ifconfig, but that
> is a part of not-tools in BLFS.
>
>> I used the following
>>
>> ip addr add 192.168.1.1 dev eth0
>> ip addr add 192.168.1.1/24 dev eth0
>>
>> still error, result.
>> Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find device 
>> "eth0"
>
> What are the results of 'ls /sys/class/net'
>
>> 
>> I think I have to skip it for now, and continue to BLFS,
>
> You really should get networking up before proceeding.
>
>     -- Bruce
>
> This is
> -
> root:/sys/class/net# ls -l
> total 0
> lrwxrwxrwx 1 root root 0 Jun 22 01:55 eth0 -> 
> ../../devices/pci:00/:00:12.0/net/eth0
> lrwxrwxrwx 1 root root 0 Jun 22  2013 lo -> ../../devices/virtual/net/lo
> lrwxrwxrwx 1 root root 0 Jun 22 02:51 ppp0 -> ../../devices/virtual/net/ppp0
> root:/sys/class/net#

Well you do have eth0, but you may not have the driver installed.  Try:

dmesg|grep eth0

> 
> I'm wondering why the commands not working
> ---
> root:/# ipconfig -a
> bash: ipconfig: command not found

I told you.  ipconfig is a windows command.

> root:/# ifconfig eth0 up
> bash: ifconfig: command not found
> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> bash: ifconfig: command not found

I also told you that this command is installed by net-tools in BLFS. Did 
you read all of my earlier response?

   -- Bruce

I'm sorry Mr. Bruce, I missed it.
here is the result
-
root:/sys/class/net# dmesg|grep eth0
[    2.611331] via-rhine :00:12.0: eth0: VIA Rhine II at 0xfdffe000, 
00:e0:4d:56:48:0a, IRQ 23
[    2.612057] via-rhine :00:12.0: eth0: MII PHY found at address 1, status 
0x7849 advertising 01e1 Link 
[   20.191794] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.662664] via-rhine :00:12.0: eth0: link down
[   24.663638] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.669753] ADDRCONF(NETDEV_UP): eth0: link is not ready
root:/sys/class/net# 
-
My main purpose is creating Live CD with some unicodes support, should I 
consider something about USB modem?



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


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread Fernando de Oliveira
Em 21-06-2013 18:00, Molly Jakić escreveu:

> Hi friends. May I bring your attention to this message.
> http://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg20152.html
> Specifically the part that reads "I don't have network card, I use USB
> modem"
> 
> Regards,
> 
> Molly
> 
> 

You are right.

I stopped trying to help, after that, as it has been about three years
since I used a USB modem, the netbook used has had the HD reformatted,
and by memory I have not much to say. That time, I was using a minimal
Ubuntu (installed with the alternative cd, then added, I think, lxde or
fluxbox). Anyway, those days, I was trying wicd, which was not able to
give me the connection, because it was ppp. ISTR that I needed
wpa_supplicante and ppp, not sure if afterwards I notice any of the two
was considered not necessary, although wpa_supplicant, from memory, was
essential.

The interface for the USB device is probably not eth*, but
ppp, like ppp0, but sorry, this is from memory.

Hope this helps John or anybody else to helping him.

OTOH, I believe that if he could install network-manager, all his
problems would be solved.

I am considering that he has all drivers, do not know if it is necessary
to enable this in the kernel.

One thing that I do not recall in any previous post from John is which
version of LFS is being used (probably a version where udev was using
the old good eth* names, if I or Pierre knew that, we would not have
written those two first replies), if it is 64 or 32 bit. These data
could help others to give better support.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] [SOLVED] Can't compile Check-0.9.9 package

2013-06-21 Thread Bruce Dubbs
Sergey Shidlovsky wrote:
>>
>> Doh, second in a week (I guess)
>>
>> http://www.linuxfromscratch.org/lfs/errata/7.3/
>>
>
> Shame on me! Just before building had a look at errata, but forgot to look
> again while building check package. Thanks a lot to all anwerers. =)
>
> P.S. Excuse me one more time, am I responding to emails correctly,

Yes.  The trimming is welcome.

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


[lfs-support] [SOLVED] Can't compile Check-0.9.9 package

2013-06-21 Thread Sergey Shidlovsky
>
> Doh, second in a week (I guess)
>
> http://www.linuxfromscratch.org/lfs/errata/7.3/
>

Shame on me! Just before building had a look at errata, but forgot to look
again while building check package. Thanks a lot to all anwerers. =)

P.S. Excuse me one more time, am I responding to emails correctly, just
quoting the answer to me (I use GMail)? I mean, do everybody see my answer
correctly?

P.P.S. Was so happy that forgot to say "make install"... =)

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread Molly Jakić
On 21 June 2013 21:38, Bruce Dubbs  wrote:

> John Black wrote:
> >
> > John Black wrote:
> >
> >> I got command not found
> >> ---
> >> root:/# ipconfig -a
> >> bash: ipconfig: command not found
> >> root:/# ifconfig eth0 up
> >> bash: ifconfig: command not found
> >> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> >> bash: ifconfig: command not found
> >> ---
> >
> > ipconfig is a windows command, not Linux.  There is a ifconfig, but that
> > is a part of not-tools in BLFS.
> >
> >> I used the following
> >>
> >> ip addr add 192.168.1.1 dev eth0
> >> ip addr add 192.168.1.1/24 dev eth0
> >>
> >> still error, result.
> >> Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find
> device "eth0"
> >
> > What are the results of 'ls /sys/class/net'
> >
> >> 
> >> I think I have to skip it for now, and continue to BLFS,
> >
> > You really should get networking up before proceeding.
> >
> > -- Bruce
> >
> > This is
> > -
> > root:/sys/class/net# ls -l
> > total 0
> > lrwxrwxrwx 1 root root 0 Jun 22 01:55 eth0 ->
> ../../devices/pci:00/:00:12.0/net/eth0
> > lrwxrwxrwx 1 root root 0 Jun 22  2013 lo -> ../../devices/virtual/net/lo
> > lrwxrwxrwx 1 root root 0 Jun 22 02:51 ppp0 ->
> ../../devices/virtual/net/ppp0
> > root:/sys/class/net#
>
> Well you do have eth0, but you may not have the driver installed.  Try:
>
> dmesg|grep eth0
>
> > 
> > I'm wondering why the commands not working
> > ---
> > root:/# ipconfig -a
> > bash: ipconfig: command not found
>
> I told you.  ipconfig is a windows command.
>
> > root:/# ifconfig eth0 up
> > bash: ifconfig: command not found
> > root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> > bash: ifconfig: command not found
>
> I also told you that this command is installed by net-tools in BLFS. Did
> you read all of my earlier response?
>
>-- Bruce
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

Hi friends. May I bring your attention to this message.
http://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg20152.html
Specifically the part that reads "I don't have network card, I use USB
modem"

Regards,

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


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread Bruce Dubbs
John Black wrote:
>
> John Black wrote:
>
>> I got command not found
>> ---
>> root:/# ipconfig -a
>> bash: ipconfig: command not found
>> root:/# ifconfig eth0 up
>> bash: ifconfig: command not found
>> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
>> bash: ifconfig: command not found
>> ---
>
> ipconfig is a windows command, not Linux.  There is a ifconfig, but that
> is a part of not-tools in BLFS.
>
>> I used the following
>>
>> ip addr add 192.168.1.1 dev eth0
>> ip addr add 192.168.1.1/24 dev eth0
>>
>> still error, result.
>> Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find device 
>> "eth0"
>
> What are the results of 'ls /sys/class/net'
>
>> 
>> I think I have to skip it for now, and continue to BLFS,
>
> You really should get networking up before proceeding.
>
> -- Bruce
>
> This is
> -
> root:/sys/class/net# ls -l
> total 0
> lrwxrwxrwx 1 root root 0 Jun 22 01:55 eth0 -> 
> ../../devices/pci:00/:00:12.0/net/eth0
> lrwxrwxrwx 1 root root 0 Jun 22  2013 lo -> ../../devices/virtual/net/lo
> lrwxrwxrwx 1 root root 0 Jun 22 02:51 ppp0 -> ../../devices/virtual/net/ppp0
> root:/sys/class/net#

Well you do have eth0, but you may not have the driver installed.  Try:

dmesg|grep eth0

> 
> I'm wondering why the commands not working
> ---
> root:/# ipconfig -a
> bash: ipconfig: command not found

I told you.  ipconfig is a windows command.

> root:/# ifconfig eth0 up
> bash: ifconfig: command not found
> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> bash: ifconfig: command not found

I also told you that this command is installed by net-tools in BLFS. Did 
you read all of my earlier response?

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


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread John Black

John Black wrote:

> I got command not found
> ---
> root:/# ipconfig -a
> bash: ipconfig: command not found
> root:/# ifconfig eth0 up
> bash: ifconfig: command not found
> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> bash: ifconfig: command not found
> ---

ipconfig is a windows command, not Linux.  There is a ifconfig, but that 
is a part of not-tools in BLFS.

> I used the following
>
> ip addr add 192.168.1.1 dev eth0
> ip addr add 192.168.1.1/24 dev eth0
>
> still error, result.
> Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find device 
> "eth0"

What are the results of 'ls /sys/class/net'

> 
> I think I have to skip it for now, and continue to BLFS,

You really should get networking up before proceeding.

   -- Bruce

This is
-
root:/sys/class/net# ls -l
total 0
lrwxrwxrwx 1 root root 0 Jun 22 01:55 eth0 -> 
../../devices/pci:00/:00:12.0/net/eth0
lrwxrwxrwx 1 root root 0 Jun 22  2013 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Jun 22 02:51 ppp0 -> ../../devices/virtual/net/ppp0
root:/sys/class/net#
 
I'm wondering why the commands not working
---
root:/# ipconfig -a
bash: ipconfig: command not found
root:/# ifconfig eth0 up
bash: ifconfig: command not found
root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
bash: ifconfig: command not found

Please give me more clue or even direct answer, thank you for your attention 
Mr. bruce.-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Coreutils make error in ch.6.26

2013-06-21 Thread William Harrington


On Jun 21, 2013, at 2:11 PM, hans kaper wrote:


Can't locate unicore/Heavy.pl in @INC (@INC contains:
/tools/lib/perl5/site_perl/5.16.1/i686-linux
/tools/lib/perl5/site_perl/5.16.1 /tools/lib/perl5/5.16.1/i686-linux
/tools/lib/perl5/5.16.1 .) at /tools/lib/perl5/5.16.1/utf8_heavy.pl  
line 176.


This may be the problem.

Have you changed any of the commands in the book?
Or have you updated any package versions?

Sincerely,

William Harrington


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


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread Bruce Dubbs
John Black wrote:

> I got command not found
> ---
> root:/# ipconfig -a
> bash: ipconfig: command not found
> root:/# ifconfig eth0 up
> bash: ifconfig: command not found
> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> bash: ifconfig: command not found
> ---

ipconfig is a windows command, not Linux.  There is a ifconfig, but that 
is a part of not-tools in BLFS.

> I used the following
>
> ip addr add 192.168.1.1 dev eth0
> ip addr add 192.168.1.1/24 dev eth0
>
> still error, result.
> Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find device 
> "eth0"

What are the results of 'ls /sys/class/net'

> 
> I think I have to skip it for now, and continue to BLFS,

You really should get networking up before proceeding.

   -- Bruce

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


Re: [lfs-support] Coreutils make error in ch.6.26

2013-06-21 Thread Bruce Dubbs
hans kaper wrote:
> I am building LFS 7.2 bij copy-pasting the commands from the book in
> scripts.
> In chapter 6.26 building Coreutils 8.19 I get an error:
>
> Making all in man
> make[2]: Entering directory `/sources/coreutils-8.19/man'
> GEN  cut.1
> Can't locate unicore/Heavy.pl in @INC (@INC contains:
> /tools/lib/perl5/site_perl/5.16.1/i686-linux
> /tools/lib/perl5/site_perl/5.16.1 /tools/lib/perl5/5.16.1/i686-linux
> /tools/lib/perl5/5.16.1 .) at /tools/lib/perl5/5.16.1/utf8_heavy.pl line
> 176.
> BEGIN failed--compilation aborted at /tools/lib/perl5/5.16.1/constant.pm
> line 45.
> Compilation failed in require at /tools/lib/perl5/5.16.1/Getopt/Long.pm
> line 208.
> BEGIN failed--compilation aborted at
> /tools/lib/perl5/5.16.1/Getopt/Long.pm line 208.
> Compilation failed in require at ./help2man line 24.
> BEGIN failed--compilation aborted at ./help2man line 24.
> make[2]: *** [cut.1] Error 2
> make[2]: Leaving directory `/sources/coreutils-8.19/man'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/coreutils-8.19'
> make: *** [all] Error 2
>
> Knowing the thoroughness of the LFS-team I am certain I made a mistake
> somewhere, but where?
> Looking through the logs, I found the same line ("Can't locate
> unicore/Heavy.pl in @INC ...") in the
> glibc-tests, but that did not result in any ERROR.
> I better know it before I have to restart with chapter 6 (or even ch.5)
> and make the same mistake again.

Looks like a PATH issue or a Chapter 5 perl install issue.

Do you have /tools/lib/perl5/5.18.0/unicore/Heavy.pl?

In your case that would be 5.16.1 since I am looking at the current SVN 
build.

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


Re: [lfs-support] First LFS login/boot

2013-06-21 Thread John Black
On Jun 19, 2013, at 2:24 PM, John Black wrote:

I don't know how to do that, please give me complete command line Mr. William

http://andys.org.uk/bits/2010/02/24/iproute2-life-after-ifconfig/  That'll give 
you some pointers.

Or you can read the full docs here: 

http://www.policyrouting.org/iproute2.doc.html

Iproute2 is worth looking into and learning the syntax well. It's nice and 
powerful!

you'll want to use:

ip link
ip addr

maybe ip route, too

Sincerely,

William Harrington
I got command not found
---
root:/# ipconfig -a
bash: ipconfig: command not found
root:/# ifconfig eth0 up
bash: ifconfig: command not found
root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
bash: ifconfig: command not found
---

I used the following

ip addr add 192.168.1.1 dev eth0
ip addr add 192.168.1.1/24 dev eth0

still error, result.
Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find device 
"eth0"


I think I have to skip it for now, and continue to BLFS, thank you for your 
kind support Mr. William Harrington.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Coreutils make error in ch.6.26

2013-06-21 Thread hans kaper
I am building LFS 7.2 bij copy-pasting the commands from the book in  
scripts.
In chapter 6.26 building Coreutils 8.19 I get an error:

Making all in man
make[2]: Entering directory `/sources/coreutils-8.19/man'
   GEN  cut.1
Can't locate unicore/Heavy.pl in @INC (@INC contains:  
/tools/lib/perl5/site_perl/5.16.1/i686-linux  
/tools/lib/perl5/site_perl/5.16.1 /tools/lib/perl5/5.16.1/i686-linux  
/tools/lib/perl5/5.16.1 .) at /tools/lib/perl5/5.16.1/utf8_heavy.pl line  
176.
BEGIN failed--compilation aborted at /tools/lib/perl5/5.16.1/constant.pm  
line 45.
Compilation failed in require at /tools/lib/perl5/5.16.1/Getopt/Long.pm  
line 208.
BEGIN failed--compilation aborted at  
/tools/lib/perl5/5.16.1/Getopt/Long.pm line 208.
Compilation failed in require at ./help2man line 24.
BEGIN failed--compilation aborted at ./help2man line 24.
make[2]: *** [cut.1] Error 2
make[2]: Leaving directory `/sources/coreutils-8.19/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-8.19'
make: *** [all] Error 2

Knowing the thoroughness of the LFS-team I am certain I made a mistake  
somewhere, but where?
Looking through the logs, I found the same line ("Can't locate  
unicore/Heavy.pl in @INC ...") in the
glibc-tests, but that did not result in any ERROR.
I better know it before I have to restart with chapter 6 (or even ch.5)  
and make the same mistake again.
Anybody any idea? Thanks in advance,



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


Re: [lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread William Harrington


On Jun 21, 2013, at 3:57 AM, Sergey Shidlovsky wrote:

First command, "./configure --prefix=/tools" goes okay. But when I'm  
trying to say next "make", I get compilation errors:


http://www.linuxfromscratch.org/lfs/support.html

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread Bruce Dubbs
Sergey Shidlovsky wrote:
> Hello, everybody!
>
> I'm trying to get my firs LFS, based on 7.3 version of The Book.
> The host system is Debian Wheezy 7.0 with 3.2.0 kernel. All requirements
> for host system were met. The lfs user environments ($LFS variable etc.)
> set properly.
>
> Now I'm in the middle of chapter 5 "Constructing a Temporary System".
> All was okay till package, mentioned in the subject.
>
> First command, "./configure --prefix=/tools" goes okay. But when I'm trying
> to say next "make", I get compilation errors:
>
> ---
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -ansi
> -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
> -Wno-variadic-macros -MT putenv.lo -MD -MP -MF .deps/putenv.Tpo -c
> putenv.c  -fPIC -DPIC -o .libs/putenv.o
> putenv.c:5:1: error: expected identifier or '(' before '{' token
> make[2]: *** [putenv.lo] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
> make: *** [all] Error 2

http://www.linuxfromscratch.org/lfs/errata/stable/

   -- Bruce

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


Re: [lfs-support] Can't access my sources directory to install build files

2013-06-21 Thread Jan-Christoph Bornschlegel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 03.06.2013 01:32, schrieb scott maxwell:
> Sorry about the top posting. I have never posted to an email forum 
> like this before and had no idea what you were writing about. My 
> smart wife came to the rescue.  Thank you all for your help.

A simple web search with your favourite browser and your favourite
search engine using the term "top post{,ing}" should take you to this
article:
https://en.wikipedia.org/wiki/Posting_style

more or less immediately. BTW, Bruce's signature line comes from there.

When you started bottom posting, you added your text under Bruce's
signature. At least _my_ email client shows signature lines in light
grey and it is hard to recognise if any new text comes there.

Smart mail clients are able to omit signature lines when you hit
"reply". Thunderbird and KMail did this correctly for some time.
You might want to look in your email client's configuration. If you are
in a linux user group already, the easiest thing may be asking for help
there.

So much for email client rant ;)

I personally built my first few LFS systems (that was 6.3/6.4) more or
less alone, but I had some background already. I would not recommend
LFS as linux "first time", except you're prepared for some pain :)


cheers
Jan

- -- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)

iEYEAREIAAYFAlHEQIcACgkQ5VWs0ONOHPlRaQCgg605AEYOm5dp3wUk8q+gq7Wi
xn0AnAtFel6KbVSnNT4CNTO7zbDQubta
=pwBm
-END PGP SIGNATURE-
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread Armin K.
On 06/21/2013 10:57 AM, Sergey Shidlovsky wrote:
> Hello, everybody!
> 
> I'm trying to get my firs LFS, based on 7.3 version of The Book.
> The host system is Debian Wheezy 7.0 with 3.2.0 kernel. All requirements
> for host system were met. The lfs user environments ($LFS variable etc.)
> set properly.
> 
> Now I'm in the middle of chapter 5 "Constructing a Temporary System".
> All was okay till package, mentioned in the subject.
> 
> First command, "./configure --prefix=/tools" goes okay. But when I'm
> trying to say next "make", I get compilation errors:
> 
> ---
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -ansi
> -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes
> -Wwrite-strings -Wno-variadic-macros -MT putenv.lo -MD -MP -MF
> .deps/putenv.Tpo -c putenv.c  -fPIC -DPIC -o .libs/putenv.o
> putenv.c:5:1: error: expected identifier or '(' before '{' token
> make[2]: *** [putenv.lo] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
> make: *** [all] Error 2
> ---
> 
> If I'm understanding the problem correctly, there's some error in
> lib/putenv.c file. And I've tried to fix it! The mentioned file looked
> like this:
> 
> ---
> #include "libcompat.h"
> 
> int
> putenv (const char *string CK_ATTRIBUTE_UNUSED);
> {
>   assert (0);
>   return 0;
> }
> ---
> 
> There was a semicolon after the function header. I've removed it. After
> that compile stage was done properly. Unfortunately, after correct
> compilation, "make check command" failed to pass all the test suites. So
> I don't know what to do... and thanks in advance for any advices and
> solutions.
> 
> -- 
> Yours faithfully,
> Sergey N Shidlovsky
> 
> 

Doh, second in a week (I guess)

http://www.linuxfromscratch.org/lfs/errata/7.3/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread Sergey Shidlovsky
Hello, everybody!

I'm trying to get my firs LFS, based on 7.3 version of The Book.
The host system is Debian Wheezy 7.0 with 3.2.0 kernel. All requirements
for host system were met. The lfs user environments ($LFS variable etc.)
set properly.

Now I'm in the middle of chapter 5 "Constructing a Temporary System".
All was okay till package, mentioned in the subject.

First command, "./configure --prefix=/tools" goes okay. But when I'm trying
to say next "make", I get compilation errors:

---
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -ansi
-pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wno-variadic-macros -MT putenv.lo -MD -MP -MF .deps/putenv.Tpo -c
putenv.c  -fPIC -DPIC -o .libs/putenv.o
putenv.c:5:1: error: expected identifier or '(' before '{' token
make[2]: *** [putenv.lo] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
make: *** [all] Error 2
---

If I'm understanding the problem correctly, there's some error in
lib/putenv.c file. And I've tried to fix it! The mentioned file looked like
this:

---
#include "libcompat.h"

int
putenv (const char *string CK_ATTRIBUTE_UNUSED);
{
  assert (0);
  return 0;
}
---

There was a semicolon after the function header. I've removed it. After
that compile stage was done properly. Unfortunately, after correct
compilation, "make check command" failed to pass all the test suites. So I
don't know what to do... and thanks in advance for any advices and
solutions.

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page