Amber 6.0 build under Solaris 2.6

From: Thomas A. Spraggins <tas_at_holmes.acc.virginia.edu>
Date: Wed 23 Feb 2000 13:31:28 -0500 (EST)

In case someone has already invented this wheel:

I'm trying to build Amber 6.0 under Solaris 6.0. I changed the
Machine.sparc file to reflect cpp being in /usr/ccs/lib and added
/opt/SUNWspro/bin to my PATH, but I still get the following:

-----------------------------------

<snip>
LD_RUN_PATH=/usr/openwin/lib cc -o xaLeap -g -DMEMORY_DEBUG=0 -I..
  -w -Bstatic -DSYSV -DSRV4 basics.o sysdepend.o stringExtra.o
  varArray.o getline.o avl.o pdb_format.o pdb_read.o pdb_sprntf.o
  pdb_sscanf.o pdb_write.o vector.o zMatrix.o sort.o bag.o hash.o
  dictionary.o database.o nVector.o ring.o matrix.o fortran.o displayer.o
  assoc.o atom.o byteArray.o collection.o container.o internal.o list.o
  loop.o molecule.o oDouble.o oInteger.o oString.o objekt.o parmSet.o
  residue.o unit.o unitio.o graphUtil.o select.o amber.o build.o
  elements.o library.o chirality.o minimizer.o model.o parmLib.o pdbFile.o
  tools.o variables.o parser.o help.o helptext.o octree.o commands.o
  mathop.o block.o restraint.o hybrid.o xTank.o xAction.o x3d.o xBasics.o
  xaLeapc.o xaUnitEditor.o xaTable.o xaAtomTable.o XrawRegistr.o
  xaCommand.o xaTools.o xaAtomParmTable.o xaBondParmTable.o
  xaAngleParmTable.o xaParmEditor.o xaTorsionParmTable.o
  xaImproperParmTable.o xaHBondParmTable.o -L../Wc -lWcLeap -L../Xpm
  -lXpmLeap -L../Xraw -lXrawLeap -L/usr/openwin/lib -lXmu -lm -lXt -lSM
  -lICE -lX11 -lXext -lsocket -lnsl -lintl -lw -lm -lc
  /usr/ucblib/libucb.a -Bdynamic -R/etc/lib -Wl,-I/etc/lib/ld.so.1 -ldl
  -Bstatic
ld: fatal: library -lSM: not found
ld: fatal: library -lICE: not found
ld: fatal: File processing errors. No output written to xaLeap
*** Error code 1
make: Fatal error: Command failed for target `xaLeap'
Current working directory /common/amber6/sun/amber6/src/leap/src/leap
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /common/amber6/sun/amber6/src/leap
*** Error code 1
make: Fatal error: Command failed for target `World'
Current working directory /common/amber6/sun/amber6/src/leap
*** Error code 1
make: Fatal error: Command failed for target `install'

----------------------------------

In /usr/lib there are shared objects for SM and ICE, but no .a files. I'm
a bit lost with all the -Bstatic and -Bdynamic flags. What can I modify
to have the .so files used in the absence of .a libraries? (Or are there
supoosed to be .a libs that I'm missing?)

Thanks in advance.

Tom Spraggins
tas_at_virginia.edu
Received on Wed Feb 23 2000 - 10:31:28 PST
Custom Search