Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#4892 closed defect (fixed)

configure executes files in /tmp (r32625-r49320, archl)

Reported by: SF/sebastiannovak Owned by: wjp
Priority: normal Component: Port: Linux
Version: Keywords:
Cc: Game:

Description

configure uses as temporary files files in /tmp (since rev. r32625). This is non-standard and configure fails with no c++ compiler found if /tmp is mounted as noexec. The attached patch changes the behaviour back to creating tmp files in the build directory. The attached patch works for me on archlinux-2.6.33 and /tmp mounted as noexec. However I cannot know whether it might break something on other architectures.

Ticket imported from: #3009167. Ticket imported from: bugs/4892.

Attachments (1)

configure.patch (450 bytes ) - added by SF/sebastiannovak 14 years ago.

Download all attachments as: .zip

Change History (5)

by SF/sebastiannovak, 14 years ago

Attachment: configure.patch added

comment:1 by lordhoto, 14 years ago

I just wanted to mention that autoconf generated configure scripts do use the build dir for temporary files too. At least the configure script from DOSBox does that and that is generated via autoconf.

comment:2 by wjp, 14 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

comment:3 by wjp, 14 years ago

Fixed in r52659.

comment:4 by digitall, 6 years ago

Component: --Unset--Port: Linux
Note: See TracTickets for help on using tickets.