Dylan, Very broadly: The configure script for a given 'package' makes a number of assessments about the system it's running on; it will check for the compiler in use, check for various other build tools, etc. Another key thing it does: attempts to figure out where any libraries it needs are located. End Product of 'configure' is the Makefile, which '(g)make' uses to control the actual build.
In a perfect world, just ./configure could be all that's needed to set things up. In the real world, this is rarely the case; it's a pretty big task to write a configure script to be aware of any OS it might ever run on. There are a number of environment variables at your disposal to get things working; LIBS is one of these. LIBS=-lnsl (that's an 'l', not a '1') simply says 'include the nsl library'. Check out $ ./configure --help -- this will give you a sense of what configure script is looking for. Lou Picciano ----- Original Message ----- From: "Dylan Distasio" <interz...@gmail.com> To: "Discussion list for OpenIndiana" <openindiana-discuss@openindiana.org> Sent: Tuesday, September 17, 2013 7:05:29 PM Subject: Re: [OpenIndiana-discuss] Trouble installing math/header-math on OI Lou- I seem to have gotten it installed. Thanks for your help. Can you tell me what exactly LIBS=-Insl signifies. I'd like to get an understanding of this process. On Tue, Sep 17, 2013 at 6:39 PM, Dylan Distasio <interz...@gmail.com> wrote: > > PUBLISHER TYPE STATUS URI > openindiana.org (non-sticky) origin online > http://pkg.openindiana.org/dev/ > opensolaris.org origin online > http://pkg.openindiana.org/legacy/ > sfe origin online > http://pkg.openindiana.org/sfe/ > dylan@elysium:/dalek/tarsnap-autoconf-1.0.35# > > > On Tue, Sep 17, 2013 at 6:36 PM, Lou Picciano <loupicci...@comcast.net>wrote: > >> Dylan, >> >> $ ./configure LIBS=-lnsl --prefix=/of/your/choice >> $ gmake >> $ (pfexec/sudo) gmake install >> >> Doing this here on a8, using gcc-4.7 and other updated build tools. >> >> You may want to begin updating... what does output of $ pkg publisher >> look like? >> >> Lou Picciano >> >> ----- Original Message ----- >> From: "Dylan Distasio" <interz...@gmail.com> >> To: "Discussion list for OpenIndiana" < >> openindiana-discuss@openindiana.org> >> Sent: Tuesday, September 17, 2013 6:17:27 PM >> Subject: Re: [OpenIndiana-discuss] Trouble installing math/header-math on >> OI >> >> Hi Lou- >> >> Thanks for the reply. I was actually able to resolve it by removing the >> experimental repository. Quick question, can you tell me exactly what I >> need to do regarding libnsl step by step if you don't mind, I am a bit of >> a >> noob. I am getting an error that appears to be related to it on make so I >> am guessing I need to do what you said, I just don't know how. >> >> Thanks, >> Dylan >> >> >> On Tue, Sep 17, 2013 at 6:09 PM, Lou Picciano <loupicci...@comcast.net >> >wrote: >> >> > Dylan, >> > >> > You might take the approach of deleting the smallest set of packages >> > possible, to replace with current versions. >> > From there, why not update to 151a8? Isn't the sunpro-incorporation back >> > from 134 days? >> > >> > (Are you sure you are missing math-headers? This seems a bit weird.) >> > >> > FWIW, tarsnap builds here pretty easily here - on a8. Did have to add >> the >> > libnsl to LIBS at configure. ie, LIBS=-lnsl >> > >> > Lou Picciano >> > >> > ----- Original Message ----- >> > From: "Dylan Distasio" <interz...@gmail.com> >> > To: openindiana-discuss@openindiana.org >> > Sent: Tuesday, September 17, 2013 5:16:02 PM >> > Subject: [OpenIndiana-discuss] Trouble installing math/header-math on OI >> > >> > Hi all- >> > >> > I am a relative beginner to OpenIndiana/Solaris, especially when it >> comes >> > to package management and compiling software. I currently am running a >> > home server for ZFS. >> > >> > I am attempting to compile a program called tarsnap for backup, and am >> > running into an issue with the math/header-math being missing. >> > >> > When I attempt to install math/header-math I get the following error: >> > >> > dylan@elysium:/dalek/tarsnap-autoconf-1.0.35# pkg list -a | grep -i >> math >> > system/library/math (openindiana.org) >> > 0.5.11-0.151.1.7 i-- >> > dylan@elysium:/dalek/tarsnap-autoconf-1.0.35# sudo pkg install >> > system/library/math/header-math >> > Creating Plan / >> > pkg install: No matching version of system/library/math/header-math can >> be >> > installed: >> > Reject: pkg://oi-experimental/system/library/math/header-math@0.5.11 >> > ,5.11-1.1.1:20120518T234429Z >> > Reason: This version is excluded by installed incorporation pkg:// >> > >> > >> openindiana.org/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.151.1.7:20121003T222433Z >> > >> > I'm not sure if I am missing a repository or if this error is being >> thrown >> > for another reason. >> > >> > I am running: >> > SunOS 5.11 oi_151a7 i86pc i386 i86pc Solaris >> > Any ideas would be greatly appreciated. >> > >> > Thanks, >> > Dylan >> > _______________________________________________ >> > OpenIndiana-discuss mailing list >> > OpenIndiana-discuss@openindiana.org >> > http://openindiana.org/mailman/listinfo/openindiana-discuss >> > >> > _______________________________________________ >> > OpenIndiana-discuss mailing list >> > OpenIndiana-discuss@openindiana.org >> > http://openindiana.org/mailman/listinfo/openindiana-discuss >> > >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss@openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss >> >> _______________________________________________ >> OpenIndiana-discuss mailing list >> OpenIndiana-discuss@openindiana.org >> http://openindiana.org/mailman/listinfo/openindiana-discuss >> > > _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss