On Thu, Jul 27, 2000 at 10:50:49AM -0400, Scott D. Allen wrote:
> I'm having problems getting openssh-2.1.1p4 installed on my HP-UX 10.20
> server. I installed zlib-1.1.3 and openssl-0.9.5a and then went to install
> openssh, but the configure came up with:
>
> "loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables."
>
> So, I checked the openssh archives and found some references to setting
> CFLAGS and LDFLAGS (which I set). I retried with the same results. I also
> set LIBS="-lRSAref -lRSAglue" and still same result.
You have a far more fundamental problem. You seem to have installed gcc,
but it does not work. For details please check "config.log" and see
the actual error messages.
If you do have the unbundled ANSI-C compiler, you can also using this
one (my terribly long configure line, please make sure you want the same
settings that I have before simply believing it :-). I still have ssh-1.2.27
installed, so I want to explicitely choose locations; zlib is in /usr/local.
CC=cc CFLAGS="-Ae +O2 +DAportable -DUSE_PIPES=1 -I/usr/local/include
-I/usr/include/X11R6" LDFLAGS="-L/usr/local/lib -L/usr/lib/X11R6" ./configure
--prefix=/usr/local/openssh --sysconfdir=/etc/ssh --with-rsh=/usr/local/lib/rsh/remsh
--with-tcp-wrappers
--with-default-path="/usr/local/openssh/bin:/usr/bin:/usr/local/bin"
--with-xauth=/usr/bin/X11/xauth --with-ssl-dir=/usr/local/ssl
--with-egd-pool=/var/run/egd-pool
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153