Re: JHALFS Incompatibilities
Bruce Dubbs wrote: Yes, it,s a little touchy. You can get that when it's creating /tools, etc. too. Just delete the old stuff and start over. The program is not very tolerant of errors and variations, but once you get it work the way you want, it's handy. I looked a little farther, and the problem occurs in LFS/master.sh inside of build_Makefile(), which tries to cd to the directory JHALFSDIR/${PROGNAME}-commands. This gets called from jhalfs when Rebuild the Makefile is selected. If that is not selected, the tool complains that /media/lfs was not previously populated by a run of jhalfs. So, the FIRST time jhalfs is run, it isn't doing something it needs to do in the way of populating the directory. As I stated, it's broken, and people who regularly run it won't notice, b/c the directory structure is present and populated. As a kludgy work around I have, in times past, extracted the tarball twice. Instead, I'd like to suggest that whoever maintains jhalfs figure out what's wrong and fix it. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Bruce Dubbs wrote: Yes, it,s a little touchy. You can get that when it's creating /tools, etc. too. Ok, I've read the source, Luke, and I've got it going. For the FIRST run one must have Rebuild Files set to FALSE (not checked) Rebuild Makefile set to FALSE (not checked) It now appears to be extracting commands and running ok. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
JHALFS Incompatibilities
I'm using a VM (qemu) to build LFS v 6.8. I'm using the LFS LiveCD as my build system. I've partitioned and formatted my disc, and successfully booted the LiveCD. I've downloaded jhalfs-2.3.2 (I understand the one on the LiveCD jhalfs-2.3.1 is broken) and started setting up my directory structure. Here it is: /media/lfsbuild directory /media/BOOK book, v 6.8 XML extracted /media/jhalfs jhalfs-2.3.2 extracted /media/archiveplace to put the archived downloads /media/sourcesplace to put the sources for build All the directories are writable by the jhalfs user. I've gone into jhalfs and and done a make, and tried to set up the configuration. However, when I do a make, I go through the menu, and upon exit, jhalfs mostly likes it, but complains that the jhalfs directory and the build directory conflict. I've given /media/lfs as the build directory, and used the directory structure mentioned in README. However, jhalfs doesn't like it. If I rename jhalfs to jhalfs-2.3.2 and create another directory jhalfs, then the tool complains that other necessary directores underneath jhalfs don't exist. They appear to be directories in the jhalfs-2.3.2 directory, and appear to contain support scripts. What I've done before is extract the tarball twice, once into jhalfs-2.3.2 and once into jhalfs. This doesn't seem right. What clue am I missing? Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Mike McCarty wrote: I'm using a VM (qemu) to build LFS v 6.8. I'm using the LFS LiveCD as my build system. I've partitioned and formatted my disc, and successfully booted the LiveCD. I've downloaded jhalfs-2.3.2 (I understand the one on the LiveCD jhalfs-2.3.1 is broken) and started setting up my directory structure. Here it is: /media/lfsbuild directory /media/BOOK book, v 6.8 XML extracted /media/jhalfs jhalfs-2.3.2 extracted /media/archiveplace to put the archived downloads /media/sourcesplace to put the sources for build All the directories are writable by the jhalfs user. I've gone into jhalfs and and done a make, and tried to set up the configuration. However, when I do a make, I go through the menu, and upon exit, jhalfs mostly likes it, but complains that the jhalfs directory and the build directory conflict. I've given /media/lfs as the build directory, and used the directory structure mentioned in README. However, jhalfs doesn't like it. If I rename jhalfs to jhalfs-2.3.2 and create another directory jhalfs, then the tool complains that other necessary directores underneath jhalfs don't exist. They appear to be directories in the jhalfs-2.3.2 directory, and appear to contain support scripts. What I've done before is extract the tarball twice, once into jhalfs-2.3.2 and once into jhalfs. This doesn't seem right. What clue am I missing? When you go into the VM, extract jhalfs to your /home directory (the name doesn't matter). Run from there. jhalfs should create /mnt/lfs/{jhalfs,sources}. I tell it not to mess with sources and then just copy them manually to /mnt/lfs/sources, because I sometimes make changes there. Another easy way is to get the lfs-wget file and do: cd /mnt/lfs/sources; wget -i ~/lfs-wget -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Bruce Dubbs wrote: Mike McCarty wrote: I'm using a VM (qemu) to build LFS v 6.8. I'm using the LFS LiveCD as my build system. I've partitioned and formatted my disc, and successfully booted the LiveCD. I've downloaded jhalfs-2.3.2 (I understand the one on the LiveCD jhalfs-2.3.1 is broken) and started setting up my directory structure. Here it is: /media/lfsbuild directory /media/BOOK book, v 6.8 XML extracted /media/jhalfs jhalfs-2.3.2 extracted /media/archiveplace to put the archived downloads /media/sourcesplace to put the sources for build All the directories are writable by the jhalfs user. I've gone into jhalfs and and done a make, and tried to set up the configuration. However, when I do a make, I go through the menu, and upon exit, jhalfs mostly likes it, but complains that the jhalfs directory and the build directory conflict. I've given /media/lfs as the build directory, and used the directory structure mentioned in README. However, jhalfs doesn't like it. If I rename jhalfs to jhalfs-2.3.2 and create another directory jhalfs, then the tool complains that other necessary directores underneath jhalfs don't exist. They appear to be directories in the jhalfs-2.3.2 directory, and appear to contain support scripts. What I've done before is extract the tarball twice, once into jhalfs-2.3.2 and once into jhalfs. This doesn't seem right. What clue am I missing? When you go into the VM, extract jhalfs to your /home directory (the name doesn't matter). Run from there. jhalfs should create /mnt/lfs/{jhalfs,sources}. I tell it not to mess with sources and then What's the difference between that and running it from /mnt/lfs/jhalfs-3.2.2? It's a different directory, yet the tool complains. (BTW, I'm using /media, not /mnt, but that's not a problem). just copy them manually to /mnt/lfs/sources, because I sometimes make changes there. Another easy way is to get the lfs-wget file and do: cd /mnt/lfs/sources; wget -i ~/lfs-wget I just posted (soon to appear, I guess) wondering where wget-list is for 6.8, since I didn't find it. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Bruce Dubbs wrote: When you go into the VM, extract jhalfs to your /home directory (the name doesn't matter). Run from there. jhalfs should create /mnt/lfs/{jhalfs,sources}. I tell it not to mess with sources and then just copy them manually to /mnt/lfs/sources, because I sometimes make changes there. I described what happens. It complains that the directory structure of jhalfs, and that below, with the helper scripts, doesn't exist. It does not create them. Here's the exact error message when I did just what you describe: LFS/master.sh: line 382: cd: /media/lfs/jhalfs/lfs-commands: No such file or directory. THAT'S the problem I was reporting. The directory structure does not get created, and jhalfs expects it to exist, and to contain the support scripts which come from the tarball. In past, a couple of times, I've extracted the tarball twice to overcome this problem. Another easy way is to get the lfs-wget file and do: cd /mnt/lfs/sources; wget -i ~/lfs-wget Where is the wget-list for 6.8? I haven't found it. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Mike McCarty wrote: Bruce Dubbs wrote: When you go into the VM, extract jhalfs to your /home directory (the name doesn't matter). Run from there. jhalfs should create /mnt/lfs/{jhalfs,sources}. I tell it not to mess with sources and then What's the difference between that and running it from /mnt/lfs/jhalfs-3.2.2? It's a different directory, yet the tool complains. (BTW, I'm using /media, not /mnt, but that's not a problem). Don't know. I'd have to look at the code. I've always used ~/jhalfs (with the current svn version). just copy them manually to /mnt/lfs/sources, because I sometimes make changes there. Another easy way is to get the lfs-wget file and do: cd /mnt/lfs/sources; wget -i ~/lfs-wget I just posted (soon to appear, I guess) wondering where wget-list is for 6.8, since I didn't find it. If you build the book, you get it automatically, but it's at http://www.linuxfromscratch.org/lfs/view/development/wget-list or http://www.linuxfromscratch.org/lfs/view/6.8/wget-list (they are different). -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Mike McCarty wrote: Bruce Dubbs wrote: When you go into the VM, extract jhalfs to your /home directory (the name doesn't matter). Run from there. jhalfs should create /mnt/lfs/{jhalfs,sources}. I tell it not to mess with sources and then just copy them manually to /mnt/lfs/sources, because I sometimes make changes there. I described what happens. It complains that the directory structure of jhalfs, and that below, with the helper scripts, doesn't exist. It does not create them. Here's the exact error message when I did just what you describe: LFS/master.sh: line 382: cd: /media/lfs/jhalfs/lfs-commands: No such file or directory. So, I ran make again, and accepted everything the way it was, no changes, and it got farther. This time it's mentioning that it can't find /media/lfs/jhalfs/pkg_tarball_list for Chapter5, and again for Chapter6, grep: /media/lfs/jhalfs/pkg_tarball_list: No such file or directory. When I do another make, it complains mkdir: cannot create directory `chapter06-build_2': File exists. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Bruce Dubbs wrote: Don't know. I'd have to look at the code. I've always used ~/jhalfs (with the current svn version). Doesn't work for me, and hasn't worked for me, ever. I just repeated a trial, and got the same result. It complains that /media/jhalfs/lfs-commands does not exist. If you build the book, you get it automatically, but it's at http://www.linuxfromscratch.org/lfs/view/development/wget-list or http://www.linuxfromscratch.org/lfs/view/6.8/wget-list (they are different). I can believe it. However, I didn't use VIEW, I used DOWNLOAD, and it's not there. Is it supposed to be? http://www.linuxfromscratch.org/lfs/download/6.8/wget-list does not exist. -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
On Apr 21, 2011 12:08 AM, Mike McCarty mike.mcca...@sbcglobal.net wrote: Mike McCarty wrote: Bruce Dubbs wrote: When you go into the VM, extract jhalfs to your /home directory (the name doesn't matter). Run from there. jhalfs should create /mnt/lfs/{jhalfs,sources}. I tell it not to mess with sources and then just copy them manually to /mnt/lfs/sources, because I sometimes make changes there. I described what happens. It complains that the directory structure of jhalfs, and that below, with the helper scripts, doesn't exist. It does not create them. Here's the exact error message when I did just what you describe: LFS/master.sh: line 382: cd: /media/lfs/jhalfs/lfs-commands: No such file or directory. Yes, it,s a little touchy. You can get that when it's creating /tools, etc. too. Just delete the old stuff and start over. The program is not very tolerant of errors and variations, but once you get it work the way you want, it's handy. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Bruce Dubbs wrote: Yes, it,s a little touchy. You can get that when it's creating /tools, etc. too. Just delete the old stuff and start over. The program is not very tolerant of errors and variations, but once you get it work the way you want, it's handy. Are you familiar with the term finite state deterministic machine? If run again, with no other changes, it produces the same results. I believe that jhalfs-2.3.2 is -broken- and does not work. Perhaps the one in svn does? Which one do you use? Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: JHALFS Incompatibilities
Bruce Dubbs wrote: Yes, it,s a little touchy. You can get that when it's creating /tools, etc. too. Just delete the old stuff and start over. The program is not very tolerant of errors and variations, but once you get it work the way you want, it's handy. I did what you suggest five times, and each time I got the same error in the same place. I then downloaded using svn, and ran that one, and got the same error in the same place. svn said I checked out version 3535, whatever that means. In any case, jhalfs is broken. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page