Hiya,
Has anyone managed to compile SSH to run on a Mac OS X server (v378)?
I run ./configure
checking host system type... configure: error: can not guess host type;
you must specify one
So I try ./configure BSD [and various other types]
configure: warning: BSD: invalid host type
loading cache ./config.cache
checking host system type... Invalid configuration `BSD': machine `BSD'
not recognized
but it goes through and builds me my make files [I can send a copy of
the ./configure output if it will help]
When I run make I get as far as this:
<SNIP>
cc -pipe -c -I. -I./gmp-2.0.2-ssh-2 -I./zlib-1.0.4 -DHAVE_CONFIG_H
-DHOST_KEY_FILE=\"/etc/ssh_host_key\"
-DHOST_CONFIG_FILE=\"/etc/ssh_config\"
-DSERVER_CONFIG_FILE=\"/etc/sshd_config\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/etc\"
-DPIDDIR=\"/var/run\" -DSSH_BINDIR=\"/usr/local/bin\"
-DTIS_MAP_FILE=\"/etc/sshd_tis.map\" -g -O2 deattack.c
cd gmp-2.0.2-ssh-2; make
Making all in mpn
Making all in tests
cc -DPACKAGE=\"gmp\" -DVERSION=\"2.0.2-ssh-2\" -DSTDC_HEADERS=1
-DHAVE_RANDOM=1 -DSIZEOF_INT=4 -DHAVE_ALLOCA=1 -DC_UNDERSCORE=1 -I. -I.
-I.. -I./.. -g -O2 -c mp_bases.c
../gmp-impl.h:259: syntax error, found `)'
../gmp-impl.h:259: bad attribute specification, expecting constant,
found `;'
../gmp-impl.h:344: bad attribute specification, expecting constant,
found `int'
../gmp-impl.h:344: syntax error, found `;'
make[2]: *** [mp_bases.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [gmp-2.0.2-ssh-2/libgmp.a] Error 2
Looking at the source code of gmp-impl.h:259 I have the line
typedef unsigned int UQItype __attribute__ ((mode (QI)));
which under my logic looks wrong [extra closing parenthesis]
So I try removing the parenthesis, and what happens when I do a make
again? : same error....
anyone have any ideas or suggestions, or experience, they can share with me?
Thanks
d.
--
Dorian Moore is property of Kleber Design Ltd. If found please contact Kleber
by phone on +44 207 581 1362 or visit http://www.kleber.net for further details.
You really shouldn't listen to anything he says... as it may just be an opinion