Opened 12 years ago

Closed 12 years ago

#36220 closed defect (fixed)

xraylib 2.16.0: configure fails with (default) python 3.2

Reported by: ci42 Owned by: Tom.Schoonjans@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: xraylib

Description

See the attached log file. It works fine when the default python is 2.7.

Attachments (6)

logfile.txt (20.7 KB) - added by ci42 12 years ago.
Portfile.diff (2.4 KB) - added by Tom.Schoonjans@… 12 years ago.
patch-configure.diff (2.9 KB) - added by Tom.Schoonjans@… 12 years ago.
patch-m4-m4-ax_python_devel.m4.diff (2.0 KB) - added by Tom.Schoonjans@… 12 years ago.
patch-python-Makefile.am.diff (575 bytes) - added by Tom.Schoonjans@… 12 years ago.
patch-python-Makefile.in.diff (879 bytes) - added by Tom.Schoonjans@… 12 years ago.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by ci42

Attachment: logfile.txt added

comment:1 Changed 12 years ago by Tom.Schoonjans@…

Thanks for the information.

I figured out the bug. i'll try and come up with a patch soon

Best,

Tom

comment:2 Changed 12 years ago by Tom.Schoonjans@…

The attached files should fix the configure problem with python 3.2 (and 3.1).

It also conforms to ryandesign's request in #36223

Changed 12 years ago by Tom.Schoonjans@…

Attachment: Portfile.diff added

Changed 12 years ago by Tom.Schoonjans@…

Attachment: patch-configure.diff added

Changed 12 years ago by Tom.Schoonjans@…

Changed 12 years ago by Tom.Schoonjans@…

Changed 12 years ago by Tom.Schoonjans@…

comment:3 Changed 12 years ago by ci42

Resolution: fixed
Status: newclosed

Committed in r97981 with the following change: only set python27 as default variant if no other python variant is chosen.

Note: See TracTickets for help on using tickets.