Building Erlang and rc?

Klacke klacke@REDACTED
Tue Sep 28 11:44:50 CEST 1999



justint writes:
 > So Im trying to build erlang on a sun running solaris 7...
 >     I run the configure, no errors and then all I get is this error (so
 > what is this rc stuff anyway)?
 > any idea would rock... err please respond via mail and messages board,
 > thanks
 >                                                                 Justin
 > 
 > bash-2.03# make
 > cd erts/system && ERL_TOP=/temp/erlang-47.4.1 make EMULATOR=jam opt
 > make[1]: Entering directory `/temp/erlang-47.4.1/erts/system'
 > make[2]: Entering directory
 > `/temp/erlang-47.4.1/erts/system/emulator/zlib'
 > make -f sparc-sun-solaris2.7/Makefile TYPE=opt
 > make[3]: Entering directory
 > `/temp/erlang-47.4.1/erts/system/emulator/zlib'
 > rc /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/libz.a
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/adler32.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/compress.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/crc32.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/uncompr.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/deflate.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/trees.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/zutil.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/inflate.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/infblock.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/inftrees.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/infcodes.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/infutil.o
 > /temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/inffast.o
 > make[3]: rc: Command not found
 > make[3]: *** [/temp/erlang-47.4.1/erts/obj/sparc-sun-solaris2.7/libz.a]
 > Error 127
 > make[3]: Leaving directory
 > `/temp/erlang-47.4.1/erts/system/emulator/zlib'
 > make[2]: *** [opt] Error 2
 > make[2]: Leaving directory
 > `/temp/erlang-47.4.1/erts/system/emulator/zlib'
 > make[1]: *** [opt] Error 2
 > make[1]: Leaving directory `/temp/erlang-47.4.1/erts/system'
 > make: *** [emulator] Error 2
 > 



Weird stuff, The 'rc' however are flags to the 'ar' command which
is supposed to run here. I.e:
ar rc  /.../libz.a All the dot.o files

Looks like some kind of configure error. 

Hmmmm .... I just talked to some of the other bluetail guys here
who built erlang 47.4.1 on solaris 2.7 a couple of months ago
and they said something about adding /usr/ccs/bin to the path.
(We don't have solaris 2.7 here any longer so I can't try it out)

Try that.


----   diversion ----
By the way, what about the version numbering on Solaris ...
gets me pretty confused, solaris 7.0, 5.7 and 2.7 are all the
same or what ???
----------------------


Cheers

/klacke

Claes Wikström                          Tel: +46 (0)8 692 22 09
Bluetail AB                             Email: klacke@REDACTED
Hantverkargatan 78                      WWW: http://www.bluetail.com
SE-112 38 Stockholm, SWEDEN





More information about the erlang-questions mailing list