It looks just what you said: a problem with gcc. I create the file:
And then I compile it with the instruction given:
I don't know anything about gcc or compile nothing (many years had passed from the university...) but the error shows missing files. I tried to find it, but the aren't in any FS of the server:
Where should it be? I do not install the server, so I don't know anything about the packages or anything... Must I install anything on it?
Thanks, again, for the help!
Best regards...
Moderator's Comments:
Please use [CODE][/CODE] tags for listings and terminal output
---------- Post updated at 01:06 PM ---------- Previous update was at 10:02 AM ----------
Sorry for the unused tags CODE :-S
I've been searching more ... I don't knew "yast" to install software, so I try it:
Remember I do NOT install the server, so I don't know what are really installed on it.
Anyway, looking in yast -> Software -> Software Management -> Shearch -> gcc I see this:
So, I understand that GCC isn't really installed in the server, rigth? I try to install it (tells me something about some necesary changes in the package versions) but finally it said I must insert the 'SUSE Linux Enterprise Server 10 SP2 CD 1' and the 'SUSE Linux Enterprise Server 10 SP2 CD 2' to install it.
I do NOT have it, I just want to install it from the network, from any software repository over the internet (opensuse.org or elsewhere)...
Your on the the right track, I know if you download the SUSE 64 bit RPMs of gcc you can right click and install with Yast but this won't sort out and fetch the dependancies for you.
I've never used SUSE Linux, so can't help with configuring the network install of Yast. You are probably best off starting a new thread in the Linux Forum, the gurus over there will get this sorted for you much quicker.
I have used shc utillity to convert a shell script to it's compiled version.Inside this script i have called another shell script which is also in compled version.
Example:-
Main script:- main.sh.x
child script:- child.sh.x (this is called inside main.sh.x)
This child script will run in... (2 Replies)
Hello,
I would like to use shc on SUN 5.10 SPARC and HP UX Itanium 11.31 so that I could do some encrypting on my shell scripts.
But on these machines I don"t have cc or gcc.
I find a man who can download shc.c and send me the binary files.
You can download it here :
www datsi fi upm es... (3 Replies)
Hello, I have some shellscripts internal company more by the need to conceal the code to protect passwords and others, we are using the SHC.
the shellscripts always worked without error, including cron.
after the SHC, if I run manually (. / shellscript) it works
if I put the same command... (3 Replies)
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)
I have two scripts test1.sh and test2.sh. test1.sh is calling test2.sh.
test2.sh is having some functions and password which we are using in test1.sh
test1.sh
#!/bin/sh
. test2.sh
echo "$test"test2.sh
#!/bin/sh
test=pravinO/P
pravin
Now use shc to protect my test2.sh and i modified... (5 Replies)
Hi all,
I'm trying to install shc on my clean solaris 10 so that I could do some encrypting on my shell scripts.
I've tried several ways but it gave me these error messages
# make
cc -Wall -O6 shc.c -o shc
cc: illegal option -Wall
*** Error code 1
make: Fatal error: Command failed... (6 Replies)
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)
I have written a shell script called square, which prints the square of the input number, eg.
> square 4
16
There is a program called shc which compiles the shell scirpt and create a executable file and a c library file, namely square.x and square.x.c repectively.
If I would like to... (1 Reply)
I have written a shell script called square, which prints the square of the input number, eg.
> square 4
16
There is a program called shc which compiles the shell scirpt and create a executable file and a c library file, namely square.x and square.x.c repectively.
If I would like to... (0 Replies)
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)