Re: why gcc must be built two times?
Le Tue, 23 Feb 2010 06:04:07 -0800 (PST), Marco Marzetta aristarcoarchet...@yahoo.it a écrit : Hi, I finished building LFS. Now looking through the manual I find BLFS to section 6.3 to install GCC version 4.1.2, but in reality GCC is already installed with LFS in paragraph 6.15 and in a version 4.4.1. Why should I install twice the same package?! What is this mess?! First, the BLFS book isn't to be followed linearly like the LFS book. It's more like a collection of HOWTOs to install specific programs or libraries. Second, the BLFS book is quite outdated these days, so that explains the difference of versions between GCC in LFS end GCC in BLFS. Third, the GCC instructions in the BLFS book install only C and C++ compilers, because that is what is needed for a basic system. The BLFS instructions show how to install more compilers, like Java, Ada, Fortran, Objective C... So you use those instructions (or better, you adapt them) if you need those specific compilers. Hope I was clear. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: LFS is at 6.5 BLFS is at 6.3 Why?
Le Tue, 24 Nov 2009 05:23:03 -0500, stosss sto...@gmail.com a écrit : Why does LFS stay so far ahead of BLFS? What is the point of building the newest LFS if the BLFS files are older and probably won't work or would be replacing newer versions of apps with older versions? There is a note on the BLFS that says in one or two months a new BLFS will be released. There is no date as to when that was put there or a target date for release. What is the target date for that one or two months? Use SVN if you are using LFS 6.4 what about LFS 6.5? It looks like the smart thing to do to avoid problems would be to build LFS 6.4 and then BLFS SVN/6.4 which is the reason for my orginial question in the subject. I think one thing is not in the book : the answer to the question why is this package not in the book/why is this version so old/why doesn't the book evolve any faster Come on, guys, what do you think you are dealing with ? This is an entirely free, cooperative work. Nothing advances if noone provides work for it to move on. So the correct answer to those questions should be : move your ass, you bl...y bas...rd !!!. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Upgrading in chapter 5
Hi. I started a LFS-dev last week. I'm at the end of chapter 5 (doing something else at the same time...), and I noticed this morning that Linux was upgraded to 2.6.31.3. Do I have to start it all over, or can I just change the linux headers by installing the new ones ? More precisely, does the Glibc installation from chapter 5 depends on the headers ? \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Help.
Le Fri, 12 Jun 2009 16:49:05 +0200 khaled gouaich gouaichkha...@gmail.com a écrit : Hi every body, i'm new in the LFS world and i'm trying to build my LFS. I'm using the LFS book 6.3 (English version). You seem new to posting help requests too ! Sending a message with only help on the title is not a recommanded way to ask for help ! *** WARNING: You should not compile GNU libc without versioning. Not using *** versioning will introduce incompatibilities so that old binaries *** will not run anymore. *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer). [] configure: error: Need linker with .init_array/.fini_array support. /tools/bin/ld: unrecognized option '--hash-style=both' /tools/bin/ld: use the --help option for usage information [] configure:5523: error: Need linker with .init_array/.fini_array support. You should Google some of those error messages. You may find interesting answers. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.4 now boots
Le Sun, 31 May 2009 20:43:34 -0400 Jaiyson jaiy...@sympatico.ca a écrit : Thanks Nico if you offered some advice...for some reason I didn't get your Email No problem. I posted on LFS-Chat. And now that you mention it, I looked again at this message I answered on LFS-Chat... It's not yours :-) Two separate guys had a similar problem with their boot process, so I thought it was the same guy trying his luck on a more appropriate list :-))) Sorry for the confusion. I think the best thing to do for me now is point srikanth tiyyagura srikanth.tulasi...@gmail.com to your thread ! \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.4 now boots
Le Sun, 31 May 2009 15:42:11 -0400 Jaiyson jaiy...@sympatico.ca a écrit : So I finally got my LFS to bootthanks Gerard, Hugh and Bruce for giving suggestions on how to make it so And poor Nico, posting on LFS-Chat, didn't get any praise :-( I thought I would write out what I did to get it working so if other newbies like myself come along and have the same problems they can use the info to help... Sure this is the right behaviour ! If only for you next time ;-) In the end, while in menuconfig, I think it was a few sub-settings(that I did not do before) I tried under the Drivers - ATA/ATAPI/MFM/RLL category that made the difference. I can't be more specific in that regard since being booted in lfs now I can only look at the config file with vim which lays out the information differently and can't prompt my memory well enough. Maybe some dmesg study, and looking at the modules loaded, could help you discover what are the right options. Hard stuff to do it first, then it's quite allways the same thing, especially for old material (don't argue, Celeron is not bright new hardware !). One thing I would like to say for other newbies is that when you enter that menuconfig part in section 8.3.1 each item in it has a help tab that gives very useful information about that particular setting. I Tabbed through all of the kernel options and read most of those help files. They're not large like Man files but still gives you good info to make decisions on including an item or not. So having looked at what hardware I have and using the help files I added some of these which are not set to default( for the most part that my memory serves) with kernel source: Yeah, but some are quite confusing. The only thing I look at most of the time is : If you don't understand, say yes or say no ! Enjoy your brand new LFS ! BLFS is next ;-) \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
dvd+rw-tools build error
Hi. There seems to be a problem building the last version of dvd+rw-tools (7.0) with the most recent kernels (headers ?) : root [ /sources/dvd+rw-tools-7.0 ]# make all rpl8 btcflash make[1]: entrant dans le répertoire « /sources/dvd+rw-tools-7.0 » gcc -O2 -D_REENTRANT -c -o growisofs.o growisofs.c growisofs.c: In function 'setup_fds': growisofs.c:724: erreur: 'INT_MAX' undeclared (first use in this function) growisofs.c:724: erreur: (Each undeclared identifier is reported only once growisofs.c:724: erreur: for each function it appears in.) make[1]: *** [growisofs.o] Erreur 1 make[1]: quittant le répertoire « /sources/dvd+rw-tools-7.0 » make: *** [all] Erreur 2 The solution I found on http://bugs.gentoo.org/195912 (thanks again Gentoo :-) is to add #include limits.h to two files, namely growisofs.c and transport.hxx. As I still don't know how to make a patch, I can't be more specific, but I used the instructions from the patch provided by Brandon Penglase (just didn't use the whole patch as it doesn't seem that the other includes were necessary). Maybe there should be a point about this in the book ? \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Can't find my ethernet card
CONFIG_CDROM_PKTCDVD_BUFFERS=8 # CONFIG_CDROM_PKTCDVD_WCACHE is not set # CONFIG_ATA_OVER_ETH is not set # CONFIG_MISC_DEVICES is not set CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_IDE_SATA is not set # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y # CONFIG_IDEDISK_MULTI_MODE is not set CONFIG_BLK_DEV_IDECD=y # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDEFLOPPY is not set # CONFIG_BLK_DEV_IDESCSI is not set # CONFIG_BLK_DEV_IDEACPI is not set # CONFIG_IDE_TASK_IOCTL is not set CONFIG_IDE_PROC_FS=y # # IDE chipset support/bugfixes # # CONFIG_IDE_GENERIC is not set # CONFIG_BLK_DEV_PLATFORM is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_BLK_DEV_IDEPNP is not set # # PCI IDE chipsets support # CONFIG_BLK_DEV_IDEPCI=y # CONFIG_IDEPCI_SHARE_IRQ is not set CONFIG_IDEPCI_PCIBUS_ORDER=y # CONFIG_BLK_DEV_GENERIC is not set # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_AEC62XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_ATIIXP is not set # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5520 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_CS5535 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_JMICRON is not set # CONFIG_BLK_DEV_SC1200 is not set # CONFIG_BLK_DEV_PIIX is not set # CONFIG_BLK_DEV_IT8213 is not set # CONFIG_BLK_DEV_IT821X is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set # CONFIG_BLK_DEV_SVWKS is not set # CONFIG_BLK_DEV_SIIMAGE is not set # CONFIG_BLK_DEV_SIS5513 is not set # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set CONFIG_BLK_DEV_VIA82CXXX=y # CONFIG_BLK_DEV_TC86C001 is not set # CONFIG_IDE_ARM is not set CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDE_ARCH_OBSOLETE_INIT=y # CONFIG_BLK_DEV_HD is not set # # IEEE 1394 (FireWire) support # # CONFIG_FIREWIRE is not set # CONFIG_IEEE1394 is not set # CONFIG_I2O is not set # CONFIG_MACINTOSH_DRIVERS is not set CONFIG_NETDEVICES=y # CONFIG_NETDEVICES_MULTIQUEUE is not set CONFIG_DUMMY=m # CONFIG_BONDING is not set # CONFIG_MACVLAN is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set # CONFIG_VETH is not set # CONFIG_NET_SB1000 is not set # CONFIG_ARCNET is not set # CONFIG_NET_ETHERNET is not set CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set # CONFIG_E1000 is not set # CONFIG_E1000E is not set # CONFIG_IP1000 is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set CONFIG_R8169=m # CONFIG_R8169_NAPI is not set # CONFIG_SIS190 is not set # CONFIG_SKGE is not set # CONFIG_SKY2 is not set # CONFIG_SK98LIN is not set # CONFIG_VIA_VELOCITY is not set # CONFIG_TIGON3 is not set # CONFIG_BNX2 is not set # CONFIG_QLA3XXX is not set # CONFIG_ATL1 is not set # CONFIG_NETDEV_1 is not set # CONFIG_TR is not set # # Input device support # CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set # CONFIG_INPUT_POLLDEV is not set # # Hardware I/O ports # CONFIG_SERIO=y CONFIG_SERIO_I8042=y CONFIG_SERIO_SERPORT=y # CONFIG_SERIO_CT82C710 is not set # CONFIG_SERIO_PARKBD is not set # CONFIG_SERIO_PCIPS2 is not set CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # CONFIG_SERIAL_8250=y # CONFIG_SERIAL_8250_CONSOLE is not set CONFIG_FIX_EARLYCON_MEM=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_PNP=y CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 # CONFIG_SERIAL_8250_EXTENDED is not set # # Non-8250 serial port support # CONFIG_SERIAL_CORE=y # CONFIG_SERIAL_JSM is not set CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 CONFIG_PRINTER=m # CONFIG_LP_CONSOLE is not set # CONFIG_PPDEV is not set # CONFIG_IPMI_HANDLER is not set CONFIG_HW_RANDOM=m # CONFIG_HW_RANDOM_INTEL is not set # CONFIG_HW_RANDOM_AMD is not set # CONFIG_HW_RANDOM_GEODE is not set CONFIG_HW_RANDOM_VIA=m # CONFIG_NVRAM is not set CONFIG_RTC=y # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_SONYPI is not set # CONFIG_MWAVE is not set # CONFIG_PC8736x_GPIO is not set # CONFIG_NSC_GPIO is not set # CONFIG_CS5535_GPIO is not set # CONFIG_RAW_DRIVER is not set CONFIG_HPET=y # CONFIG_HPET_RTC_IRQ is not set CONFIG_HPET_MMAP=y # CONFIG_HANGCHECK_TIMER is not set # CONFIG_TCG_TPM is not set # CONFIG_TELCLOCK is not set CONFIG_DEVPORT=y CONFIG_I2C=m CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=m Can you help me please ? \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr
Re: Cross-compiling ?
Le Sun, 24 Aug 2008 12:20:31 -0300 Valter Douglas Lisbôa Jr. [EMAIL PROTECTED] a écrit : For me it's ok, I hope had help you. Thanks Valter. You really did. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Cross-compiling ?
Le Fri, 22 Aug 2008 14:56:00 -0300 Valter Douglas Lisbôa Jr. [EMAIL PROTECTED] a écrit : Em Friday 22 August 2008 14:13:36 Nicolas FRANCOIS escreveu: Hi. I have an old Celeron 500MHz on witch it is practically impossible to build a base LFS. On my new DualCore, it is a question of a few hours. So I was wondering : is it possible to build the system on my DC, and then transfer it on the other computer ? See the CLFS project on linuxfromscratch site. OK. I tried it, but I would like a little confirmation (I'm sure this is not the right list to post, sorry for the noise) : I make every operation on a partition on my fast computer, and at the end I will move everything on the slow one. Is that it ? And If I understood things well, I have to take the chroot way for this ? Sorry again for the misplaced question :-( I will only install this once, so I don't feel like subscribing to the clfs list. Please accept my apologize if you think it's rude :-( \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Cross-compiling ?
Hi. I have an old Celeron 500MHz on witch it is practically impossible to build a base LFS. On my new DualCore, it is a question of a few hours. So I was wondering : is it possible to build the system on my DC, and then transfer it on the other computer ? Thanks for any help (for the dumb, as you can see :-) \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
CD writer support
Hi. I have a CD/DVD writer on my new computer which seems to be not quite compatible. Let's see : nico [ ~ ]$ cdrecord -scanbus Cdrecord-ProDVD-ProBD-Clone 2.01.01a42 (i686-pc-linux-gnu) Copyright (C) 1995-2008 Jörg Schilling Linux sg driver version: 3.5.27 Using libscg version 'schily-0.9'. scsibus1001: 1001,0,0 100100) * 1001,1,0 100101) 'HL-DT-ST' 'DVD-RAM GSA-H55N' '1.04' Removable CD-ROM 1001,2,0 100102) * 1001,3,0 100103) * 1001,4,0 100104) * 1001,5,0 100105) * 1001,6,0 100106) * 1001,7,0 100107) * With K3b, I can burn DVDs, but no CD (neither R or RW). Can you help me trace the problem ? \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Dual Core
Hi. I just bought a DualCore, and a friend of mine told me I should build a 64bits system. Is there any point in this ? I noticed while installing a base Debian (to start building LFS ;-) that the chosen kernel was the AMD64 flavor. Is this normal ? And what options should I enable in the kernel that are specific to this processor ? Thanks for any tips or links. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Flex-2.5.34
Le Mon, 7 Apr 2008 06:58:33 -0700 Dan Nicholson [EMAIL PROTECTED] a écrit : On Mon, Apr 7, 2008 at 3:56 AM, Nicolas FRANCOIS [EMAIL PROTECTED] wrote: Hi. The flex version present in the SVN LFS book has some compatibility problem with old lex. Or, to be more precise (if I understood the message I wrote clearly), the previous versions of flex did not halt on incompatible options of lex, while the 2.5.34 version produces an error. Some examples of packages which don't appreciate the change are tetex-3.0, and lm_sensors (both version 2 and version 3). I think version 2.5.35 partly solves the issue. So one should upgrade, shouldn't one ? Seems like a good idea to me. Could you show output when from when the lex handling bombs, like from one of the packages you listed above? I just want to know what I'm looking for. Package lm_sensors 2.10.6 (same error with 3.0), with flex-2.5.34 : root [ /sources/lm_sensors-2.10.6 ]# make user [...] gcc -I. -Ikernel/include -I/usr/local/include -DSYSFS_SUPPORT -Wall -O2 -c lib/conf-parse.c -o lib/conf-parse.ao flex -Psensors_yy -t -Cfe -8 lib/conf-lex.l lib/conf-lex.c lib/conf-lex.l:51: mauvais caractère : / lib/conf-lex.l:51: mauvais caractère : * lib/conf-lex.l:51: erreur inconnue de traitement à la section 1 lib/conf-lex.l:51: erreur inconnue de traitement à la section 1 lib/conf-lex.l:51: erreur inconnue de traitement à la section 1 lib/conf-lex.l:51: erreur inconnue de traitement à la section 1 lib/conf-lex.l:51: erreur inconnue de traitement à la section 1 lib/conf-lex.l:51: mauvais caractère : * lib/conf-lex.l:51: mauvais caractère : / lib/conf-lex.l:57: mauvais caractère : / lib/conf-lex.l:57: mauvais caractère : * lib/conf-lex.l:57: erreur inconnue de traitement à la section 1 lib/conf-lex.l:57: erreur inconnue de traitement à la section 1 lib/conf-lex.l:57: erreur inconnue de traitement à la section 1 lib/conf-lex.l:57: erreur inconnue de traitement à la section 1 lib/conf-lex.l:57: erreur inconnue de traitement à la section 1 lib/conf-lex.l:57: mauvais caractère : * lib/conf-lex.l:57: mauvais caractère : / lib/conf-lex.l:63: mauvais caractère : / lib/conf-lex.l:63: mauvais caractère : * lib/conf-lex.l:63: mauvais caractère : * lib/conf-lex.l:63: mauvais caractère : / lib/conf-lex.l:69: mauvais caractère : / lib/conf-lex.l:69: mauvais caractère : * lib/conf-lex.l:69: mauvais caractère : : lib/conf-lex.l:69: mauvais caractère : ` lib/conf-lex.l:69: mauvais caractère : 1 lib/conf-lex.l:69: mauvais caractère : 0 lib/conf-lex.l:69: mauvais caractère : ' lib/conf-lex.l:69: mauvais caractère : , lib/conf-lex.l:69: mauvais caractère : ` lib/conf-lex.l:69: mauvais caractère : 1 lib/conf-lex.l:69: mauvais caractère : 0 lib/conf-lex.l:69: mauvais caractère : . lib/conf-lex.l:69: mauvais caractère : 4 lib/conf-lex.l:69: mauvais caractère : ' lib/conf-lex.l:69: mauvais caractère : ` lib/conf-lex.l:69: mauvais caractère : . lib/conf-lex.l:69: mauvais caractère : 4 lib/conf-lex.l:69: mauvais caractère : ' lib/conf-lex.l:69: mauvais caractère : , lib/conf-lex.l:69: mauvais caractère : ` lib/conf-lex.l:69: mauvais caractère : 1 lib/conf-lex.l:69: mauvais caractère : 0 lib/conf-lex.l:69: mauvais caractère : . lib/conf-lex.l:69: mauvais caractère : ' lib/conf-lex.l:69: mauvais caractère : * lib/conf-lex.l:69: mauvais caractère : / lib/conf-lex.l:73: mauvais caractère : / lib/conf-lex.l:73: mauvais caractère : * lib/conf-lex.l:73: condition de départ are déclarée deux fois lib/conf-lex.l:73: mauvais caractère : * lib/conf-lex.l:73: mauvais caractère : / lib/conf-lex.l:77: mauvais caractère : / lib/conf-lex.l:77: mauvais caractère : * lib/conf-lex.l:77: condition de départ Only déclarée deux fois lib/conf-lex.l:77: mauvais caractère : 1 lib/conf-lex.l:77: condition de départ and déclarée deux fois lib/conf-lex.l:77: mauvais caractère : 2 lib/conf-lex.l:77: mauvais caractère : 5 lib/conf-lex.l:77: mauvais caractère : 5 lib/conf-lex.l:77: mauvais caractère : , lib/conf-lex.l:77: mauvais caractère : . lib/conf-lex.l:77: mauvais caractère : * lib/conf-lex.l:77: mauvais caractère : / make: *** [lib/conf-lex.c] Erreur 1 With flex-2.5.35 : no error message. Hope this helps. From what I read on Google, the problem is the %a, %x (not sure about them exactly) and other options that are not quite well understood by flex. Before 2.5.33, they were ignored, now they trigger error messages. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Flex-2.5.34
Hi. The flex version present in the SVN LFS book has some compatibility problem with old lex. Or, to be more precise (if I understood the message I wrote clearly), the previous versions of flex did not halt on incompatible options of lex, while the 2.5.34 version produces an error. Some examples of packages which don't appreciate the change are tetex-3.0, and lm_sensors (both version 2 and version 3). I think version 2.5.35 partly solves the issue. So one should upgrade, shouldn't one ? \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Base system problem
Le Sun, 23 Mar 2008 11:29:27 +0100 Thomas Trepl [EMAIL PROTECTED] a écrit : On Saturday 22 March 2008 19:17:42 Nicolas FRANCOIS wrote: Hi. I just bought a new central unit, a Dualcore 2.2GHz, with a 8600GT GC. I'd like to install LFS ASAP, but I have problems with the base system. I installed a Debian 4.0, which detected my PC as a x86-64-unknown. This prevents me from compiling gcc correctly : ld can't find the proper libc.a, as I understood the matter. I also tried a mandriva, but things are worse, for I'm even more incompetent with rpms than with debs. So one of my questions is : where can I find the perfect guide for the minimal host system, especially with a dual core ? Dual-Core isn't that much a problem - its more than the host system is a 64bit one and you're trying to do 32bit LFS - but here i'm not quite sure if i'm right. Maybe someone who is familiar with 32/64 bit issues can jump in here. Problem is Debian detects an AMD64 where there is only a 32 Intel DualCore. Strange, and annoying for the build. Another one, maybe a better solution : can I use a LFS liveCD to install the base system ? And if yes, can I temporarly install the LiveCD on my HD, for more comfort during the transition ? That is what I would like to propose. Just try to boot the LiveCD and than start building LFS. Should work fine. I bootstrapped my LFSs on a Core2Duo-T5600 in a Thinkpad from the LiveCD and that worked quite well. This is what I'm doing right now. I just wanted to know if there's a way to install the LiveCD on a partition of the HD to prevent remaking the links and the users each time my daughter asks me to reboot to play under WIndow$ ! Thanks for anyone having some advices. \bye PS : LFS sucks : now that I've been using it for 7 years, I can't use Debain, nor Mandriva, nor Window$ anymore ;-P Naah - dont say that! I'm sure there is a solution! For that particular one, you're right : the solution is : I don't use Debian, and I don't use Mandriva either. Just wait for the LFS to be built ! \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Base system problem
Hi. I just bought a new central unit, a Dualcore 2.2GHz, with a 8600GT GC. I'd like to install LFS ASAP, but I have problems with the base system. I installed a Debian 4.0, which detected my PC as a x86-64-unknown. This prevents me from compiling gcc correctly : ld can't find the proper libc.a, as I understood the matter. I also tried a mandriva, but things are worse, for I'm even more incompetent with rpms than with debs. So one of my questions is : where can I find the perfect guide for the minimal host system, especially with a dual core ? Another one, maybe a better solution : can I use a LFS liveCD to install the base system ? And if yes, can I temporarly install the LiveCD on my HD, for more comfort during the transition ? Thanks for anyone having some advices. \bye PS : LFS sucks : now that I've been using it for 7 years, I can't use Debain, nor Mandriva, nor Window$ anymore ;-P -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
E2fsprogs (1.40.3)
Hi guys. I'm trying to build a new LFS system to track down a problem I have with Java. In version SVN-20071208 of the book, there is a mention of E2fsprogs version 1.40.3. Although I found a link on the sourceforge page, the package doesn't seem to exist : the last version is still 1.40.2. Or is it so imminent that the package was used in the book to prepare for the change ? Maybe a timewarp ? ;-) \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Problem with OO and JDK
Hi. I want to build OO (Open Office) with the last BLFS. I had to download OO 2.3, because 2.2 is not available anymore. But I don't think it's an issue here. In the build process, I get this error message : checking if uudecode can decode base 64 file... yes checking if /opt/jdk/bin/java works... configure: error: The Java VM /opt/jdk/bin/java failed (see config.log, check the CLASSPATH?) dmake: Error code 1, while making 'unxlngi6.pro/misc/build/so_configured_so_berkeleydb' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /sources/OOG680_m5/berkeleydb dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- Checking the log, I saw this : configure:20762: /opt/jdk/bin/java Test Exception in thread main java.lang.ClassFormatError: Extra bytes at the end of class file Test at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) configure:20765: $? = 1 configure: failed program was: /* [#]line 20726 configure */ public class Test { public static void main (String args[]) { System.exit (0); } } configure:20771: error: The Java VM /opt/jdk/bin/java failed (see config.log, check the CLASSPATH?) Problem is, my CLASSPATH is up to date before the . LinuxX86Env.Set.sh call, but after this, it's set to just /opt/jdk/jre/lib/rt.jar:.. I saw that the Extra bytes message may come from the 1.5 version of Java. I'm quite puzzled there, I just want to use OO to read the silly Powerpoint some friends send me, and to have a spreadsheet (but I can live with something else, just this is what we use in my school). I never use te other apps. I saw some binaries (beurk), but thay are rpm or deb format, so I don't know what to do with them. I had no problems compiling OO on my previous system (LFS too), now it's becoming hard, wouldn't you say ? For reference, this is my configure command : ./configure --prefix=/opt/openoffice-2.2.1 \ --enable-libart \ --disable-fontooo \ --disable-gnome-vfs \ --without-fonts \ --with-system-stdlibs \ --without-system-jars \ --with-system-freetype \ --with-system-expat \ --with-system-libxml \ --with-system-zlib \ --with-system-jpeg \ --with-system-python \ --enable-cairo \ --enable-kde \ --with-build-version=BLFS \ --with-package-format=native \ --disable-binfilter \ --disable-odk \ --disable-qadevooo \ --with-use-shell=bash \ --with-lang=en fr \ --with-=en fr \ --with-system-mozilla=firefox Thanks for any help. \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Error compiling binutils (chapter 6.11) with -O3 optimization flag
Le Mon, 30 Jul 2007 13:23:15 -0400 Chris Staub [EMAIL PROTECTED] a écrit : Nicolas FRANCOIS wrote: Hope this can be of some help. Maybe a note in the book ? Or maybe this is up to the user of the book to be aware of this ? I remember there were a few pages a while ago, in gcc, or glibc... to signal that optimization was know to break some packages... \bye I don't use optimizations myself so I don't really know about the issue you're having with them. As for a note in the book - it already says on page 6.1 that compiling with optimizations can have unexpected results, and that the solution when you have problems with them is simply to compile without them. Yeah, but here, this is clearly identified, so there could be a little sentence for pepole using optimizations, it is a know fact (give the link) that -O3 breaks the build. Just one line :-) \bye -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Error compiling binutils (chapter 6.11) with -O3 optimization flag
Hi. I went into an error building binutils (LFS SVN). Being an old LFS user, I wanted to go for some optimizations, so I followed the optimization hint, aware of the fact that I could run into troubles. So that's where I ran, and I wanted to signal this, which is in fact allready in the knoledge base of binutils (or is it sourcemage ?) : http://bugs.sourcemage.org/show_bug.cgi?id=12741 using gcc-4.1.1 gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -I../../binutils/../intl -I../intl -DLOCALEDIR=\/usr/share/locale\ -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O -march=athlon-tbird -mmmx -m3dnow -pipe -O3 -c ../../binutils/wrstabs.c cc1: warnings being treated as errors ../../binutils/wrstabs.c: In function 'stab_tag_type': ../../binutils/wrstabs.c:1297: warning: 'size' is used uninitialized in this function make[4]: *** [wrstabs.o] Error 1 make[4]: Leaving directory `/usr/src/binutils-2.17/buildit/binutils' Workaround : It happens only when compiling with -O3. With -O3, if using --disable-werror, the test suite fails badly afterwhile. With -O2 it is OK. (Tested with gcc 4.1.1) (In reply to comment #1) maybe the -Werror should be filtered out? Hope this can be of some help. Maybe a note in the book ? Or maybe this is up to the user of the book to be aware of this ? I remember there were a few pages a while ago, in gcc, or glibc... to signal that optimization was know to break some packages... \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re:
Le Tue, 16 Jan 2007 00:06:37 +0530 shanmuga prakashvb [EMAIL PROTECTED] a écrit : [EMAIL PROTECTED]:/sources/fontconfig-2.4.2# make Building packages under root account could guide you to serious trouble, sir ;-) In file included from ../fontconfig/fcfreetype.h:28, from ../src/fcint.h:50, from fc-case.c:25: /usr/include/freetype2/freetype/freetype.h:40:22: error: ft2build.h: No such file or directory My ft2build.h file is in /usr/include, it is installed by freetype. Check that you installed freetype the right way. \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Freebox configuration
Hi all users, and especially french users. I received my freebox today (a DSL modem provided by Free.fr). I want to switch from my old USB Alcatel Speedtouch modem to this new modem. The Linux part of the documentation is only for Debian users, and I didn't find anything general enough to make up my mind. The modem has USB and Ethernet connections. I'd like to use the Ethernet connection. The documentation mentions the use of a dhcp client to use it. So I read the Dhcp client part of the BLFS book. But I don't know how to fit the doc tips to the book : it says that I should configure an /etc/network/interfaces file for the eth0 port, and add something like : # configuration eth0 for DHCP via Freebox auto iface eth0 iface eth0 inet dhcp How should this be translated to the BLFS system ? Thanks for any advice, especially if you're a Freebox user. \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
One suggestion for LFS and BLFS books, and a typo
Hi. I've been an LFS user for quite a long time now, and there's one thing (only ONE thing !) I don't like in the books : I'm used to put all the packages I download in a directory just above /sources (namely /sources/LFS or /sources/BLFS), and when I install a package, there's sometimes some extra stuff to use, for example a patch, or some extra documentation, or datas... The instructions are allways refering to this extra material being placed in the /sources directory (or whatever directory you use to build your packages). Couldn't it be more practical to refer to a $BLFS_PACKAGES variable, to permit everyone to put it wherever they want ? A variable that should be initialized at the beginning of the books, just like $LFS or $XORG_PREFIX or others... Isn't this a good idea ? Next, one typo (I think), because I'm a math teacher and want my pupils to make the difference : in the fontconfig page of the BLFS book, there's something like this : There are additional configuration files shipped with Fontconfig in /etc/fonts/conf.d that will be enabled if their names begin with 2 numbers, e.g., /etc/fonts/conf.d/10-autohint.conf. It should be digits and not numbers :-) Now that I've said it, you do as you want ;-) \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Doubt about Expect configure
Le Sat, 21 Oct 2006 16:28:07 +0200 juras256 [EMAIL PROTECTED] a écrit : That is why the --with-tcl=/usr/lib helps. After having added this option, the compilation is OK. Please, comment my observations. I can't find any other explanation... I had the problem too. I confirm that the --with-tcl=/usr/lib permits the compilation to finish. Thanks for the tip. \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Info dir ?
Hi. I have programs in /usr and others in /usr/local. If man is correctly configured to handle both paths, I didn't see in the documentation how to have info include /usr/local/share/info/dir to /usr/share/info/dir. Can someone explain how to do this ? Thanks. \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
X diagnosis on my new LFS
So I built Xorg 6.9 on my new LFS-SVN, and fine it works. Analyzing the logs, I see this : xauth: creating new authority file /home/nico/.serverauth.6851 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/detritus:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 [NF] : This I don't understand. Do I need to enable ipv6 in my kernel, just for X ? X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: Linux 2.6.16.5 i686 [ELF] Current Operating System: Linux detritus 2.6.16.5 #1 PREEMPT Thu Apr 27 15:08:55 CEST 2006 i686 Build Date: 26 April 2006 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Apr 27 17:16:50 2006 (==) Using config file: /etc/X11/xorg.conf (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) [NF] : This is no problem, just annoying. X detects two GC because ATI cards can pilot two monitors, I think. How do you stop it ? found The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server [NF] : Beurk... What is that ? ANd trying to use a double layout like in the BLFS book (see my xorg.conf file attached), I was told that pc/en_US isn't to be found. Warning: locale not supported by Xlib, locale set to C Warning: locale not supported by Xlib, locale set to C [NF] : Arghh ! My locale is set to [EMAIL PROTECTED], isn't that OK ? waiting for X server to shut down xterm: fatal IO error 32 (Broken pipe) or KillClient on X server :0.0 FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. [NF] : Last problem. The fix doesn't work because I see the message each time. Any tip to spare ? \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code xorg.conf.dri Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Iptables doesn't work
Le Wed, 26 Apr 2006 17:31:39 +0100 Andrew Benton [EMAIL PROTECTED] a écrit : Problem is I configured iptables in the kernel, not in modules. It works perfectly on my present 6.0 LFS, but not in the new one. Where did I erred ? Post the netfilter part of your kernel config. These options worked for me with a 2.6.16 kernel Thank you, this worked. I simply missed some options in my conf file (I tried to keep it from kernel to kernel, to keep from doing ALL the conf again each time ; I can see now it's not THAT good). To be noted that make oldconfig didn't correct the problem. I copied the missing options from your indications, and there came back the NETFILTER options in menuconfig. To be sure, I compiled every other option in module ;-) # # IPv6: Netfilter Configuration (EXPERIMENTAL) # A question : is Ipv6 needed for a desktop use (the only other computer in my network is my wife's, connected throught Samba) ? In an other message, I asked the question about X. \bye, and thank you again. -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Font problem after upgrading Xorg
Le Sun, 16 Apr 2006 18:23:28 -0700 Dan Nicholson [EMAIL PROTECTED] a écrit : On 4/16/06, Nicolas FRANCOIS [EMAIL PROTECTED] wrote: I had to upgrade fontconfig, maybe this is the problem. But I don't know how to solve it. Can you help ? More generally seaking, I ALLWAYS have problems with fonts :-( I hope I understand this before the end of my first life ! Yes, the fonts can be quite obnoxious. First, where did Xorg-6.9 install the fonts? If you're following the BLFS svn instructions, they should be in $X_PREFIX/lib/X11/fonts, where X_PREFIX is /usr or /usr/X11R6 or whatever. Note that the old setup set Fontdir = /usr/share/fonts in hosts.def. However, this created a lot of problems because X ships with a lot of ugly fonts that we don't want Fontconfig to know about. Yeah, but what about _MY_ ugly fonts ? ;-) Second, look at /etc/fonts/fonts.conf. Near the top of the file should be a couple of dir entries. By default, these are just /usr/share/fonts and ~/.fonts. The way we handle the default setup now is to make two symlinks from /usr/share/fonts/X11-TTF - X_PREFIX/lib/X11/fonts/TTF and a similar one for the OTF fonts. These are the only ones from X that you want Fontconfig to know about. All other fonts you download, like FreeFont, should be installed in /usr/share/fonts. So what do I have to add to /etc/fonts/fonts.conf to be sure Qt and Gtk find their fonts again ? I added dir/usr/share/ghostscript/fonts/dir and also tried to add my texmf font dir, but clearly this is not a good idea. I think it's not enough. What can I do more ? I'm jumping all over the place. Sorry about that. Read this page: http://www.linuxfromscratch.org/blfs/view/svn/x/xfree86-setup.html The fonts setup section has been pretty revamped. Report back if you are confused about things. It should just work once Fontconfig knows about the right fonts for KDE/GTK-2/etc. I compared the two pages from BLFS 6.0 and BLFS SVN, but my knowledge is clearly unsufficient to decode the differences and the consequences. /etc/fonts/fonts.conf is for the core X Font protocol. How do I change the Xft behaviour ? And what about the FontPath lines in /etc/X11/xorg.conf ? Any more help would be greatly appreciated :-) \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page