Re: digikam hotplug and mandriva 2006

Posted by Oliver Dörr on
URL: http://digikam.185.s1.nabble.com/digikam-hotplug-and-mandriva-2006-tp1735208p1735223.html

Hi Franck,

it depends on your installation. the easiest way to find it out is to simply start one of the two Perl programs manually. You will get an error message the Perl module could not be found and it will tell you where it has looked. Simply copy the .pm into one of those directories.

Oliver

Franck Collineau wrote:
Hi Oliver,

Where do I have to copy perl module ?

Franck

Oliver Dörr wrote:

  
Hi Franck,

please try this version (it's especially for you ;-)

Notice that you have to rename/link the perl module to
digikamhotplug.pm and copy it to somepoalce where perl could find it.

Oliver

Franck Collineau wrote:

    
All scripts are here !:

ll /etc/udev/agents.d/usb/
total 8
lrwxrwxrwx  1 root root   65 oct 16 10:29 digikam-already-started ->
/donnees/my-etc/hotplug-usb/hotplug/digikam-already-started.0.3.3*
lrwxrwxrwx  1 root root   57 oct 16 10:28 digikam-hotplug ->
/donnees/my-etc/hotplug-usb/hotplug/digikam-hotplug.0.3.3*
-rwxr-xr-x  1 root root 1036 sep  2 02:31 libusbscanner*
lrwxrwxrwx  1 root root   48 oct 16 10:30 usbcam ->
/donnees/my-etc/hotplug-usb/hotplug/usbcam.0.3.3*
-rwxr-xr-x  1 root root 1954 sep  7 13:52 usbcam.ori*
[root@localhost usb]#                      

*****************************************
[root@localhost usb]# export DISPLAY=:0
[root@localhost usb]# su franck --login -c
/etc/udev/agent.d/usb/digikam-hotplug
-bash: /etc/udev/agent.d/usb/digikam-hotplug: Aucun fichier ou
répertoire de ce type

*****************************
perl -v

This is perl, v5.8.7 built for i386-linux
(with 1 registered patch, see perl -V for more detail)

Franck

Oliver Dörr wrote:

 

      
Franck Collineau wrote:


   

        
[franck@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[franck@localhost ~]$ su -
Password:
[root@localhost ~]# export DISPLAY=:0
[root@localhost ~]# su franck --login -c
/etc/udev/agent.d/usb/digikam-hotplug
-bash: /etc/udev/agent.d/usb/digikam-hotplug: Aucun fichier ou
répertoire de ce type

Last line: no such file or folder

  

     

          
No such file or folder? Could you verify that the script is there? 
Additional i am interested in the output of the command

which perl

Oliver
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




   

        
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

 

      
------------------------------------------------------------------------

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
 

    


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


  


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users