Hello, I have managed to setup my Solaris 2.6 box to compile GNU software. I have compiled Make, Autoconf, Bison, M4, Squid, squidGuard with no problems however I have problems compiling rdist ( and am not sure where to fix this problem. I cannot use the rdist that comes with Solaris due to the work that I am doing at my company with Linux servers using rdist that I cannot change. Doing all as root.
Here is some software versions I am using:
GNU Make 3.80
bison (GNU Bison) 1.875
GCC 3.2.3
Some environment variables:
CC=/usr/local/bin/gcc
LD_LIBRARY_PATH=/opt/SUNWspro/SC5.0/lib:/opt/SUNWspro/lib:/usr/local/lib:/usr/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.2.3
PATH=/usr/local/bin:/usr/ccd/bin:/usr/bin:/usr/sbin
Here is the output I get:
Making "all" in "src"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/src'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/src'
bison -y -d gram.y
gram.y:93.22: warning: stray `,' treated as white space
gram.y:94.20: warning: stray `,' treated as white space
gram.y:95.23: warning: stray `,' treated as white space
gram.y:95.31: warning: stray `,' treated as white space
gram.y:95.39: warning: stray `,' treated as white space
gram.y:95.48: warning: stray `,' treated as white space
gram.y:95.57: warning: stray `,' treated as white space
gram.y:95.69: warning: stray `,' treated as white space
gram.y:95.78: warning: stray `,' treated as white space
gram.y:96.23: warning: stray `,' treated as white space
gram.y:96.30: warning: stray `,' treated as white space
gram.y:104.37: syntax error, unexpected "="
gram.y:108.54-55: invalid $ value
gram.y:108.54-55: $4 of `command' has no declared type
gram.y:111.40-41: invalid $ value
gram.y:111.40-41: $5 of `command' has no declared type
gram.y:111.44-45: invalid $ value
gram.y:111.44-45: $6 of `command' has no declared type
gram.y:114.54-55: invalid $ value
gram.y:114.54-55: $4 of `command' has no declared type
gram.y:117.40-41: invalid $ value
gram.y:117.40-41: $5 of `command' has no declared type
gram.y:117.44-45: invalid $ value
gram.y:117.44-45: $6 of `command' has no declared type
gram.y:136.11-14: warning: type clash on default action: <namel> !=
<string>
gram.y:136.16: syntax error, unexpected "="
gram.y:140.30-31: invalid $ value
gram.y:140.30-31: $2 of `nlist' has no declared type
gram.y:147.30: syntax error, unexpected "="
gram.y:161.31: syntax error, unexpected "="
gram.y:172.52: syntax error, unexpected "="
gram.y:222.8: warning: empty rule for typed nonterminal, and no action
gram.y:222.30: syntax error, unexpected "="
gram.y:226.31-32: invalid $ value
gram.y:226.31-32: $2 of `options' has no declared type
gram.y:230.13: warning: empty rule for typed nonterminal, and no action
gram.y:230.30: syntax error, unexpected "="
gram.y:234.30-31: invalid $ value
gram.y:234.30-31: $1 of `opt_namelist' has no declared type
make[2]: *** [gram.c] Error 1
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/src'
Making "all" in "config"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/config'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/config'
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/config'
Making "all" in "doc"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/doc'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/doc'
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/doc'
Making "all" in "support"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/support'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/support'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/support'
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/support'
Making "all" in "mf"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/mf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/mf'
Here is some software versions I am using:
GNU Make 3.80
bison (GNU Bison) 1.875
GCC 3.2.3
Some environment variables:
CC=/usr/local/bin/gcc
LD_LIBRARY_PATH=/opt/SUNWspro/SC5.0/lib:/opt/SUNWspro/lib:/usr/local/lib:/usr/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.2.3
PATH=/usr/local/bin:/usr/ccd/bin:/usr/bin:/usr/sbin
Here is the output I get:
Making "all" in "src"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/src'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/src'
bison -y -d gram.y
gram.y:93.22: warning: stray `,' treated as white space
gram.y:94.20: warning: stray `,' treated as white space
gram.y:95.23: warning: stray `,' treated as white space
gram.y:95.31: warning: stray `,' treated as white space
gram.y:95.39: warning: stray `,' treated as white space
gram.y:95.48: warning: stray `,' treated as white space
gram.y:95.57: warning: stray `,' treated as white space
gram.y:95.69: warning: stray `,' treated as white space
gram.y:95.78: warning: stray `,' treated as white space
gram.y:96.23: warning: stray `,' treated as white space
gram.y:96.30: warning: stray `,' treated as white space
gram.y:104.37: syntax error, unexpected "="
gram.y:108.54-55: invalid $ value
gram.y:108.54-55: $4 of `command' has no declared type
gram.y:111.40-41: invalid $ value
gram.y:111.40-41: $5 of `command' has no declared type
gram.y:111.44-45: invalid $ value
gram.y:111.44-45: $6 of `command' has no declared type
gram.y:114.54-55: invalid $ value
gram.y:114.54-55: $4 of `command' has no declared type
gram.y:117.40-41: invalid $ value
gram.y:117.40-41: $5 of `command' has no declared type
gram.y:117.44-45: invalid $ value
gram.y:117.44-45: $6 of `command' has no declared type
gram.y:136.11-14: warning: type clash on default action: <namel> !=
<string>
gram.y:136.16: syntax error, unexpected "="
gram.y:140.30-31: invalid $ value
gram.y:140.30-31: $2 of `nlist' has no declared type
gram.y:147.30: syntax error, unexpected "="
gram.y:161.31: syntax error, unexpected "="
gram.y:172.52: syntax error, unexpected "="
gram.y:222.8: warning: empty rule for typed nonterminal, and no action
gram.y:222.30: syntax error, unexpected "="
gram.y:226.31-32: invalid $ value
gram.y:226.31-32: $2 of `options' has no declared type
gram.y:230.13: warning: empty rule for typed nonterminal, and no action
gram.y:230.30: syntax error, unexpected "="
gram.y:234.30-31: invalid $ value
gram.y:234.30-31: $1 of `opt_namelist' has no declared type
make[2]: *** [gram.c] Error 1
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/src'
Making "all" in "config"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/config'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/config'
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/config'
Making "all" in "doc"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/doc'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/doc'
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/doc'
Making "all" in "support"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/support'
make[2]: Entering directory `/data/prxmon/rdist-6.1.5/support'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/prxmon/rdist-6.1.5/support'
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/support'
Making "all" in "mf"
make[1]: Entering directory `/data/prxmon/rdist-6.1.5/mf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/data/prxmon/rdist-6.1.5/mf'