[CMake] error compiling 2.8.10.1 on SunOS/sparc

Martin Koller martin.koller at etm.at
Wed Dec 5 03:31:44 EST 2012


On Wednesday 05 December 2012 00:11:46 Bill Hoffman wrote:
> On 12/4/2012 5:16 PM, Martin Koller wrote:
> > I'm trying to compile cmake on Solaris 5.10
> > (uname -a: SunOS eisux111 5.10 Generic_144500-19 sun4v sparc SUNW,SPARC-Enterprise-T5120 Solaris)
> > but I get:
> >
> > [  1%] Built target cmIML_test
> > [  4%] Built target cmsys
> > [  4%] Built target cmsysTestDynload
> > Linking C static library libcmsys_c.a
> > Error running link command: No such file or directory
> >
> > bootstrap finds the compiler etc. but there is simply no ar command on that machine,
> > and our complete application is built on that machine without it.
> > What can I do ?
> >
> >
> 
> It might have cc -ar or something like that.  I have seen C++ compilers 
> that can create static libraries on Suns.

Having a closer look into how our software did build up till now without cmake, I found out
that I was missing an entry in my PATH env: /usr/xpg4/bin
This dir holds all the mssing tools and now cmake could compile.

-- 
Best regards/Schöne Grüße

Martin

A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

This mail was not scanned before sending.
It was sent from a secure Linux desktop.


More information about the CMake mailing list