Re: [lfs-support] lfs-support Digest, Vol 2836, Issue 2

2013-04-09 Thread Prabhu
Hi, I executed the command *chown -R root:root $LFS/tools* in LFS user,
it says I'm not permitted to do that, so I executed the same command with
sudo, it says *lfs is not in the sudoers file.  This incident will be
reported. * I google it and I saw a post that, I'm not going to use LFS
user after this command, so I proceed by give the admin privilege to LFS
user and I execute the command. It got executed successfully but, I'm
unable to remove build folders in source even in sudo it says I am not
permitted.


--

Message: 2
Date: Mon, 8 Apr 2013 21:40:37 +0530
From: Prabhu flyingcolour...@gmail.com
Subject: [lfs-support] Changing the ownership
To: lfs-support@linuxfromscratch.org
lfs-support@linuxfromscratch.org
Message-ID:
CAHopyw5omSnqP0LSdrsLMF71qxa+K9XY=7moyro4tqgogrm...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Hi, I'm working on LFS-7.2, I successfully compiled the packages until
XZ-5.0.4 and I did stripping, then in Changing the ownership I checked the
permissions of tools directory as lfs user and host user then I switched
back to the root user and I executed this command *sudo chown -R root:root
$LFS/tools*, but after executing it the permission remains same. I would
like to know the exact permission of the tools directory. Could someone
assist me in this.



With Regards...
PRABHU :)
-- next part --
An HTML attachment was scrubbed...
URL:
http://linuxfromscratch.org/pipermail/lfs-support/attachments/20130408/1aa3398a/attachment-0001.html

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


[lfs-support] Changing the ownership

2013-04-08 Thread Prabhu
Hi, I'm working on LFS-7.2, I successfully compiled the packages until
XZ-5.0.4 and I did stripping, then in Changing the ownership I checked the
permissions of tools directory as lfs user and host user then I switched
back to the root user and I executed this command *sudo chown -R root:root
$LFS/tools*, but after executing it the permission remains same. I would
like to know the exact permission of the tools directory. Could someone
assist me in this.



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


[lfs-support] Glibc installation in target machine fails

2012-12-18 Thread Prabhu
Hi,
I successfully chrooted my target machine and I passed all the way upto
man-page installation, and I stepped into glibc(chapter 6.9). I performed
all the steps till make without any error after entering the make check
command Its giving me an error.

COMMAND ENTERED*:

make -k check 21 | tee glibc-check-log
grep Error glibc-check-log
*

ERROR:
*
diff -p -U 0 ../sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
/sources/glibc-build/libc.symlist
--- ../sysdeps/unix/sysv/linux/i386/nptl/libc.abilist2012-06-30
19:12:34.0 +
+++ /sources/glibc-build/libc.symlist2012-12-18 11:30:50.0 +
@@ -261 +261 @@ GLIBC_2.0
- _nl_default_dirname D 0x12
+ _nl_default_dirname D 0x4a
make[2]: *** [check-abi-libc] Error 1
make[2]: Leaving directory `/sources/glibc-2.16.0/elf'
make[1]: *** [elf/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.16.0'
make: *** [check] Error 2
*
Since its a check, I ignored it and I performed with the next step
that's *make
install* even this fails and throw me an error as
*
*ERROR*:

make[2]: *** No rule to make target
`/usr/--disable-profile--enable-add-ons--enable-kernel=2.6.25/lib/libBrokenLocale.so',
needed by `install-lib-nosubdir'.  Stop.
make[2]: Leaving directory `/sources/glibc-2.16.0/locale'
make[1]: *** [locale/subdir_install] Error 2
make[1]: Leaving directory `/sources/glibc-2.16.0'
make: *** [install] Error 2*

could someone assist me resolve this.
-- 

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


Re: [lfs-support] libmpfr error while compiling GCC.

2012-11-10 Thread Prabhu
(5.5.1 Installation of cross GCC)

I successfully compiled Binutilities, then I untared the GCC. In GCC folder
I done the following steps

*tar -Jxf ../mpfr-3.1.1.tar.xz
mv -v mpfr-3.1.1 mpfr
tar -Jxf ../gmp-5.0.5.tar.xz
mv -v gmp-5.0.5 gmp
tar -zxf ../mpc-1.0.tar.gz
mv -v mpc-1.0 mpc*

This

*for file in \
 $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
do
  cp -uv $file{,.orig}
  sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools@g' \
  -e 's@/usr@/tools@g' $file.orig  $file
  echo '
#undef STANDARD_STARTFILE_PREFIX_1
#undef STANDARD_STARTFILE_PREFIX_2
#define STANDARD_STARTFILE_PREFIX_1 /tools/lib/
#define STANDARD_STARTFILE_PREFIX_2 '  $file
  touch $file.orig
done
*
This

*sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure
*
this *
**mkdir -v ../gcc-build
cd ../gcc-build
*
and finally this

*
../gcc-4.7.1/configure \
--target=$LFS_TGT  \
--prefix=/tools\
--with-sysroot=$LFS\
--with-newlib  \
--without-headers  \
--with-local-prefix=/tools \
--with-native-system-header-dir=/tools/include \
--disable-nls  \
--disable-shared   \
--disable-multilib \
--disable-decimal-float\
--disable-threads  \
--disable-libmudflap   \
--disable-libssp   \
--disable-libgomp  \
--disable-libquadmath  \
--enable-languages=c   \
--with-mpfr-include=$(pwd)/../gcc-4.7.1/mpfr/src \
--with-mpfr-lib=$(pwd)/mpfr/src/.libs
*



Now the final step is to compile GCC by *make *command, at this point of
time it got compiled for 10 mins and then it was showing an error message
that *

*

*checking for MPFR... no*
*configure: error: libmpfr not found or uses a different ABI (including
static vs shared).*
*make[1]: *** [configure-mpc] Error 1*
*make[1]: Leaving directory `/mnt/test/sources/gcc-build'*
*make: *** [all] Error 2*


