[OpenAFS] Client install of 1.4.0 on sunx86_510

David R Boldt dboldt@usgs.gov
Tue, 14 Feb 2006 17:40:47 -0500


This is a multipart message in MIME format.
--=_alternative 007C941B85257115_=
Content-Type: text/plain; charset="US-ASCII"

> Are you running 64bit? I had the exact same issue that the clever folks 
here 
> fixed in 1.4.1rc?? (I'm running rc3 and it works wonderfully in 64bit 
mode..)

I set off to compile a newer release . . .
alas the configure script did not track the
compiler location.

% CC=/usr/sfw/bin/gcc ./configure 
creating cache ./config.cache
.
.
.
checking whether we are using GNU C... yes
checking whether /usr/sfw/bin/gcc accepts -g... yes
checking how to run the C preprocessor... /usr/sfw/bin/gcc -E
checking for ANSI C header files... yes
.
.
.


% make
mkdir -p /usr/local/src/openafs-1.4.1-rc6/include
mkdir -p /usr/local/src/openafs-1.4.1-rc6/include/afs
mkdir -p /usr/local/src/openafs-1.4.1-rc6/lib
make build
make finale DEST=/usr/local/src/openafs-1.4.1-rc6/sunx86_510/dest 
COMPILE_PART2B=all DESTDIR=
cd src && cd config && make all
rm -f Makefile.version
if      [ -r SRC/../CML/state ] ; \
then    cp ./Makefile.version-CML Makefile.version ; \
else    cp Makefile.version-NOCML Makefile.version ; \
fi
make -f Makefile.version AFS_component_version_number.c
echo 'char cml_version_number[]="@(#) OpenAFS 1.4.1-rc6 built ' `date 
+"%Y-%m-%d"` '";' >AFS_component_version_number.c
echo 'char* AFSVersion = "openafs 1.4.1-rc6"; ' 
>>AFS_component_version_number.c
/opt/SUNWspro/bin/cc  -O -I/usr/local/src/openafs-1.4.1-rc6/include -I. 
-dy -Bdynamic -I. -c ./config.c
sh: /opt/SUNWspro/bin/cc: not found
*** Error code 1
make: Fatal error: Command failed for target `config.o'
Current working directory /usr/local/src/openafs-1.4.1-rc6/src/config
*** Error code 1
make: Fatal error: Command failed for target `config'
Current working directory /usr/local/src/openafs-1.4.1-rc6
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /usr/local/src/openafs-1.4.1-rc6
*** Error code 1
make: Fatal error: Command failed for target `all'


                                          -- David Boldt
                                             <dboldt@usgs.gov>


--=_alternative 007C941B85257115_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2><tt>&gt; Are you running 64bit? I had the exact same issue
that the clever folks here <br>
&gt; fixed in 1.4.1rc?? (I'm running rc3 and it works wonderfully in 64bit
mode..)<br>
</tt></font>
<br><font size=2><tt>I set off to compile a newer release . . .</tt></font>
<br><font size=2><tt>alas the configure script did not track the</tt></font>
<br><font size=2><tt>compiler location.</tt></font>
<br>
<br><font size=2><tt>% CC=/usr/sfw/bin/gcc ./configure &nbsp; &nbsp;</tt></font>
<br><font size=2><tt>creating cache ./config.cache</tt></font>
<br><font size=2><tt>.</tt></font>
<br><font size=2><tt>.</tt></font>
<br><font size=2><tt>.</tt></font>
<br><font size=2><tt>checking whether we are using GNU C... yes</tt></font>
<br><font size=2><tt>checking whether /usr/sfw/bin/gcc accepts -g... yes</tt></font>
<br><font size=2><tt>checking how to run the C preprocessor... /usr/sfw/bin/gcc
-E</tt></font>
<br><font size=2><tt>checking for ANSI C header files... yes</tt></font>
<br><font size=2><tt>.</tt></font>
<br><font size=2><tt>.</tt></font>
<br><font size=2><tt>.</tt></font>
<br>
<br>
<br><font size=2><tt>% make</tt></font>
<br><font size=2><tt>mkdir -p /usr/local/src/openafs-1.4.1-rc6/include</tt></font>
<br><font size=2><tt>mkdir -p /usr/local/src/openafs-1.4.1-rc6/include/afs</tt></font>
<br><font size=2><tt>mkdir -p /usr/local/src/openafs-1.4.1-rc6/lib</tt></font>
<br><font size=2><tt>make build</tt></font>
<br><font size=2><tt>make finale DEST=/usr/local/src/openafs-1.4.1-rc6/sunx86_510/dest
COMPILE_PART2B=all DESTDIR=</tt></font>
<br><font size=2><tt>cd src &amp;&amp; cd config &amp;&amp; make all</tt></font>
<br><font size=2><tt>rm -f Makefile.version</tt></font>
<br><font size=2><tt>if &nbsp; &nbsp; &nbsp;[ -r SRC/../CML/state ] ; \</tt></font>
<br><font size=2><tt>then &nbsp; &nbsp;cp ./Makefile.version-CML Makefile.version
; \</tt></font>
<br><font size=2><tt>else &nbsp; &nbsp;cp Makefile.version-NOCML Makefile.version
; \</tt></font>
<br><font size=2><tt>fi</tt></font>
<br><font size=2><tt>make -f Makefile.version AFS_component_version_number.c</tt></font>
<br><font size=2><tt>echo 'char cml_version_number[]=&quot;@(#) OpenAFS
1.4.1-rc6 built ' `date +&quot;%Y-%m-%d&quot;` '&quot;;' &gt;AFS_component_version_number.c</tt></font>
<br><font size=2><tt>echo 'char* AFSVersion = &quot;openafs 1.4.1-rc6&quot;;
' &gt;&gt;AFS_component_version_number.c</tt></font>
<br><font size=2><tt>/opt/SUNWspro/bin/cc &nbsp;-O -I/usr/local/src/openafs-1.4.1-rc6/include
-I. -dy -Bdynamic -I. -c ./config.c</tt></font>
<br><font size=2><tt>sh: /opt/SUNWspro/bin/cc: not found</tt></font>
<br><font size=2><tt>*** Error code 1</tt></font>
<br><font size=2><tt>make: Fatal error: Command failed for target `config.o'</tt></font>
<br><font size=2><tt>Current working directory /usr/local/src/openafs-1.4.1-rc6/src/config</tt></font>
<br><font size=2><tt>*** Error code 1</tt></font>
<br><font size=2><tt>make: Fatal error: Command failed for target `config'</tt></font>
<br><font size=2><tt>Current working directory /usr/local/src/openafs-1.4.1-rc6</tt></font>
<br><font size=2><tt>*** Error code 1</tt></font>
<br><font size=2><tt>make: Fatal error: Command failed for target `build'</tt></font>
<br><font size=2><tt>Current working directory /usr/local/src/openafs-1.4.1-rc6</tt></font>
<br><font size=2><tt>*** Error code 1</tt></font>
<br><font size=2><tt>make: Fatal error: Command failed for target `all'</tt></font>
<br>
<br><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--
David Boldt<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;dboldt@usgs.gov&gt;<br>
<br>
</font>
--=_alternative 007C941B85257115_=--