Re: Tex cannot find latex.fmt
Randy McMurchy wrote: I just don't know what the 'package user' hint does, It installs packages as a non-root user as a means of package management. Basically, if each package is installed as a different user, the ownership of a given file shows what package installed it. http://www.linuxfromscratch.org/hints/downloads/files/more_control_and_pkg_man.txt Generally, it causes problems when a given package's make file assumes 'make install' will be run as root. And then there's XOrg, which I discovered a while ago assumes *everything* to compile it will be done as root... The files you seem to be missing should be located as follows: [EMAIL PROTECTED]: ~/build find /usr/share -name latex.fmt /usr/share/texmf-var/web2c/latex.fmt [EMAIL PROTECTED]: ~/build find /usr/share -name latex.ltx /usr/share/texmf/tex/latex/base/latex.ltx Thanks for this. :) I find it interesting, though, that they don't appear in the source directory at all (after it is compiled), and they don't seem to be mentioned anywhere in make install's output. Is there anywhere I can download these files from, to drop in to the right places? -- Lennon Victor Cook -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
'Compiler cannot create executables'
Hi I have a LFS system that started as 5.1 but has now grown with upgrades. I have never had problems compiling with gcc and am now running 3.3.1. I am now getting the following error message as part of 'configure' when trying to compile software: checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. this is an extract from the config.log file, any ideas what is wrong? I feel I may have inadvertently deleted a file somewhere. hostname = Cliffhangers uname -m = i686 uname -r = 2.6.5 uname -s = Linux uname -v = #1 Fri Apr 15 23:12:57 BST 2005 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /opt/kde3/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/local/kde/bin PATH: /rpm2 PATH: /usr/local/bin PATH: /usr/java/j2re1.4.2_02/bin PATH: /opt/schily/bin ## --- ## ## Core tests. ## ## --- ## configure:1561: checking build system type configure:1579: result: i686-pc-linux-gnuoldld configure:1587: checking host system type configure:1601: result: i686-pc-linux-gnuoldld configure:1609: checking target system type configure:1623: result: i686-pc-linux-gnuoldld configure:1655: checking for a BSD-compatible install configure:1710: result: /bin/install -c configure:1721: checking whether build environment is sane configure:1764: result: yes configure:1821: checking for gawk configure:1837: found /usr/bin/gawk configure:1847: result: gawk configure:1857: checking whether make sets $(MAKE) configure:1877: result: yes configure:2096: checking for g++ configure:2112: found /usr/bin/g++ configure:2122: result: g++ configure:2138: checking for C++ compiler version configure:2141: g++ --version /dev/null 5 g++ (GCC) 3.3.1 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2144: $? = 0 configure:2146: g++ -v /dev/null 5 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs Configured with: ../gcc-3.3.1/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ Thread model: posix gcc version 3.3.1 configure:2149: $? = 0 configure:2151: g++ -V /dev/null 5 g++: `-V' option must have argument configure:2154: $? = 1 configure:2177: checking for C++ compiler default output file name configure:2180: g++ -O2 -mcpu=i686 -march=i686 -I/usr/local/include/beecrypt conftest.cc 5 /usr/bin/ld: unrecognized option `--eh-frame-hdr' Try `ld --help' or `ld --usage' for more information. collect2: ld returned 64 exit status configure:2183: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME rpm | #define PACKAGE_TARNAME rpm | #define PACKAGE_VERSION 4.3.1 | #define PACKAGE_STRING rpm 4.3.1 | #define PACKAGE_BUGREPORT [EMAIL PROTECTED] | #define PACKAGE rpm | #define VERSION 4.3.1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:: error: C++ compiler cannot create executable thanks MAC -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Tex cannot find latex.fmt
Hello! Generally, it causes problems when a given package's make file assumes 'make install' will be run as root. And then there's XOrg, which I discovered a while ago assumes *everything* to compile it will be done as root... Hmmm. I haven't noticed this. I compile everything (up to and including 'make World') as an unprivileged user and only do the 'make install' and configuration stuff as root. XOrg is somewhat bitching around if 'make install' is not performed by root (SETUID bits and stuff like that). I managed to get it working using the package-user scheme, but I am afraid, I don't have to notes on how I did that anymore. Compiling works as any user. Is there anywhere I can download these files from, to drop in to the right places? I doubt it. These files are created by the TeX installation process as best as I recall. It looks as though Steffen is becoming involved in this thread, so you're in luck. If anyone can help you, it would be him. :-) You recall correctly (see the other mail). Thanks for the compliment Randy :-) I'll do my best. Cheers, Steffen -- If you want to stay dad you've got to polish your image. I think the image we need to create for you is repentant but learning. -- Calvin pgpcwDjEbAktX.pgp Description: PGP signature -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: GCC4 build with OpenSSH-4.1p1 missing -ldl
[cc'd to BLFS-Support as it appears it should be directed there] William Harrington wrote these words on 08/21/05 11:28 CST: Has anyone experienced the problem where the dynamic loader library is not included in the list of LIBS? I am not seeing this issue. I am including the entire output from the end of the configure log in hopes that you can see something different from my configuration as to yours (obviously, I'm linking more dependencies, but that shouldn't matter) OpenSSH has been configured with the following options: User binaries: /usr/bin System binaries: /usr/sbin Configuration files: /etc/ssh Askpass program: /usr/sbin/ssh-askpass Manual pages: /usr/man/manX PID file: /var/run Privilege separation chroot path: /var/lib/sshd sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin Manpage format: doc PAM support: yes KerberosV support: yes Smartcard support: yes, using OpenSC S/KEY support: no TCP Wrappers support: yes MD5 password support: yes libedit support: no IP address in $DISPLAY hack: no Translate v4 in v6 hack: yes BSD Auth support: no Random number source: OpenSSL internal ONLY Host: i686-pc-linux-gnu Compiler: gcc Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized Preprocessor flags: -I/usr/local/include Linker flags: -L/usr/lib -lopensc -L/usr/local/lib Libraries: -lwrap -lpam -ldl -lresolv -lcrypto -lutil -lz -lnsl -lcrypt -lkrb5 -ldes -lcom_err -lasn1 -lroken -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 11:36:01 up 141 days, 11:09, 3 users, load average: 0.00, 0.03, 0.24 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Firefox error to install
Randy McMurchy wrote: Christopher Beppler wrote these words on 08/21/05 11:38 CST: Id did exactly the same (using LFS and BLFS 6.1) using both Xorg and XFree (not at the same time) but it doesn't work already... What should I try now? Be more verbose in the description of your problem (but it doesn't work already is not very helpful). Sorry... [EMAIL PROTECTED]:~# uname -a Linux opteron 2.6.12.3 #18 SMP Fri Jul 22 18:17:26 CEST 2005 i686 athlon-4 i386 GNU/Linux you see... It's a i686-pc-linux-gnu I have installed now XFree86-4.5.0 following the instructions of BLFS 6.1. If I want to start firefox for the first time, I get the following error: [EMAIL PROTECTED]:~# LC_ALL=C firefox /usr/lib/firefox-1.0.6/run-mozilla.sh: line 159: 3833 Segmentation fault $prog ${1+$@} I have started fc-cache a lot of times... [EMAIL PROTECTED]:~# fc-cache -v fc-cache: /usr/X11R6/lib/X11/fonts: skipping, 0 fonts, 11 dirs fc-cache: /usr/X11R6/lib/X11/fonts/local: skipping, 0 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/encodings: skipping, 0 fonts, 1 dirs fc-cache: /usr/X11R6/lib/X11/fonts/encodings/large: skipping, 0 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/util: skipping, 0 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/misc: skipping, 55 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/75dpi: skipping, 398 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/100dpi: skipping, 398 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/Speedo: skipping, 0 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/CID: skipping, 0 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/TTF: skipping, 22 fonts, 0 dirs fc-cache: /usr/share/fonts: no such directory, skipping fc-cache: /root/.fonts: no such directory, skipping fc-cache: /usr/X11R6/lib/X11/fonts/TTF: skipping, 22 fonts, 0 dirs fc-cache: /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs fc-cache: succeeded and my /etc/fonts/local.conf contains: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd !-- /etc/fonts/local.conf file for local customizations -- fontconfig dir/usr/X11R6/lib/X11/fonts/TTF/dir dir/usr/X11R6/lib/X11/fonts/Type1/dir /fontconfig I am sure, that I have misconfigured the fonts. But what is my fault. I've done everything like described in X Window System Components from BLFS 6.1 Christopher signature.asc Description: OpenPGP digital signature -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: GCC4 build with OpenSSH-4.1p1 missing -ldl
Randy McMurchy wrote: [cc'd to BLFS-Support as it appears it should be directed there] William Harrington wrote these words on 08/21/05 11:28 CST: Has anyone experienced the problem where the dynamic loader library is not included in the list of LIBS? I am not seeing this issue. I am including the entire output from I built openssh as per BLFS on my gcc4 today. No problem building it at all, but the make -k check fails. This is the configure - I have very few optional deps configured: OpenSSH has been configured with the following options: User binaries: /usr/bin System binaries: /usr/sbin Configuration files: /etc/ssh Askpass program: /usr/sbin/ssh-askpass Manual pages: /usr/man/catX PID file: /var/run Privilege separation chroot path: /var/lib/sshd sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin Manpage format: cat PAM support: no KerberosV support: no Smartcard support: no S/KEY support: no TCP Wrappers support: no MD5 password support: yes libedit support: no IP address in $DISPLAY hack: no Translate v4 in v6 hack: yes BSD Auth support: no Random number source: OpenSSL internal ONLY Host: i686-pc-linux-gnu Compiler: gcc Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized Preprocessor flags: Linker flags: Libraries: -lresolv -lcrypto -lutil -lz -lnsl -lcrypt and the error in the tests: ... run test reconfigure.sh ... ok simple connect after reconfigure run test dynamic-forward.sh ... skipped (no suitable ProxyCommand found) run test forwarding.sh ... ok local and remote forwarding run test multiplex.sh ... test connection multiplexing: envpass test connection multiplexing: transfer scp: failed copy /bin/ls cmp: /bsources/openssh-4.1p1/regress/ls.copy: No such file or directory scp: corrupted copy of /bin/ls test connection multiplexing: status 0 test connection multiplexing: status 1 test connection multiplexing: status 4 test connection multiplexing: status 5 test connection multiplexing: status 44 Master running (pid=14738) Exit request sent. failed connection multiplexing make[1]: *** [t-exec] Error 1 make[1]: Target `tests' not remade because of errors. make[1]: Leaving directory `/bsources/openssh-4.1p1/regress' make: *** [tests] Error 2 281.9 Elapsed Time - openssh-4.1p1 However, ssh appears to work fine so far - investigating further. R. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Tex cannot find latex.fmt
Jeremy Henty wrote these words on 08/21/05 13:29 CST: On Sun, Aug 21, 2005 at 09:53:18AM -0500, Randy McMurchy wrote: Lennon Cook wrote these words on 08/21/05 06:46 CST: [XOrg] assumes *everything* to compile it will be done as root... Hmmm. I haven't noticed this. I compile everything (up to and including 'make World') as an unprivileged user and only do the 'make install' and configuration stuff as root. I do the same (on LFS 4.1) and I don't get any problems either. Randy, what makes you say XOrg behaves this way? It honestly doesn't look like it to me. Perhaps you have your names confused, here? I am saying Xorg is no different than any other package in that you can build it as an unprivileged user, and then install it as the root user. -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 13:33:01 up 141 days, 13:06, 3 users, load average: 0.07, 0.11, 0.35 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
'Compiler cannot create executables'
Hi I forgot to mention this in reply to Ken. Surely the key to the problem is this line from config.log, it is the same whatever package I try to compile. What is `--eh-frame-hdr'?? configure:2828: checking for C compiler default output file name configure:2831: gcc -O2 -mcpu=i686 -march=i686 conftest.c 5 /usr/bin/ld: unrecognized option `--eh-frame-hdr' Try `ld --help' or `ld --usage' for more information. collect2: ld returned 64 exit status MAC -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
No sound lessons
Hi, I wish to thank the Community on the List for all the help in sorting out sound problem on my laptop. Particularly, I thank Jeremy Byron for his painstaking involvement. The sound is now working and xmms gives good music - all that after some struggle though. It is just a thought for the Community and the Organisers of our BLFS Book: Why do novices like me have to rediscover the wheel? In the first place, why the linux gurus have to be so awkward as to 'mute all channels' by default? Rationally, it should be the other way. All channels must be opened by default. Is there a way to convey this to them, the gurus? Secondly, if that is not feasible, I suggest we include the following in the Book: 1. Kernel Configuration: (May be under the Sub-Section 'Sound' under ALSA at beginning of Part IX-Multimedia.) a) First ensure that 'pci-utils' are installed and to check the audio card with 'lspci' command. Select the correct driver in: Sound - ALSA - PCI devices. b)The pitfalls of selecting: Sound - ALSA - Sequencer dummy client. Ultimately, it turns up as the 'default' card in further configurations. This creates confusion for the novice. 2. A little more details in ALSA Chapter (than at present): may be under 'Alsa-utils' Section: a)After installation of ALSA (alsa-utils), check if 'alsa' is started on reboot or by '/etc/rc.d/init.d/alsa start' command. b) Check with 'aplay' and 'speaker-test' commands c) Check with 'alsamixer' command, the ncurses output - ckeck correct card and chip are displayed in top left corner; unmute channels by toggling with 'm' for sterio and '.' or ',' for single channels; save with 'alsactl store' command. c)Premissions on '/dev/dsp'(chmod 622) and '/dev/mixer' (chmod 644) for playing music as ordinary user. d) How to join 'audio' group so as to be able to play music as ordinary user. 3. Under the xmms section, a little more details should be given as to how to configure it with 'CTL+P': configuring Input and Output Plugins; ALSA and/or OSS output plugins etc. Only a few lines in these respective sections will make novices at ease plus this will reduce so much traffic on the List. The overall aim of all Linux Enthusiasts is to 'popularise linux'. That aim should be pursued relentlessly by making Linux more FRIENDLY for the NOVICE. Thanks and Regards _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: No sound lessons
randhir phagura wrote these words on 08/21/05 20:24 CST: Only a few lines in these respective sections will make novices at ease plus this will reduce so much traffic on the List. With all due respect, you are the only person I can remember who has posted on this list who had trouble getting the mixer to unmute the channels and in configuring XMMS. This is basic operational stuff. Sure there is an occasional question about the setup of a particular sound card, but traffic on this list on how to unmute the channels using the Alsa-Mixer and how to configure XMMS is nil. -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 20:38:01 up 141 days, 20:11, 3 users, load average: 0.03, 0.03, 0.24 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Firefox error to install
DJ Lucas wrote: As has been found so many times on this list, the fonts typically are the problem with the above error. Did you by chance copy fonts from your windows partition as root (expecting 755 perms)? If so, make certain that they are readable by the user running firefoxI had this exact problem some time ago, however, I can't recall exactly why the umask was ignored. I'll dig through the archives and see if I can find it a bit later. Not much information as to the cause...copying Windows fonts from an NTFS partition was the common issue that caused the firefox segfault on line 159 (yes slightly over descriptive, but hopefully it'll tickle the search next time). But here is the thread anyway for reference: http://archives.linuxfromscratch.org/mail-archives/blfs-dev/2004-December/008472.html -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page