Re: [lfs-support] Udev installation error - LFS chapter 6
On 2012-08-20 07:04, Oshadha Gunawardena wrote: You can find the full trace here http://tny.cz/731e9d9b [1] I was trying the LFS book and stuck at this point where udev-181 hits a build error. I completed the chapter 6 without installing udev and I know it will be a problem in the future. So now I want is a solution for building and installing udev and set or recreate the environment ready for the future. INITIAL ERROR: configure: error: in `/sources/udev-181: configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables BLKID_CFLAGS and BLKID_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. I set the pkg-config flag to PKG_CONFIG=/tools/bin/true. But then it asked for GPERF, so I installed GPERF and it seems configured fine (full trace of configuration command - http://tny.cz/5f221035 [2]) but I couldnt get it to compile because of the below error. ERROR: # make GEN test/sys/kernel/uevent_seqnum GEN src/extras/gudev/gudevmarshal.h /bin/sh: glib-genmarshal: command not found make: *** [src/extras/gudev/gudevmarshal.h] Error 127 Thanks, Oshadha. Links: -- [1] http://tny.cz/731e9d9b [2] http://tny.cz/5f221035 Looking over your log you've done a copy and paste of the book instructions for this package, however several of the configure options have ended up on separate lines hence all the command not found lines in the log, follow the instructions in the book and make sure options to configure are on the same line as the configure command. At this point I would suspect that other packages in your build will have issues due to this and as such I would recommend that you start again, this time being very careful to follow the instructions exactly. -- Jasmine Iwanek -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Udev installation error - LFS chapter 6
On Mon, Aug 20, 2012 at 11:34:04AM +0530, Oshadha Gunawardena wrote: You can find the full trace here http://tny.cz/731e9d9b I was trying the LFS book and stuck at this point where udev-181 hits a build error. I completed the chapter 6 without installing udev and I know it will be a problem in the future. So now I want is a solution for building and installing udev and set or recreate the environment ready for the future. *Initial error:* configure: error: in `/sources/udev-181': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables BLKID_CFLAGS and BLKID_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. You are using the 7.1 book. In front of configure the text is _arranged_ as four lines [ everything from the beginning to the end is one command line, because of the backslashes ], starting with LKID_CFLAGS=-I/usr/include/blkid \ BLKID_LIBS=-L/lib -lblkid \ Make sure that you include all of the command, and ensure each backslash is the last character on its line. FBBG ĸ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: [lfs-support] Udev installation error - LFS chapter 6
No, the problem came even I correctly entered the command as in *one* line otherwise I wouldn't be able to set the PKG_CONFIG flag. Thanks. On Mon, Aug 20, 2012 at 1:37 PM, Jasmine Iwanek jasm...@iwanek.co.ukwrote: On 2012-08-20 07:04, Oshadha Gunawardena wrote: You can find the full trace here http://tny.cz/731e9d9b [1] I was trying the LFS book and stuck at this point where udev-181 hits a build error. I completed the chapter 6 without installing udev and I know it will be a problem in the future. So now I want is a solution for building and installing udev and set or recreate the environment ready for the future. INITIAL ERROR: configure: error: in `/sources/udev-181: configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables BLKID_CFLAGS and BLKID_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. I set the pkg-config flag to PKG_CONFIG=/tools/bin/true. But then it asked for GPERF, so I installed GPERF and it seems configured fine (full trace of configuration command - http://tny.cz/5f221035 [2]) but I couldnt get it to compile because of the below error. ERROR: # make GENtest/sys/kernel/uevent_seqnum GENsrc/extras/gudev/gudevmarshal.h /bin/sh: glib-genmarshal: command not found make: *** [src/extras/gudev/gudevmarshal.h] Error 127 Thanks, Oshadha. Links: -- [1] http://tny.cz/731e9d9b [2] http://tny.cz/5f221035 Looking over your log you've done a copy and paste of the book instructions for this package, however several of the configure options have ended up on separate lines hence all the command not found lines in the log, follow the instructions in the book and make sure options to configure are on the same line as the configure command. At this point I would suspect that other packages in your build will have issues due to this and as such I would recommend that you start again, this time being very careful to follow the instructions exactly. -- Jasmine Iwanek -- 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: [lfs-support] Udev installation error - LFS chapter 6
Tried that, and I managed to configure it (trace - http://tny.cz/5f221035). But came out with a new error please refer the below trace configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. On Mon, Aug 20, 2012 at 3:25 PM, Ken Moffat zarniwh...@ntlworld.com wrote: On Mon, Aug 20, 2012 at 11:34:04AM +0530, Oshadha Gunawardena wrote: You can find the full trace here http://tny.cz/731e9d9b I was trying the LFS book and stuck at this point where udev-181 hits a build error. I completed the chapter 6 without installing udev and I know it will be a problem in the future. So now I want is a solution for building and installing udev and set or recreate the environment ready for the future. *Initial error:* configure: error: in `/sources/udev-181': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables BLKID_CFLAGS and BLKID_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. You are using the 7.1 book. In front of configure the text is _arranged_ as four lines [ everything from the beginning to the end is one command line, because of the backslashes ], starting with LKID_CFLAGS=-I/usr/include/blkid \ BLKID_LIBS=-L/lib -lblkid \ Make sure that you include all of the command, and ensure each backslash is the last character on its line. FBBG ĸ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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Udev installation error - LFS chapter 6
On Mon, Aug 20, 2012 at 05:33:08PM +0530, Oshadha Gunawardena wrote: Tried that, and I managed to configure it (trace - http://tny.cz/5f221035). But came out with a new error please refer the below trace configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Actually, that one reports configure: WARNING: unrecognized options: --disable-keymap--disable-gudev The only oddity within it is that it tested for gperf, and found it because you added it earlier. The configure script has some code just before that test, which ought to bypass the test when you specify the --disable-keymap : no idea. I hadn't received Jasmine's response when I first replied (mailman, the list manager, is slow today) - but I think the analysis was more thorough than mine. If you are still trying to fix this, did you remove the udev directory, and re-extract it after the earlier failures ? ĸ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: [lfs-support] Udev installation error - LFS chapter 6
On Mon, 20 Aug 2012 17:33:08 +0530 Oshadha Gunawardena oshadha.ro...@gmail.com wrote: Tried that, and I managed to configure it (trace - http://tny.cz/5f221035). But came out with a new error please refer the below trace configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. It appears you are missing pkg-config and/or glib. These packages were at first not in LFS, then they were added because something (can't remmember what) had pkg-config as a dependency and glib depends on glib. Later, the two packages were removed because they were adding too much cruft to the book. Now, the details of the resolution of your problem (assuming the problem is in a missing package) depend on which exact versions of the book and udev package you are using. I am not an editor and have not read the new versions of the book so I may give you bad information. However, I guess that if you take the newest release of the book and the release of udev that said book references, you will succed. Make sure to check if the particular version of the book you use has pkg-config, and if it does, do not skip it. Same for glib. In any case, match the version of udev you are trying to build with the version the book references. -- Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Udev installation error - LFS chapter 6
On 2012-08-20 16:01, Aleksandar Kuktin wrote: On Mon, 20 Aug 2012 17:33:08 +0530 Oshadha Gunawardena oshadha.ro...@gmail.com wrote: Tried that, and I managed to configure it (trace - http://tny.cz/5f221035). But came out with a new error please refer the below trace configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. It appears you are missing pkg-config and/or glib. These packages were at first not in LFS, then they were added because something (can't remmember what) had pkg-config as a dependency and glib depends on glib. Later, the two packages were removed because they were adding too much cruft to the book. Now, the details of the resolution of your problem (assuming the problem is in a missing package) depend on which exact versions of the book and udev package you are using. I am not an editor and have not read the new versions of the book so I may give you bad information. However, I guess that if you take the newest release of the book and the release of udev that said book references, you will succed. Make sure to check if the particular version of the book you use has pkg-config, and if it does, do not skip it. Same for glib. In any case, match the version of udev you are trying to build with the version the book references. -- Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped The book version he was using was 7.1, pkg-config is not in 7.1 and the commands in the book for udev have a workaround for the issue, the problem is that he didn't type out the command properly as I've already told him. -- Jasmine Iwanek -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Udev installation error - LFS chapter 6
@Aleksandar Kuktin I'm referring to LFS book 7.1 and it is the latest stable release that can be found. I couldn't find any pkg-config related information in this book, I will check older versions of LFS books @Ken Moffat Yes, I'm still trying to fix this issue. As I mentioned earlier I have completed the entire chapter 6 without installing udev package. So I would also like to know, if I'm going to repeat the section 6 again what precautions should I take to prevent any installation errors and how do I handle the already installed packages? Basically how do I revert back to the beginning of section 6? On Mon, Aug 20, 2012 at 8:31 PM, Aleksandar Kuktin akuk...@gmail.comwrote: On Mon, 20 Aug 2012 17:33:08 +0530 Oshadha Gunawardena oshadha.ro...@gmail.com wrote: Tried that, and I managed to configure it (trace - http://tny.cz/5f221035). But came out with a new error please refer the below trace configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. It appears you are missing pkg-config and/or glib. These packages were at first not in LFS, then they were added because something (can't remmember what) had pkg-config as a dependency and glib depends on glib. Later, the two packages were removed because they were adding too much cruft to the book. Now, the details of the resolution of your problem (assuming the problem is in a missing package) depend on which exact versions of the book and udev package you are using. I am not an editor and have not read the new versions of the book so I may give you bad information. However, I guess that if you take the newest release of the book and the release of udev that said book references, you will succed. Make sure to check if the particular version of the book you use has pkg-config, and if it does, do not skip it. Same for glib. In any case, match the version of udev you are trying to build with the version the book references. -- Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped -- 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: [lfs-support] Udev installation error - LFS chapter 6
Em 20-08-2012 09:03, Oshadha Gunawardena escreveu: Tried that, and I managed to configure it (trace - http://tny.cz/5f221035). But came out with a new error please refer the below trace configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. From http://tny.cz/5f221035: config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-keymap--disable-gudev udev 181 There is a space missing: s/--disable-keymap--disable-gudev/--disable-keymap --disable-gudev/ -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page