Re: SVN 20100923 - gcc-4.5.1, pass 1, won't compile

2010-10-10 Thread Simon Geard
On Sat, 2010-10-09 at 23:15 +0100, Andrew Benton wrote:
 Also, you may need to tweak your glibc check to work on systems that
 don't have executable shared libraries. On my systems almost all shared
 libraries (including /lib/libc.so.6) have premissions 644 so I get:

Out of curiosity, why do you do things that way? It's certainly unusual;
indeed, I always assumed .so files were required to be executable -
otherwise why would every single distribution and installer make them
so?

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: SVN 20100923 - gcc-4.5.1, pass 1, won't compile

2010-10-10 Thread Andrew Benton
On Sun, 10 Oct 2010 21:09:38 +1300
Simon Geard delga...@ihug.co.nz wrote:

 On Sat, 2010-10-09 at 23:15 +0100, Andrew Benton wrote:
  Also, you may need to tweak your glibc check to work on systems that
  don't have executable shared libraries. On my systems almost all shared
  libraries (including /lib/libc.so.6) have permissions 644 so I get:
 
 Out of curiosity, why do you do things that way? It's certainly unusual;
 indeed, I always assumed .so files were required to be executable -
 otherwise why would every single distribution and installer make them
 so?
 

I got the idea from Ubunut, where most of the .so files are 644. I
don't have any firm reason to recommend it, other than paranoia and the
feeling that files should have the minimum permissions needed to do
their job. If a file doesn't need to be executable it seems a security
risk to have the execute bit set. I don't know how someone could
exploit that but if there's no problem having .so files chmod 644 I'd
rather be safe than sorry. 

Except for /lib/ld-*.so. It needs to be executable. Everything stops
working if /lib/ld-*.so is chmod 644.

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


Re: Perl Compilation Failure

2010-10-10 Thread Aleksandar Kuktin
On Sat, 9 Oct 2010 12:51:47 -0500
David Henry daverm...@gmail.com wrote:

 sh Configure -des -Dprefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO
 POSIX'
 
 make perl utilities ext/Errno/pm_to_blib
 
 The result is a build failure with the following output:
 
 Running Makefile.PL in ext/POSIX
 ../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none
 INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=static
 CCCDLFLAGS=
 Can't locate Cwd.pm in @INC (@INC contains: ../../lib) at
 ../../lib/File/Path.pm line 6.

It seems Cwd.pm is missing.
In a vanilla Perl source directory, it is in
${perl_srcdir}/cpan/Cwd/Cwd.pm

Perhaps Configure didn't do its job?
I only now saw the new instructions. Until now, I've been using
ancient 6.2 (and still am). It recommended running ./configure.gnu so
maybe you can try that script instead of Configure and see how it goes? 

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


grub installation error at chapter-8.4

2010-10-10 Thread Madhan M
Hi all,

I have finished installing the system using LFS-6.7 and completed till
chapter-8.3. But when i try to install grub on my hard disk,it remains as
such. The pointer keeps blinking. Please help me.
Thanks in advance.

Commands that were been followed:

root:/boot/grub# grub-mkdevicemap --device-map=device.map
root:/boot/grub# cat device.map
(fd0)/dev/fd0
(hd0)/dev/sda
(hd1)/dev/sdb
root:/boot/grub# grub-install --grub-setup=/bin/true /dev/sda


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


Re: SVN 20100923 - gcc-4.5.1, pass 1, won't compile

2010-10-10 Thread linux fan
On 10/9/10, Neal Murphy neal.p.mur...@alum.wpi.edu wrote:

 a jumble of data. See the attached script; it can give folks a clean, tidy

Oops, I got FAIL: /usr/bin/find not found. Need findutils version=4.1.20
My find is winding up in /bin
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Fwd: Authorization required to post to gmane.linux.lfs.support (fa6566c5457f2ae14b3e858bb28a6808)

2010-10-10 Thread Bruce Dubbs
Anand Arumugam wrote:

 1) Was there any problem in the way I used Gmane? If yes, can you please let
 me know how to rectify it?

Only registered users are allowed to post.  Don't post to gmain.  Post 
here instead as you did with this message.

 2) To seek help, is it correct to reply to an older post (especially) when
 it describes the problem that I also experience and add some more details?
 How does this work? By older post, I mean couple of weeks back.

Sure, that's fine.

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