You can see the whole compilation part in this link

http://pastebin.com/ahMmeTk8

please help me to resolve this error..


http://pastebin.com/ahMmeTk8
http://pastebin.com/ahMmeTk8
On Sat, Nov 10, 2012 at 12:19 PM, Prabhu flyingcolour...@gmail.com wrote:

 Hi,
  I'm trying to compile GCC, I done with untaring (MPFR,GMP and MPC
 ) and moving the files to its respected folders, and even configuration
 part also done. but while making the Gcc its throwing me an error message
 says that

 *checking for MPFR... no*
 *configure: error: libmpfr not found or uses a different ABI (including
 static vs shared).*
 *make[1]: *** [configure-mpc] Error 1*
 *make[1]: Leaving directory `/mnt/test/sources/gcc-build'*
 *make: *** [all] Error 2*


 please let me know where I failed. I tried almost 4 times from the
 starting, its keep on failing me in same stage.



 With Regards...
 PRABHU :)


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


Re: cannot execute /bin/bash : No such file or Directory exists

2006-09-01 Thread yogesh prabhu

Thanks Pv,
Its solved .

i can enter my Bash prompt...
The problem was due to /etc/fstab file and the symbol #

Editing that solved my problem ..


But ,
The e key does not work after i get into my LFS version ..
But the same key e works with other Host.
Is it due to a problem of the wrongly loaded keyboard configuration???

How cud i make it work .

Anyway Thanks really for your valuable time .and the heleped
solving the issue .

Thanks PV .



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


Re: cannot execute /bin/bash : No such file or Directory exists

2006-08-31 Thread yogesh prabhu

Thanks Pv again 
As per ur mail please note below


Seems OK for me. I don't see a problem here.
 Just a note, I asked you to run ls -ld / but you run ls -l /.


Sorry, in my earlier mail i had made a mistake.
Now Please see the output of ls -ld / below
drwxr-xr-x  22 root root 4096 2006-08-25 04:18 /



I guess you run the preceding commands (ldd/ls) from a LiveCD or another  distro 
you built LFS from (or I misunderstand something).

1. Can you please show the sequence of commands  after which you're able  to 
operate on  your LFS partition from that another  distro?


Yeah ,as i cud not log on into my LFS , i use Livecd as another distro.
(could i log on without using another distro???)
Anyway my sequences using Live cd are as follows
1) mounting the partition as :  mount /dev/hdc6 $LFS

2)Mounting the virtual kernel file systems
mkdir -pv $LFS/{proc,sys}
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys
mount -vft tmpfs tmpfs $LFS/dev
mount -vft tmpfs tmpfs $LFS/dev/shm
mount -vft devpts -o gid=4,mode=620 devpts $LFS/dev/pts

3) Then i enter chroot as
chroot $LFS /usr/bin/env -i \
   HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
   PATH=/bin:/usr/bin:/sbin:/usr/sbin \
   /bin/bash --login
4)After i get root:/# prompt i do POPULATE /dev as per the book



The contents of your LFS's /etc/fstab file will
be useful as well.



# Begin /etc/fstab
# filesystem  mount-point type   options  dump  fsck
   order
/dev/hdc6 /ext2   defaults 1 1
/dev/hdc10swap swap   pri=10 0
proc  /procproc   defaults 0 0
sysfs /sys sysfs  defaults 0 0
devpts/dev/pts devpts gid=4,mode=620   0 0
shm   /dev/shm tmpfs  defaults 0 0
# End /etc/fstab


3. Also search for the following line in /etc/rc.d/init.d/mountfs
and delete everything after '' including the ''.
The line would become
as follows


yeah i had deleted everything after the after  in the line mount -a
-O no_netdev
and now looks like  mount -a -O no_netdev
after i boot the script does not show anything abt the Failure,but the
immediate next script
..   [ok]
mounting remaining file systems ..
mount : mount point does not exist   [failed]

Can you Help me ???
Will this issue get solved ..
Thanks for you mail...


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


Re: cannot execute /bin/bash : No such file or Directory exists

2006-08-30 Thread yogesh prabhu

Thanks for ur reply...

As per the earlier mail of Pavlov (PV)
the output i got is listed below

1) ls -l /bin/bash /lib/libreadline.so.5.0 /lib/libhistory.so.5.0

-rwxr-xr-x  1 root root 1152240 2006-08-11 04:43 /bin/bash
-rwxr-xr-x  1 root root   30852 2006-08-07 05:05 /lib/libhistory.so.5.0
-rwxr-xr-x  1 root root  206725 2006-08-07 05:05 /lib/libreadline.so.5.0

2)ls -l /lib/libncurses.so.5 /lib/libdl.so.2 /lib/libc.so.6

-rwxr-xr-x  1 root root 1152240 2006-08-11 04:43 /bin/bash
lrwxrwxrwx  1 root root  13 2006-07-23 21:41 /lib/libc.so.6 - libc-2.3.4.so
lrwxrwxrwx  1 root root  14 2006-07-23 21:41 /lib/libdl.so.2 -
libdl-2.3.4.so
lrwxrwxrwx  1 root root  17 2006-08-06 03:59 /lib/libncurses.so.5
- libncurses.so.5.4


3)ls -l /lib/ld-linux.so.2

lrwxrwxrwx  1 root root 11 2006-07-23 21:41 /lib/ld-linux.so.2 - ld-2.3.4.so

4)ls -ld / /bin

/:
total 88
drwxr-xr-x   2 root root  4096 2006-08-11 04:43 bin
drwxr-xr-x   3 root root  4096 2006-08-07 06:24 boot
drwxrwxrwt   4 root root   300 2006-08-31 03:51 dev
drwxr-xr-x  12 root root  4096 2006-08-31 03:52 etc
drwxr-xr-x   2 root root  4096 2006-07-22 04:05 home
drwxr-xr-x   4 root root  4096 2006-08-07 06:22 lib
drwx--   3 root root 16384 2006-07-17 23:54 lost+found
drwxr-xr-x   4 root root  4096 2006-08-31 04:04 media
drwxr-xr-x   2 root root  4096 2006-07-22 04:05 mnt
drwxr-xr-x  16 root root  4096 2006-07-22 04:16 opt
dr-xr-xr-x  40 root root 0 2006-08-31 03:36 proc
drwxr-x---   2 root root  4096 2006-08-25 04:32 root
drwxr-xr-x   2 root root  4096 2006-08-07 05:06 sbin
drwxrwxrwt  60 1001 root  4096 2006-08-11 04:28 sources
drwxr-xr-x   2 root root  4096 2006-07-22 04:06 srv
drwxr-xr-x  10 root root 0 2006-08-31 03:36 sys
drwxrwxrwt   2 root root 12288 2006-08-11 04:43 tmp
drwxr-xr-x  13 root root  4096 2006-07-23 05:59 tools
drwxr-xr-x   9 root root  4096 2006-07-25 03:54 usr
drwxr-xr-x  12 root root  4096 2006-07-22 04:15 var

/bin:
total 3360
-rwxr-xr-x  1 root root   29103 2006-08-07 05:05 [
-rwxr-xr-x  1 root root2996 2006-08-07 05:05 arch
-rwxr-xr-x  1 root root   16939 2006-08-07 05:05 basename
-rwxr-xr-x  1 root root 1152240 2006-08-11 04:43 bash
-r-xr-xr-x  1 root root6823 2006-08-11 04:43 bashbug
lrwxrwxrwx  1 root root   5 2006-08-06 19:27 bunzip2 - bzip2
lrwxrwxrwx  1 root root   5 2006-08-06 19:27 bzcat - bzip2
-rwxr-xr-x  1 root root   34915 2006-08-07 05:05 bzip2
-rwxr-xr-x  1 root root   21217 2006-08-07 05:05 cat
-rwxr-xr-x  1 root root   38353 2006-08-07 05:05 chgrp
-rwxr-xr-x  1 root root   38071 2006-08-07 05:05 chmod
-rwxr-xr-x  1 root root   41038 2006-08-07 05:05 chown
lrwxrwxrwx  1 root root   4 2006-08-07 03:26 compress - gzip
-rwxr-xr-x  1 root root   57543 2006-08-07 05:05 cp
-rwxr-xr-x  1 root root   46777 2006-08-07 05:05 date
-rwxr-xr-x  1 root root   35280 2006-08-07 05:05 dd
-rwxr-xr-x  1 root root   38522 2006-08-07 05:05 df
-rwxr-xr-x  1 root root4520 2006-08-07 05:05 dmesg
-rwxr-xr-x  1 root root   18537 2006-08-07 05:05 echo
-rwxr-xr-x  1 root root  33 2006-08-07 03:17 egrep
-rwxr-xr-x  1 root root   15685 2006-08-07 05:05 false
-rwxr-xr-x  1 root root  33 2006-08-07 03:17 fgrep
-rwxr-xr-x  1 root root   23351 2006-08-07 05:05 fuser
-rwxr-xr-x  1 root root   83722 2006-08-07 05:05 grep
lrwxrwxrwx  1 root root   4 2006-08-07 03:25 gunzip - gzip
-rwxr-xr-x  1 root root   60381 2006-08-07 05:05 gzip
-rwxr-xr-x  1 root root   31076 2006-08-07 05:05 head
-rwxr-xr-x  1 root root   17063 2006-08-07 05:05 hostname
-rwxr-xr-x  1 root root   59268 2006-08-07 05:05 install
-r-xr-xr-x  1 root root   12232 2006-08-07 05:05 kill
-rwxr-xr-x  1 root root   16500 2006-08-07 05:05 killall
-rwxr-xr-x  1 root root  119242 2006-08-07 05:05 less
-rwxr-xr-x  1 root root7358 2006-08-07 05:05 lessecho
-rwxr-xr-x  1 root root   13681 2006-08-07 05:05 lesskey
-rwxr-xr-x  1 root root   29317 2006-08-07 05:05 ln
-rwxr-xr-x  1 root root   75416 2006-08-07 05:05 loadkeys
-rwxr-xr-x  1 root root7904 2006-08-07 05:05 logger
-rwxr-xr-x  1 root root   43770 2006-08-07 05:05 login
-rwxr-xr-x  1 root root   83395 2006-08-07 05:05 ls
-rwxr-xr-x  1 root root8325 2006-08-07 05:05 lsmod
-rwxr-xr-x  1 root root   26419 2006-08-07 05:05 mkdir
-rwxr-xr-x  1 root root   24143 2006-08-07 05:05 mknod
-rwxr-xr-x  1 root root   26724 2006-08-07 05:05 more
-rwsr-xr-x  1 root root   56480 2006-08-07 05:05 mount
-rwxr-xr-x  1 root root4816 2006-08-07 05:05 mountpoint
-rwxr-xr-x  1 root root   62971 2006-08-07 05:05 mv
-rwsr-xr-x  1 root root   25954 2006-08-07 05:05 passwd
lrwxrwxrwx  1 root root  16 2006-08-07 04:32 pidof - ../sbin/killall5
-rwsrwxr-x  1 root root   26463 2006-08-07 05:05 ping
-r-xr-xr-x  1 root root   65104 2006-08-07 05:05 ps
-rwxr-xr-x  1 root root   17984 2006-08-07 05:05 pwd
-rwxr-xr-x  1 root root   38252 2006-08-07 05:05 rm
-rwxr-xr-x  1 root root   18766 2006-08-07 05:05 rmdir
-rwxr-xr-x  1 root root  107134 2006-08-07 05:05 sed
lrwxrwxrwx  1 root root   

cannot execute /bin/bash : No such file or Directory exists

2006-08-29 Thread yogesh prabhu

Dear all,

This is my first email to the groups with the error ...
i am stuck atlast !!

I had finished my LFS installation...
compiled my kernel too...
installed the grub 

then i rebooted with my beauty grub  into my distro LFS 6.1

everything went well

i got the login prompt too

i gave my login prompt as : root
and my passwd which i had set during the installation  and then
pressed enter key 

i get a message .(error)

 Cannot execute  /bin/bash No such file or directory 

I am stuck ...anyone can provide me a solution ...how to proceed further 


thanks to all 



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


Re: cannot execute /bin/bash : No such file or Directory exists

2006-08-29 Thread yogesh prabhu

hi chris ,

Thanks for ur reply ...
when give ldd bin/bash ...i get this message 


linux-gate.so.1 =  (0xe000)
libreadline.so.5.0 = /lib/libreadline.so.5.0 (0xb7fbd000)
libhistory.so.5.0 = /lib/libhistory.so.5.0 (0xb7fb5000)
libncurses.so.5 = /lib/libncurses.so.5 (0xb7f74000)
libdl.so.2 = /lib/libdl.so.2 (0xb7f7)
libc.so.6 = /lib/libc.so.6 (0xb7e56000)
/lib/ld-linux.so.2 (0xb7feb000)

Is anything wrong ??
please note (i had reinstalled bash also . )
but still i cud not log on


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