Hi, The second item below was resolved by adjusting the locale (LC_ALL=en_US).
Best regards, Joe ISN ARCHITECTED INFRASTRUCTURE ISN ARCHITECTED INFRASTRUCTURE ISN ARCHITECTED INFRASTRUCTURE Joe H-Grosse Mobile 2968 1782 Infrastructure Solutions Nordic A/S Lyngbyvej 24, 1. DK-2100 København Ø INCUBA Science Park Katrinebjerg Åbogade 15 DK-8200 Aarhus N [email protected] http://www.isnordic.dk/ Telf. 7026 2500 Fax 3920 3047 This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. -----Original Message----- From: Joe H-Grosse [mailto:[email protected]] Sent: 04 March 2010 02:08 To: '[email protected]' Subject: Help needed building ast on Solaris10 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) */ test -d bin || mkdir bin url=$URL/package (wget -O bin/package $url||curl $url||hurl $url) > bin/package chmod +x bin/package; ./bin/package authorize "I accept www.opensource.org/licenses/cpl" password "." \ setup source $URL INIT; ./bin/package authorize "I accept www.opensource.org/licenses/cpl" password "." \ setup source $URL ast-base; ./bin/package authorize "I accept www.opensource.org/licenses/cpl" password "." \ setup source $URL ast-base-locale; ./bin/package authorize "I accept www.opensource.org/licenses/cpl" password "." \ setup source $URL ast-ast; 2. Built it (well - tried to): # set CC=gcc CPPFLAGS=-I/usr/local/include DISPLAY=localhost:11.0 ERRNO=0 FCEDIT=/bin/ed HOME=/export/home/staff/jhg IFS=' ' LC_COLLATE=da_DK.ISO8859-15 LC_CTYPE=da_DK.ISO8859-15 LC_MESSAGES=C LC_MONETARY=da_DK.ISO8859-15 LC_NUMERIC=da_DK.ISO8859-15 LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.7/lib:/ usr/local/ssl/lib: LINENO=1 LOGNAME=jhg MAIL=/usr/mail/jhg MAILCHECK=600 OPTIND=1 PATH=/usr/local/bin:/usr/ccs/bin:/usr/local/ssl/bin:/usr/local/BerkeleyDB.4. 7/bin:/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/lib PPID=10372 PS1='# ' PS2='> ' PS3='#? ' PS4='+ ' PWD=/export/home/staff/jhg RANDOM=23158 SECONDS=78 SHELL=/bin/ksh SSH_TTY=/dev/pts/2 TERM=vt100 TMOUT=0 TZ=Europe/Copenhagen USER=jhg _=env # ./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: export LD_LIBRARY_PATH=/export/home/staff/jhg/astksh/arch/sol10.i386/lib:${LD_LIBRA RY_PATH}: (delete, re-download and ./bin/package make) 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 /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 36: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 561: use braces to avoid ambiguities with $id[...] /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 580: use braces to avoid ambiguities with $id[...] /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 726: use braces to avoid ambiguities with $id[...] /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 733: use braces to avoid ambiguities with $id[...] /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 739: use braces to avoid ambiguities with $id[...] /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: warning: line 821: use braces to avoid ambiguities with $id[...] /export/home/staff/jhg/astksh/src/cmd/html/mm2bb.sh: w=x*75/2.54 : arithmetic syntax error make [cmd/html]: *** exit code 1 making mm2bb /export/home/staff/jhg/astksh/src/cmd/html/mm2twiki.sh: warning: line 36: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/html/mm2twiki.sh: w=x*75/2.54 : arithmetic syntax error make [cmd/html]: *** exit code 1 making mm2twiki /export/home/staff/jhg/astksh/src/cmd/html/download.sh: warning: line 25: ' quote may be missing make [cmd/html]: *** 3 actions failed make: *** exit code 1 making cmd/html cmd/ksh93: cmd/ksh93/cc-O,-D_BLD_DLL,-fPIC: lib/libmam: cmd/mam: /export/home/staff/jhg/astksh/src/cmd/mam/mamdag.sh: warning: line 25: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/mam/mamdot.sh: warning: line 24: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/mam/mamexec.sh: warning: line 29: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/mam/mamexec.sh: warning: line 182: set - obsolete /export/home/staff/jhg/astksh/src/cmd/mam/mamexec.sh: warning: line 241: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/mam/mamsh.sh: warning: line 25: ' quote may be missing cmd/msgcc: /export/home/staff/jhg/astksh/src/cmd/msgcc/msgadmin.sh: warning: line 26: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/msgcc/msgadmin.sh: warning: line 30: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/msgcc/msgadmin.sh: warning: line 31: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/msgcc/msgcc.sh: warning: line 29: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/msgcc/msgcc.sh: warning: line 33: ' quote may be missing lib/libvdelta: cmd/pax: /export/home/staff/jhg/astksh/src/cmd/pax/delta2patch.sh: warning: line 22: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/pax/rpm2cpio.sh: warning: line 25: ' quote may be missing cmd/paxlib/arj: cmd/paxlib/calib: cmd/paxlib/lha: cmd/paxlib/rar: cmd/paxlib/tp: cmd/paxlib/zip: cmd/paxlib/zoo: cmd/proto: /export/home/staff/jhg/astksh/src/cmd/proto/sear.sh: warning: line 33: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/proto/sear.sh: warning: line 37: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/proto/sear.sh: warning: line 55: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/proto/sear.sh: warning: line 60: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/proto/changes.sh: warning: line 24: ' quote may be missing cpp: "/export/home/staff/jhg/astksh/src/cmd/proto/proto.c", line 284: ppproto.c: cannot find include file cmd/ss: ksh[169]: chgrp: kmem: unknown group cmd/tests: lib/libexpr: conflicts: 3 shift/reduce cmd/tw: /export/home/staff/jhg/astksh/src/cmd/tw/locate.sh: warning: line 25: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/tw/updatedb.sh: warning: line 30: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/tw/updatedb.sh: warning: line 34: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/tw/updatedb.sh: warning: line 46: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/tw/updatedb.sh: warning: line 51: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/tw/updatedb.sh: warning: line 57: ' quote may be missing /export/home/staff/jhg/astksh/src/cmd/tw/updatedb.sh: warning: line 58: ' quote may be missing lib/librecsort: lib: cmd/paxlib: cmd/dsslib: cmd/codexlib: cmd: make: *** 1 action failed package: make done at Thu Mar 4 00:25:51 CET 2010 in /export/home/staff/jhg/astksh/arch/sol10.i386 # # ./bin/package results failed make ==> /export/home/staff/jhg/astksh/arch/sol10.i386/lib/package/gen/make.out <== make [cmd/html]: *** exit code 1 making mm2html make [cmd/html]: *** exit code 1 making mm2bb make [cmd/html]: *** exit code 1 making mm2twiki make [cmd/html]: *** 3 actions failed make: *** exit code 1 making cmd/html make: *** 1 action failed # 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.. Best regards, Joe ISN ARCHITECTED INFRASTRUCTURE ISN ARCHITECTED INFRASTRUCTURE ISN ARCHITECTED INFRASTRUCTURE Joe H-Grosse Mobile 2968 1782 Infrastructure Solutions Nordic A/S Lyngbyvej 24, 1. DK-2100 København Ø INCUBA Science Park Katrinebjerg Åbogade 15 DK-8200 Aarhus N [email protected] http://www.isnordic.dk/ Telf. 7026 2500 Fax 3920 3047 This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
