Re: Newb question about Solaris X86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, 

I was able to get much further after recompiling from scratch using the SunPro compilers.

I did run into a few snags

I had to make sure I was using gtar in the gar.conf.mk
I had to not turn on BUILD_CLEAN=true (not 100% sure what it was cleaning but it may explain why work was missing before)
I had to chmod o+x the perl scripts for the icu builds (ended up chmod -R 0755 /var/tmp/ds*)

Now, I am trying to build the adminsetup util, and I can't find SASL libraries.  If I SASL_SOURCE=1 when I call make it does not appear to try to compile sasl ahead of time, thus gives a dependency error can't find a sasl library. (and it' can not find the ones by default built-into the OS in /usr/include)

Here is the error.   I'm looking to see if I can build the SASL stuff manually....not sure where to find the proper flags...


CC -DSOLARIS   \
        -o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/bin/setup \
        /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/setup.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/installer.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/dl-inst.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/product.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/dl-common.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/wizard.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/ux-setup.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/uxres.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/obj/uxres_data.o /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/lib/libinstall.a -lsocket -lthread -lposix4 -lnsl -ldl -lresolv -lm -lcurses -ltermcap \
        /var/tmp/dsbuild-fds104/ds/mozilla/work/mozilla/dist/lib/libldap60.a /var/tmp/dsbuild-fds104/ds/mozilla/work/mozilla/dist/lib/liblber60.a -L../../../cyrus-sasl-2.1.20/built/lib -lsasl2   
ld: fatal: library -lsasl2: not found
ld: fatal: File processing errors. No output written to /var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/bin/setup
gmake[4]: *** [/var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/built/SunOS5.11_OPT.OBJ/bin/setup] Error 1
gmake[4]: Leaving directory `/var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3/installer/unix'
gmake[3]: *** [installerBIN] Error 2
gmake[3]: Leaving directory `/var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3'
gmake[2]: *** [buildInstaller] Error 2
gmake[2]: Leaving directory `/var/tmp/dsbuild-fds104/ds/setuputil/work/fedora-setuputil-1.0.3'
gmake[1]: *** [build-work/fedora-setuputil-1.0.3/Makefile] Error 2
gmake[1]: Leaving directory `/var/tmp/dsbuild-fds104/ds/setuputil'
gmake: *** [dep-../../ds/setuputil] Error 2

On Dec 11, 2007, at 1:12 PM, <Chris.Sellers@xxxxxxxxx> <Chris.Sellers@xxxxxxxxx> wrote:

Ok, Now that I have the sun compiler involved I'm going to remove the environment variables and fix the configure.in and Makefiles to be back the way they were.

I'll try that and then report back on the how, why, and where.

Thanks

Sellers

I ran the make command in the dsbuild.   
On Dec 11, 2007, at 11:19 AM, Rich Megginson wrote:

Chris G. Sellers wrote:
> That is what I figured Rich,
>
> My mozilla directory was cleaned out and only Makefile, checksums,
> cookies/ and downloads/ exists (work is now gone after the compile)
?  How did you do the compilation?
>
> I don't recall seeing any errors.    Is it possible I need to make
> clean and remove everything and start over?
Yes, but what exactly did you do?
>
> Sellers
> (P.S. I am use the Sun compiler and the GCC compiler as some of the
> perl stuff wanted the sun compiler because PERL itself was compiled
> with the sun compiler)
I recommend using the Sun compiler - GCC will probably work, but you'll
have to figure out all of the right settings to use.
>
> On Dec 11, 2007, at 10:41 AM, Rich Megginson wrote:
>
>> Chris G. Sellers wrote:
>> > I've searched some of the lists and was unable to find much of
>> > anything on this topic.
>> >
>> > I have a Solaris X86 (openSolaris) environment that I would like to
>> > use FDS on.   I've tried to compile the environment (using GCC as well
>> > as SunC)  and got all the way to the 'adminutil' section where it can
>> > not find prio.h
>> >
>> > Has anyone been able to get FDS going on Solaris x86 and if so what
>> > was the recipe for success.
>> >
>> >
>> > mkdir -p
>> >
>> /var/tmp/dsbuild-fds104/ds/adminutil/work/fedora-adminutil-1.0.4/built/SunOS5.11_i86pc_OPT.OBJ/lib/libadminutil
>> >
>> > cc -DSOLARIS -c -DSVR4 -D__svr4 -D__svr4__ -D_SVID_GETTOD
>> > -DOSVERSION=5011 -DNO_NODELOCK   -DXP_UNIX -DSOLARISx86 -xO2 -DNET_SSL
>> > -DSPAPI20 -DBUILD_NUM=\"2007.345.1339\" -DNET_SSL -DSPAPI20
>> > -DBUILD_NUM=\"2007.345.1339\"
>> >
>> -I/var/tmp/dsbuild-fds104/ds/adminutil/work/fedora-adminutil-1.0.4/include
>> > -I/var/tmp/dsbuild-fds104/ds/mozilla/work/mozilla/dist/OPT.OBJ/include
>> > -I/var/tmp/dsbuild-fds104/ds/mozilla/work/mozilla/dist/public/nss
>> > -I/var/tmp/dsbuild-fds104/ds/mozilla/work/mozilla/dist/public/ldap
>> > -I/var/tmp/dsbuild-fds104/ds/icu/work/icu-3.4/built/include psetc.c -o
>> >
>> /var/tmp/dsbuild-fds104/ds/adminutil/work/fedora-adminutil-1.0.4/built/SunOS5.11_i86pc_OPT.OBJ/lib/libadminutil/psetc.o
>> >
>> > "psetc.c", line 30: cannot find include file: <prio.h>
>> It should be in the directory
>> /var/tmp/dsbuild-fds104/ds/mozilla/work/mozilla/dist/OPT.OBJ/include -
>> does that directory exist?  What's in it?
>> >
>> >
>> > Thank you (and congratulations) to anyone who can assist.
>> >
>> > ---
>> > Chris G. Sellers        Lead Internet Engineer
>> > National Institute for Technology & Liberal Ed.
>> > 535 West William Street, Ann Arbor, MI 48103
>> > chris.sellers@xxxxxxxxx <mailto:chris.sellers@xxxxxxxxx>        
>> 734.661.2318
>> >
>> >
>> >
>> >
>> > --
>> > Fedora-directory-users mailing list
>> > Fedora-directory-users@xxxxxxxxxx
>> <mailto:Fedora-directory-users@xxxxxxxxxx>
>> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>> --
>> Fedora-directory-users mailing list
>> Fedora-directory-users@xxxxxxxxxx
>> <mailto:Fedora-directory-users@xxxxxxxxxx>
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
> ______________________________________________
> Chris G. Sellers | NITLE Technology
> 734.661.2318 | chris.sellers@xxxxxxxxx <mailto:chris.sellers@xxxxxxxxx>
> AIM: imthewherd | GTalk: cgseller@xxxxxxxxx <mailto:cgseller@xxxxxxxxx>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>  

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

______________________________________________
Chris G. Sellers | NITLE Technology
AIM: imthewherd | GTalk: cgseller@xxxxxxxxx

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

______________________________________________
Chris G. Sellers | NITLE Technology
AIM: imthewherd | GTalk: cgseller@xxxxxxxxx

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux