LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing gutenprint files Help!! (https://www.linuxquestions.org/questions/linux-software-2/installing-gutenprint-files-help-428723/)

sleekmason 03-26-2006 02:24 PM

installing gutenprint files Help!!
 
I am in the process of installing gutenprint 5.0.0-rc2 on my computer(temporarily booted into kde) I did this by opening a terminal window . . . . typing configure . . . .then the program told me to type "make" and then when that was completed to type "make install" . . . ..ok, no problem on the first two . . . does a bunch of scrolling and all, BUT . . . when I type "make install" I get:

mkdir: cannot create directory '/usr/local/include/gutenprint': permission denied
make[3]: *** [install-nodist_pkgincludeHEADERS] Error 1
make[3]: Leaving directory /home/sleekmason/gutenpring-5.0.0-rc2/include/gutenp
rint'
make[2]: *** {INSTALL-AM] Error 2
make[2]: Leaving directory /home/sleekmason/gutenprint-5.0.0-rc2/include/gutenprint'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving dirctory /home/sleekmason/gutenprint-5.0.0-rc2/include',ale: *** [install-recursive] Error 1

So . . .I don't know what to do from here. I right clicked on the file - went to properties - and changed everything I could see on the permissions tab but it did no good. HELP! I am without a printer right now because I cant find a driver for an Epson Stylus cx 4600, and dont really know how to install it if I did. I tried to intall my printer using the utility provided but it doesnt supply my driver. Another person posted that the gutenprint 5.0.0-rc2 file/program worked for him for the same problem, but left no instructions on how to make it work.

I am trying to learn as fast as I can, but yes, I'm new to linux, and really have no clue as to how to get things done. Any help would be appreciated.

geomatt 03-26-2006 02:38 PM

Luckily it's a simple problem. You just need to be root in order to install. So instead of "make install" type
Code:

su -c "make install"
You need the quotes. You will then be prompted for the root password and the install should then work. The issue is that in order to install programs in linux you need to have special permissions. This command enables you to run a single command as root. I have the very same printer working with Slackware...

sleekmason 03-26-2006 02:51 PM

Well, it almost works:) thanks for the info. Its says : su: invalid option --e

So now what?

geomatt 03-26-2006 03:13 PM

sorry, I noticed the mistake and then fixed it -- it should be su -c.

-geo

sleekmason 03-26-2006 03:21 PM

Thank you so much! that worked! unfortunatly I got here not knowing how to proceed from here. Could you tell me what my next step is? or at least where to go from here?

geomatt 03-26-2006 03:43 PM

The next step would be to configure CUPS -- that stands for Common Unix Printer System, and it is the software that uses the gutenprint drivers to run your printer. CUPS can be configured from any web broswer by typing http://localhost:631 in the address bar of your broswer. If cups is installed and running you should get a dialogue box that asks you for an id and password. You'll want to enter "root" for id and whatever your root password is. Once in CUPS you can add your printer -- there's a step by step form to fill out about the name of the printer and drivers and all of that. Most of those should be pretty clear, but some may be confusing, so post any issues you have.

-geo

sleekmason 03-26-2006 06:20 PM

Ok. For the most part I understand everything, and even got my printer to work sort of)( it spits out paper) but there were only 6 or so drivers to choose from, and though I tried them all, I couldn't get my printer to react correctly.

geomatt 03-26-2006 08:02 PM

Gutenprint should have a driver that is specific to the Epson CX4600. Can you be more specific about what you did and what drivers you found? It may be the case that you have to restart CUPS in order to get it to the see the new drivers you installed...

-geo

sleekmason 03-26-2006 08:07 PM

That sounds correct for all ive read. How do you restart cups?

geomatt 03-26-2006 08:17 PM

I'm not sure where things are located on Fedora, but in slackware I just do

Code:

su -c "/etc/rc.d/rc.cups restart"
You'll just have to figure out where rc.cups is and then change accordingly. After you've restarted CUPS try recofiguring the printer. Hopefully you'll find the right driver in there then.

-geo

sleekmason 03-26-2006 08:27 PM

nope it cant find the file . . .how would I go about doing that?

geomatt 03-26-2006 08:39 PM

To find a file use "find"

Code:

find / -name rc.cups
will look through the file system hierarchy starting at the root (highest level) directory and find all files with the name rc.cups

Once you have found it you can send it the restart command by typing /path/to/rc.cups restart (as root).

Forgive my ignorance of fedora, but have a look in the /etc folder in konqueror and see if you can find a directory called rc.d or something like that where you might find rc.cups (just a script that starts the print scheduler at boot)....

-geo

sleekmason 03-26-2006 08:59 PM

ok I found etc/rc.d/init.d/ and then tried adding on rc.cups restart" and such, but I think Im overdoing it what would be the command? I also found just

etc/
and: etc/logrotate.d/
and:etc/pam.d/

could it be one of those? or possibly just deeper in the etc/ file?

geomatt 03-26-2006 09:13 PM

You are just looking for a file called "rc.cups" and it should be located in a subdirectory within the /etc directory. (Note -- if you forget the first "/" you are telling the machine to look within the present directory. putting the "/" first tell whatever program you are using to use an absolute address -- the full path name of the file. If you are in a terminal window typing "pwd" tells you what directory you are in. If you want to do this on the command line only type "cd /etc" to change to the /etc directory (where configuration files and such are stored) and then type "ls" to see what is inside.

-geo

geomatt 03-26-2006 09:27 PM

OK in fedora it looks like you might try looking for a file called "/etc/rc.d/rc.init cups" and if you find it then type
Code:

su -c "/etc/rc.d/rc.init/cups restart"


All times are GMT -5. The time now is 05:25 PM.