bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
Здравствуйте. Имею Archlinux & LXDE Проблема с автомонтированием USB-устройств (Flash, Disk)- 1. независимо от типа файловой системы USB-устройства {vfat,ntfs}, оно монтируется как устройство с не NTFS файловой системой; 2. при наличии linux файловой системы устройство не монтируется. Файл правил /etc/udev/rules.d/10-usb.rules: # # Пт. 10 февр. 2012 16:07:21 # KERNEL!="sd[b-z][0-9]" GOTO="automount_end" # Добавление устройства # ACTION=="add" RUN+="/bin/mkdir -p /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n" # ACTION=="add" ENV{mount_options}="rw,utf8,nodev,noexec,nosuid,sync,uid=100" # # Определяем тип файловой системы- можно обойтись без этого, т.к. Windows FS # {NTFS, vfat} монтируются без проблем, но Linux FS не монтируется. # ACTION=="add" ENV{ID_FS_TYPE}=="ntfs" RUN+="/bin/mount -t ntfs-3g -o %E{mount_options} /dev/%k /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n" GOTO="automount_end" ACTION=="add" ENV{ID_FS_TYPE}!="ntfs" RUN+="/bin/mount -t %E{ID_FS_TYPE} -o %E{mount_options} /dev/%k /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n" GOTO="automount_end" # Удаление устройства # ACTION=="remove" RUN+="/bin/umount /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n" RUN+="/bin/rmdir /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n" # Предоставим возможность автомонтирования всем пользователям. # %wheel ALL= NOPASSWD: /bin/umount /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n" LABEL="automount_end" Работа с USB-Flash (vfat)- Feb 13 09:36:32 localhost udevd[13224]: ID_VENDOR=JetFlash Feb 13 09:36:32 localhost udevd[13224]: ID_VENDOR_ENC=JetFlash Feb 13 09:36:32 localhost udevd[13224]: ID_VENDOR_ID=058f Feb 13 09:36:32 localhost udevd[13224]: ID_MODEL=Mass_Storage_Device Feb 13 09:36:32 localhost udevd[13224]: ID_MODEL_ENC=Mass\x20Storage\x20Device Feb 13 09:36:32 localhost udevd[13224]: ID_MODEL_ID=6387 Feb 13 09:36:32 localhost udevd[13224]: ID_REVISION=0100 Feb 13 09:36:32 localhost udevd[13224]: ID_SERIAL=JetFlash_Mass_Storage_Device_OKU05NSO Feb 13 09:36:32 localhost udevd[13224]: ID_SERIAL_SHORT=OKU05NSO Feb 13 09:36:32 localhost udevd[13224]: ID_BUS=usb Feb 13 09:36:32 localhost udevd[13224]: ID_USB_INTERFACES=:080650: Feb 13 09:36:33 localhost udevd[13224]: ID_VENDOR=JetFlash Feb 13 09:36:33 localhost udevd[13224]: ID_VENDOR_ENC=JetFlash Feb 13 09:36:33 localhost udevd[13224]: ID_VENDOR_ID=058f Feb 13 09:36:33 localhost udevd[13224]: ID_MODEL=Transcend_16GB Feb 13 09:36:33 localhost udevd[13224]: ID_MODEL_ENC=Transcend\x2016GB\x20\x20 Feb 13 09:36:33 localhost udevd[13224]: ID_MODEL_ID=6387 Feb 13 09:36:33 localhost udevd[13224]: ID_REVISION=8.07 Feb 13 09:36:33 localhost udevd[13224]: ID_SERIAL=JetFlash_Transcend_16GB_OKU05NSO-0:0 Feb 13 09:36:33 localhost udevd[13224]: ID_SERIAL_SHORT=OKU05NSO Feb 13 09:36:33 localhost udevd[13224]: ID_TYPE=disk Feb 13 09:36:33 localhost udevd[13224]: ID_INSTANCE=0:0 Feb 13 09:36:33 localhost udevd[13224]: ID_BUS=usb Feb 13 09:36:33 localhost udevd[13224]: ID_USB_INTERFACES=:080650: Feb 13 09:36:33 localhost udevd[13224]: ID_USB_INTERFACE_NUM=00 Feb 13 09:36:33 localhost udevd[13224]: ID_USB_DRIVER=usb-storage Feb 13 09:36:33 localhost udevd[13224]: ID_PATH=pci-0000:00:1f.2-usb-0:2:1.0-scsi-0:0:0:0 Feb 13 09:36:33 localhost udevd[13224]: ID_PATH_TAG=pci-0000_00_1f_2-usb-0_2_1_0-scsi-0_0_0_0 Feb 13 09:36:34 localhost udevd[13224]: ID_PART_TABLE_TYPE=dos Feb 13 09:36:34 localhost udevd[13224]: RUN '/bin/mkdir -p /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:10 Feb 13 09:36:34 localhost udevd[13224]: RUN '/bin/mount -t %E{ID_FS_TYPE} -o rw,utf8,nodev,noexec,nosuid,sync,uid=100 /dev/%k /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:16 Feb 13 09:36:34 localhost udevd[13224]: ID_FS_LABEL=MYUSB-FLASH Feb 13 09:36:34 localhost udevd[13224]: ID_FS_LABEL_ENC=MYUSB-FLASH Feb 13 09:36:34 localhost udevd[13224]: ID_FS_UUID=1CC7-7483 Feb 13 09:36:34 localhost udevd[13224]: ID_FS_UUID_ENC=1CC7-7483 Feb 13 09:36:34 localhost udevd[13224]: ID_FS_VERSION=FAT32 Feb 13 09:36:34 localhost udevd[13224]: ID_FS_TYPE=vfat Feb 13 09:36:34 localhost udevd[13224]: ID_FS_USAGE=filesystem Feb 13 09:36:34 localhost udevd[13224]: ID_PART_ENTRY_SCHEME=dos Feb 13 09:36:34 localhost udevd[13224]: ID_PART_ENTRY_TYPE=0xc Feb 13 09:36:34 localhost udevd[13224]: ID_PART_ENTRY_NUMBER=1 Feb 13 09:36:34 localhost udevd[13224]: ID_PART_ENTRY_OFFSET=8192 Feb 13 09:36:34 localhost udevd[13224]: ID_PART_ENTRY_SIZE=31387648 Feb 13 09:36:34 localhost udevd[13224]: ID_PART_ENTRY_DISK=8:16 Feb 13 09:36:47 localhost udevd[13235]: RUN '/bin/umount /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:20 Feb 13 09:36:47 localhost udevd[13235]: RUN '/bin/rmdir /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:20 ..cat /etc/mtab .. gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0 /dev/sdb1 /mnt/JetFlash_Transcend_16GB_1 vfat rw,sync,nosuid,nodev,noexec,relatime,uid=100,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 Работа с USB-Disk (ntfs)- Feb 13 09:37:05 localhost udevd[13242]: ID_VENDOR=Western_Digital Feb 13 09:37:05 localhost udevd[13242]: ID_VENDOR_ENC=Western\x20Digital Feb 13 09:37:05 localhost udevd[13242]: ID_VENDOR_ID=1058 Feb 13 09:37:05 localhost udevd[13242]: ID_MODEL=Elements_1023 Feb 13 09:37:05 localhost udevd[13242]: ID_MODEL_ENC=Elements\x201023 Feb 13 09:37:05 localhost udevd[13242]: ID_MODEL_ID=1023 Feb 13 09:37:05 localhost udevd[13242]: ID_REVISION=2005 Feb 13 09:37:05 localhost udevd[13242]: ID_SERIAL=Western_Digital_Elements_1023_575850314535314158485737 Feb 13 09:37:05 localhost udevd[13242]: ID_SERIAL_SHORT=575850314535314158485737 Feb 13 09:37:05 localhost udevd[13242]: ID_BUS=usb Feb 13 09:37:05 localhost udevd[13242]: ID_USB_INTERFACES=:080650: Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_TYPE=disk' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_BUS=ata' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_MODEL=WDC_WD10TMVV-11TK7S1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_MODEL_ENC=WDC\x20WD10TMVV-11TK7S1\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_REVISION=01.01A10' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_SERIAL=WDC_WD10TMVV-11TK7S1_WD-WXP1E51AXHW7' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_SERIAL_SHORT=WD-WXP1E51AXHW7' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_WRITE_CACHE=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_WRITE_CACHE_ENABLED=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_HPA=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_HPA_ENABLED=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_PM=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_PM_ENABLED=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_SECURITY=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_SECURITY_ENABLED=0' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=266' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=266' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_SMART=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_SMART_ENABLED=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_APM=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_APM_ENABLED=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_FEATURE_SET_APM_CURRENT_VALUE=128' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_DOWNLOAD_MICROCODE=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_SATA=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_SATA_SIGNAL_RATE_GEN2=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_SATA_SIGNAL_RATE_GEN1=1' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_ATA_ROTATION_RATE_RPM=5200' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_WWN=0x50014ee104597552' Feb 13 09:37:06 localhost udevd[13242]: 'ata_id --export /dev/sdb'(out) 'ID_WWN_WITH_EXTENSION=0x50014ee104597552' Feb 13 09:37:06 localhost udevd[13242]: ID_PATH=pci-0000:00:1f.2-usb-0:2:1.0-scsi-0:0:0:0 Feb 13 09:37:06 localhost udevd[13242]: ID_PATH_TAG=pci-0000_00_1f_2-usb-0_2_1_0-scsi-0_0_0_0 Feb 13 09:37:06 localhost udevd[13242]: ID_PART_TABLE_TYPE=dos Feb 13 09:37:06 localhost udevd[13242]: RUN '/bin/mkdir -p /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:10 Feb 13 09:37:06 localhost udevd[13242]: RUN '/bin/mount -t %E{ID_FS_TYPE} -o rw,utf8,nodev,noexec,nosuid,sync,uid=100 /dev/%k /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:16 Feb 13 09:37:07 localhost udevd[13242]: ID_FS_LABEL=WD.Elements-SE Feb 13 09:37:07 localhost udevd[13242]: ID_FS_LABEL_ENC=WD.Elements-SE Feb 13 09:37:07 localhost udevd[13242]: ID_FS_UUID=EE7EB0C67EB0893B Feb 13 09:37:07 localhost udevd[13242]: ID_FS_UUID_ENC=EE7EB0C67EB0893B Feb 13 09:37:07 localhost udevd[13242]: ID_FS_TYPE=ntfs Feb 13 09:37:07 localhost udevd[13242]: ID_FS_USAGE=filesystem Feb 13 09:37:07 localhost udevd[13242]: ID_PART_ENTRY_SCHEME=dos Feb 13 09:37:07 localhost udevd[13242]: ID_PART_ENTRY_TYPE=0x7 Feb 13 09:37:07 localhost udevd[13242]: ID_PART_ENTRY_NUMBER=1 Feb 13 09:37:07 localhost udevd[13242]: ID_PART_ENTRY_OFFSET=2048 Feb 13 09:37:07 localhost udevd[13242]: ID_PART_ENTRY_SIZE=1953517568 Feb 13 09:37:07 localhost udevd[13242]: ID_PART_ENTRY_DISK=8:16 Feb 13 09:38:01 localhost udevd[13259]: RUN '/bin/umount /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:20 Feb 13 09:38:01 localhost udevd[13259]: RUN '/bin/rmdir /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:20 ..cat /etc/mtab .. gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0 /dev/sdb1 /mnt/_WDC_WD10TMVV-11TK7S1_1 fuseblk rw,sync,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 Работа с USB-Flash (ext3)- Feb 13 09:38:09 localhost udevd[13266]: ID_VENDOR=TOSHIBA Feb 13 09:38:09 localhost udevd[13266]: ID_VENDOR_ENC=TOSHIBA\x20 Feb 13 09:38:09 localhost udevd[13266]: ID_VENDOR_ID=0930 Feb 13 09:38:09 localhost udevd[13266]: ID_MODEL=TransMemory Feb 13 09:38:09 localhost udevd[13266]: ID_MODEL_ENC=TransMemory\x20\x20\x20\x20\x20 Feb 13 09:38:09 localhost udevd[13266]: ID_MODEL_ID=6544 Feb 13 09:38:09 localhost udevd[13266]: ID_REVISION=0100 Feb 13 09:38:09 localhost udevd[13266]: ID_SERIAL=TOSHIBA_TransMemory_0014785ED75EC020637B0C16 Feb 13 09:38:09 localhost udevd[13266]: ID_SERIAL_SHORT=0014785ED75EC020637B0C16 Feb 13 09:38:09 localhost udevd[13266]: ID_BUS=usb Feb 13 09:38:09 localhost udevd[13266]: ID_USB_INTERFACES=:080650: Feb 13 09:38:10 localhost udevd[13266]: ID_VENDOR=TOSHIBA Feb 13 09:38:10 localhost udevd[13266]: ID_VENDOR_ENC=TOSHIBA\x20 Feb 13 09:38:10 localhost udevd[13266]: ID_VENDOR_ID=0930 Feb 13 09:38:10 localhost udevd[13266]: ID_MODEL=TransMemory Feb 13 09:38:10 localhost udevd[13266]: ID_MODEL_ENC=TransMemory\x20\x20\x20\x20\x20 Feb 13 09:38:10 localhost udevd[13266]: ID_MODEL_ID=6544 Feb 13 09:38:10 localhost udevd[13266]: ID_REVISION=1.00 Feb 13 09:38:10 localhost udevd[13266]: ID_SERIAL=TOSHIBA_TransMemory_0014785ED75EC020637B0C16-0:0 Feb 13 09:38:10 localhost udevd[13266]: ID_SERIAL_SHORT=0014785ED75EC020637B0C16 Feb 13 09:38:10 localhost udevd[13266]: ID_TYPE=disk Feb 13 09:38:10 localhost udevd[13266]: ID_INSTANCE=0:0 Feb 13 09:38:10 localhost udevd[13266]: ID_BUS=usb Feb 13 09:38:10 localhost udevd[13266]: ID_USB_INTERFACES=:080650: Feb 13 09:38:10 localhost udevd[13266]: ID_USB_INTERFACE_NUM=00 Feb 13 09:38:10 localhost udevd[13266]: ID_USB_DRIVER=usb-storage Feb 13 09:38:10 localhost udevd[13266]: ID_PATH=pci-0000:00:1f.2-usb-0:2:1.0-scsi-0:0:0:0 Feb 13 09:38:10 localhost udevd[13266]: ID_PATH_TAG=pci-0000_00_1f_2-usb-0_2_1_0-scsi-0_0_0_0 Feb 13 09:38:11 localhost udevd[13266]: ID_PART_TABLE_TYPE=dos Feb 13 09:38:11 localhost udevd[13266]: RUN '/bin/mkdir -p /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:10 Feb 13 09:38:11 localhost udevd[13266]: RUN '/bin/mount -t %E{ID_FS_TYPE} -o rw,utf8,nodev,noexec,nosuid,sync,uid=100 /dev/%k /mnt/%E{ID_VENDOR}_%E{ID_MODEL}_%n' /etc/udev/rules.d/10-usb.rules:16 Feb 13 09:38:11 localhost udevd[13266]: ID_FS_UUID=f8badbed-cc58-448d-bca5-096a68447be2 Feb 13 09:38:11 localhost udevd[13266]: ID_FS_UUID_ENC=f8badbed-cc58-448d-bca5-096a68447be2 Feb 13 09:38:11 localhost udevd[13266]: ID_FS_VERSION=1.0 Feb 13 09:38:11 localhost udevd[13266]: ID_FS_TYPE=ext3 Feb 13 09:38:11 localhost udevd[13266]: ID_FS_USAGE=filesystem Feb 13 09:38:11 localhost udevd[13266]: ID_PART_ENTRY_SCHEME=dos Feb 13 09:38:11 localhost udevd[13266]: ID_PART_ENTRY_TYPE=0x83 Feb 13 09:38:11 localhost udevd[13266]: ID_PART_ENTRY_NUMBER=1 Feb 13 09:38:11 localhost udevd[13266]: ID_PART_ENTRY_OFFSET=2048 Feb 13 09:38:11 localhost udevd[13266]: ID_PART_ENTRY_SIZE=7821248 Feb 13 09:38:11 localhost udevd[13266]: ID_PART_ENTRY_DISK=8:16 ..cat /etc/mtab .. gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0 Какие будут рекомендации? Спасибо. |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
Колючка Спасибо. Сейчас попробую. |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
sirocco Работаю в LXDE. |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
sirocco Не понял. На данный момент выполняю монтирование/демонтирование CD/DVD привода скриптом- #!/bin/sh # # Монтирование CD/DVD устройств # # Чт. 02 февр. 2012 08:31:10 # CD_DVD_DEV=/dev/sr0 TOCHKA_MOUNT=/mnt/dvdwriter close() { cd /mnt umount $TOCHKA_MOUNT eject rmdir $TOCHKA_MOUNT status } # close() open() { [ -d $TOCHKA_MOUNT ] || mkdir --parents $TOCHKA_MOUNT [ -d $TOCHKA_MOUNT ] || exit 1 mount -t auto $CD_DVD_DEV $TOCHKA_MOUNT status } # open() status() { status_device=`df -h | grep $CD_DVD_DEV` [ "$status_device" == "" ] && exit echo echo $status_device echo inform_cd_dvd_dev=`blkid $CD_DVD_DEV` echo $inform_cd_dvd_dev echo } # status() case "$1" in open|close|status) $1 ;; *) echo "Монтирование CD/DVD устройств." echo "Используйте $0 {open|close|status}" exit 1 esac exit 0 |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
Здравствуйте. Имею Archlinux & DVD привод. Монтирование возможно из командной строки или выполняя скрипт, но хочется автоматического монтирования. Читал несколько ссылок- https://bbs.archlinux.org/viewtopic.php?id=115435 https://bbs.archlinux.org/viewtopic.php?id=100405 Результат - привод автоматически не монтируется. Прошу совета в данном вопросе. Спасибо. |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
sleepycat Благодарю, так и сделал. |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
sleepycat Я так и сделал. Но как для vyqchat сделать ярлык на рабочем столе LXDE? |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
Ставлю чат по linux- TriX. Иная программа мне не известна. |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
Пытаюсь установить пакет из исходников и получаю сообщение- checking for Qt… configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log. Выполнил- pacman -S qt qt-assistant-compat qt-private-headers Не помогло. Прилагаю config.log. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by TriX configure 0.94, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = old-server uname -m = i686 uname -r = 3.2.1-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT Fri Jan 13 08:19:09 UTC 2012 .. configure:11957: result: /usr/bin/perl configure:12092: checking for Qt configure: 12157: /usr/lib/qt3/include/qstyle.h configure: 12157: /usr/lib/qt3/qstyle.h configure: 12157: /usr/lib/qt/include/qstyle.h configure: 12157: /usr/lib/qt/qstyle.h configure: 12157: /usr/share/qt3/include/qstyle.h configure: 12157: /usr/share/qt3/qstyle.h configure: 12157: /usr/local/qt/include/qstyle.h configure: 12157: /usr/include/qt/qstyle.h configure: 12157: /usr/include/qstyle.h configure: 12157: /usr/X11R6/include/X11/qt/qstyle.h configure: 12157: /usr/X11R6/include/qt/qstyle.h configure: 12157: /usr/X11R6/include/qt2/qstyle.h configure: 12157: /usr/include/qt3/qstyle.h configure: 12157: ./qstyle.h tried NO tried /usr/lib/qt3/lib tried /usr/lib/qt3 tried /usr/lib/qt/lib tried /usr/lib/qt tried /usr/share/qt3/lib tried /usr/share/qt3 tried /usr/X11R6/lib tried /usr/lib tried /usr/local/qt/lib tried /usr/lib configure:12274: rm -rf SunWS_cache; g++ -o conftest -g -O2 -INO -I. -DQT_THREAD_SUPPORT -LNONE -L/usr/lib conftest.cpp -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 conftest.cpp:2:21: fatal error: qglobal.h: No such file or directory compilation terminated. configure:12277: $? = 1 configure: failed program was: #include "confdefs.h" #include <qglobal.h> #include <qapplication.h> #include <qcursor.h> #include <qstylefactory.h> #include <private/qucomextra_p.h> #if ! (QT_VERSION >= 300) #error 1 #endif int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:12317: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log. ## ---------------- ## ## Cache variables. ## ## ---------------- ## .. configure: exit 1 |
bsm |
|
Темы:
47
Сообщения:
184
Участник с: 18 января 2012
|
Установил в системе несколько пакетов, в частности- iproute2. pacman -S iproute2 Сформировал перечень установленных в системе пакетов- comm -13 <(pacman -Qmq | sort) <(pacman -Qqe | sort) > list_packages В перечне пакета нет. При повторной установке пакета, pacman сообщает о наличии установки пакета и выполняет его повторную установке. Как исправить данную ситуацию. |