Re: [blfs-support] Redirect all kernel messages to one tty
On Apr 12, 2014, at 11:52 AM, Nicolas Le Manchet wrote: Is it possible to redirect all kernel messages to one tty on LFS? Sincerely, Nicolas LFS has ksyslog and you can set which tty the kernel messages go to: kern.* -/dev/tty6 For example. If you don't want kerenel messages at your current console you can remove /dev/console for kern.* if it is there. Restart ksyslog daemon. Sincerely, WIlliam Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] iptables again
On Mar 16, 2014, at 12:24 PM, Richard Melville wrote: Maybe somebody has the answer to this -- it's only a minor point. I've set up msmtp and s-nail on a blfs server; I can send email, and iptables is not blocking them but neither is it recording the packets passed. When I had this issue before with a different service, changing sport to dport resolved it, but not this time. I've set the ports to 25 and I've also tried 587. Both work, but still no packets recorded. Any help much appreciated. Richard -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page use -n -v -L iptables -n -v -L This will show your active firewall information. If you want to view only INPUT FORWARD or OUTPUT: iptables -nvL INPUT iptables -nvL OUTPUT iptables -nvL FORWARD for a table you have set (nat table for example): iptables -nvL -t nat I don't know what your current firewall rules are, but as you send an email, you should see the counters change. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Is BLFS-7.4 book still available online?
On Mar 17, 2014, at 1:44 PM, Alexey Orishko wrote: Hi guys, I can't find blfs-7.4 online after 7.5 was released. Is it supposed to be in blfs museum or somewhere else? Regards, Alexey Just change stable or 7.5 to 7.4 after view/ http://www.linuxfromscratch.org/blfs/view/7.4/ Not in museum, yet. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Failed to boot from USB stick
On Mar 11, 2014, at 2:08 PM, Alexey Orishko wrote: Hi guys, I can't boot BLFS 7.4 system (Intel Atom 32-bit) from USB stick on some motherboards, but I can do it on the same motherboard type with different (old) BIOS version. I've read BIOS release notes and found nothing relevant to the problem neither seen anything significantly different in BIOS menu. When booting from firewire or usb devices you have to use rootdelay kernel option. rootdelay=5 (wait 5 seconds) possibly use rootwait which will wait indefinitely for the rootdevice to become aavailable. Some systems require long or shorter wait times. Never dealt with an atom device but you need to see how it treats firewire and usb devices. It's that or use initramfs. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Is BLFS-7.4 book still available online?
On Mar 17, 2014, at 4:35 PM, Bruce Dubbs wrote: It really doesn't need to be in the museum if it's so easily available. -- Bruce Since 7.0, LFS releases haven't been in the museum. http://archive.linuxfromscratch.org/lfs-museum/ And since BLFS 6.2.0 http://archive.linuxfromscratch.org/blfs-museum/ Every LFS and BLFS release should be in the museum. Old and crusty. But still useful as an educational experience, or to see how LFS has grown over the years. http://archive.linuxfromscratch.org/lfs-museum/ But the reason for It really doesn't need to be in the museum if it's so easily available. isn't the issue why the museums aren't updated. The museums need updated. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] PHP-5.5.3 configure issue
On Mar 1, 2014, at 12:41 PM, Alexey Orishko wrote: I'm building php in chroot after CLFS build. I guess I simply need to add that part from LFS book. By the way, is there any BCLFS book variant? If you are using BLFS, you need to make sure you use the clfs boot scripts when executing the bootscript commands. I wouldn't recommend CBLFS (lack of volunteers and hasn't been updated in a long time), and only look at that if using multilib for hints. I use a CLFS build most of the time and use BLFS and all is well. Of course, I use the clfs boot scripts. If you use CLFS, you can also use the LFS bootscripts but you need to know what you are doing and change the commands for configuring networking amongst other configuration files/directories that are specific to LFS. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] PNGNQ Build Fails
On Dec 27, 2013, at 3:16 PM, Dan McGhee wrote: rwpng.c:310:40: error: 'Z_BEST_COMPRESSION' undeclared (first use in this function) png_set_compression_level(png_ptr, Z_BEST_COMPRESSION); ^ make[2]: *** [rwpng.o] Error 1 because rwpng.c: In function 'rwpng_version_info': rwpng.c:52:7: error: 'ZLIB_VERSION' undeclared (first use in this function) ZLIB_VERSION, zlib_version); Those are all declared in /usr/include/zlib.h Perhaps zlib.h isn't being included in rwpng.c Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] Xorg required dep when following links in BLFS
Greetings, There is a problem with BLFS and Xorg deps when someone follows the links for required dependencies of Xorg libs. An example: When a user attempts to build WIreshark, the require deps will take them all the way to xorg-proto. I have also been told that util-macros isn't required for xproto. I haven't confirmed, so I won't deal with that here. THe problem is, that when someone is following required dependencies and gets to xorg-proto or util macros, XORG_PREFIX won't be set if they follow dependencies rather than going straight to the Xorg introduction page. xorg-proto ( which has util-macros as required dependency) does not have Xorg introduction as a required dependency where XORG_PREFIX and XORG_CONFIG is set. This is a problem and has been for some time. Users constantly come to support (more irc than the mailing list) with issues regarding libraries and headers not found. Of course, we don't support zombies, but clearly, if you go from top to bottom and then someone decides that they would want to install Xorg dependencies while following required dependency links, they don't get XORG_CONFIG or XORG_PREFIX set. Since the Xorg libs will eventually link the required deps all the way to util-macros as a required dependency of xorg-proto, I think it'd be a suggestion to have the xorg introduction as a dependency of util- macros or xorg-proto or both. A lot of people do follow links rather than know if they want to build some or all of Xorg, and when they do this, they don't get to the Xorg introduction page for Xorg. People can argue all they want that users should know if they want any or all of Xorg installed before building an app that may use a GUI. The problem is that the required dependency chain is broken. I followed Wireshark all the way back to util-macros, and nothing about XORG_PREFIX and XORG_CONFIG was mentioned. Sincerely, WIlliam Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Xorg required dep when following links in BLFS
On Dec 23, 2013, at 9:56 AM, Bruce Dubbs wrote: Might it be best addressed in blfs chapter 2 or 3, if it's considered to be a 'global', 'overview' kind of issue? BLFS users are ~expected to have processed those chapters. That would help avoid a lot of repetition elsewhere? From a practical matter, those sections will be skipped by a lot of users. Adding the preface matter as a prereq to a couple of packages seems to be the minimal solution. -- Bruce I agree that it would greatly help the matter. Sincerely, WIlliam Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Xorg required dep when following links in BLFS
On Dec 23, 2013, at 1:13 PM, Bruce Dubbs wrote: Judging from LFS, many people skip things like the preface. I don't know how many times users have run into problems because they didn't read the preface and run the host requirements script. I also do note that in LFS, in places where the LFS variable needs to be set, it is checked a few times in a note. Although, I think it'd be a pain to add that to each xorg page. NOTE: Make sure XORG_PREFIX and XORG_CONFIG is set. If it isn't please go to this page and set it before continuing. Sincerely, WIlliam Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] qt-5.2.0 wont compile
On Dec 16, 2013, at 5:16 AM, lux-integ wrote: `QXlibEglIntegration::getCompatibleVisualId(_XDisplay*, void*, void*)' collect2: error: ld returned 1 exit status Someone else reported this a few months ago. Is this something similar that may help? https://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg18037.html Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] A question about dependencies
On Dec 7, 2013, at 2:12 PM, Niels Terp wrote: To be more clear: will the compiled files be the same if recommended deps is installed later rather than before ? If the recommended deps are runtime, then no. Example, if some package wants sendmail or lynx or curl. If the recommended deps are libraries, then yes, the results will be different if you installed the recommended libraries before building the application than installing the recommended dep later. Here is an example: Grep can use pcre. If you install pcre after grep ( as pcre is not in main LFS book) then grep will not build using pcre and won't link to libpcre, as well. If you install pcre before grep, then grep will use and link to libpcre. Also, a package's /etc/confname may be generated based on what deps are found to, and when you install the recommended deps later, the generated config will not reflect it. After installing recommended deps, and you want an application to use them, you need to rebuild the application. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] problem using BS or DEL key
On Dec 6, 2013, at 10:51 AM, Ken Moffat wrote: Good luck - I guess that compiling a kernel on an atom will be slow. ĸen All hail the power of cross compilers with faster machines! Hopefully it does get fixed so this thread will help someone. Lots of information here. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] problem using BS or DEL key
On Dec 3, 2013, at 10:14 AM, Alexey Orishko wrote: At least LANG=en_US.UTF-8 and non-us keyboard are working file with Ubuntu... I wonder what's wrong with my LFS setup... utf-8 (Unicode ), iso-8859-1, iso-8859-15 (with euro symbol) For norwegian you need to load the no keymap There is also no-latin1 keymap. You may want no-latin1 rather than the no keymap. For the console font you may want: lat0-16 Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Su and Sudo--Getting Both to Work
On Dec 2, 2013, at 4:44 PM, Dan McGhee wrote: I reset root's password and then realized I, when I tried to run su, may have been misleading in this post. The actual return I get is: Crypt: Invalid argument It's always helpful to run strace to get a better idea of what is going on. Also, it helps to have the exact message. I see crypt: Invalid argument, I have also seen Crypt: Invalid Argument, and lots of upper and lower case differences between other people and their posts. Give the exact message. Crypt(3) is this: char *crypt(const char *key, const char *salt); When you have something not correct with your configuration you will get a problem. Usually it is from an invalid seed. Especially when using an invalid salt format. When the password is set a second time, after login.defs is set and you setup sudo (especially when using cracklib and setting up sudo for login and passwd), you may need to reset the root passwd for a valid salt. Not too sure about that, but that is what I'm gathering. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Cryptsetup
On Nov 27, 2013, at 3:59 PM, Richard Melville wrote: I realise that cryptsetup is not in the BLFS book but I wondered if anybody knows whether libdevmapper (crypsetup configure fails complaining about its absence) can be installed on its own or if I'm going to have to install the complete LVM package. I'm not planning to use LVM as it seems redundant since the emergence of Btrfs, but I need cryptsetup, and thus libdevmapper, for encryption. You will also need popt. As for libdevmapper installation: make libdm make -C libdm install That will get you the libraries and pkg config file and headers needed. I haven't tested it, but if that is all it takes, then that should be fine. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] /lib/services/bridge need ip link set xxx up before or after brctl addif xxx xxx
On Nov 14, 2013, at 12:43 PM, xinglp wrote: Add ip link set xxx up fix it, but I'm not sure about place it before or after brctl addif xxx xxx. If I recall, teh bridge is your new interface with the interfaces you specify added. You'd want to bring the bridge up after it is created. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] /lib/services/bridge need ip link set xxx up before or after brctl addif xxx xxx
On Nov 14, 2013, at 9:41 PM, xinglp wrote: The bridge is bringed up by ifup script. It should bring it up after the bridge is created. If that isn't working properly, then it is wrong. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] Glamor EGL 0.5.0 Text fix
Greetings, http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#glamor-egl This states it is only useful if using newer AMD Radeon cards with Xorg ATI Driver. It is also useful for Intel devices as well. http://www.freedesktop.org/wiki/Software/Glamor/ Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Glamor EGL 0.5.0 Text fix
On Nov 13, 2013, at 10:51 AM, Igor Živković wrote: On 11/13/2013 02:26 PM, William Harrington wrote: Greetings, http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#glamor-egl This states it is only useful if using newer AMD Radeon cards with Xorg ATI Driver. It is also useful for Intel devices as well. http://www.freedesktop.org/wiki/Software/Glamor/ Thanks, fixed at revision 12210. I've also soon learned from another user that Glamor EGL for intel is broken and doesn't work and SNA is to be used and is default. Someone needs to clear some things up so users aren't getting confused. I don't use any intel video devices with Xorg, so I don' t know. The problem is, someone builds all the packages in Xorg thinking they don' tneed glamor egl, then they end up needing it and go back and have to rebuild all of the packages having glamor enabled, and then realize it's broken and they should have used sna by default. That's what I'm relaying. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] libgd and BLFS 7.4
On Oct 16, 2013, at 4:21 AM, Richard Melville wrote: I built libgd-2.1.0 on LFS 7.2 using cmake -i, make and make install and it built cleanly. I rebuilt php-5.5.3 with the gd extension and everything now works as expected. Perhaps the book could be updated to reflect this. Well I guess they finally fixed the bug which php wouldn't build against external gd. Used to, all you were able to do was use the bundled gd. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] glibc add-on ports
On Sep 30, 2013, at 6:17 AM, Richard Melville wrote: I'm running glibc-2.16.0 which, I believe, is the last version to build the add-on ports as a separate directory. I wondered what exactly the add-on ports add, and why they might be needed. Richard This may give you an update about what has happened with ports and who all is involved most recently: http://sourceware.org/ml/libc-alpha/2012-04/msg00583.html Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Fwd: samba-4.0.9 wont compile
On Sep 11, 2013, at 2:55 PM, lux-integ wrote: /usr/local/lib/libcrypt.so.1: undefined reference to `log' You seem to do a lot of weird things and never tell us exactly how you have built your system. But as far as I know, glibc isn't installed into /usr/local. What other weird things have you done? Why exactly is libc in /usr/local ? Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] cdparanoia-III/gcc-4.8.1 configure error
On Aug 27, 2013, at 2:14 PM, lux-integ wrote: I had envars CC and CXX set Evil! Yes, environment variables can cause some great trouble, and so can build scripts! It is always fun trying to solve someone's problem in abnormal setups. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Help please!
Also, don't forget to chroot to the LFS system or be running your LFS system. If all you are doing is installing libtool in another system, it won't help. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] libxslt
On Jul 18, 2013, at 3:46 PM, francisco martinez wrote: make[3]: Entering directory `/xc/proto/libxslt-1.1.28/python' Why is it in /xc/proto/libxslt-1.1.28/python? Anyway, libxslt will build fine when python is not installed, and it is optional, too. If it isn't optional, that should be changed. So you installed Python via http://www.linuxfromscratch.org/blfs/view/svn/general/python2.html ? My builds I install Python early in the build, so I can't confirm, but I don't know why you have libxslt in /xc/proto either. xml2 and xslt should be installed way before xorg (but they can use X deps). So if your sources are in xc, then I don't know what you are doing. Although in my builds I do end up follow x deps and end up building in the order you are following, however, I had no issues. Proto is when it'd be required. SIncerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] cyrus-sasl-2.1.26 wont compile
On Jun 17, 2013, at 6:27 AM, lux-integ wrote: It was the patches and running autoreconf that caused the build failure. Plain vanilla cyrus-sasl-2.1.26 (sans patches, sans autoreconf ) compiles on the setup as described above Interesting, My host uses automake 1.13.2, gcc-4.7.3, eglibc-2.17 (same host I have no issues with openssl 1.0.1e with perl 5.18) and I had no issues with our without the patch. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] linuxPAM-1.1.6 on 64-bit setups
On Jun 14, 2013, at 9:03 AM, lux-integ wrote: if one installs LinuxPAM-1.1.6 on an pure64-bit (non-multilib) setup using the blfs instructions Did you use CLFS for your build and pure 64 bit? If that's the case then you have no lib64 and CBLFS installs shadow and yes you need -- libdir=/lib If you used LFS, the binutils passes aren't configured with --disable- multilib so all of the multilib paths are searched for lib, libx32, lib64 for X86_64. For easy maintenance, LFS has the lib64 lib symlink so as to not complicate the building of the system only to require /lib /usr/lib If you want a pure64 bit system, you need to use CLFS. LFS isn't quite a pure 64 bit system as it still requires lib64 and lib and all of multilib paths are still searched. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] glib-2.36.3 question
On Jun 13, 2013, at 7:55 AM, lux-integ wrote: configure.ac:66: error: version mismatch. This is Automake 1.13.1, configure.ac:66: but the definition used by this AM_INIT_AUTOMAKE configure.ac:66: comes from Automake 1.13.2. You should recreate You could install automake 1.13.2. You may as well since you are installing the newest versions of most things. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] e2fsprog excessive filesystem checks
On Jun 10, 2013, at 9:51 AM, lux-integ wrote: I believe I saw a thread on blfs some weeks/months ago (on e2fsprog errors and their fixing ) and went to the blfs archives to investigate. http://osdir.com/ml/blfs-support/2013-05/msg00028.html Saw this back in May, Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Can not start SAMBA
On Jun 9, 2013, at 7:18 AM, Niels Terp wrote: Hi all, Have just installed SAMBA, following BLFS Version 2013-06-05. Everything compiles fine, I have the depends in place. When I try to create the user / group I am told that they already exists. On boot I get Starting nmdb FAIL Starting smdb FAIL Any suggestions ? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Look at the smbd/nmbd logs in /var/log/ Also, verify your samba configuration. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] glib-2.36 will not build with pcre-8.33
On Jun 8, 2013, at 3:55 AM, lux-integ wrote: I passsed --libdir=/lib as I thought since they were copied to /lib as per the blfs book If you do that then override the Makefile's pkgconfiglibdir as it is $ (libdir)/pkgconfigdir make pkgconfigdir=/usr/lib/pkgconfig install Sincerely, WIlliam Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] gobject-introspection again
On Jun 7, 2013, at 6:25 AM, lux-integ wrote: Greetings I have a problem cross-compiling gobject- introspection-1.34.2/1.36.0 (amd64 cpu ). I am using cblfs and the closest recipeis the script for gobject introspection-0.6.9 from 2010 here:- http://cblfs.cross-lfs.org/index.php/Gobject-introspection Using the one in the clfs book gobjection pretends it cant find glib no matter how you set PKG_CONFIG_PATH; and even if you override it and set envars for glib headers and libraries. Has anyone else tried cross-compiling a relatively new version of this akward/troublesome mush of a program gobjection and if so could you let me know how please? thanks in advance sincerely luxInteg We have separate mailing lists for clfs and cblfs issues. http://trac.cross-lfs.org/wiki/lists#MailingListDescription Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] glib-2.36 will not build with pcre-8.33
On Jun 7, 2013, at 8:14 PM, lux-integ wrote: SO are you saying then it is wise to move stuff (and it is only for pcre ) in /lib/pkgconfig to /usr/lib/pkgconfig ? When you run make install for pcre 8.33: what is the output of this section? This is what I get: while read p p1; do if test -f $p \ || test -f $p1 \ list='libpcre.pc libpcreposix.pc libpcrecpp.pc'; test -n /usr/lib/ pkgconfig || list=; \ if test -n $list; then \ echo /bin/mkdir -p '/usr/lib/pkgconfig'; \ /bin/mkdir -p /usr/lib/pkgconfig || exit 1; \ fi; \ for p in $list; do \ if test -f $p; then d=; else d=./; fi; \ echo $d$p; \ done | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$! N;s/\n/ /g' | \ while read files; do \ echo /usr/bin/install -c -m 644 $files '/usr/lib/pkgconfig'; \ /usr/bin/install -c -m 644 $files /usr/lib/pkgconfig || exit $?; \ done See the /usr/lib/pkgconfig? I do not know why you are getting /lib/pkgconfig Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Mysql make error: no rule for libnurses
On Jun 4, 2013, at 6:49 AM, Golden Tony wrote: ‘/usr/lib/libnurses.so’ We don't install the nurses library in LFS or BLFS. That's way beyond BLFS. Usually when your system is sick. You may have a spelling error there. Not sure if it is in the email or during your Cmake configuration. If it is a spelling error, no big deal, but if it barfs on libncurses you may need to check your ncurses install. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] gcc upgrade in BLFS question
On Jun 4, 2013, at 9:53 AM, lux-integ wrote: So could I safely build this (as it were 'installing over' ) in BLFS? CLFS has CBLFS which is meant to work with CLFS builds. LFS has BLFS which is meant to work with LFS builds. You can use BLFS but you'll have to make changes where needed for it to work with the CLFS system. Bootscripts may be different, configure options may be difference, etc. On the other hand, CBLFS is way out of date, not many users in the wiki and it hasn't been updated in a while. As far as GCC 4.8.1, you can view the changelog info and decide if you want to rebuild or install over your current gcc 4.8.0 and remove remnants of 4.8.0. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] attr-2.4.47 (attr-2.4.46 too) tests fails
On Jun 2, 2013, at 8:56 AM, Mateusz Kaźmierczak wrote: 20 commands (15 passed, 5 failed) I see that you ran out of disk space on the filesystem which you ran make tests with. This is my output (I ran the tests in /sources which that filesystem is ext4 with acl and user_xattr options used when mounting. I use en_US.UTF-8) *** attr.test *** [9] $ mkdir d -- ok [10] $ cd d -- ok [12] $ touch f -- ok [13] $ setfattr -n user -v value f -- ok [16] $ setfattr -n user. -v value f -- ok [19] $ setfattr -n user.name f -- ok [20] $ getfattr -d f -- ok [25] $ setfattr -n user.n -v value f -- ok [26] $ rm f -- ok [31] $ touch f -- ok [32] $ setfattr -n user. -v f -- ok [33] $ setfattr -n user. -v f -- ok [34] $ setfattr -n user. -v f -- ok [35] $ getfattr -d f -- ok [42] $ setfattr -n user. -v f -- ok [43] $ getfattr -d f -- ok [50] $ setfattr -n user. -v f -- ok [51] $ getfattr -d f -- ok [58] $ rm f -- ok [62] $ touch f -- ok [63] $ setfattr -n user.name -v 0xbabe f -- ok [64] $ setfattr -n user.name2 -v 0s3q2+7w== f -- ok [65] $ setfattr -n user.name3 -v 0xdeface f -- ok [66] $ getfattr -d -e hex f -- ok [73] $ getfattr -d -e base64 f -- ok [80] $ rm f -- ok [84] $ touch f -- ok [85] $ setfattr -n user.novalue f -- ok [86] $ setfattr -n user.somename -v somevalue f -- ok [87] $ setfattr -n user.somename -v somevalue f -- ok [88] $ setfattr -n user.longername -v longervalue f -- ok [89] $ setfattr -n user.short -v value f -- ok [90] $ setfattr -n user.novalue-yet f -- ok [91] $ ls -s f -- ok [94] $ getfattr -d f -- ok [103] $ setfattr -n user.novalue-yet -v avalue-now f -- ok [104] $ getfattr -d f -- ok [113] $ setfattr -x user.noname f -- ok [116] $ setfattr -x user.somename f -- ok [117] $ setfattr -x user.short f -- ok [118] $ getfattr -d f -- ok [125] $ setfattr -x user.longername f -- ok [126] $ setfattr -x user.novalue f -- ok [127] $ setfattr -x user.novalue-yet f -- ok [128] $ getfattr -d f -- ok [129] $ ls -s f -- ok [132] $ rm f -- ok [136] $ touch f g h -- ok [137] $ setfattr -n user.novalue f g h -- ok [138] $ getfattr f g h | ../sort-getfattr-output -- ok [149] $ setfattr -n user.name -v value f -- ok [150] $ getfattr f g h | ../sort-getfattr-output -- ok [162] $ getfattr -d f g h | ../sort-getfattr-output -- ok [174] $ setfattr -n user.name -v value g -- ok [175] $ getfattr f g h | ../sort-getfattr-output -- ok [188] $ setfattr -x user.novalue h -- ok [189] $ getfattr f g h | ../sort-getfattr-output -- ok [199] $ rm f g h -- ok [203] $ touch f -- ok [204] $ ln -s f l -- ok [205] $ setfattr -n user.filename -v f l -- ok [206] $ setfattr -n user.filename -v l l -- ok [207] $ setfattr -h -n user.filename -v l l -- ok [210] $ getfattr -d f l | ../sort-getfattr-output -- ok [218] $ rm f -- ok [222] $ touch f -- ok [223] $ setfattr -n user.name -v value f -- ok [224] $ getfattr -d f -- ok [229] $ rm f -- ok [233] $ touch f -- ok [234] $ setfattr -n user.sp ace -v value f -- ok [235] $ setfattr -n user.special -v value f -- ok [236] $ getfattr f -- ok [242] $ getfattr -d f -- ok [248] $ setfattr -x user.sp ace f -- ok [249] $ setfattr -n user.sp ace -v value f -- ok [250] $ setfattr -x user.sp ace f -- ok [251] $ setfattr -x user.special f -- ok [252] $ rm f -- ok [254] $ cd .. -- ok [255] $ rm -rf d -- ok [259] $ mkdir -p 1/2/3 -- ok [260] $ setfattr -n user.9 1 -- ok [261] $ setfattr -n user.a 1 -- ok [262] $ setfattr -n user.9 1/2 -- ok [263] $ setfattr -n user.a 1/2 -- ok [264] $ setfattr -n user.9 1/2/3 -- ok [265] $ setfattr -n user.a 1/2/3 -- ok [267] $ getfattr -h -L -R -m '.' -e hex 1 | ./sort-getfattr-output -- ok [281] $ getfattr -h -P -R -m '.' -e hex 1/2 | ./sort-getfattr-output -- ok [291] $ rm -R 1 -- ok [295] $ mkdir -p 1/sub -- ok [296] $ mkdir 1/link -- ok [297] $ touch 1/link/link-file -- ok [298] $ touch 1/sub/sub-file -- ok [299] $ ln -s `pwd`/1/link 1/sub/link -- ok [300] $ setfattr -n user.a 1 -- ok [301] $ setfattr -n user.a 1/link/link-file -- ok [302] $ setfattr -n user.a 1/link -- ok [303] $ setfattr -n user.a 1/sub/sub-file -- ok [304] $ setfattr -n user.a 1/sub -- ok [305] $ getfattr -P -R 1 | ./sort-getfattr-output -- ok [325] $ getfattr -R -P 1/sub | ./sort-getfattr-output -- ok [336] $ getfattr -L -R 1 | ./sort-getfattr-output -- ok [359] $ getfattr -R 1/sub/link | ./sort-getfattr-output -- ok [367] $ getfattr -L -R 1/sub/link | ./sort-getfattr-output -- ok [375] $ rm -R 1 -- ok 107 commands (107 passed, 0 failed) These failed when using pl_PL [13] $ setfattr -n user -v value f -- failed setfattr: f: Operacja nie obs#ugiwana != setfattr: f: Operation not supported [16] $ setfattr -n user. -v value f -- failed setfattr: f: Z#y argument != setfattr: f: Invalid argument [207] $ setfattr -h -n user.filename -v l l -- failed Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Re: [blfs-support] openssl-1.0.1e can not build on latest svn lfs
On May 30, 2013, at 10:56 AM, xinglp wrote: Maybe caused by new version of perl. I'm using a development build of LFS from April 9th onward and updating it as new version of packages are released. I updated to perl 5.18.0 over the weekend and removed perl 5.16.3. Out of curiosity, I rebuilt openssl 1.0.1e just now and didn't notice the issue. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] MySQL-5.6.11 - Cannot create a new database
On Apr 29, 2013, at 7:01 AM, Wayne Blaszczyk wrote: Not sure how you could not reproduce the error. Can you confirm that you used the mysql_install_db script form 5.6.11. Oh, yes, sorry, was still at 5.5.30. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] MySQL-5.6.11 - Cannot create a new database
On Apr 28, 2013, at 5:19 AM, Wayne Blaszczyk wrote: mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql FATAL ERROR: Could not find my-default.cnf I don't have my-default.cnf in /usr/share/mysql/support. I have my-huge.cnf, my-innodb-heavy-4G.cnf, my-large.cnf, my- medium.cnf, and my-small.cnf When I installed 5.6.11, I used databases I had previous. Today, I backed them up, and created them from the book commands to see if I could replicate your error, but I didn't have any issues. You may want to double check your build commands with the book and see if any typos were made. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] More about stripping
On Apr 27, 2013, at 12:08 PM, Kenno Han wrote: First of all, strip should NEVER be ran on running binaries. For the --strip-unneeded option, I wouldn't use that on any sbin directory. http://www.mailinglistarchive.com/html/lfs-...@linuxfromscratch.org/2012-08/msg00408.html Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] libburn-1.2.8 corrupted
On Apr 26, 2013, at 5:46 PM, lux-integ wrote: problem avoided, I found a usable copy I had downloaded days earlier. I've noticed using a proxy can sometimes affect downloads. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] To ucs4 or not to ucs4
On Apr 26, 2013, at 6:15 PM, alex lupu wrote: I'm respectfully looking forward to any kind words addressing the following situation and/or questions. SITUATION As part of the annual spring cleaning updates, I did 1. Compile and Install Python-2.7.4, configured with --enable-unicode=ucs4. 2. Attempt to compile Glib-2.34.3 Here, the compile fails ignominiously with the notorious symbol, PyUnicodeUCS2_DecodeUTF8, undefined. 3. Recompile and Reinstall Python-2.7.4 configured withOUT --enable-unicode=ucs4 (i.e., configured with ucs2). 4. Compile and Install Glib-2.34.3 successfully. End of story. QUESTIONS 1. If I stay at ucs2, any problems now and in the future? 2. Is there a way for me to be sure the system is _clean_ on ucs2 without any remnant pockets of utc4 hiding somewhere? 3. Is there, somewhere, some software lurking around assuming it were on ucs4 and rearing their ugly head at the worst possible time? 3. Other? Thanking in advance, -- Alex -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Greetings, check this thread for a discussion of a possible reason for your thread. http://mail.python.org/pipermail/python-dev/2008-July/080892.html Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] getting the packages without being a goober
On Apr 22, 2013, at 6:15 AM, david vann wrote: To this end, I made the following little command, that extracts all the software tarball links from the book, and downloads them. I mean, who the heck wants to click on links when we can do this: ~$ wget -nc $(grep -h -e '\([1-z]\(.\|/\)\+\).\(bz2\|xz\|zip\|gz\| gzip\|patch\)' $(find ../../../Documents/blfs/ -type f -name '*.html') | sed -e 's@^\s\+@@' -e 's:/a:\n:' -e 's::\n:' | grep '^\(ht\|ft\)' | sort -u -t: -k 2) Or download the book: svn co svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK/ cd BOOK make wget-list View wget-list at ~/public_html/blfs-book-xsl Edit BASEDIR if you don't want it to go ~/public_html/blfs-book-xsl wget -i wget-list and Download for a while! Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] Tidying up urls in the book
Greetings, www.kernel.org/pub//linux/utils/raid/mdadm/mdadm-3.2.6.tar.xz ftp.gimp.org/pub/babl/0.1//babl-0.1.10.tar.bz2 alpha.gnu.org/gnu//bc/bc-1.06.95.tar.bz2 anduin.linuxfromscratch.org/sources/BLFS/conglomeration/i18n-fonts// i18n-fonts-0.1.tar.bz2 these urls in the book have // in blfs dev. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] OpenSSH 6.1p1 Pam option
Greetings, echo USEPAM yes /etc/ssh/sshd_config This needs to be UsePAM, not USEPAM. grep UsePAM /etc/ssh/sshd_config #UsePAM no grep -Ro 'USEPAM\|UsePAM' * ChangeLog:UsePAM INSTALL:UsePAM auth-pam.c:UsePAM Binary file auth-pam.o matches monitor.c:UsePAM monitor.c:UsePAM Binary file monitor.o matches monitor_wrap.c:UsePAM monitor_wrap.c:UsePAM Binary file monitor_wrap.o matches Binary file regress/testdata matches servconf.c:UsePAM servconf.c:UsePAM servconf.c:UsePAM servconf.c:UsePAM Binary file sshd matches sshd_config:UsePAM sshd_config.0:UsePAM sshd_config.0:UsePAM sshd_config.5:UsePAM sshd_config.5:UsePAM sshd_config.5.out:UsePAM sshd_config.5.out:UsePAM sshd_config.out:UsePAM Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Building X with GCC-4.8.0 on a x86_64 machine
On Apr 16, 2013, at 3:49 PM, Pierre Labastie wrote: With LFS-SVN-20130403, I got the same errors with luit and xmodmap. Actually, they are warnings treated as errors. I added --disable- selective-werror to the configure switches, and could build them. Maybe we could use that until upstream fixes it. I did the same as well. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Problems with lsof
On Apr 9, 2013, at 3:36 PM, JouVash wrote: i did that.. but still having the same errors.. can i install rpc instead of libtirpc?? and where can get it The RPC headers should already be installed, but you'll need libtirpc from BLFS. after Configure do: sed -i 's/llsof/ -ltirpc/' Makefile Then build. Sincerely, WIlliam Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] iptables and rpcbind
On Mar 4, 2013, at 1:56 PM, Bruce Dubbs wrote: netstat -an --inet And if you don't want to use the deprecated netstat, use iproute2's ss: ss -a -f inet Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Updated compressdoc to include xz support
On Feb 24, 2013, at 3:31 AM, Armin K. wrote: First of all, script is broken. Any man page that contains .so whatever.num when the whatever.num is compressed is broken after compression. I don't have that behavior and I have man pages with that particular style: modules.dep.5.xz modules.dep.bin.5.xz ld.so.8.xz ld-linux.so.8.xz They all open fine here. The problem you are seeing is that man decides which decompressor to use based on the extension. Once you gzip modules.dep.5, it should be modules.dep.5.gz after compression. When you install the man pages from the man-pages package you have targets of allbz2 or allgz you will see that the man pages keep the compressed extension. Also I'm using man 1.6g. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Updated compressdoc to include xz support
On Feb 24, 2013, at 11:05 AM, Baho Utot wrote: Don't you mean file suffix? According to Unix rules for file names the period is just another character in the file spec. I am under the impression that unix or unix like systems don't have file extensions, I do know # Decompress with given decompressor when input file has given extension # The command given must act as a filter. That's in the man src. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] Updated compressdoc to include xz support
Hello everybody, I've been working on updating the compressdoc script to include xz support. Since I deal mostly with CLFS, and we aren't using man_db at the moment, I've added a section for if man_db isn't on the host to use man. This is a rough draft but any input is greatly appreciated to fix any errors. Granted, to only update the current compressdoc for man_db only systems requires the removal of the conditional statments of the portions which deal with man. I've tested it and it is working well so far. The following patch can be applied to the svn blfs book's current compressdoc. --- compressdoc.orig2008-04-21 23:33:32.0 + +++ compressdoc 2013-02-23 21:09:06.967017222 + @@ -1,7 +1,11 @@ #!/bin/bash -# VERSION: 20080421.1623 -# $LastChangedBy: dnicholson $ -# $Date: 2008-04-21 16:27:43 -0700 (Mon, 21 Apr 2008) $ +# VERSION: 20130222.2300 +# $LastChangedBy: William Harrington $ +# $Date: 2013-02-22 23:00:00 -0600 (Fri, 22 Feb 2013) $ +# +# Add xz (lzma2) compression options and add options for hosts +# using man rather than man_db. - By William Harrington +# kb0iic @ cross-lfs.org # # Compress (with bzip2 or gzip) all man pages in a hierarchy and # update symlinks - By Marc Heerdink marc @ koelkast.net @@ -57,11 +61,12 @@ ( echo Usage: $MY_NAME comp_method [options] [dirs] \ cat EOT Where comp_method is one of : + --xz, --lzma, -x --gzip, --gz, -g --bzip2, --bz2, -b -Compress using gzip or bzip2. +Compress using gzip or bzip2 or xz. --automatic -Compress using either gzip or bzip2, depending on the +Compress using either gzip or xz, depending on the size of the file to be compressed. Files larger than 5 kB are bzipped, files larger than 1 kB are gzipped and files smaller than 1 kB are not compressed. @@ -76,11 +81,11 @@ In backup mode, no other action is performed. And where options are : - -1 to -9, --fast, --best + -1 to -9, --fast, --best, -e The compression level, as accepted by gzip and bzip2. When not specified, uses the default compression level -for the given method (-6 for gzip, and -9 for bzip2). -Not used when in backup or decompress modes. +for the given method (-6 for gzip, -9 for bzip2, -e +for xz). Not used when in backup or decompress modes. --force, -F Force (re-)compression, even if the previous one was the same method. Useful when changing the compression @@ -96,18 +101,8 @@ backup mode. --conf=dir, --conf dir -Specify the location of man_db.conf. Defaults to /etc. - - --verbose, -v Verbose mode, print the name of the directory being -processed. Double the flag to turn it even more verbose, -and to print the name of the file being processed. - - --fake, -fFakes it. Print the actual parameters compressdoc will use. - - dirs A list of space-separated _absolute_ pathnames to the -man directories. When empty, and only then, use manpath -to parse ${MAN_CONF}/man_db.conf for all valid occurrences -of MANDATORY_MANPATH. +Specify the location of man_db.conf or man.conf. +Defaults to /etc. Note about compression: There has been a discussion on blfs-support about compression ratios of @@ -124,6 +119,10 @@ gzip -9 compressed them down to 20372KB (57.28%), bzip2 -9 got down to 19812KB (55.71%). That is a 1.57% gain in space. YMMV. + By William Harrington - With a Sun Ultra 60 system using ext4, the original + size for a default clfs dev install was 49048KB before compression. xz -e + compressed them to 25840KB. + What was not taken into consideration was the decompression speed. But does it make sense to? You gain fast access with uncompressed man pages, or you gain space at the expense of a slight overhead in time. @@ -153,11 +152,12 @@ BASENAME=`basename ${BASENAME} .gz` GZ_FILE=$BASENAME.gz BZ_FILE=$BASENAME.bz2 + XZ_FILE=$BASENAME.xz # Look for, and keep, the most recent one LATEST=`(cd $DIR; ls -1rt ${BASENAME} ${GZ_FILE} ${BZ_FILE} \ - 2/dev/null | tail -n 1)` - for i in ${BASENAME} ${GZ_FILE} ${BZ_FILE}; do + ${XZ_FILE} 2/dev/null | tail -n 1)` + for i in ${BASENAME} ${GZ_FILE} ${BZ_FILE} ${XZ_FILE}; do [ $LATEST != $i ] rm -f $DIR/$i done @@ -186,7 +186,12 @@ MAN_CONF=/etc while [ -n $1 ]; do case $1 in ---gzip|--gz|-g) + --xz|--lzma|-x) + COMP_SUF=.xz + COMP_METHOD=$1 + shift + ;; + --gzip|--gz|-g) COMP_SUF=.gz COMP_METHOD=$1 shift @@ -207,7 +212,7 @@ COMP_METHOD=$1 shift ;; --[1-9]|--fast|--best) +-[1-9]|--fast|--best|-e) COMP_LVL=$1 shift
Re: [blfs-support] Updated compressdoc to include xz support
On Feb 23, 2013, at 6:56 PM, Bruce Dubbs wrote: How much space does this save and is that enough to bother with? Read the patch, that info is in there. + By William Harrington - With a Sun Ultra 60 system using ext4, the original + size for a default clfs dev install was 49048KB before compression. xz -e + compressed them to 25840KB. I don't know your experience with lzma2, but it has incredible compression. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Updated compressdoc to include xz support
On Feb 23, 2013, at 7:38 PM, Bruce Dubbs wrote: You are not quantifying the differences in compression. AFAIK, the script works now and it appears your changes are an optimization. xz -l LFS-Experimental-x86_64-Graphite.tar.xz Strms Blocks Compressed Uncompressed Ratio Check Filename 1 1 96.9 MiB659.4 MiB 0.147 CRC64 LFS- Experimental-x86_64-Graphite.tar.xz How about that for compression? Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Updated compressdoc to include xz support
On Feb 23, 2013, at 9:42 PM, Randy McMurchy wrote: Hopefully, you didn't construe my comments as an attack. I simply do not have any need for the compressdoc script. I can't offer any input as to fix any errors, as I do not use it, nor have the desire to test it. I didn't. All is well. All I did was toss up a patch to add xz support to the compressdoc. Didn't know it'd go psycho on the list. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: saveguard lfs system
On Apr 18, 2007, at 11:47 PM, jignesh gangani wrote: Hi, As far as I now when you take a backup (using cp -a) and store it on CD/DVD, when you restore you may lost some permission on files. e.g. su losts it set-uid bit, /tmp losts it's saved-text bit and files may lost write permission. I haven't burned the tar.bz2 file on a CD/DVD. After restoring the backup you may have to change lots of permissions. So the best solution I have found is to copy all files to another HD (of you have one extra, a small one will do) having the same file system as your CLFS (ext2, ext3, reiserfs etc). This way you can just copy the backup files and there will be no need for changing permission or so. -- Jignesh D. Gangani -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Hi there, It's best to use some archiving method that will retain permissions... like tar! cp -a does -dpR which is: -d same as --no-dereference --preserve=link E -p same as --preserve=mode,ownership,timestamps -R same as -r --recursive copy directories recusively When you use a medium as cd or dvd using iso9660 use tar, not cp, ok? As far as I know, when you copy from a CD the files end up being read only and whatever else, you need to use tar or cpio and put it all in it's own container. Use tar to retain permissions! tar then back up, and if you use a character device like a tape, you can just tar to that device. tar cpf! Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: GCC 4.0.3 -shared creates segfault
On Apr 17, 2007, at 4:24 AM, Tijnema ! wrote: On 4/17/07, Simon Geard [EMAIL PROTECTED] wrote: On Mon, 2007-04-16 at 20:30 +0100, Tijnema ! wrote: Hi, Is it normal when using -shared to create binaries that they are a segfault. This is what i did for example /# echo main(){} dummy.c /# gcc -shared dummy.c -o dummy /# ./dummy Segmentation fault Yes. The -shared option indicates that gcc should produce a dynamic library, rather than a runnable executable. What exactly are you trying to do? Simon. Trying to create the smallest binaries, just the opposite of -static. but i guess that using no flags will create a binary that uses the most possible shared libraries. Just wondering that there was no error telling me it shouldn't be used on binaries. Tijnema -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page It will link shared by default. You won' get an error, it works. The binary resulting from the -shared flag will segment fault on you because the interpret isn't set up like it is in a dynamically linked binary, which is probably ld-linux.so.2 on your system. You can see the resulting binary is indeed linked dynamically to the library, but when the ELF program is ran there is no interpreter. Basically without -shared you end up getting __libc_start_main in the relocation table. ELF execution of the program starts inside the kernel. Without the interpreter in the relocation table, it doesn't get a segment. If an interpreter entry is present, the interpreter is loaded. Don't need that with statically linked binaries. Dynamically linked programs always need the interpreter because it includes startup code, loads shared libraries needed, and performs relocations. when using - shared, gcc outputs a binary that doesn't use the interpreter. Actually you could use readelf and look at the differences between the binary with and without -shared. Normally a binary to be executed with the interpreter has these program headers: PHDR INTERP LOAD DYNAMIC GNU_STACK, etc and without: LOAD DYNAMIC GNU_STACK Maybe this helps some. Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: GCC 4.0.3 -shared creates segfault
On Apr 16, 2007, at 2:30 PM, Tijnema ! wrote: Hi, Is it normal when using -shared to create binaries that they are a segfault. This is what i did for example /# echo main(){} dummy.c /# gcc -shared dummy.c -o dummy /# ./dummy Segmentation fault I'm using GCC-4.0.3 (LFS-6.2 pre-release). removing the -shared solves the problem. Also using -static there's no segfault. Is this normal behaviour because -shared should be used on libraries only? Tijnema -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page First, I think it'd be appropriate that you read what -shared does in gcc, not for OSX systems... and do this for some experimentation... echo int main(){} dummy.c gcc -shared -fPIC dummy.c -o libdummy.so gcc -L./ -ldummy -o test LD_LIBRARY_PATH=./ ldd ./test LD_LIBRARY_PATH=./ ./test You don't even have to use position independent code with dummy.c! gcc -shared dummy.c -o libdummy.so gcc -L./ -ldummy -o test LD_LIBRARY_PATH=./ ldd ./test LD_LIBRARY_PATH=./ ./test no segfaults! Why do you get segfaults when you attempt to run an object that is to be used to link dynamically? I want you to compare what the nm output of both libdummy.so and test give you. I'm sure you can figure it out with some research. Even libdummy.so segfaults, but test will not. yes, it is normal for -shared to segfault when the resulting output is not a library. It's not restricted to just 4.0.3. I think the gcc documentation does a good job at explaining what - shared does, and I'm not sure exactly what you are trying to do. Hope this helps you get closer to your understanding of how it works. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Fax software
On Mar 21, 2007, at 1:31 AM, dim-skou wrote: I thing the blfs team sould include some kind of fax software (I recomend hylafax) Does anyone know if the plan to include such software in future releases? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Ah interesting! Until now I never thought of including fax software in LFS builds. Hmmm... I guess with fax machines people haven't thought about it! Maybe if more input from others suggesting the same suggestion, it just might happen. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: transcode doesn't build
On Mar 18, 2007, at 6:58 AM, alberto hernando wrote: Hi. I'm trying to build transcode-1.0.2 in my lfs, but I can't manage. This is what I've done: first, I've compiled ffmpeg. I used the latest snapshot, because 0.4.9-pre1 didn't work for me. Also, I needed it because k3b ( 1.0! it rocks!) wanted it. I configured it using --enable-shared -- enable-pthreads, as I saw in blfs-svn and in transcode/install. ffmpeg built fine. Then, I configured transcode. Amongst other things, I saw this: checking for pkgconfig support for libavcodec... no checking how to determine LIBAVCODEC_CFLAGS... default checking ffmpeg/avcodec.h usability... yes checking ffmpeg/avcodec.h presence... yes checking for ffmpeg/avcodec.h... yes checking how to determine LIBAVCODEC_LIBS... default checking for avcodec_thread_init in -lavcodec... yes I see no problem here. Or yes? Well, in the end, I got this: libavcodec headers-I/usr/include libraries -L/usr/lib -lavcodec -lm -lz -lpthread build version statically linked no ERROR: requirement failed: cannot compile ffmpeg/avcodec.h ffmpeg/avcodec.h can be found in the following packages: FFmpeg http://www.ffmpeg.org Of course, I have /usr/include/ffmpeg/avcodec.h, so I don't know what to do. The only thing I can think of is that transcode-1.0.2 is so old that it can't compile with such a new ffmpeg. In this case, what can I do? Thanks Alberto, The configure and end messages can be misleading. Do you see this anywhere in the configure.log or configure script or something? error: transcode needs at least libavcodec 51.9 install a cvs version Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: keyboard dosn't react on big B
On Mar 7, 2007, at 8:40 AM, Steffen H.Larsen wrote: Tijnema ! tijnema at gmail.com writes: I think you have a wrong keyboard layout selected. Take a look at the LFS book... Tijnema well I've tried that unless u don't refere to console part of LFS then I would love if u would make a link to the part of LFS book u mean it still don't want to use big B as mentioned before I have tried to change the keymap and font in console B -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page You need to recheck your inputrc. I've seen tons of strange problems with keys not working right come from a bad inputrc in /etc. People have had strange lines in their inputrc, or even one stray character. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: pkg-config
On Feb 11, 2006, at 8:12 AM, thorsten wrote: Perhaps a dumb statement, but do you have libpng installed? Thorsten [EMAIL PROTECTED]:Sarge:/sources/cairo-1.0.2# ls /usr/lib/pkgconfig/ blkid.pcfontconfig.pc gmodule-export-2.0.pc libpng12.pc com_err.pc freetype2.pcgmodule-no-export-2.0.pc libpng.pc e2p.pc glib-2.0.pc gobject-2.0.pcss.pc ext2fs.pc gmodule-2.0.pc gthread-2.0.pcuuid.pc Looks like it. Unless those package configs were put there by aliens! Hey it could happen! Haha. William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: pkg-config
On Feb 10, 2006, at 4:14 AM, Alberto Hernando wrote: Hi. After fixing my problems with ldconfig, I can't make pkg-config work. Here is an example trying to configure cairo: [EMAIL PROTECTED]:Sarge:/sources/cairo-1.0.2# ./configure --prefix=/usr snip checking pkg-config is at least version 0.9.0... yes configure: WARNING: Could not find libpng in the pkg-config search path your pkg-config search path is wrong. Is it /usr/local/lib/pkgconfig is it /lib/pkgconfig is it /opt/lib/pkgconfig is it anything other than /usr/lib/pkgconfig? check with this: xxd -c 128 /usr/bin/pkg-config | grep lib\/pkg - Should see something with /usr/lib/pkgconfig:/usr/share/ pkgconfig.disabling blah blah blah what we are concerned with is /usr/lib/pkgconfig But: [EMAIL PROTECTED]:Sarge:/sources/cairo-1.0.2# echo $PKG_CONFIG /usr/bin/pkg-config Well you already know that cause pkg-config was verified as being found. [EMAIL PROTECTED]:Sarge:/sources/cairo-1.0.2# echo $PKG_CONFIG_PATH /usr/lib/pkgconfig [EMAIL PROTECTED]:Sarge:/sources/cairo-1.0.2# ls /usr/lib/pkgconfig/ blkid.pcfontconfig.pc gmodule-export-2.0.pc libpng12.pc com_err.pc freetype2.pcgmodule-no-export-2.0.pc libpng.pc e2p.pc glib-2.0.pc gobject-2.0.pcss.pc ext2fs.pc gmodule-2.0.pc gthread-2.0.pcuuid.pc When pkg-config is installed it's default search path is /usr/lib/pkg- config so unless you did something wrong with the install of pkg-config you don't need to set PKG_CONFIG_PATH: Check with these: Yeah it is there, what does pkg-config --modversion libpng12 give you? What does env PKG_CONFIG_PATH=/usr/lib/pkgconfig pkg-config -- modversion libpng12 give you? # Begin /etc/ld.so.conf /lib /usr/lib /usr/local/lib /opt/lib /usr/X11R6/lib /usr/lib/pkgconfig -- I added this as a test # End /etc/ld.so.conf ld loads shared libraries into cachce, pkg configs are libraries. doesn't /usr/lib/pkgconfig kinda look strange in a shared library config? Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: pkg-config
ld loads shared libraries into cachce, pkg configs are libraries. doesn't /usr/lib/pkgconfig kinda look strange in a shared library config? oops, pkg configs aren't libraries. William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: pkg-config
On Feb 10, 2006, at 11:36 AM, Dan Nicholson wrote: Here's a test to see if glibc is working correctly. Remove /lib and /usr/lib from /etc/ld.so.conf. If glibc is working correctly, then those directories should be built into /lib/ld-linux.so.2. Wahoo! cat /lib/ld-linux.so.2 | grep -e \/lib.*\/usr\/lib\/ cat /usr/bin/ld | grep \/usr\/local\/lib.*\/lib.*\/usr\/lib Those should match! W! lets get busy! Ok I'm laying off the drugs now. Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: problems with Xorg and kernel 2.6.15.3
On Feb 9, 2006, at 12:53 PM, lux-integ wrote: Greetings, I am having some difficulty with Xorg-6.82. I upgraded the kernel from 2.6.14.2 (where all worked fine) to 2.6.15.3 and X-windows refuse to start. I get the error: preinit failed for device Mouse 0 No core pointer. Use the same kernel configuration or did you enter it all from memory and forget the input mouse device in the kernel? Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: dhcp help
On Dec 27, 2005, at 9:52 AM, Allard Welter wrote: Listening on LPF/eth0/00:a0:24:17:66:f9 Sending on LPF/eth0/00:a0:24:17:66:f9 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 No DHCPOFFERS received. No working leases in persistent database - sleeping. [ OK ] DHCP Assigned Settings for eth0: IP Address: Subnet Mask: Default Gateway: DNS Server: {/dhclient output} So the dhcp server isn't offering anything for 00:A0:24:17:66:F9 Tell us about your dhcp server. Sincerely, William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: prompt issue (was no subject)
On Nov 14, 2005, at 7:34 PM, IraqiGeek wrote: My problem is that if I customize the the prompt, I will still get a [EMAIL PROTECTED]: /PATH before any prompt string that I set. Imagine this if I am in a subdirectory, the prompt will be something like this: [EMAIL PROTECTED]:/[EMAIL PROTECTED]:/etc/sysconfig/network-devices# What can be the cause of the duplicate prompt, which is the first since I go back to the prompt I mentioned in the original post when I comment the export PS1 lines in /etc/bashrc and /etc/profile. Regards, IraqiGeek Homepage: http://www.iraqigeek.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page You are probably using the extra prompt.sh.. William -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Zip-2.31 install problem
Howdy folks, I noticed the development book has: sed -i -e '[EMAIL PROTECTED](INSTALL) man/[EMAIL PROTECTED](INSTALL_PROGRAM) man/zip.1@' unix/Makefile for zip-2.31. The stable book doesn't. I think the stable book needs it, too. William (Ratrophy) -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page