This is a discussion on SSH compile error within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I just installed OpenSSH 4.6p1 on my laptop which runs a fresh install of Slackware 11.0, and that went ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I just installed OpenSSH 4.6p1 on my laptop which runs a fresh install of Slackware 11.0, and that went very successfully. When I tried doing a "make" on SSH 1.2.33, I got a bunch of error messages. Most of them are coming from a file called "divmod_1.c", reporting syntax errors and stuff, as posted below: --------------------------------------------------------------------------------------------------------------------------------------------- .... divmod_1.c:191: warning: data definition has no type or storage class divmod_1.c:193: error: syntax error before "if" divmod_1.c:204: error: syntax error before ':' token make[3]: *** [divmod_1.o] Error 1 make[3]: Leaving directory '/usr/local/src/ssh-1.2.33/gmp-2.0.2-ssh-2/ mpn' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/local/src/ssh-1.2.33/gmp-2.0.2-ssh-2/ mpn' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/src/ssh-1.2.33/gmp-2.0.2-ssh-2' make: *** [gmp-2.0.2-ssh-2/libgmp.a] Error 2 --------------------------------------------------------------------------------------------------------------------------------------------- There was a big long list of other divmod errors above that. I have very little experience in Shell and C programming. I'm just trying to install SSH1 and 2. When I installed Slackware, I did a full install, and I realize that SSH was automatically installed. I did in fact use it before I obtained the latest source code. I'm just doing this for the sake of installing new software, and getting experience with SSH. Any ideas about where to start? If someone could point me in the right direction, I would really appreciate it. Thanks! Steven |
| ||||
| On Fri, 6 Jul 2007, Steven Borrelli wrote: > I just installed OpenSSH 4.6p1 on my laptop which runs a fresh install > of Slackware 11.0, and that went very successfully. > When I tried doing a "make" on SSH 1.2.33, I got a bunch of error > messages. Most of them are coming from a file called "divmod_1.c", > reporting syntax errors and stuff, as posted below: did you do a "./configure" step first ? The dance usually goes like: ./configure make make install <Clue> Take a very close look at the files you will find in the folder slackware-11.0/source/n/openssh/ and in particular the build script, openssh.SlackBuild. </Clue> [...] > very little experience in Shell and C programming. I'm just trying to > install SSH1 and 2. When I installed Slackware, I did a full install, > and I realize that SSH was automatically installed. I did in fact use > it before I obtained the latest source code. I'm just doing this for > the sake of installing new software, and getting experience with SSH. excellent. note that there are two main ways to install software on a slackware system - (1) being the usual slackware tarball binary packages, eg., openssh-4.4p1-i486-1.tgz, (2) being the 'build from source' method you are trying here with ssh. Both have their particular advantages and disadvantages. A third method is the SlackBuild method, aka 'roll your own' method, that is, using the source distro to create a binary tarball compatible with the usual slackware pkg tools. This is how Volkerding does it. This method usually require some considerable skill to do from scratch, but is relatively easy and even trivial -> IF an existing SlackBuild can be adapted. and you already have one of those somewhere nearby. HTH. -- William Hunt, Portland Oregon USA |