Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  Building Erlang and rc?

justint at automallusa.co
Posted: Tue Sep 28, 1999 3:07 am Reply with quote
Guest
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




Post generated using Mail2Forum (http://m2f.sourceforge.net)
klacke at bluetail.com
Posted: Tue Sep 28, 1999 9:45 am Reply with quote
Guest
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
per at erix.ericsson.se
Posted: Tue Sep 28, 1999 10:31 am Reply with quote
Guest
>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)

Oh yes, you need to have /usr/ccs/bin in your $PATH to build pretty much
anything on Solaris - regardless of version. That's where not just 'ar',
but also 'as', 'ld', and various of other developer stuff traditionally
lives on Solaris.

>---- 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 ???
>----------------------

---- more diversion:-) ------
Actually none of those are (politically:-) correct Solaris version
numbers, the proper one is '7', which includes *SunOS* 5.7, CDE x.y, and
some other stuff. According to the tradition (Solaris 2.x includes
SunOS 5.x) it ought to have been Solaris 2.7, but they made a last-
minute decision to change it (and missed a couple of places, such as the
CD:-) - I guess someone decided that it was a more "impressive" number
or something. Next version will be Solaris 8, with SunOS 5.8 (currently
in late beta)... But who are we to talk, going from 4.7.3 to 47.4.0.:-)

--Per Hedeland
per_at_erix.ericsson.se



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum