On Thu, 4 Mar 2010 02:08:19 +0100 Joe H-Grosse wrote: > Hi, > I have been trying to build ast from source today.
> Not sure what Im doing wrong, but I have encountered two groups of > errors when attempting to build from source within a Solaris 10 zone (x86). > The first I have a fix for, the second is a bit baffling, hence this post. > First, this is what I did : > 1. Downloaded the source: > URL=http://www2.research.att.com/sw/download #/* Minor issue here web > page suggests a different URI) */ url mapping http://www.research.att.com/sw/download/ should work if wget chokes then send me debug output offline so I can investigate I work from inside the firewall things working for me may not extrapolate to others > ./bin/package authorize "I accept www.opensource.org/licenses/cpl" password > "." \ > setup source $URL ast-ast; the ast library is part of the ast-base package, so ast-ast is redundant (and hopefully benign) > 2. Built it (well - tried to): > ./bin/package make > This failed badly, seemingly due to the fact that an existing libcmd.so in > /lib was clobbering the newly built one (unresolved symbols). > "Fixed" this by deleting everything, simply setting LD_LIBRARY_PATH to > reference the location (where the library will be built) and re-ran the > download and build again: bin/package should take care of this if you get a chance can you do again (in a different tree so you don't clobber subsequent work) with the original LD_LIBRARY_PATH and send me (not the list) the file named by bin/package results path > This proceeded further but still failed - this time with an arithmetic > syntax error (same one in three different files): > ./bin/package results (excerpt showing failure): > cmd/html: > /export/home/staff/jhg/astksh/src/cmd/html/mm2html.sh: warning: line 48: ' > quote may be missing > /export/home/staff/jhg/astksh/src/cmd/html/mm2html.sh: warning: line 52: ' > quote may be missing > /export/home/staff/jhg/astksh/src/cmd/html/mm2html.sh: warning: line 117: ' > quote may be missing > /export/home/staff/jhg/astksh/src/cmd/html/mm2html.sh: w=x*75/2.54 : > arithmetic syntax error > make [cmd/html]: *** exit code 1 making mm2html can you dig into the file $(bin/package results path) and find the command that produces this error -- it should be ``ksh -n ...'' the rest of the warnings look ok > To conclude, any help will be appreciated....and any insight on why it's > "making" a shell script that is downloaded and seems to be in working order > in the first place... that would be a bonus.. you mean "bin/package" is re-built? its possible that the version of bin/package manually downloaded is older than its src in src/cmd/INIT/package.sh also, this provides a way for us to update your bin/package in the event that you download a new INIT package with a new package.sh _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
