LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2009, 03:15 AM   #16
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39

If you look into /etc/udev/rules.d your going to be creating a rule..its just a text file with .rules extension and name it foo so file would be "foo.rules"
then paste into it

# usbfs-like devices
SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; \
printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
NAME="%c"

MODE="660", GROUP="foo"

then save it
then make another rule named "bar.rules" and paste in

SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="1234", \
SYSFS{idProduct}=="4321"

MODE="660", GROUP="baz"
RUN="/usr/local/bin/baz"
SYMLINK+="foo"


thats the way i read it and how its suppose to be done,,hopefully someone with more knowledge will respond to this post ..
but you can still go ahead and build the program..and see if it runs..Im not sure of the names..if it suppose to be "foo" and
"baz"..or those are just example names..like i said..hopefully someone with more knowledge will respond and set it straight
other thing i noticed is ..source code you used was 1.12...I downloaded version 1.20..so you dont have latest source code for program..
source code i downloaded was on this page http://www.microchip.com/stellent/id...nt3_NextRow=31

Last edited by stratotak; 01-13-2009 at 03:32 AM.
 
Old 01-13-2009, 05:13 AM   #17
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
I cannot copy the files in etc/udev/rules.d with cp command even tried to copy whole folder by cp -dpr but didn't work, I got > simboles in Terminal without christian@PCNAME $ ??????
I also try to install another software Quick Universal Simmulator by ./configure it worked and than I typed "make" and my PC got hanged when I restarted and tried to delete files of that software I got message "you can not delete it's parent directory so file cnnot be delete" How would I delete that ???, If the answer to second problem is time taking then please don't bother because first I need to install PICkit 2, Thx for help
 
Old 01-13-2009, 11:58 AM   #18
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
well..I didnt say to copy the directory..I said you needed to CREATE a rule..which is just a text file with .rule extension...you could use gedit or nano.. which are editors
su
gedit /etc/udev/rules.d/foo.rules
then copy%paste info into it and save it
gedit /etc/udev/rules.d/bar.rules
then copy%paste info into it and save
or you could use nano nano -w /etc/udev/rules.d/foo.rules
or if you dont want to do that you can make nautilus open up as root...
in terminal enter su
then type nautilus

Im assuming your using Gnome..that is default desktop on Debian
the reason you cant delete folders is because you probably ran ./configure make and make install as root
you only need to be root to "make install" thats why you cant delete it
Like i said..compiling from source is not the same for every program.
On the other program all you had to do was "make linux" then "make install"
But no matter what program the same applies ..you should have read the read me's to see what was required to build it..Could of required development packages you needed to install first..
 
Old 01-13-2009, 01:14 PM   #19
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
well for 64bit flash there is a download from adobe
http://labs.adobe.com/downloads/flashplayer10.html


chrischristian you might also consider installing the 32 bit os
the 64 bit can make things MUCH more complicated ,and seeing as there are not many 64 bit programs out there ...
 
Old 01-13-2009, 10:05 PM   #20
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
I think I should really try 36 bit but the problem is that this current 64 bit I got stragiht from net, I mean I just downloaded a small file and the PC booted from it (from the Hard disk, not any external media) and then it automatically downloaded the Debian from net, I want to do something like that with 32 but couldn't find any such thing that works like that for Debian Installed PC, I got some seprate files which takes toomuch time and the thing is that I don't have a CD writer or ZIP USB or a working Flopy drive,so I have to go by that HARD DISK BOOT WAY , is there any method that works with Debian Installed PC ? The page I got this 64bit was a single red (Debian) page with only single line in themiddle of it saying "CLICK TO DOWNLOAD DEBIAN"



BTW : I got this http://www.debian-resources.org/node/4
THOUGH I HAVE NOT UNDERSTOOD IT FULLY IS THERE ANY EASIER EXPLANATION ?

Last edited by chrischristian; 01-13-2009 at 10:29 PM.
 
Old 01-14-2009, 12:04 AM   #21
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
I have done what is on http://www.debian.org/releases/stabl...en#boot-initrd
just one thing remains , How would I edit the menu.lst file ?????, I tried with alt+f2 and run, give the password and the message comes "Error occured during application contect your administrator"
 
Old 01-14-2009, 01:24 AM   #22
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
http://www.youtube.com/watch?v=ctaFF...eature=channel
 
Old 01-14-2009, 11:16 AM   #23
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
I don't have flashplayer on amd64 Debian but never mind after few Editing job in Terminal and six hours of Download I am on Debian 2.6.686 that is x86 right ?, now I want libssl 0.9.6 file , my Synaptic doesn't list it and I coulden't find any working link for that so if you please provide me one I'll be thankful.
 
