Hi, I am using x86_64 arch and so configure does not find my sftp-server
binary. Why? Because it searches in /usr/lib/, not in /usr/lib64/.
I createtd a patch to have configure look at the very place where the info
about the locaton of sftp-server is stored - in /etc/ssh/sshd_config.
The patch should work on all systems where grep and awk are found in the
PATH and that have installed the ssh daemon package (since this package
includes sftp-server).
diff -u ./configure.orig ./configure gives following output:
--- ./configure.orig 2006-01-07 03:24:58.000000000 +0100
+++ ./configure 2008-11-23 12:13:03.000000000 +0100
@@ -5046,6 +5046,12 @@
fi
sftp_path=$ac_cv_path_sftp_path
+if test -z "$sftp_path"; then
+ if test -e /etc/ssh/sshd_config; then
+ sftp_path=`grep sftp-server /etc/ssh/sshd_config | awk '{print
$3}'`
+ fi
+fi
+
if test -n "$sftp_path"; then
echo "$as_me:$LINENO: result: $sftp_path" >&5
echo "${ECHO_T}$sftp_path" >&6
Regards,
Werner
Nobody/Anonymous
None
None
Public
|
Date: 2008-11-23 16:46 The openSUSE Build System told me that my patch was not enough - sure, it |
| Filename | Description | Download |
|---|---|---|
| configure.patch | extended Patch | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 302615: configure.patch | 2008-11-23 16:46 | wernerflamme |
| File Deleted | 302576: | 2008-11-23 16:46 | wernerflamme |
| File Added | 302576: configure.patch | 2008-11-23 11:21 | wernerflamme |