Re: Recommended LiveCD?

2010-11-26 Thread xinglp
 I actually used the hint to make a Live CD for each of my systems from LFS.

Do you mean the hints below?
http://www.linuxfromscratch.org/hints/downloads/files/lfscd-remastering-howto.txt
http://www.linuxfromscratch.org/hints/downloads/files/initramfs.txt
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: lastlog string

2010-11-26 Thread Aleksandar Kuktin
On Thu, 25 Nov 2010 16:45:46 -0500
Mike Hollis zzf...@embarqmail.com wrote:

  I just noticed that the printing of lastlog after login :
 
 Last login: Thu Nov 25 14:42:51 -0500 2010 on /dev/tty4
 
 I thought this used to include the username . I poked around in
 the code for Shadow to see if I could decipher the origon of this
 string but got lost in a jungle of includes,stuctures,etc.
 
 I'm guessing that -0500 is my offset from GMT . On another partition 
 with LFS  built in July the string is the same. A ssh login to a
 remote machine with Debian installed  yields :
 
 Last login: Thu Nov 25 16:24:34 2010 from eagle.cowpie.net
 
 This is all really not a big deal; It's odd that I just noticed it.
 
 Is this a variable that can be configured ?

Well.. yes. Find it's location in the source and fix it. :)

BTW, if I recall correctly, the line is printed by Bash, so you should
look there.

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


Re: lastlog string

2010-11-26 Thread Mike Hollis
On Fri, Nov 26, 2010 at 01:24:29PM +0100, Aleksandar Kuktin wrote:
 On Thu, 25 Nov 2010 16:45:46 -0500
 Mike Hollis zzf...@embarqmail.com wrote:
 
   I just noticed that the printing of lastlog after login :
  
  Last login: Thu Nov 25 14:42:51 -0500 2010 on /dev/tty4
  .
  .
  Is this a variable that can be configured ?
 
 Well.. yes. Find it's location in the source and fix it. :)
 
 BTW, if I recall correctly, the line is printed by Bash, so you should
 look there.
 
 -- 
 -Aleksandar Kuktin
 
 At this stage of my C expertise I would do better trying to decipher
Eygptian heiroglyphics than much of the code I see. 

 I will check out the bash connection.

Thanks,

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


Re: build Expect error?

2010-11-26 Thread Bruce Dubbs
robert wrote:
 working on the Expect build at 
 http://www.linuxfromscratch.org/lfs/view/stable/chapter05/expect.html
 
 instructions say:
 running the test suite is not mandatory ...
 
 I do so anyway.
 $make test
 yields:
  Test generated error; Return code was: 1
  Return code should have been one of: 0 2
  errorInfo: child killed: segmentation violation
  while executing
 exec rm /tmp/[pid]
  (uplevel body line 11)
  invoked from within
 uplevel 1 $script
  errorCode: CHILDKILLED 31463 SIGSEGV {segmentation violation}
  spawn-1.4 FAILED
 
 stty.test
 all.tcl:  Total   26  Passed  11  Skipped 0   Failed  15
 Sourced 0 Test Files.
 Files with failing tests: cat.test logfile.test send.test spawn.test
 
 Should I be concerned ... or just plow on into the future?

Keep going.  It depends on the host system.  I just ran it on a 
relatively current lfs-svn and it showed no failed tests.

   -- Bruce

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


Re: OpenOffice 3.2.1 on x86_64

2010-11-26 Thread Andre Keller
Am 26.11.2010 03:19, schrieb Stuart Stegall:
 I was able to make libreoffice-3.2.99.3 build on current SVN x86.
   

A pity you did not mention that before :-))
I wasn't aware of the project and its story...


So I gave it a try:

mkdir /opt/src
cd /opt/src
wget
http://download.documentfoundation.org/libreoffice/src/libreoffice-build-3.2.99.3.tar.gz

./autogen.sh --enable-binfilter --enable-cairo --enable-extensions
--disable-kde --disable-kde4 --disable-odk --with-git=no 
--prefix=/opt/libreoffice-3.2.99.3 --sysconfdir=/etc/libreoffice 
--without-junit
./download
make

bin/ooinstall /opt/libreoffice-3.2.99.3


Build was successful but did application did not start (it was
complaining about shared library libdb-4.7.so )

