07-12-2009
newbie - CUPS installation & C compiler
Ok new in here so be gentle:
I'm a programmer with the need to also be a sys admin on a box running:
Quote:
!uname -X
System = SCO_SV
Node = scosysv
Release = 3.2v5.0.5
KernelID = 98/07/02
Machine = i80386
BusType = ISA
Serial = 2GL054643
Users = 30-user
OEM# = 0
Origin# = 1
NumCPU = 1
Client has purchased a Kyocera KM-4035 do it all machine. However, no driver exists for SCO and when I contacted their Kyocera rep he told me to install CUPS. I downloaded CUPS and ran ./configure which displays the following
Quote:
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
I googled some things and it looks like C needs to be on the box.
Now I am at a loss on how to prodeed.
Can anyone provide advice?
10 More Discussions You Might Find Interesting
1. Solaris
Let me start off by saying that I am by no means a unix person. I am tasked to install log4cxx on a brand new machine but it looks like we need the apr, apr-utils, libtool, make, autoconf, automake, and gcc packages just to install log4cxx. Our machine came with no c compiler so I couldn't build... (6 Replies)
Discussion started by: JohnRodey
6 Replies
2. UNIX for Dummies Questions & Answers
I wanna to install a COBOL on the AIX unix server. Would u like to tell me the disk usage of COBOL installation?
Thanks in advance. (2 Replies)
Discussion started by: GCTEII
2 Replies
3. AIX
Hi,
In cups.org, it is said CUPS 1.1.9 adds support for AIX, adds several performance improvements to the scheduler, adds support for the Apache Include directive, adds new HideImplicitMembers and ImplicitAnyClasses directives, stores user-defined options as differences from the system-defined... (3 Replies)
Discussion started by: meeraramanathan
3 Replies
4. HP-UX
Hi,
Can anybody provide me the download link for CUPS on HP-UX 11i?
and point me where i can get thorough help or howtos, certainly detailed, to get cups and hopefully
my printer running?
Thanks in advance. (6 Replies)
Discussion started by: meeraramanathan
6 Replies
5. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
6. Shell Programming and Scripting
Hi,
I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script.
I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies
7. HP-UX
I recently bought myself a HP Visualize c3750 specifically to try out HP-UX (which I have never really used), I got it with a CD set of HP-UX 11 that I boot the machine from to install.
I have no gfx adapter in the machine so I run an IBM InfoWindow II 3153 serial terminal attached to serial 1.... (4 Replies)
Discussion started by: dlundh
4 Replies
8. AIX
Hello,
what is the meaning of:
lparstat -i
Node Name : ****
Partition Name : ****
Partition Number : 1
Type : Shared-SMT
Mode : Capped
Entitled Capacity : 2.00
Partition Group-ID : 32769
Shared Pool ID : 0
Online Virtual CPUs : 4
Maximum Virtual CPUs : 4
Minimum Virtual CPUs :... (5 Replies)
Discussion started by: Talulah
5 Replies
9. Shell Programming and Scripting
Need assistance in getting a GCC compiler on linux server .
I wanted to install GCC compiler under local user . System doesnt have any compiler . Is there a way to get a compiler installed without a root user, cant install using (rpm, yum )
When I try to compile the gcc source i get the... (7 Replies)
Discussion started by: ajayram_arya
7 Replies
10. UNIX and Linux Applications
Hi Team,
I am facing issue while using Xalan & Xerces for my application.
Below are my environment details i am using :-
Platform:- Oracle Linux 6.6
Compiler :- solarisstudio12.3 C++ compiler for Linux
Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.16.3 2010-06-11 SHELL-QUOTE(1)