LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problems installing cups (https://www.linuxquestions.org/questions/slackware-14/problems-installing-cups-144008/)

kudos 02-09-2004 06:51 AM

problems installing cups
 
HI

i am using slackware 9.1
i downloaded cups cups-1.1.16-source.tar.gz

went to install it
./configure ran fine no errors

when i run make i get these errors
Code:

In file included from SFont.cxx:14:
SFont.h:18:22: X11/Xlib.h: No such file or directory
SFont.h:19:23: X11/Xutil.h: No such file or directory
In file included from SFont.cxx:14:
SFont.h:30: syntax error before `*' token
SFont.h:69: syntax error before `*' token
SFont.h:70: syntax error before `*' token
SFont.h:72: 'Colormap' is used as a type, but is not defined as a type.
SFont.h:126: `Drawable' was not declared in this scope
SFont.h:126: syntax error before `,' token
SFont.cxx:18: syntax error before `*' token
SFont.cxx:21: ISO C++ forbids declaration of `visual' with no type
SFont.cxx:21: `visualA' was not declared in this scope
SFont.cxx:22: ISO C++ forbids declaration of `depth' with no type
SFont.cxx:22: `depthA' was not declared in this scope
SFont.cxx:23: ISO C++ forbids declaration of `colormap' with no type
SFont.cxx:23: `colormapA' was not declared in this scope
SFont.cxx:24: syntax error before `}' token
SFont.cxx:64: cannot declare member function `SFontFile::SFontFile' within `
  SFontEngine'
SFont.cxx:64: syntax error before `{' token
SFont.cxx:67: cannot declare member function `SFontFile::SFontFile' within `
  SFontEngine'
SFont.cxx:67: syntax error before `{' token
SFont.cxx:72: cannot declare member function `SFont::SFont' within `SFontEngine
  '
SFont.cxx:72: syntax error before `{' token
SFont.cxx:75: cannot declare member function `SFont::SFont' within `SFontEngine
  '
SFont.cxx:75: syntax error before `{' token
SFont.cxx:78: cannot declare member function `SFont::getCharPath' within `
  SFontEngine'
SFont.cxx:78: syntax error before `{' token
make[1]: *** [SFont.o] Error 1
make: *** [all] Error 1

SFont.h:18:22: X11/Xlib.h: No such file or directory
am i right inthinking that is to do with X as i dont have X installed as its a server and i just want my printer on my samba server!

does any one know how i can fix this?

thanks for help
kudos

320mb 02-09-2004 07:08 AM

Slackware 9.1 already comes with cups........it's in the 'A' directory on the CD........and is a newer version........cups-1.1.19-i486-3.tgz

why did you download this version.......??
all you had to do was run it like this on the CLI......installpkg cups-1.1.19-i486-3.tgz
and boom, its installed for you.........


All times are GMT -5. The time now is 06:17 AM.