So I did (I might be a bit an overkill :-)):
mkdir /opt/lib/libreoffice-3.2.99.3
find /opt/src/libreoffice-build-3.2.99.3 -name *.so -exec cp -v {}
/opt/lib/libreoffice-3.2.99.3 \;
echo /opt/lib/libreoffice-3.2.99.3  /etc/ld.so.conf
ldconfig


Now everything runs smoothly (well at least the stuff I was able to test
so far!)

Thank you for the hint
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: build Expect error?

2010-11-26 Thread Ken Moffat
On Fri, Nov 26, 2010 at 02:11:22PM -0600, Bruce Dubbs wrote:
 robert wrote:
  working on the Expect build at 
  http://www.linuxfromscratch.org/lfs/view/stable/chapter05/expect.html
  
  instructions say:
  running the test suite is not mandatory ...
  
  I do so anyway.
[...]
  Should I be concerned ... or just plow on into the future?
 
 Keep going.  It depends on the host system.  I just ran it on a 
 relatively current lfs-svn and it showed no failed tests.
 
-- Bruce
 
 Running the chapter 5 tests *might* be occasionally useful for
people who follow, or are changing, the development book (and who
have data to show what used to happen).  For everyone else, the
tests in chapter 5 are a distraction: they might conceivably
highlight that you did something wrong, or missed a package, but
since almost nobody runs them, it's hard to know.

ĸ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: OpenOffice 3.2.1 on x86_64

2010-11-26 Thread DJ Lucas
On 11/26/2010 05:16 PM, Andre Keller wrote:
 Am 26.11.2010 03:19, schrieb Stuart Stegall:
 I was able to make libreoffice-3.2.99.3 build on current SVN x86.
   
 
 A pity you did not mention that before :-))
 I wasn't aware of the project and its story...
 
 
 So I gave it a try:

SNIP

 Build was successful but did application did not start (it was
 complaining about shared library libdb-4.7.so )
 

SNIP

 
 Now everything runs smoothly (well at least the stuff I was able to test
 so far!)
 
 Thank you for the hint

I'd try and use --with-system-db in the OOo build. That's why I want the
BLFS profile upstreamed so that all of those options are set in stone.
IIRC, there used to be an optional configure switch...something to the
effect of --extra or similar that passes extra arguments to OOo's
configure script (nice if not using a build profile, but patches would
still be a nightmare as we don't necessarily want all of the patches).
Don't know if that is still there or not. Haven't checked out Libre
since Go-oo was rolled into it. It may not be necessary to maintain a
particular patchset any longer.

-- DJ Lucas

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


Re: build Expect error?

2010-11-26 Thread robert
Ken Moffat wrote:
 On Fri, Nov 26, 2010 at 02:11:22PM -0600, Bruce Dubbs wrote:
 robert wrote:
 working on the Expect build at 
 http://www.linuxfromscratch.org/lfs/view/stable/chapter05/expect.html

 instructions say:
 running the test suite is not mandatory ...

 I do so anyway.
 [...]
 Should I be concerned ... or just plow on into the future?
 Keep going.  It depends on the host system.  I just ran it on a 
 relatively current lfs-svn and it showed no failed tests.

-- Bruce

  Running the chapter 5 tests *might* be occasionally useful for
 people who follow, or are changing, the development book (and who
 have data to show what used to happen).  For everyone else, the
 tests in chapter 5 are a distraction: they might conceivably
 highlight that you did something wrong, or missed a package, but
 since almost nobody runs them, it's hard to know.
 
 ĸen

Yep.  Moving ahead.  Quite well along beyond Expect build.  Those first 
few, binutils and gcc, were remarkably challenging.

Now, I think I got it by the tail on a downhill pull.

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


Re: OpenOffice 3.2.1 on x86_64

2010-11-26 Thread Andre Keller
On 27.11.2010 04:08, schrieb DJ Lucas:
 I'd try and use --with-system-db in the OOo build. 

Yeah I thought about this too, there are other tools like libxml2,
libxmlsec, mysql, mozilla, etc.) which could be taken from the system
instead of building them along with the oo build.

I just wanted to do an initial build first, to see if it would builds at
all. Now I can try and optimize my build.

 That's why I want the
 BLFS profile upstreamed so that all of those options are set in stone

That happening would be great!



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