Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: compiling printer driver< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: May 05 2006,09:35 QUOTE

In attempting to compile a printer driver, I'm unable to generate the MAKE file, with an error message about needing a Python Interpreter (after running ./configure --prefix=/usr ).
I loaded Gcc as the compiler, and then attempted to install Python. The Python directory loaded in /opt, so it appears to be installed. Any ideas? Thanks.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: May 05 2006,14:11 QUOTE

jpeters, my guess is that you need to add the python bin directory to your PATH variable.  There are a two way to do this.  The first is to open a shell and type:

export PATH=/opt/python/bin:$PATH

This puts the python/bin directory in your PATH variable which is a list of directories that the system searches in to find a command.  That's your best bet since I'm sure you're running your configure command from an xterminal anyway.  Type the above and then run configure in the same terminal window.

The other way would be to run the command as

/opt/python/bin/python

but you would need to edit the configure to make that work.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: May 05 2006,15:15 QUOTE

Thanks Clacker, that worked. The next error I get is "Checking for usb_init in -lusb...no" "Can't find libusb support."
Any ideas on how to install that?  Thanks
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: May 05 2006,15:48 QUOTE

clacker knows more about this than I do so you might want to wait for his reply.  However, I have gotten this same error when trying to build some product (not sure which now). I googled the source for the library, built and installed the library and that seemed to work for me.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: May 05 2006,16:03 QUOTE

When I try to build something and I get a missing library error, I usually look at the debian package search.  Then when I find the library, I get the package with the -dev on the end because it contains the headers you need.  Ithink you're looking for  "libusb-dev" so load the dsl-dpkg.dsl package and run:

sudo apt-get update
sudo aprt-get install  libusb-dev
Back to top
Profile PM 
18 replies since May 05 2006,09:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: compiling printer driver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code