Compiling in Unix
Hi all,
I would like to compile a c program in the Unix terminal. I tried cc programname.c but it says cc unknown command. I've compiled things before in a Unix environment, so why doesn;t this work? I'm sure it's something very simple, but all help is welcome!
Thanks in advance!
Benoit
Darn,
I found out that when reinstalling tiger I skipped the Xcode install. It just wasn't there. After installing it, everything works fine...
Thanks for your trouble!
Benoit
Similar Messages
-
File Adapter - WinXP at compile time, Unix at run time
Regarding File Adapter - WinXP at compile time, Unix at run time
I want to specify polling of a directory using Unix type directory notation but this doesn't compile under windows. (I'll read up re. logical directories)
Has anyone done polling of a unix directory using BPEL (but compiled this under windows JDeveloper)?
thanks,
AllanUsing a logical directory should help you with this problem.
-
Stripping CR (^M) character to compile in Unix
I have a large set of fmb files that compile and work in Win2K, I WinZip them and FTP the zip file in binary mode to an Unix server. Unzipped and compile most of the fmb into fmx except for 10 fmb files. They give this error:
error 801 at line 1, column 1
internal error [1401]
Unless the whole procedure is removed it will not compile. We managed to identify the culprit with unix vi editor as ^M being left at the end of each line in the file.
It seems that something went wrong in the Win2K to Unix file transfer. I tried several workarounds without sucess.
While at Unix: convert fmb to fmt files then fmt back to fmb, it will not even open the file.
While at Win2K, convert fmb to fmt, zip, ftp in binary to unix, unzip, convert back fmt to fmb, then compile and the same problem. Also, opened fmt files with TextPad, saved as DOS file, zipped, FTP the zip file (also tried individually), tried to convert fmt to fmb but it would not even open the file.
There are many other fmb files that worked fine but I am stock on these. Search and replace using vi would not be practical.
Does anyone know of a practical way to strip this hidden character on the windows side so that I will not go through this in the next release ?
Or, at this point I take a workaround so that I may deliver.
Thank you.
Pedro GarzaHi Nutan,
It seems UNIX treats the end of line differently than other operating systems.
One way could be removing the ^M in the file before PI processes.
a suggested way it here
http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/
Regards,
Srinivas -
Hi,
i am totally new in this form technology .
i jst want to knw how to compile form on Unix and window cmd prompt
plz help mesagar.palve wrote:
Forms [32 Bit] Version 10.1.2.0.2 (Production)Try this ...
make a batch file with the following code. May use the full path* of frmcmp.exe.
copy this bath file where the .fmb located. For example in a folder.
run it
Echo compiling Forms....
for %%f IN (*.fmb) do frmcmp.exe userid=user_name/password@ait module=%%f batch=yes
module_type=form compile_all=yes window_state=minimize
ECHO FINISHED COMPILING Hope this will help you
If someone's response is helpful or correct, please mark it accordingly. -
Difference in java compilation in unix and windows
Please tell me whether we should take some steps before compiling a file in unix which is created in windows
Make sure you tell the javac compiler the character encoding used in Windows when generating the source file. See javac -helpEdited by: sabre150 on Oct 27, 2008 5:57 PM
-
Problem while Pro*C compilation on Unix after 10g database migration.
I am getting the following error while compiling Pro*C code after 10g Database migration,
ld: 0706-006 Cannot find or open library file: -l trace10
ld:open(): A file or directory in the path name does not exist.
I am using a Makefile for compilation and this makes direct reference to library -ltrace10
The $LIBPATH value is : /oracle/app/oracle/product/10.2.0/ora10gdb/lib:/usr/lib:/lib
Please guide.
Thanks in advance
KaustubhI am getting the following error while compiling Pro*C code after 10g Database migration,
ld: 0706-006 Cannot find or open library file: -l trace10
ld:open(): A file or directory in the path name does not exist.
I am using a Makefile for compilation and this makes direct reference to library -ltrace10
The $LIBPATH value is : /oracle/app/oracle/product/10.2.0/ora10gdb/lib:/usr/lib:/lib
Please guide.
Thanks in advance
Kaustubh -
Getting java code to compile on unix/linux
I have been using borland JBuilder to run and compile my java code. Recently i tried moving the code to a linux machine in which i have downloaded the JDK to. My classes only use standard java classes with the exception of a jbcl.jar file which has a class that one of my classes relies on. It turns out when i try to run my class i get error messages because it cant find the jar file. Where should I put this jar file? by the way in my class i use the statement: where jbcl.layout is the class i need.
import jbcl.layout.*;another question. In my class I use the statement
import jbcl.layout.*;
so all i need to do is add the jbcl.jar to my class
path? is my import statement correctIf it compiles in your IDE, then it's correct. You shouldn't have to change anything at all in your source code to use a different compiler or to compile on a different platform. You just have set up the proper environment and parameters--tell it which .java files to compile, which jars or directories to search for classes in (classpath), etc. For IDEs you do that with the Preferences or Options menu item. For command line compilation you do this with command line arguments, config files (a la build.xml for ant), or environment variables (although relying on the CLASSPATH env var is generally a bad idea). -
Java batch compile on UNIX errorlevel checking
What would the unix equivalent of the ERRORLEVEL checking in this DOS batch command be?
javac -g -d %CLASS_HOME% -classpath %MY_CP% com/abc/def/*.java
IF %ERRORLEVEL% GEQ 1 GOTO ERROREXIT
I kind of know my way around unix but I've never had to do this in a batch shell script before. (I'm not certain what flavor of unix we're using since it's HP NonStop/Himalaya.)
Thanks from idlewildjavac -g -d $CLASS_HOME -classpath $MY_CP com/abc/def/*.java
if test $? -eq 0
then
echo it was okay
else
echo oops... something went wrong
exit 1
fi -
PLL to PLX Compilation on Unix 9iAS
I have a PLL file, which contains PL/SQL code that I edited, that I need to convert to PLX file. But every time I try to compile the file, I get:
PDE-PLI038 cannot open file for use as a PL/SQL library.
I am not quite sure what to make of this error. There doesn't seem to be much information about on the Web. Could someone please advise?You should be editing an .PLL with Forms Builder. .PLL files are a binary file, not a text file. Forms Builder will let you edit the pl/sql.
You can edit a .PLD (pld is a text version of a pll) with a text editor, but it is not recommended and you can mess up the formatting. -
Where could I find a C Compiler for UNIX
Could someone recommend a website for a C compiler ? (Possibly freeware)
Thanks
MacBook 1.1 Mac OS X (10.4.8)
MacBook 1.1 Mac OS X (10.4.8)Thanks. ( Before I placed the question on this DIscussion page, I called Apple Technical Support.They told me that they couldn't recommend compilers.They never mentioned that the compiler was on the installation disc!
Well, thanks a lot! The compiler works well.
MacBook 1.1 Mac OS X (10.4.8)
MacBook 1.1 Mac OS X (10.4.8) -
Unable to compile in unix sun solaris 8
hi,
I am also facing same issue. I have installed latest version of JRE (6u7) in Sun solaris 8 x64 bit (SPARK Processor). when I try to see java version (./java -version). it gives following error.
ld.so.1: ./java: fatal: libjli.so: open failed: No such file or directory Killed
thanks in advance
Edited by: sabarishrl on Oct 16, 2008 1:55 PMreinstall jdk, issue solved.
-
Compiling reports6i on Windows and Unix
Hi Friends,
I'm compiling reports6i on windows by opening the browser window online. But to my confusion when I run and save the report program, I only see the .rdf extension of the file. I just thought the executable version is .rep , so I thought I will see also this file type. My question is can the report program run without the .rep extension file?
ThanksThanks Hussein,
But I got this script from metalink > How to compile reports on windows and unix in batch mode:
For Windows Reports 6i
===============
REM WINDOWS COMPILE REPORT
::compile_report.bat
cls
Echo compiling Report .....
for %%f IN (*.rdf) do RWCON60 userid=scott/tiger@v817 batch=yes source=%%f
stype=rdffile DTYPE=REPFILE OVERWRITE=yes logfile=log.txt
ECHO FINISHED COMPILING
For Unix Reports 6i
============
#UNIX COMPILE REPORTS
#compile_rep.sh
for i in `ls *.rdf`
do
echo Compiling Report $i ...
rwcon60 userid=scott/tiger@bs817 batch=yes source=$i stype=rdffile
dtype=repfile overwrite=yes compile_all=yes
done
=======
I'm only concern with the unix output....is it ok if I have both file extensions? (.rdf and .rep)
Another concern is are the program name case-sensitive? I know unix is case-sensitive unlike windows.
So if I have a program name APXDCDFO.RDF , is it the same with
APXDCDFO.rdf or
apxdcdfo.RDF or
apxdcdfo.rdf
Thanks a lot -
Error in Compiling a form on Unix.
I not getting changes made to an existing form to compile in Unix. I have tried using the command line as well as compiling in Forms Builder.
Please help.
Thanks.Instead of calling the command from the windows shell command interface, I was able to call the compilier from Data Services; this problem is now resolved.
-
Dear all,
We are in the process of migrating windows forms application to solaris
On compiling, the forms using f90genm in solaris, it is failing as the dependent objects (they are case in sensitive in windows) .where as when compiling in UNIX, we need to change the forms coding in order to change the object name ?.
is there any way to overcome this ?
KaiKai,
You do not need to change the code as it does not matter if it is case sensitive or not when it comes to the objects.
In 11i use f60gen to generate the forms, and in R12 it is frmcmp or frmcmp_batch.
Regards,
Hussein -
Forms 9i - Compilation on Linux - property class,VA from base form
Hi all,
We have got around 400 forms converted from forms 6i to forms 9i.
We have subclassed property classes and visual attributes to most of the forms from the base form (say std.fmb).
Now , we need them to be compiled on Unix / Linux for the first time.
While compiling, we get message "FRM-18108: Failed to load the following objects." but the .fmx file is created.
We understand that this is due to the reference of the source form as STD and not as std. How to correct this problem but without renaming the form std to STD or having one more copy of that as STD.fmb.
Please suggestHugo,
the Forms module can be compiled without having to compile oracle.forms.demos.ProgressBarPJC. Just have the implementation class reference in teh Forms module and use the same jar file.
Frank
Maybe you are looking for
-
How to register custom FacesPageLifecycle?
Hi, In 10G, to customize the way errors are presented to the users I was extending ADFPhaseListener to provide my custom FacesPageLifecycle. However, in 11G ADFPhaseListener is marked as deprecated saying that to customize the lifecycle I must regist
-
Problem combining PDFs in Acrobat 9.1
Folks, I'd appreciate some help with the following problem. Maybe I'm simply being a nong -- always possile -- if so, please be gentle with me! I have a document that was saved with each page as a separate PDF, and I need to combine them into one --
-
I am assuming that the best way to do this is to make my current program, the one I want to convert to an executable, a sub vi, and create a new program that places the vi in some kind of loop started by a start button or something. But isn't that ju
-
Display a table vertically in APEX
Hi Everybody, I am a developer and new to Oracle APEX. I have the below requirement. Anybody can Please help me asap? I want to display a table vertically in my page. But Whatever i try, the table displays Horizantal only. My requirements in pictoria
-
I used to get the message that the printer was offline, I have fixed that now I get the message that the printer is not responding???