make install errors in openssh(when openpam is to be integrated with openssh)

Peter Stuge peter at stuge.se
Tue Oct 9 21:53:41 EST 2012


ankita pal wrote:
> CC=qcc CFLAGS="-Vgcc_ntox86
> -I${INF_WRK_AREA_FWD}/../3dParty/openpam/include
> -L${INF_WRK_AREA_FWD}/../3dParty/openpam/lib/.libs
> -L${INF_WRK_AREA_FWD}/../3dParty/build_apal/lib" LD=qcc
> LDFLAGS+=-Vgcc_ntox86 CXX=qcc CPPFLAGS+="-DMISSING_HOWMANY
> -DMISSING_NFDBITS -DMISSING_NFDMASK" ./configure
> --with-pam=${INF_WRK_AREA_FWD}/../3dParty/openpam --disable-lastlog
> --host=i386 --with-ssl-dir=${INF_WRK_AREA_FWD}/../3dParty/openssl

So far so good.


> --prefix=/home/mpal/ws2/dawn_v1/3dParty/build_apal
> --datarootdir=/home/mpal/ws2/dawn_v1/3dParty/build_apal
> --datadir=/home/mpal/ws2/dawn_v1/3dParty/
> --with-privsep-path=/home/mpal/ws2/dawn_v1/3dParty/build_apal
> --with-pid-dir=/home/mpal/ws2/dawn_v1/3dParty/build_apal

But these options are all wrong. Please study what the meaning of
each option is so that you can set them correctly. You must of course
pay special attention to differences between build system layout and
the host where the binaries will be used.

Hint: The above options are not for using some random subdirectory as
destination at make install time.


> Can you suggest some trick to get this correct.

Unfortunately no trick. Study autotools, it will allow you to
"get this correct."


//Peter


More information about the openssh-unix-dev mailing list