Cannot build LDAP C SDK on Solaris with gcc

RESOLVED FIXED

Status

Directory
LDAP C SDK
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: Rich Megginson, Assigned: Rich Megginson)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2

There are a couple of problems.  NSPR/NSS use _gcc in the OBJDIR name which
causes those files not to be found when using the "external" build method (i.e.
configure --with-nss then build).  In addition, for 64 bit platforms, the -m64
flag needs to be passed to the compiler.

Reproducible: Always
(Assignee)

Comment 1

12 years ago
Created attachment 182696 [details]
Allow use of gcc on Solaris

This is the minimal work required to make it work at all.  Note that you have
to pass in CC=gcc CXX=g++ CCC=g++ to the configure command environment in order
for the build to use gcc, and you have to define NS_USE_GCC=1 in the gmake
command.
(Assignee)

Comment 2

12 years ago
Created attachment 182711 [details]
clean up of previous diff
Attachment #182696 - Attachment is obsolete: true
(Assignee)

Updated

12 years ago
Assignee: mcs → richm
(Assignee)

Comment 3

12 years ago
Checking in mozilla/directory/c-sdk/build.mk;
/cvsroot/mozilla/directory/c-sdk/build.mk,v  <--  build.mk
new revision: 5.17; previous revision: 5.16
done
Checking in mozilla/directory/c-sdk/configure;
/cvsroot/mozilla/directory/c-sdk/configure,v  <--  configure
new revision: 5.26; previous revision: 5.25
done
Checking in mozilla/directory/c-sdk/configure.in;
/cvsroot/mozilla/directory/c-sdk/configure.in,v  <--  configure.in
new revision: 5.27; previous revision: 5.26
done
Checking in mozilla/directory/c-sdk/config/SunOS5.mk;
/cvsroot/mozilla/directory/c-sdk/config/SunOS5.mk,v  <--  SunOS5.mk
new revision: 5.4; previous revision: 5.3
done
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.