[OpenIndiana-discuss] Compiling Mosh for OI 151

Robbie Crash sardonic.smiles at gmail.com
Mon Apr 30 23:08:45 UTC 2012


Honestly, I think including this, I'm still on single digits with what I've
had to compile from source, and definitely the only thing that I've ever
had to figure out, so you not being a professional is still leaps and
bounds ahead of me.

I'm using gcc installed via "pkg install gcc", which I assume means I'm
getting it from OI.

I set the two variables as you recommended, with my paths, (export
PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/p
kgconfig/" and export
LD_LIBRARY_PATH="/usr/lib/:/usr/lib/:/usr/lib/amd64/") and still receive
the same error.



On Mon, Apr 30, 2012 at 18:38, Bryan Iotti <ironsides.medvet at gmail.com>wrote:

> I'm no professional when it comes to compiling, but I normally set
> PKG_CONFIG_PATH by hand with "export
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" (do set your
> proper paths), as well as LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib. I
> have also set the system library paths with crle, but it seems that they
> are often not seen by configure scripts. Are you using the Solaris Studio
> compiler or gcc? If gcc, is it the one from sfe or the one from
> openindiana.org?
>
> Hope some of this helps,
>   Bryan
> On May 1, 2012 12:09 AM, "Robbie Crash" <sardonic.smiles at gmail.com> wrote:
>
> > I'm trying to compile Mosh ( http://mosh.mit.edu/ ) for OI, but I'm
> > running
> > into problems with ncurses while running configure. When running
> configure,
> > I receive the error that libtinfo or libncurses were not found. Checking
> > config.log I see the following:
> >
> > configure:7005: checking for TINFO
> > configure:7012: $PKG_CONFIG --exists --print-errors "tinfo"
> > Package tinfo was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `tinfo.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'tinfo' found
> > configure:7015: $? = 1
> > configure:7029: $PKG_CONFIG --exists --print-errors "tinfo"
> > Package tinfo was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `tinfo.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'tinfo' found
> > configure:7032: $? = 1
> > configure:7046: result: no
> > No package 'tinfo' found
> > configure:7064: checking for TINFO
> > configure:7071: $PKG_CONFIG --exists --print-errors "ncurses"
> > Package ncurses was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `ncurses.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'ncurses' found
> > configure:7074: $? = 1
> > configure:7088: $PKG_CONFIG --exists --print-errors "ncurses"
> > Package ncurses was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `ncurses.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'ncurses' found
> > configure:7091: $? = 1
> > configure:7105: result: no
> > No package 'ncurses' found
> >
> > I have no idea what TINFO is, but from googling around, I find it has
> > something to do with ncurses as an independent provider for something
> (I'm
> > terribly helpful, I know). I know ncurses is installed and that other
> > programs that are dependent on it work, and there are libs  in
> /usr/gnu/lib
> > and /usr/gnu/lib/amd64. However, I cannot get the configure script to
> > recognize this. Running configure --help gets me the following, with
> > regards to ncurses:
> >
> > NCURSES_CPPFLAGS
> >              C preprocessor flags for NCURSES headers
> > NCURSES_LDFLAGS
> >              linker flags for NCURSES libraries
> >
> > But setting either doesn't fix anything. However, this is the first time
> > I've run into issues with a configure script not working, so this is
> > probably me not actually doing things properly. Specifying my libdir to
> > either /usr/gnu/lib or /usr/gnu/lib/amd64 doesn't help either.
> >
> > Does anyone have any ideas for where to go from here?
> >
> > --
> > Seconds to the drop, but it seems like hours.
> >
> > http://www.eff.org/
> >  <http://www.eff.org/>http://creativecommons.org/
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> >
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
Seconds to the drop, but it seems like hours.

http://www.eff.org/
<http://www.eff.org/>http://creativecommons.org/


More information about the OpenIndiana-discuss mailing list