Re: Chapter 6.38 Gettext-0.17 package
On Fri, May 01, 2009 at 03:09:23AM +, jnbut...@jnbutler.com wrote: Okay, I ran into another error while compiling the gettext-0.17 package. Here is the last compile entry with the error: gcc -std=gnu99 -g -O2 -o .libs/xgettext xgettext-xgettext.o xgettext-x-c.o xgettext-x-po.o xgettext-x-sh.o xgettext-x-python.o xgettext-x-lisp.o xgettext-x-elisp.o xgettext-x-librep.o xgettext-x-scheme.o xgettext-x-smalltalk.o xgettext-x-java.o xgettext-x-csharp.o xgettext-x-awk.o xgettext-x-ycp.o xgettext-x-tcl.o xgettext-x-perl.o xgettext-x-php.o xgettext-x-rst.o xgettext-x-glade.o ./.libs/libgettextsrc.so /sources/gettext-0.17/gettext-tools/gnulib-lib/.libs/libgettextlib.so -L/usr/lib -lncurses -lc -ldl xgettext-x-c.o: In function `init_keywords': /sources/gettext-0.17/gettext-tools/src/x-c.c:166: undefined reference to `x_c_keywore' collect2: ld returned 1 exit status make[4]: *** [xgettext] Error 1 make[4]: Leaving directory `/sources/gettext-0.17/gettext-tools/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/sources/gettext-0.17/gettext-tools/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/sources/gettext-0.17/gettext-tools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/sources/gettext-0.17/gettext-tools' make: *** [all-recursive] Error 1 root:/sources/gettext-0.17# I did not see anything about this in the archives. Thanks in advance for your help. James Butler That should be a reference to x_c_keyword (with a 'd' not an 'e'). Single bit error on your disk or in your RAM ? ('d'=x0064, 'e'=x0065). Alternatively, perhaps you typed all of the above and mistranscribed it or miskeyed it ? If the error really did mention x_c_keyword I've no idea what went wrong. In either case, I'd be inclined to delete the gettext-0.17 directory and retry in case it was a one-off inexplicable error. ĸ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
error installing e2fsprogs
I get an error installing e2fsprogs: LFS version: 6.4 Host distrib: CentOS 5.3 Package: e2fsprogs1.41.3 Error (see below): touch: setting times of `subdirs': Function not implemented lfs:/mnt/lfs/sources/e2fsprogs-1.41.3/build$ make cd ./util ; make subst make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/util' CC ../../util/subst.c LD subst make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/util' make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' cd .; CONFIG_FILES=./lib/ext2fs/ext2_types.h ./config.status config.status: creating ./lib/ext2fs/ext2_types.h config.status: executing default-1 commands make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' cd .; CONFIG_FILES=./lib/blkid/blkid_types.h ./config.status config.status: creating ./lib/blkid/blkid_types.h config.status: executing default-1 commands make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' cd .; CONFIG_FILES=./lib/uuid/uuid_types.h ./config.status config.status: creating ./lib/uuid/uuid_types.h config.status: executing default-1 commands make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/et' SUBST compile_et make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/et' make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/ext2fs' SUBST ext2_err.et COMPILE_ET ext2_err.et make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/ext2fs' make libs make[1]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: `lib/ext2fs/ext2_types.h' is up to date. make[2]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: `lib/blkid/blkid_types.h' is up to date. make[2]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: `lib/uuid/uuid_types.h' is up to date. make[2]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make[2]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/et' make[2]: `compile_et' is up to date. make[2]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/et' make[2]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/ext2fs' make[2]: `ext2_err.h' is up to date. make[2]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/ext2fs' making all in lib/et make[2]: Entering directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/et' touch: setting times of `subdirs': Function not implemented make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build/lib/et' make[1]: *** [all-libs-recursive] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build' make: *** [all] Error 2 lfs:/mnt/lfs/sources/e2fsprogs-1.41.3/build$ Any help will be appreciated. -rld -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Error in NCURSES-5.7 Procedure?
Hi, If true, this should go to the attention of LFS Developers. If specific to my type configuration, maybe in a Wiki, to whom it may concern. If wrong, please disregard. Before installing the 5.7, on my ncurses-5.4 system (circa Oct. 2005), I had this chain of five links: /usr/lib/libncurses.so.5 - /usr/lib/libcurses.so - /usr/lib/libncurses.so - /lib/libncurses.so.5 - /lib/libncurses.so.5.4 Crazy, but I suppose it was left like that after the ncurses-5.4 procedure (and it worked for me). Unfortunately, some important applications rely on '/usr/lib/libncurses.so.5' (ldd ...) such as 'vi' (7.2), 'less' (382) and BASH (3.2.15). In the 5.7 procedure, at the 'for' loop: for lib in curses ncurses form panel menu ; do \ rm -vf /usr/lib/lib${lib}.so ; \ echo INPUT(-l${lib}w) /usr/lib/lib${lib}.so ; \ ... , the nice chain above is broken by the removal of '/usr/lib/libcurses.so', thus leaving '/usr/lib/libncurses.so.5' dangling hopelessly. For anybody with my type of configuration the system becomes unusable at this point, both as unable to run 'vi' or 'less' (for example, to follow the procedure) and because it crashes on 'bash's untimely death. A solution I humbly offer is to run something like ln -sfv /lib/libncurses.so.5 /usr/lib/libncurses.so.5 just before the 'for' loop (in '/lib', libncurses.so.5 - libncurses.so.5.4 which is still serviceable.) Fortunately, this temporary work-around will be fixed properly and painlessly just before the end of the procedure, on the non-wide copy: cp -av lib/lib*.so.5* /usr/lib While at it, I also suggest replacing the above copy with mv -fv .. which saves some grief for those who use alias cp='cp -i' and, more importantly, preserves the original (compile) time of the 'libncurses.so.5' symlink. Thank you for your consideration, -- Alex -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: error installing e2fsprogs
Dewees, Robert L wrote: I get an error installing e2fsprogs: LFS version: 6.4 Host distrib: CentOS 5.3 Package: e2fsprogs1.41.3 Error (see below): touch: setting times of `subdirs': Function not implemented snip Any help will be appreciated. -rld Looks to my untrained eye that you are either running an old version of touch (not 100% sure what package that is in), or you are trying to compile it on a non-ext2/3/4/reiserfs partition. I might be completely wrong though. Muzer. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Error in NCURSES-5.7 Procedure?
alupu wrote: If true, this should go to the attention of LFS Developers. If specific to my type configuration, maybe in a Wiki, to whom it may concern. There are quite a few things that you have not mentioned. The instructions for the entire book have been checked with an automated procedure, so the instructions are correct for the book's assumptions. First, are there any exceptions you may have to the prereqs that are specified in section iv. Host System Requirements? Second what is your host system? Third, are you compiling ncurses from chapter 5 or chapter 6? In virtually every case, problems like yours are due to an accidental odeviation from the book's earlier instructions or trying to do things in an unsupported manner. If this is your first LFS system, follow the instructions exactly. After you learn more, then deviate as you see fit. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
RE: error installing e2fsprogs
On a whim, I renamed the executable /tools/bin/touch and created a symlink from /bin/touch (the app from the host system) and the make completed and the app install without errors. Could this be a mis-step when I installed the coreutils? -Original Message- From: Dewees, Robert L Sent: Friday, May 01, 2009 2:00 PM To: 'LFS Support List' Subject: RE: error installing e2fsprogs Version 6.12 is installed (from coreutils v6.12 - per the instructions). -Original Message- From: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-boun...@linuxfromscratch.org] On Behalf Of Muzer Sent: Friday, May 01, 2009 1:05 PM To: LFS Support List Subject: Re: error installing e2fsprogs Dewees, Robert L wrote: I get an error installing e2fsprogs: LFS version: 6.4 Host distrib: CentOS 5.3 Package: e2fsprogs1.41.3 Error (see below): touch: setting times of `subdirs': Function not implemented snip Any help will be appreciated. -rld Looks to my untrained eye that you are either running an old version of touch (not 100% sure what package that is in), or you are trying to compile it on a non-ext2/3/4/reiserfs partition. I might be completely wrong though. Muzer. -- 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: Error in NCURSES-5.7 Procedure?
Hi Bruce, On Fri, May 1, 2009 at 3:53 PM, Bruce Dubbs bruce.du...@gmail.com wrote: are there any exceptions you may have to the prereqs that are specified in section iv. Host System Requirements? 1. None that I know of. The steps ran successfully (as far as they went). Nothing seems to have been missing or awry. Obviously, I'd be looking forward to an example of what something missing (or wrong) could have led to my _specific_ problem. There are quite a few things that you have not mentioned. The instructions for the entire book have been checked with an automated procedure ... 2. As I mentioned in my post, the problem (if any) is corrected automatically (automagically, as they say) at the very last step (the non-wide copy). So if the procedure is in a script (I assume this is what you call automated) I suppose the problem might not show up if the script runs uninterrupted. 2.1. What fraction of users use the automated procedure (as a guess)? 2.2. Where can one find the automated procedure? what is your host system? 3. Sorry, my fault. I thought the problem was independent of the particular host system. A few details (more can be provided, upon request): i686-pc-linux-gnu, (B)LFS. Kernel: 2.6.28.8, Udev: 141 One might say I'm at _B_LSF level, with certain holes plugged in with the help of _L_FS procedures. Moving from my original, _2005_ LFS ncurses 5.4 to the latest, 5.7, is a case in point (i.e. keeping up with the Joneses). Third, are you compiling ncurses from chapter 5 or chapter 6? 4. Chapter 6 (chapter 5 procedure, which I suppose is for installing ncurses for the first time, is very simple, not containing the more sophisticated steps of 6, as seen in my post.) In virtually every case, problems like yours are due to an accidental deviation from the book's earlier instructions or trying to do things in an unsupported manner. 5. No deviations (accidental or otherwise). I thought I provided enough details about how you hit the problem by running the steps _one at a time_ (not automatically). Of course, the 'for' loop (whose effects I'm suspicious of), is run all at once as a single step. Can be run as one line at a time but that would really be splitting hairs. Please note, other people with ncurses at 5.4 or later may have ended up with a different five-link chain than mine. As I pointed out, this krazy chain is at the root of a problem like this. This is why I mentioned Wiki as a source of help for the (few) unfortunate guys like me. If this is your first LFS system, follow the instructions exactly. After you learn more, then deviate as you see fit. 6. I followed the instructions (of Chapter 6) to the letter. I'm repeating myself, but based on the premise (configuration) I described, one can see the problem by just looking at the steps to be taken to the 'for' and including. I don't like to deviate. When I did was to fix the dangling link and thus the crashed sytem. Thank you for your comments. -- Alex -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Error in NCURSES-5.7 Procedure?
On Fri, May 01, 2009 at 07:08:46PM -0400, alupu wrote: what is your host system? 3. Sorry, my fault. I thought the problem was independent of the particular host system. A few details (more can be provided, upon request): i686-pc-linux-gnu, (B)LFS. Kernel: 2.6.28.8, Udev: 141 One might say I'm at _B_LSF level, with certain holes plugged in with the help of _L_FS procedures. Moving from my original, _2005_ LFS ncurses 5.4 to the latest, 5.7, is a case in point (i.e. keeping up with the Joneses). Third, are you compiling ncurses from chapter 5 or chapter 6? 4. Chapter 6 (chapter 5 procedure, which I suppose is for installing ncurses for the first time, is very simple, not containing the more sophisticated steps of 6, as seen in my post.) In virtually every case, problems like yours are due to an accidental deviation from the book's earlier instructions or trying to do things in an unsupported manner. I'm still having trouble understanding this : you're saying that you are in chroot building lfs-dev, and symlinks in your original install are breaking, causing problems in e.g. vim. Note that at this point in a normal build we don't have vim, and whatever we do in chroot should not alter your host system. To me, that sounds like you are using a rebuild everything in place, but using newer versions method. We should be able to rebuild in-place to prove that a system can rebuild itself, but upgrading versions of random packages without attending to idiosyncracies and symlinks _will_ eventually produce this sort of problem. I've updated a lot of packages on my systems (mostly blfs, but some in lfs) since LFS-6.3 and some of them need extra actions to fix things up. I've also had a lot of breakage porting the ncursesw-5.6 stuff to my own builds of clfs (the symptom there is that the next package, procps I think, fails to compile). But, you say you haven't deviated from the book. So, what am I missing ? In particular, how are the updates in chroot able to trash your host system ? You also say that your *host* system was running udev-141 (I like that, but I'm surprised if it was an upgrade from earlier than this year), and yet it was running ncurses-5.4. -EDOES_NOT_COMPUTE Also, for LFS systems, it's conventional to label them by the book version (release, or date) - running a recent kernel (or udev version) says nothing about the underlying system. I think we can assume it isn't using gcc-3.3-series for that kernel, but basically you've told us nothing. OTOH, if you have a mix of package versions then the original LFS version won't tell us anything either. Don't get me wrong - I like keeping systems going. But I take the old-fashioned view that the best way to upgrade LFS is to build a new one on a different partition. ĸ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: Error in NCURSES-5.7 Procedure?
On Fri, May 1, 2009 at 8:54 PM, Ken Moffat k...@linuxfromscratch.org wrote: I'm still having trouble understanding this : you're saying that you are in chroot building lfs-dev, and symlinks in your original install are breaking, causing problems in e.g. Vim. Note that at this point in a normal build we don't have vim, and whatever we do in chroot should not alter your host system. ... Hi Ken, Rarely have I seen two _totally_ disjointed conversations! I take just your first paragraph above as an example. Where did you see me using the words: - chroot - lfs-dev - Vim If you want me I'll write in German :) so we can get a modicum of understanding each other. The subject of my post cannot be farther from what you are talking about. Please read and try to understand what I was describing. Take my post as a whole, or by paragraph, ask questions where you don't understand or agree. I'm more than happy to respond and explain. Eine Tragoedie went directly into a Farce, I'm afraid. Thanks for your interest, anyway, -- Alex -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
error installing e2fsprogs
On a whim, I renamed the executable /tools/bin/touch and created a symlink from /bin/touch (the app from the host system) and the make completed and the app install without errors. Could this be a mis-step when I installed the coreutils? I hit this too. It's due to building on an old system. There was a change (utimensat) that the latest glibc and touch use to update a timestamp. (I grumbled for a few minutes when I discovered this -- why is there a change to this ancient function?) See, for example, http://bugs.gentoo.org/show_bug.cgi?id=224483 Anyhow, your fix should work for now but you probably want to upgrade the kernel, glibc and coreutils on the build system. You might run into something else later. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Error in NCURSES-5.7 Procedure?
alupu wrote: Hi Ken, Rarely have I seen two _totally_ disjointed conversations! I take just your first paragraph above as an example. Where did you see me using the words: - chroot You did say that the problem is in Chapter 6, in which you are (supposed to be) inside a chroot environment. Therefore, if you say you are in LFS Chapter 6, and claim to be following the book, it is reasonable to assume you are chrooted. - lfs-dev Probably just a guess, since you forgot to specify exactly which LFS version you are building. - Vim In your original message you mentioned a problem with Vi (among others) due to the Ncurses symlinks. As LFS installs Vim, it is assumed that when you mention Vi you mean Vim, particularly since you claim that your host is an LFS system. If you want me I'll write in German :) so we can get a modicum of understanding each other. The subject of my post cannot be farther from what you are talking about. Please read and try to understand what I was describing. Take my post as a whole, or by paragraph, ask questions where you don't understand or agree. I'm more than happy to respond and explain. Eine Tragoedie went directly into a Farce, I'm afraid. Thanks for your interest, anyway, -- Alex Going from what you said, I am going to have to agree with Ken here. However, as you claim that his assumption about what you are doing is false, you will need to specify what it is that you are actually doing. For example, explain *how* exactly Ncurses symlinks cause problems with Vi or Less, when neither of those should already be installed before Ncurses. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Error in NCURSES-5.7 Procedure?
I just noticed this... alupu wrote: Hi Bruce, 4. Chapter 6 (chapter 5 procedure, which I suppose is for installing ncurses for the first time, is very simple, not containing the more sophisticated steps of 6, as seen in my post.) which I suppose is for installing ncurses for the first time...correct me if I'm wrong, but does this imply that you have skipped Chapter 5 entirely and started an LFS build by following *only* Chapter 6? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page