Ticket #41 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Configure script does not check for python headers

Reported by: jmtulloss Owned by: dsmith
Priority: minor Milestone:
Component: build system Version: 0.5.02
Keywords: Cc:

Description

The autoconf system does not die if you don't have the correct python headers. It needs the python headers, so it should probably check for them

Change History

Changed 5 years ago by dsmith

True - need to check for them, and compile without them, as Python is not required for any part of CWiid to function.

Changed 5 years ago by toots

So what about:

http://bugs.debian.org/434295

"Starting the latest wminput fails with the following error message:

ImportError?: No module named cwiid"

Changed 5 years ago by dsmith

Good question. Python is currently required, but it will be an optional dependency for 0.6.00 (to be released soon). However, wminput will be compiled differently if cwiid-python is installed - how does Debian handle this?

Changed 5 years ago by toots

hum...

The maintainer of the packages decides which option he wants for the binary package, so I will of course activate python support.

Changed 5 years ago by dsmith

In that case, cwiid-python will need to be a dependency of wminput.

The Gentoo ebuild will have a use flag.

Changed 5 years ago by toots

Yes, this is why the bug above is closed ;)

Keep the good work !

Changed 5 years ago by dsmith

Just committed r137, which adds a --with-python option to configure, allowing you to specify a python version, or pass --without-python to run without python support. Note that the default is to enable python if it is found. There is no error if it isn't found, unless it was explicitly enabled on the command line.

Changed 4 years ago by dsmith

  • status changed from new to closed
  • resolution set to fixed

been long enough, we'll call it fixed.

Note: See TracTickets for help on using tickets.