Old 01-14-2009, 11:21 AM   #24
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
I think you'll have to look for OpenSSL (or openssl) in Synaptic.

Last edited by brianL; 01-14-2009 at 11:22 AM.
 
Old 01-14-2009, 11:28 AM   #25
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
Openssl is already installed but so why it asks for libssl 0.9.6 ??? and I just found my debian_version is 4 and kernel is Linux 2.6.18-6-686 i686. I got this when I tried to install flashplayer
Quote:
dpkg: dependency problems prevent configuration of adobe-flashplugin:
adobe-flashplugin depends on libatk1.0-0 (>= 1.20.0); however:
Version of libatk1.0-0 on system is 1.12.4-3.
adobe-flashplugin depends on libc6 (>= 2.4); however:
Version of libc6 on system is 2.3.6.ds1-13etch8.
adobe-flashplugin depends on libcairo2 (>= 1.6.0); however:
Version of libcairo2 on system is 1.2.4-4.1+etch1.
adobe-flashplugin depends on libfreetype6 (>= 2.3.5); however:
Version of libfreetype6 on system is 2.2.1-5+etch3.
adobe-flashplugin depends on libgtk2.0-0 (>= 2.12.0); however:
Version of libgtk2.0-0 on system is 2.8.20-7.
adobe-flashplugin depends on libnss3-1d; however:
Package libnss3-1d is not installed.
adobe-flashplugin depends on libpango1.0-0 (>= 1.20.1); however:
Version of libpango1.0-0 on system is 1.14.8-5.
dpkg: error processing adobe-flashplugin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
IS THIS MEANS I NEED OLDER VERSIONS ??????

Last edited by chrischristian; 01-14-2009 at 11:35 AM.
 
Old 01-14-2009, 12:44 PM   #26
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
whats your source list look like? do cat.like this
strat@razor:~$ cat /etc/apt/sources.list
# Testing
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
#Testing Security updates
deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib

# Multimedia
deb http://www.debian-multimedia.org testing main

# Unstable Sid
#deb http://http.us.debian.org/debian/ unstable main contrib non-free
# Unstable Sources
#deb-src http://http.us.debian.org/debian/ unstable main contrib non-free
 
Old 01-14-2009, 01:19 PM   #27
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
Here is mine

Quote:
christian@christian:~$ cat /etc/apt/sources.list
# deb http://ftp.iitm.ac.in/debian/ etch main

deb http://ftp.iitm.ac.in/debian/ etch main
deb-src http://ftp.iitm.ac.in/debian/ etch main

deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
christian@christian:~$
 
Old 01-14-2009, 01:39 PM   #28
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
well first..see how mine has contrib and non-free add that to yours
its trying to install a version of flash that requires older versions of lib's..so its the adobe-flash that is the problem
first update your list by adding the contrib and non-free entry like mine..then go to this site and add a mirror for etch closest to your location
not sure what part of world you are in..
http://debian-multimedia.org/
you can do this different ways..simplest way is to use either gedit or nano
so from terminal su to get root then nano -w /etc/apt/sources.list
then add it to your list and save it..
then apt-get update
and then try to install adobe-flash
it should grab it from the debian-multimedia repo
 
Old 01-14-2009, 05:02 PM   #29
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
or you could start off with a clean slate by going to debians site and downloading a net install image for i386 and install from there..
http://www.debian.org/devel/debian-installer/
net install disc is about 140 megs
bussiness install is like 40 megs..it downloads everything from net..it only has enough to get system up and connect to net to download everything else
 
Old 01-14-2009, 10:23 PM   #30
chrischristian
Member
 
Registered: Jan 2009
Posts: 45

Original Poster
Rep: Reputation: 16
I have done this

Quote:
# deb http://ftp.iitm.ac.in/debian/ etch main

deb http://ftp.iitm.ac.in/debian/ etch main
deb-src http://ftp.iitm.ac.in/debian/ etch main

deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main

deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib

deb http://www.debian-multimedia.org stable main or
deb ftp://ftp.debian-multimedia.org stable main
And got this .....

Quote:
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing uboot-envtools (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptic Package Manager Error: 'dpkg --configure -a' cerc Linux - Software 4 10-10-2007 07:22 PM
Getting my NIC workin! Configure Driver for Nvida Nforce - hjortur Mandriva 3 10-03-2006 11:53 PM
Synaptic now working in SuSE 10.1 riba43 SUSE / openSUSE 4 08-09-2006 12:14 AM
Synaptic not working slaken Debian 7 05-31-2004 06:13 AM
Synaptic and ./configure questions Sammy Jenkis Linux - Software 2 09-05-2003 11:34 AM


All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration