Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Dev

openssh-5.1p1 configure failure

 

 

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded


basavarajdengi at gmail

Feb 19, 2009, 11:39 PM

Post #1 of 5 (732 views)
Permalink
openssh-5.1p1 configure failure

Hi

If I try to run configure for openssh-5.1p1 with --wtih-selinux option
it fails giving the error "selinux support requires selinux library"

all of the below also dont work

a) --wtih-selinux
b) --wtih-selinux=path of cross complied library
c) LDFLAGS=-Lpath of cross complied library

if I remove --wtih-selinux option I am able to everything is fine.
How to solve this error?

Thanks for your time

Regards
Basavaraj
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


djm at mindrot

Feb 19, 2009, 11:43 PM

Post #2 of 5 (706 views)
Permalink
Re: openssh-5.1p1 configure failure [In reply to]

On Fri, 20 Feb 2009, Basavaraj Dengi wrote:

> Hi
>
> If I try to run configure for openssh-5.1p1 with --wtih-selinux option
> it fails giving the error "selinux support requires selinux library"
>
> all of the below also dont work
>
> a) --wtih-selinux
> b) --wtih-selinux=path of cross complied library
> c) LDFLAGS=-Lpath of cross complied library
>
> if I remove --wtih-selinux option I am able to everything is fine.
> How to solve this error?

You can look in config.log after a failure to see what is going wrong.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


basavarajdengi at gmail

Feb 24, 2009, 8:52 PM

Post #3 of 5 (668 views)
Permalink
Re: openssh-5.1p1 configure failure [In reply to]

Looking at the config log, the problem is that,
configure is not taking the selinux library path[even though I am providing
it with -L option]

attached is the config.log for your reference.

thanks for your time

regards
basavaraj

On Fri, Feb 20, 2009 at 1:13 PM, Damien Miller <djm [at] mindrot> wrote:

> On Fri, 20 Feb 2009, Basavaraj Dengi wrote:
>
> > Hi
> >
> > If I try to run configure for openssh-5.1p1 with --wtih-selinux option
> > it fails giving the error "selinux support requires selinux library"
> >
> > all of the below also dont work
> >
> > a) --wtih-selinux
> > b) --wtih-selinux=path of cross complied library
> > c) LDFLAGS=-Lpath of cross complied library
> >
> > if I remove --wtih-selinux option I am able to everything is fine.
> > How to solve this error?
>
> You can look in config.log after a failure to see what is going wrong.
>
> -d
>
Attachments: config.tar.gz (27.3 KB)


tim at multitalents

Feb 25, 2009, 2:02 PM

Post #4 of 5 (672 views)
Permalink
Re: openssh-5.1p1 configure failure [In reply to]

On Wed, 25 Feb 2009, Basavaraj Dengi wrote:

> Looking at the config log, the problem is that,
> configure is not taking the selinux library path[even though I am providing
> it with -L option]

The way configure is currently written, --wtih-selinux=path is not possible.
Try the attached patch to configure.ac. You will need to regenerate configure
by running autoconf.

> attached is the config.log for your reference.
>
> thanks for your time
>
> regards
> basavaraj
>

--
Tim Rice Multitalents (707) 887-1469
tim [at] multitalents
Attachments: selinux.patch (1.53 KB)


basavarajdengi at gmail

Feb 26, 2009, 3:39 AM

Post #5 of 5 (667 views)
Permalink
Re: openssh-5.1p1 configure failure [In reply to]

Thank you very much for the patch file.
That indeed helped me; configure, make n make install do work

I was actually trying to enable selinux feature in ssh as passwordless ssh
to my embedded target is not working for recent kernels.

So I tried to
1) disable selinux feature using CMDLINE in the bootloader prompt
2) enable selinux feature in ssh

both dint help. with recent kernel binaries ssh is not accepting
emptypasswords[I did change sshd_config to accept the emptypasswords]

still there is a problem

regards
basavaraj



On Thu, Feb 26, 2009 at 3:32 AM, Tim Rice <tim [at] multitalents> wrote:

> On Wed, 25 Feb 2009, Basavaraj Dengi wrote:
>
> > Looking at the config log, the problem is that,
> > configure is not taking the selinux library path[even though I am
> providing
> > it with -L option]
>
> The way configure is currently written, --wtih-selinux=path is not
> possible.
> Try the attached patch to configure.ac. You will need to regenerate
> configure
> by running autoconf.
>
> > attached is the config.log for your reference.
> >
> > thanks for your time
> >
> > regards
> > basavaraj
> >
>
> --
> Tim Rice Multitalents (707) 887-1469
> tim [at] multitalents
>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.