Re: Invalid configuration `CXX=g++':

"Stephen" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Hi Mark,

many thanks, I figured that by setting up the environment would work, 
managed to do that, however got stuck on the following:

gcc: libatomic.so: No such file or directory
gmake[3]: *** [libldap60.so] Error 1

I compiled NSS which apparently included NSPR, libatomic.so is part of NSPR, 
eventually i downloaded the following:

ldapcsdk-6.02-SunOS5.10_sparc_OPT

now my ldap routines are working ok, however i do have a problem connecting 
via SSL but i will post seperately,

thanks for your response,

regards

Stephen

"Mark Smith" <[email protected]> wrote in message 
news:[email protected]...
>I think your compilation/link errors are most likely caused by your 
>configure failures.  Please try a command like this instead:
>
> CC=gcc CXX=g++ ./configure
>
> Possibly relevant thread that discusses a similar problem:
>
>   http://svn.haxx.se/dev/archive-2002-07/0210.shtml
>
> -- 
> Mark Smith
> Pearl Crescent
> http://pearlcrescent.com/
>
>
> Stephen wrote:
>> Hi,
>>
>> I am trying to configure and build the following version of the mozilla 
>> ldap c-sdk:
>>
>> mozldap-6.0.5
>>
>> on Solaris:
>>
>> SunOs <hostname> 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V440
>>
>> I have managed to compile without error the NSS with NSPR.
>>
>> *************************************************************************************************
>> First of all when I try to configure the c-sdk with the following 
>> conmmand:
>>
>> ./configure --with-nss=/staffware/installs/mozilla_ldap/nss-3.11.7 
>> CXX=g++
>>
>> i get the following:
>>
>> configure: warning: CXX=g++: invalid host type
>> creating cache ./config.cache
>> checking host system type... Invalid configuration `CXX=g++': machine 
>> `CXX=g++' not recognized
>> checking target system type... Invalid configuration `CXX=g++': machine 
>> `CXX=g++' not recognized
>> checking build system type... Invalid configuration `CXX=g++': machine 
>> `CXX=g++' not recognized
>>
>> this is also true if I do:
>>
>> CC=gcc
>>
>> here is my env snippet:
>> ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.