bugzilla-daemon at mindrot.org
2004-Sep-07 08:39 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321
mcgege at gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcgege at gmx.de
------- Additional Comments From mcgege at gmx.de 2004-09-07 18:39 -------
I try to compile openssh-3.8.1p1 on a i386 linux system for s390-unknown-linux,
but configure is still complaining about cross-compiling:
"checking if setresuid seems to work... configure: error: cannot run test
program while cross compiling"
I tried to change configure.ac the way you did (although I'm not really sure
what I am doing here :-) and also the test for setresgid. Fixed it, but now I
am stuck at
"checking if openpty correctly handles controlling tty... configure: error:
cannot run test program while cross compiling"
How can I solve this?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-07 10:14 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321 ------- Additional Comments From dtucker at zip.com.au 2004-09-07 20:14 ------- Micheal: You probably just need to run "autoreconf" to rebuild configure after apply the patch(s). Autoconf v2.59 is what we currently use, other versions might work too. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-07 11:21 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321 ------- Additional Comments From mcgege at gmx.de 2004-09-07 21:21 ------- Daren: I ran autoconf after modifying configure.ac, of course. But I only applied the latest patch from here (...which handles the zlib test) ... ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-07 11:38 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321 ------- Additional Comments From dtucker at zip.com.au 2004-09-07 21:37 ------- Created an attachment (id=710) --> (http://bugzilla.mindrot.org/attachment.cgi?id=710&action=view) Add cross-compile support to the setres[ug]id test Ah, OK. That check is only run if the setresuid is found, so I guess the other folks doing cross-compiling are building for platforms that don't have it. Please try this patch in addition to #657. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-07 11:40 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #657| |ok
Status| |
------- Additional Comments From dtucker at zip.com.au 2004-09-07 21:40 -------
(From update of attachment 657)
BTW, patch looks OK to me. Should probably commit this (and the setresuid one
if it tests OK).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-11 08:56 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #710| |ok
Status| |
------- Additional Comments From djm at mindrot.org 2004-09-11 18:56 -------
(From update of attachment 710)
this looks ok
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-11 13:23 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321 ------- Additional Comments From dtucker at zip.com.au 2004-09-11 23:23 ------- (From update of attachment 710)>- AC_TRY_RUN([ >+ AC_TRY_IFELSE([Correction: make that "AC_RUN_IFELSE". ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Sep-11 13:27 UTC
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From dtucker at zip.com.au 2004-09-11 23:27 -------
Patches #657 and #710 applied. Thanks to all.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.