hello,
I'm trying to compile FDS 1.0.4 on a 280R running Solaris 8. After getting all of the prerequisites installed (gnu make, apr, ant, sun workshop compiler, etc) I started following the directions located here:
http://www.directory.fedora.redhat.com/wiki/Building#External_Requirements
I created my ldap directory, and downloaded the mozilla components tarball linked. I successfully compiled NSS via 'gmake nss_build all' I successfully compiled SVRCORE
Next, I attempted to compile LDAPSDK (mozilla/directory/c-sdk) but I get a File not found error when it tries to link libatomic.o.
About the only thing I've been able to learn from a few hours of google is that it appears that libatomic.o should come from NSPR, which, in theory, was compiled during the gmake nss_build_all according to the build documentation. Unfortunately, I cannot find libatomic.o anywhere on the system.
Is there a way to get past this problem? Am I crazy for expecting this to compile on solaris even though solaris support is listed? Is there a better build guide I should be following?
I've copied the compile errors below, in case it helps anyone see what's going on. Any help that can be provided is greatly appreciated!
~Jason
======= making ./libldap60.so gcc -shared -Wl,-soname -Wl,libldap60.so -f libatomic.so -o libldap60.so./abandon.o ./add.o ./bind.o ./cache.o ./charray.o ./charset.o ./compare.o ./compat.o ./control.o ./countvalues.o ./delete.o ./disptmpl.o ./dsparse.o ./error.o ./extendop.o ./free.o ./freevalues.o ./friendly.o ./getattr.o ./getdn.o ./getdxbyname.o ./getentry.o ./getfilter.o ./getoption.o ./getvalues.o ./memcache.o ./message.o ./modify.o ./open.o ./os-ip.o./proxyauthctrl.o ./psearch.o ./pwmodext.o ./referral.o ./regex.o ./rename.o ./request.o ./reslist.o ./result.o ./saslbind.o ./sbind.o ./search.o ./setoption.o ./sort.o ./sortctrl.o ./srchpref.o ./tmplout.o ./ufn.o ./unbind.o ./unescape.o ./url.o ./utf8.o ./vlistctrl.o ./saslio.o -L../../../../../dist/lib -llber60 gcc: libatomic.so: No such file or directory gmake[3]: *** [libldap60.so] Error 1 gmake[3]: Leaving directory `/root/ldap/mozilla/directory/c-sdk/ldap/libraries/libldap' gmake[2]: *** [export] Error 2
Jason wrote:
Is there a way to get past this problem? Am I crazy for expecting this to compile on solaris even though solaris support is listed?
Not crazy, but pretty darned close ;)
A couple of things come to mind : the code may have rotted for Solaris 8 --- that's quite an old release. The build was always done (and the wiki page you reference confirms this) with the Sun compiler, not gcc.
Richard & David,
Good point that it's using gcc, I didn't catch that. I do have the sun compiler installed, with /opt/SUNWspro/bin at the top of my PATH so I was going on the assumption that it would use CC rather than gcc.
I tried to add a CC=/opt/SUNWspro/bin/CC to my gmake, but that created other problems that I suspect are a result of ./configure detecting gcc, and I'm not sure how to make configure see the correct compilers.
In any case, it's the end of the day on friday, and this isn't anything that can't sit over the weekend. :)
I appreciate the input, I'll take this to the dev list if I can't tackle it with a fresh mind on monday.
On 9/28/07, David Boreham david_list@boreham.org wrote:
Jason wrote:
Is there a way to get past this problem? Am I crazy for expecting this to compile on solaris even though solaris support is listed?
Not crazy, but pretty darned close ;)
A couple of things come to mind : the code may have rotted for Solaris 8 --- that's quite an old release. The build was always done (and the wiki page you reference confirms this) with the Sun compiler, not gcc.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Jason wrote:
hello,
I'm trying to compile FDS 1.0.4 on a 280R running Solaris 8. After getting all of the prerequisites installed (gnu make, apr, ant, sun workshop compiler, etc) I started following the directions located here:
http://www.directory.fedora.redhat.com/wiki/Building#External_Requirements
I created my ldap directory, and downloaded the mozilla components tarball linked. I successfully compiled NSS via 'gmake nss_build all' I successfully compiled SVRCORE
Next, I attempted to compile LDAPSDK (mozilla/directory/c-sdk) but I get a File not found error when it tries to link libatomic.o.
About the only thing I've been able to learn from a few hours of google is that it appears that libatomic.o should come from NSPR, which, in theory, was compiled during the gmake nss_build_all according to the build documentation. Unfortunately, I cannot find libatomic.o anywhere on the system.
Is there a way to get past this problem? Am I crazy for expecting this to compile on solaris even though solaris support is listed? Is there a better build guide I should be following?
I've copied the compile errors below, in case it helps anyone see what's going on. Any help that can be provided is greatly appreciated!
~Jason
======= making ./libldap60.so gcc -shared -Wl,-soname -Wl, libldap60.so -f libatomic.so -o libldap60.so ./abandon.o ./add.o ./bind.o ./cache.o ./charray.o ./charset.o ./compare.o ./compat.o ./control.o ./countvalues.o ./delete.o ./disptmpl.o ./dsparse.o ./error.o ./extendop.o ./free.o ./freevalues.o ./friendly.o ./getattr.o ./getdn.o ./getdxbyname.o ./getentry.o ./getfilter.o ./getoption.o ./getvalues.o ./memcache.o ./message.o ./modify.o ./open.o ./os- ip.o ./proxyauthctrl.o ./psearch.o ./pwmodext.o ./referral.o ./regex.o ./rename.o ./request.o ./reslist.o ./result.o ./saslbind.o ./sbind.o ./search.o ./setoption.o ./sort.o ./sortctrl.o ./srchpref.o ./tmplout.o ./ufn.o ./unbind.o ./unescape.o ./url.o ./utf8.o ./vlistctrl.o ./saslio.o -L../../../../../dist/lib -llber60 gcc: libatomic.so: No such file or directory gmake[3]: *** [libldap60.so] Error 1 gmake[3]: Leaving directory `/root/ldap/mozilla/directory/c-sdk/ldap/libraries/libldap' gmake[2]: *** [export] Error 2
I'm not sure. I do know one thing - this is using gcc and not the sun workshop compiler. That might have something to do with it.
You might try posting on the mozldap developers list - news.mozilla.org/mozilla.dev.tech.ldap
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
389-users@lists.fedoraproject.org