Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed Mandrake 10, and I want to use it as a server. I downloaded SSH-2.0.9, and I started to install it. I did:
tar xvzf ssh-2.0.9.tar.gz #
cd ssh-2.0.9
./configure
su
make
When I inputted "make", it did the following:
[root@localhost ssh-2.0.9]# make
make all-recursive
make[1]: Entering directory `/home/sami/Documents/ssh-2.0.9'
Making all in lib
make[2]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib'
Making all in zlib
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/zlib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/zlib'
Making all in sshmath
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath'
Making all in tests
make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath/tests'
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshmath'
Making all in sshreadline
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline'
Making all in tests
make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline/test
s'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline/tests
'
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshreadline'
Making all in sshutil
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil'
Making all in tests
make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil/tests'
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshutil'
Making all in sshapputil
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil'
Making all in tests
make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil/tests
'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil/tests'
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshapputil'
Making all in sshcrypt
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt'
Making all in tests
make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt/tests'
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshcrypt'
Making all in sshproto
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto'
Making all in tests
make[4]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto/tests'
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/lib/sshproto'
Making all in sshsession
make[3]: Entering directory `/home/sami/Documents/ssh-2.0.9/lib/sshsession'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../sshutil -I./../sshutil
-DSSHDIST_UTIL_PACKETSTREAM -DSSHDIST_CRYPT_DL -DSSHDIST_CRYPT_DLKEX -DSSHDIST_C
RYPT_RIPEMD160 -DSSHDIST_MATH_ASM_I386 -DSSHDIST_CRYPT_GENMAC MON -DSSHDIST_CRYPT_DES -DSSHDIST_CRYPT_GENHASH -DSSHDIST_CRY YPT_GENPKCS -DSSHDIST_CRYPT_COMPRESS -DSSHDIST_MATH_ASM -DSSH HDIST_IPSEC_NETBSD -DSSHDIST_CRYPT_SSHMACS -DSSHDIST_CRYPT_AR PT_DSA -DSSHDIST_CRYPT_HMAC -DSSHDIST_CRYPT_GENCIPH -DSSHDIST SSHDIST_CRYPT_DH -g -Wall -c wtmp.c
wtmp.c: In function `ssh_user_record_login':
wtmp.c:376: warning: `0' flag used with `%s' printf format
wtmp.c:380: warning: `0' flag used with `%s' printf format
wtmp.c:405: error: structure has no member named `ut_syslen'
wtmp.c:406: error: structure has no member named `e_terminati
wtmp.c:407: error: structure has no member named `e_exit'
wtmp.c:419: warning: implicit declaration of function `updwtm
wtmp.c:419: error: `WTMPX_FILE' undeclared (first use in this
wtmp.c:419: error: (Each undeclared identifier is reported on
wtmp.c:419: error: for each function it appears in.)
make[3]: *** [wtmp.o] Error 1
make[3]: Leaving directory `/home/sami/Documents/ssh-2.0.9/li
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sami/Documents/ssh-2.0.9/li
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sami/Documents/ssh-2.0.9'
make: *** [all-recursive-am] Error 2
[root@localhost ssh-2.0.9]#
What should I do about those errors ? Should my SSH work even with these errors ?
Also, I installed my Mandrake only with 2 CD:s, should the absence of third CD affect my linux majorly ?
ssh wasn't already installed? Anyway, I have found urpmi to be very useful in this kind of situation (unless you like the inner satisfaction of compiling yourself). urpmi simplifies the installation of rpms and their dependencies. As root, try urpmi ssh. You may need to configure urpmi first. Check out http://urpmi.org/easyurpmi/index.php and man urpmi for help on configuring.
Do you have the compiler installed and devel packages?
Did ./configure show what you need to compile ssh?
meblost:
Compiling programs makes it easier to know what kind of options the program has. Using prebuild packages like RPM will be hard to guess what options it has and which options it does not have. Compiling puts you in control and make sure the program is legitmate. Usually RPM are old program versions and it takes a while for people to make RPM files from the latest programs.
Electro:
All true Statements. Regarding program options, you will notice that ParalyZer did not give any arguments to ./configure and it seems to me that for beginners (not sure whether ParalyZer is a beginner or not), rpms reduce the headache and the time lost from this kind of situation. Just my opinion...
The makefile in the ssh-2.0.9 dir should have targets called "clean" and "uninstall". If you only need to remove the partially compiled version from this thread, type make clean to remove object files and temp files and that kind of thing. If you ran make install, you can do make uninstall to remove executables and manual pages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.