Samba Install Difficulties w/Mandrake 7.2

Samba Install Difficulties w/Mandrake 7.2

Post by Johnny O'Neil » Mon, 26 Feb 2001 04:42:27



I am new to the linux world but for the most part can find all the
information I need to configure my box the way I want it except for this
one problem.  I downloaded the latest Samba Tarball 2.0.7 and every time I
attempt to install it I (i.e. make the binary files via the make command) I
encounter the following error:

Compiling printing/print_cups.c
printing_cups.c:25: cups/cups.h: No such file or directory
printing_cups.c:26: cups/language.h: No such file or directory
make : *** [printing/print_cups.o] Error 1

At that point the install stops.  If I try to make the binaries by using
make -k (which ignores errors) it will finish compiling and then when I use
make install -k (again ignoring errors) it appears as though nmbd and smbd
directory and files are created (no errors with this process) but they are
not in the default directory nor can I find them by searching the HD.

I have plenty of free space available on my hard drive and am trying to run
the install logged in as root.  I know that the cups packages have to do
with the printer and I have uninstalled and reinstalled all instances I can
find using RPM drake.  I am completely at a loss.  Nothing I can find on
www.samba.org mentions this problem.  HELP.

 
 
 

Samba Install Difficulties w/Mandrake 7.2

Post by don.. » Mon, 26 Feb 2001 07:06:34


I've had better success with the rpms of samba-common & samba-client.
Try uninstalling that way, but be sure that you have cups-1.1.4-3mdk
installed beforehand.

donr


> I am new to the linux world but for the most part can find all the
> information I need to configure my box the way I want it except for this
> one problem.  I downloaded the latest Samba Tarball 2.0.7 and every time I
> attempt to install it I (i.e. make the binary files via the make command) I
> encounter the following error:

> Compiling printing/print_cups.c
> printing_cups.c:25: cups/cups.h: No such file or directory
> printing_cups.c:26: cups/language.h: No such file or directory
> make : *** [printing/print_cups.o] Error 1

> At that point the install stops.  If I try to make the binaries by using
> make -k (which ignores errors) it will finish compiling and then when I use
> make install -k (again ignoring errors) it appears as though nmbd and smbd
> directory and files are created (no errors with this process) but they are
> not in the default directory nor can I find them by searching the HD.

> I have plenty of free space available on my hard drive and am trying to run
> the install logged in as root.  I know that the cups packages have to do
> with the printer and I have uninstalled and reinstalled all instances I can
> find using RPM drake.  I am completely at a loss.  Nothing I can find on
> www.samba.org mentions this problem.  HELP.

--
http://www.donour.com

 
 
 

1. samba, mandrake 7.2 and cups, or, samba follies

Hi all.  I've got samba up and running on a mandrake 7.2 box.  Details:

networking setup is peer-to-peer

workstation:  Mandrake 7.2, cups 1.1.7, samba 2.0.9

remote:  laptop running windowsMe 8-<

Printer:  HP dj820Cse winprinter
Printer works fine, well, acceptably well in linux via cups, using
foomatic+pnm2ppa drivers, using the lp printer que setup in printdrake

Printing from the remote using the windows printer drivers

Samba runs on boot

When browsing for printers from the remote via network places I can see
only a printer called "printers".  I cannot print to this printer.  

However, when I restart samba, what do I see?  I can "see" printer "lp"
in the network places, in addition to "printers".  If I point the laptop
to that printer (\\workstation\lp) instead of "printers"
(\\workstation\printers)  I can now print to my hearts delight.  

BUT this printer "goes away" when I reboot.  The only way to get it back
is to execute "samba restart".

Here is the printer section from /etc/smb.conf:

# NOTE: If you have a CUPS print system there is no need to
# specifically define each individual printer.
# You must configure the samba printers as "Generic PostScript Printer"
# on your Windows clients.
# If you wish to configure the printers directly on the Windows clients
# (i.e. use the windows drivers on the clients) you must swap the
# 'print command' line below with the commented one.
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
# to allow user 'guest account' to print.
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
# =====================================
# print command: see above for details.
# =====================================
   print command = lpr-cups -P %p -o raw %s # using client side printer
drivers.;   print command = lpr-cups -P %p %s # using cups own drivers
(use generic PostScript on clients).
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j

(yes the cups driver line is commented out)

let me know what you think.

--karl

2. http redirect! slightly off-topic!

3. Problem with samba printer in Mandrake 7.2

4. Cannot compile RPC program on Linux (included files)

5. Settin up Samba on Mandrake 7.2

6. Strange messages with 2.4.16

7. Mandrake 7.2, CUPS and Samba

8. Real good debugger

9. problems with samba and routing under mandrake 7.2

10. Mandrake 7.2 & Samba

11. Mandrake 7.1 vs Mandrake 7.2 ?

12. Mandrake 7.2 error (new install)