Compiling for Solaris
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: <jo...@sy...> - 1997-06-25 19:28:33
|
I am new to the integration process for compiling modules in a large environment. I would like a few pointers that will help me configure my environmet so that i can install and integrate the modules application. I am not new to the implementation and use of modules and modulefiles. In particular i am compiling for Solaris 5.5.1 I am looking for some information about : What are the dependencies that modules requires for installation ? What are the environment variables including PATH that need to be set ? What are the dependencies for cc vs gcc ? Is there documentation for this somewhere ? The most recent error is: > make gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Avail.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Clear.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Display.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Help.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Init.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_List.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Load.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Purge.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Switch.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Update.c gcc -c -I.. -I. -I./tcl/include -O2 ModuleCmd_Use.c gcc -c -I.. -I. -I./tcl/include -O2 cmdAlias.c gcc -c -I.. -I. -I./tcl/include -O2 cmdConflict.c gcc -c -I.. -I. -I./tcl/include -O2 cmdInfo.c gcc -c -I.. -I. -I./tcl/include -O2 cmdMisc.c gcc -c -I.. -I. -I./tcl/include -O2 cmdModule.c gcc -c -I.. -I. -I./tcl/include -O2 cmdPath.c gcc -c -I.. -I. -I./tcl/include -O2 cmdSetenv.c gcc -c -I.. -I. -I./tcl/include -O2 cmdUname.c gcc -c -I.. -I. -I./tcl/include -O2 cmdXResource.c gcc -c -I.. -I. -I./tcl/include -O2 init.c gcc -c -I.. -I. -I./tcl/include -O2 locate_module.c gcc -c -I.. -I. -I./tcl/include -O2 utility.c gcc -c -I.. -I. -I./tcl/include -O2 main.c gcc -o modulecmd -L./tcl/lib -R./tcl/lib -O2 ModuleCmd_Avail.o ModuleCmd_Clear.o ModuleCmd_Display.o ModuleCmd_Help.o ModuleCmd_Init.o ModuleCmd_List.o ModuleCmd_Load.o ModuleCmd_Purge.o ModuleCmd_Switch.o ModuleCmd_Update.o ModuleCmd_Use.o cmdAlias.o cmdConflict.o cmdInfo.o cmdMisc.o cmdModule.o cmdPath.o cmdSetenv.o cmdUname.o cmdXResource.o init.o locate_module.o utility.o main.o -ltcl -lm ld: fatal: file ./tcl/lib/libtcl.a: unknown type, unable to process using elf(3E) libraries ld: fatal: library -ltcl: not found ld: fatal: File processing errors. No output written to modulecmd *** Error code 1 make: Fatal error: Command failed for target `modulecmd' > Any help would be greatly appreciated. Thanks, John |