Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- newbie: cross-compiling openssh 4.3p2
- Neil Steiner
February 7, 2007, 11:07 pm
rate this thread
I'm cross-compiling openssh 4.3p2, and everything other than scp seems
to be working beautifully. scp however insists on looking for ssh at
/project/hsi/fs/bin/ssh, a path related to the build directory, even
though both executables live in /usr/local/bin on the target system.
I've read through `configure --help` to try to figure out how I might
coax scp to look elsewhere, but I'm afraid I'm stumped. Any comments
would be appreciated. I configure with the following script:
-L$/lib -L$/lib -L$/lib"
export CPP="$ -E"
# invoke the configuration script
configure --prefix=$ --exec-prefix=$
--build i686-pc-linux-gnu --host powerpc-405-linux-gnu --disable-strip
Re: newbie: cross-compiling openssh 4.3p2
After poking around, I found out that I can set DESTDIR in Makefile.in
to control where `make install` writes things, and use the desired
/usr/local for prefix in configure. It does look like there's some kind
of fake root support through buildpkg.sh, but that script looks like
more than I care to read through at the moment.
Still if anybody else has done similar builds, I'd be interested in
hearing what you did.
- » Using ssh command from C-program with STDIN problem
- — Next thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum