Failed to install shell script compiler (shc)


 
Thread Tools Search this Thread
Operating Systems HP-UX Failed to install shell script compiler (shc)
# 1  
Old 01-30-2008
Failed to install shell script compiler (shc)

I have install gcc, downloaded shc-3.8.6 and extracted in /install
> cd /install/shc-3.8.6
> export CC=/usr/local/bin/gcc
> make cleanall
> make test
"Makefile" 72 lines, 1526 characters
# make test
/usr/local/bin/gcc -Wall -O6 -pedantic shc.c -o shc
*** Compiling script "match"
CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match
shc shll=sh
shc [-i]=-c
shc [-x]=exec '%s' "$@"
shc [-l]=
shc opts=
shc: /usr/local/bin/gcc -Wall -O6 -pedantic match.x.c -o match.x
match.x.c:111: warning: string length '1042' is greater than the length '509' ISO C90 compilers are required to support
match.x.c: In function 'untraceable':
match.x.c:292: error: too few arguments to function 'ptrace'
./shc: Error 0
*** Error exit code 1

Anyone install shc successfully?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shc compiler issue

I am using the shc shell compiler, it works fine, just that when i execute it, it displays the code at the terminal. Is there any way to hide this as well? otherwise it beats the purpose of hiding the code. Thanks ! (7 Replies)
Discussion started by: ysvsr1
7 Replies

2. OS X (Apple)

How should I install 'make' compiler ?

I need too install GDB in order to debug a program. I need to install GDB through the UNIX command 'make install'. I downloaded a full directory of hundreds of files allowing to get a gdb executable but need a compilation before ... The problem is UNIX can't find 'make' command. I work under... (5 Replies)
Discussion started by: shub22
5 Replies

3. Red Hat

Install cobol compiler

Hi I dont have a cobol compiler in my redhhat linux box, and so I want to install it. When i try the below command sudo apt-get install open-cobol it tells "apt-get : command not found". I tried to find apt-get under my root, could not find it anywhere. Should we install apt-get also?... (4 Replies)
Discussion started by: unx_freak
4 Replies

4. Shell Programming and Scripting

SHC Compiler [ERROR] AIX

Hello there, I’m compiling a shell script under UNIX AIX 5.3 operating system. I’m facing a “glitch” when I tried to run the .x file AIX sent the error message “Killed”. # rpm -qa libgcc-4.2.0-3 libstdc++-4.2.0-3 gcc-4.2.0-3 libstdc++-devel-4.2.0-3 gcc-c++-4.2.0-3 # make *** ... (2 Replies)
Discussion started by: micrinho
2 Replies

5. AIX

install two different compiler version

Hi all. I have a simple question. There's a way to install under AIX system (5.3) two different compiler version, i.e. ibm xlf fortran 11 and 12? Seems that smitty doesn't allows user to change the default installation path; it only allows you to save the replaced files of the superseded... (1 Reply)
Discussion started by: poldo000
1 Replies

6. UNIX for Dummies Questions & Answers

install C compiler without make

Hi all, I dont have much knowledge about linux, but want to learn. I have installed Plop linux(PLoP - Home) on USB Flashdrive. I want to install gcc compiler to it. The installation of C compiler ask for make command, which is not found in the distribution. When I tried to install gnu make,... (4 Replies)
Discussion started by: johnsmithgr8
4 Replies

7. Solaris

Can`t install gcc compiler

Hi, Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues. Now that I have sorted out our root disk space I can`t reinstall the compiler. If I select all the packages off the Development/Languages menu , the install list... (3 Replies)
Discussion started by: markdr011
3 Replies

8. Shell Programming and Scripting

C-shell Script Compiler

I'm new to unix programming. I wanted to know if there's any software to compile C-shell Script. Thanks! (2 Replies)
Discussion started by: ilak1008
2 Replies

9. Shell Programming and Scripting

shc: shell compiler?

Has anyone ever gotten shc compiler program to work. I am trying to encrypt a bash script on centos. When I run the command "shc -f test.sh", the binary actually gets created; however, when I try to run the binary I get the following the error: # ./test.sh.x ./test.sh.x: No such file or... (1 Reply)
Discussion started by: cstovall
1 Replies
Login or Register to Ask a Question
condor_compile(1)					      General Commands Manual						 condor_compile(1)

Name
       condor_compile create - a relinked executable for submission to the Standard Universe

Synopsis
       condor_compile cc | CC | gcc | f77 | g++ | ld | make | ...

Description
       Use  condor_compile to relink a program with the Condor libraries for submission into Condor's Standard Universe. The Condor libraries pro-
       vide the program with additional support, such as the capability to checkpoint, which is required in Condor's  Standard	Universe  mode	of
       operation.  condor_compile  requires  access  to the source or object code of the program to be submitted; if source or object code for the
       program is not available (i.e. only an executable binary, or if it is a shell script),  then  the  program  must  submitted  into  Condor's
       Vanilla	Universe. See the reference page for condor_submitand/or consult the "Condor Users and Administrators Manual" for further informa-
       tion.

       To use condor_compile, simply enter "condor_compile" followed by whatever you would normally enter to compile or link your application. Any
       resulting executables will have the Condor libraries linked in. For example:

	      condor_compile  cc -O -o myprogram.condor file1.c file2.c ...

       will  produce  a  binary "myprogram.condor" which is relinked for Condor, capable of checkpoint/migration/remote-system-calls, and ready to
       submit to the Standard Universe.

       If the Condor administrator has opted to fully install condor_compile, then condor_compilecan be followed by  practically  any  command	or
       program, including make or shell-script programs. For example, the following would all work:

	      condor_compile  make

	      condor_compile  make install

	      condor_compile  f77 -O mysolver.f

	      condor_compile  /bin/csh compile-me-shellscript

       If  the	Condor administrator has opted to only do a partial install of condor_compile, the you are restricted to following condor_compile-
       with one of these programs:

	      cc (the system C compiler)

	      c89 (POSIX compliant C compiler, on some systems)

	      CC (the system C++ compiler)

	      f77 (the system FORTRAN compiler)

	      gcc (the GNU C compiler)

	      g++ (the GNU C++ compiler)

	      g77 (the GNU FORTRAN compiler)

	      ld (the system linker)

       NOTE: If you use explicitly call ``ld'' when you normally create your binary, simply use:

	      condor_compile  ld <ld arguments and options>

       instead.

Exit Status
       condor_compileis a script that executes specified compilers and/or linkers. If an error is encountered before calling these other programs,
       condor_compilewill exit with a status value of 1 (one). Otherwise, the exit status will be that given by the executed program.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright  (C)  1990-2012  Condor  Team,  Computer  Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012						 condor_compile(1)