[blfs-support] Another problem building Xulrunner
Error: root [ /usr/src/mozilla-release ]# make -C xulrunner-build-dir install . . . Executing /usr/src/mozilla-release/xulrunner-build-dir/dist/bin/xpcshell -g /usr/src/mozilla-release/xulrunner-build-dir/dist/bin/ -a /usr/src/mozilla-release/xulrunner-build-dir/dist/bin/ -f /usr/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache(resource://gre/); /usr/src/mozilla-release/xulrunner-build-dir/dist/bin/xpcshell: error while loading shared libraries: libhunspell-1.3.so.0: cannot open shared object file: No such file or directory Traceback (most recent call last): File /usr/src/mozilla-release/toolkit/mozapps/installer/packager.py, line 374, in module main() File /usr/src/mozilla-release/toolkit/mozapps/installer/packager.py, line 366, in main args.source, gre_path, base) File /usr/src/mozilla-release/toolkit/mozapps/installer/packager.py, line 147, in precompile_cache errors.fatal('Error while running startup cache precompilation') File /usr/src/mozilla-release/python/mozbuild/mozpack/errors.py, line 101, in fatal self._handle(self.FATAL, msg) File /usr/src/mozilla-release/python/mozbuild/mozpack/errors.py, line 96, in _handle raise ErrorMessage(msg) mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation make[1]: *** [stage-package] Error 1 make[1]: Leaving directory `/usr/src/mozilla-release/xulrunner-build-dir/xulrunner/installer' make: *** [install] Error 2 hunspell is installed and the libraries are in /usr/local/lib. What do I need to do? Thanks, Dave -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Another problem building Xulrunner
On Thu, Aug 1, 2013 at 10:20 AM, Fernando de Oliveira fam...@yahoo.com.brwrote: (Using webmail. Sorry for wrong formatting.) I have never done it, but as non one has still replied... I assume it is the first time you are trying to build xulrunner and hunspell. De: Dave Wagler Para: blfs-support Enviadas: Quinta-feira, 1 de Agosto de 2013 9:38 Assunto: [blfs-support] Another problem building Xulrunner Error: root [ /usr/src/mozilla-release ]# make -C xulrunner-build-dir install . . . The following line seems to be the error. /usr/src/mozilla-release/xulrunner-build-dir/dist/bin/xpcshell: error while loading shared libraries: libhunspell-1.3.so.0: cannot open shared object file: No such file or directory If you used instructions in the page with About Hunspell with ./configure Perhaps it will be found, if you remove hunspell from /usr/local (assuming no other package using it has yet been built), rebuild and install in /usr, with This is what I did, and it worked. ./configure --prefix=/usr --disable-static []s, Fernando Thanks, Dave -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Another problem...
Le Sun, 9 Nov 2008 03:05:29 +0100 Nicolas FRANCOIS [EMAIL PROTECTED] a écrit : I finally found a workaround : I changed the line # libusb device nodes SUBSYSTEM==usb, ACTION==add, ENV{DEVTYPE}==usb_device, NAME=bus/usb/$env{BUSNUM}/$env{DEVNUM}, MODE=0644 of the /etc/udev/rules.d/50-udev-default.rules, changing MODE=0644 to MODE=0664 Now I can launch mtp-detect :-) Is this normal, or did I do something wrong prior to this ? \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: Another problem...
Le Fri, 31 Oct 2008 09:10:19 -0700 Dan Nicholson [EMAIL PROTECTED] a écrit : On Fri, Oct 31, 2008 at 6:38 AM, Nicolas FRANCOIS [EMAIL PROTECTED] wrote: ...with my brain, I'm quite sure. I have serious problems with devices permissions : I can read a DVD with MPlayer being root, but not being me. Same thing with gphoto2 : I can download the photos from my camera being root, but not as a normal user. My normal user belongs to disk, usb, video, haldaemon... I don't know what to add ! Some of the devices created by udev in the dev directory do seem to be owned by root, so this may be the problem. You need to look at the /dev permissions and associated udev rules. The CD/DVD devices (look at the /dev/cdrom* symlinks) are created with cdrom group permissions. I'm not sure what method you followed to install libgphoto2, but the package contains a program to create udev rules with an appropriate group (I was using the camera group). However, without the rules, I think the regular usb udev rule should be used, which sets the group to usb. Need some more details here. root [ ~ ]# ls -l /dev/cdr* lrwxrwxrwx 1 root root 3 nov 9 2008 /dev/cdrom - hdd lrwxrwxrwx 1 root root 3 nov 9 2008 /dev/cdrw - hdd root [ ~ ]# ls -l /dev/hdd brw-rw 1 root cdrom 22, 64 nov 9 2008 /dev/hdd root [ ~ ]# ls -l /dev/bus/usb/00 001/ 002/ 003/ 004/ 005/ root [ ~ ]# ls -l /dev/bus/usb/005/003 crw-r--r-- 1 root usb 189, 514 nov 9 02:47 /dev/bus/usb/005/003 The permissions looks OK. I belong to groups cdrom and usb. I can mount and umount the cdom, and my USB key. But I can't access at my daughter's mtp mp3 drive : nico [ ~ ]$ mtp-detect libmtp version: 0.2.6.1 Attempting to connect device(s) usb_claim_interface(): Operation not permitted LIBMTP PANIC: Unable to initialize device 1 LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1599 Detect: There has been an error connecting. Exiting But root can : root [ ~ ]# mtp-detect libmtp version: 0.2.6.1 Attempting to connect device(s) PTP: Opening session Detect: Successfully connected 1 devices USB low-level info: Using kernel interface usbfs bcdUSB: 512 bDeviceClass: 0 bDeviceSubClass: 0 bDeviceProtocol: 0 idVendor: 04e8 idProduct: 507d IN endpoint maxpacket: 512 bytes OUT endpoint maxpacket: 512 bytes Device flags: 0x [...] Device info: Manufacturer: Samsung Electronics Model: Samsung YP-U3 Device version: VER 1.11 FR Serial number: 2798FD3BBEF0 Vendor extension ID: 0x0006 Vendor extension description: microsoft.com/WMDRMPD: 10.1 Detected object size: 64 bits Supported operations: [...] PTP: Closing session OK. This is driving me a little crazy. I know I used to access this device on my previous installation... which is now on a burned down HD :-( Another similar problem : using KDE, I used to get a window asking me what to do when I plugged a removable device, like a USB key. I don't have it anymore. I configured HAL and Dbus, and recompiled kdebase to use it... with no effect. Can someone help me with those permissions issues ? I'm getting a bit nuts on this ! \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: Another problem...
On Fri, 2008-10-31 at 14:38 +0100, Nicolas FRANCOIS wrote: ...with my brain, I'm quite sure. I have serious problems with devices permissions : I can read a DVD with MPlayer being root, but not being me. Same thing with gphoto2 : I can download the photos from my camera being root, but not as a normal user. My normal user belongs to disk, usb, video, haldaemon... I don't know what to add ! Some of the devices created by udev in the dev directory do seem to be owned by root, so this may be the problem. Who owns, and with what permissions, the devices you're having problems with. On system the DVD drive (/dev/sr0) is owned by 'root', group owned by 'disk', and readable/writable by both. The same is true of all disk devices, whether internal or external. I assume you should see something similar, since I've done nothing to customise this. Simon. signature.asc Description: This is a digitally signed message part -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Another problem...
Le Sat, 01 Nov 2008 21:06:15 +1300 Simon Geard [EMAIL PROTECTED] a écrit : On Fri, 2008-10-31 at 14:38 +0100, Nicolas FRANCOIS wrote: ...with my brain, I'm quite sure. I have serious problems with devices permissions : I can read a DVD with MPlayer being root, but not being me. Same thing with gphoto2 : I can download the photos from my camera being root, but not as a normal user. My normal user belongs to disk, usb, video, haldaemon... I don't know what to add ! Some of the devices created by udev in the dev directory do seem to be owned by root, so this may be the problem. Who owns, and with what permissions, the devices you're having problems with. On system the DVD drive (/dev/sr0) is owned by 'root', group owned by 'disk', and readable/writable by both. The same is true of all disk devices, whether internal or external. I assume you should see something similar, since I've done nothing to customise this. The problem seems to come from the symlinks : if I use /dev/hdd, which is, as you mention, owned by root.disk, I can, being a member of disk, read it. But if I use the symlink /dev/dvd, then I have a permission error. Something that looks similar : an error while reading Dvd on mplayer : Can't open /dev/dsp. I still can hear the sound, just this silly message at the start of every video reading (DVD or not). \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: Another problem...
On Sun, Nov 02, 2008 at 12:28:40AM +0100, Nicolas FRANCOIS wrote: The problem seems to come from the symlinks : if I use /dev/hdd, which is, as you mention, owned by root.disk, I can, being a member of disk, read it. But if I use the symlink /dev/dvd, then I have a permission error. Ouch! Membership of the disk group is not usually given to regular users. I've been using the following for a long time - one day, it's bound to break with an update but for the moment it seems to work. Actually, my script allows for various other options (hda on the mac G5, sr0 on the box using libata for the cd/dvd), but those are just variants. In your case, change hdc to hdd. I use the audio group for both audio and video devices, your setup might be different. # assign hdc to audio group by using a rules script earlier than # 25-lfs, # and extend cdrom symlink to dvd as well # thanks to Andrew Benton for an ownership of hdc that works # and to somebody else on blfs-support for the later # OPTIONS=last_rule # which now makes it work again. if ! [ -f /etc/udev/rules.d/20-media.rules ]; then echo creating media.rules echo 'BUS==ide, KERNEL==hdc, GROUP=audio, NAME=%k, SYMLINK=cdrom dvd, MODE=0660, OPTIONS=last_rule' \ /etc/udev/rules.d/20-media.rules fi else echo media.rules already exists fi Something that looks similar : an error while reading Dvd on mplayer : Can't open /dev/dsp. I still can hear the sound, just this silly message at the start of every video reading (DVD or not). That message mostly means sound won't work. Perhaps mplayer tries /dev/dsp (the old oss interface, I think) and then uses something newer. I use the attachment on my clfs builds. Didn't used to be needed on LFS, perhaps something in the new udev upstream rules is different. Do you actually have a /dev/dsp, and if so, what are its permissions ? Do you belong to the required groups ? ĸen - das eine Mal als Tragödie, das andere Mal als Farce # rule definitions for alsa on clfs # ALSA devices go in their own subdirectory KERNEL==controlC[0-9]*, NAME=snd/%k, GROUP=audio KERNEL==hw[CD0-9]*,NAME=snd/%k, GROUP=audio KERNEL==pcm[CD0-9cp]*, NAME=snd/%k, GROUP=audio KERNEL==midiC[D0-9]*, NAME=snd/%k, GROUP=audio KERNEL==timer, NAME=snd/%k, GROUP=audio KERNEL==seq, NAME=snd/%k, GROUP=audio # Sound devices KERNEL==admmidi*, GROUP=audio KERNEL==adsp*, GROUP=audio KERNEL==aload*,GROUP=audio KERNEL==amidi*,GROUP=audio KERNEL==amixer*, GROUP=audio KERNEL==audio*,GROUP=audio KERNEL==dmfm*, GROUP=audio KERNEL==dmmidi*, GROUP=audio KERNEL==dsp*, GROUP=audio KERNEL==midi*, GROUP=audio KERNEL==mixer*,GROUP=audio KERNEL==music, GROUP=audio KERNEL==sequencer*,GROUP=audio -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Another problem...
Le Sat, 1 Nov 2008 23:52:34 + Ken Moffat [EMAIL PROTECTED] a écrit : Something that looks similar : an error while reading Dvd on mplayer : Can't open /dev/dsp. I still can hear the sound, just this silly message at the start of every video reading (DVD or not). That message mostly means sound won't work. Perhaps mplayer tries /dev/dsp (the old oss interface, I think) and then uses something newer. It definitly looks like it. Sorry for that one, I forgot to change the sound driver in Gmplayer settings. \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
Another problem...
...with my brain, I'm quite sure. I have serious problems with devices permissions : I can read a DVD with MPlayer being root, but not being me. Same thing with gphoto2 : I can download the photos from my camera being root, but not as a normal user. My normal user belongs to disk, usb, video, haldaemon... I don't know what to add ! Some of the devices created by udev in the dev directory do seem to be owned by root, so this may be the problem. I'm quite sure there is something in the book about this, but I can't remember where :-( Can you help me please ? \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: Another problem...
On Fri, Oct 31, 2008 at 6:38 AM, Nicolas FRANCOIS [EMAIL PROTECTED] wrote: ...with my brain, I'm quite sure. I have serious problems with devices permissions : I can read a DVD with MPlayer being root, but not being me. Same thing with gphoto2 : I can download the photos from my camera being root, but not as a normal user. My normal user belongs to disk, usb, video, haldaemon... I don't know what to add ! Some of the devices created by udev in the dev directory do seem to be owned by root, so this may be the problem. You need to look at the /dev permissions and associated udev rules. The CD/DVD devices (look at the /dev/cdrom* symlinks) are created with cdrom group permissions. I'm not sure what method you followed to install libgphoto2, but the package contains a program to create udev rules with an appropriate group (I was using the camera group). However, without the rules, I think the regular usb udev rule should be used, which sets the group to usb. Need some more details here. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page