Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


noreply at sourceforge

Nov 1, 2006, 2:47 PM

Post #1 of 13 (824 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 1, 2006, 2:49 PM

Post #2 of 13 (798 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 1, 2006, 3:31 PM

Post #3 of 13 (812 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 1, 2006, 9:40 PM

Post #4 of 13 (792 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 3, 2006, 3:56 AM

Post #5 of 13 (804 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 3, 2006, 3:25 PM

Post #6 of 13 (797 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 6, 2006, 1:23 AM

Post #7 of 13 (787 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 6, 2006, 9:51 AM

Post #8 of 13 (784 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-06 18:51

Message:
Logged In: YES
user_id=21627

The component isn't vital. It shouldn't be relevant for
building sunaudiodev whether an audio device is present in
the system, as this device isn't necessary for *building*
Python. Instead, presence of /usr/include/sys/audioio.h
is necessary. I'm puzzled that this file isn't there (it
is part of the core development environment, AFAIK); the
build process assumes that the header is present if the
system name is "sunos5".

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 19, 2006, 12:15 AM

Post #9 of 13 (762 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-19 09:15

Message:
Logged In: YES
user_id=21627
Originator: NO

Closing as "won't fix". There are no plans to implement
--disable-sunaudiodev --disable-tk options to configure.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-06 18:51

Message:
Logged In: YES
user_id=21627

The component isn't vital. It shouldn't be relevant for
building sunaudiodev whether an audio device is present in
the system, as this device isn't necessary for *building*
Python. Instead, presence of /usr/include/sys/audioio.h
is necessary. I'm puzzled that this file isn't there (it
is part of the core development environment, AFAIK); the
build process assumes that the header is present if the
system name is "sunos5".

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if
it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need
that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as
--enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to
exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 22, 2006, 3:50 AM

Post #10 of 13 (769 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
>Status: Open
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-22 12:50

Message:
Logged In: YES
user_id=1597584
Originator: YES

may i open it again?

there is a lot of builds on solaris without the core development
environment, so assuming it is there is erronous.

e.g. we build everything with standard gnu from e.g. sunfreeware.com.




----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-19 09:15

Message:
Logged In: YES
user_id=21627
Originator: NO

Closing as "won't fix". There are no plans to implement
--disable-sunaudiodev --disable-tk options to configure.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-06 18:51

Message:
Logged In: YES
user_id=21627

The component isn't vital. It shouldn't be relevant for
building sunaudiodev whether an audio device is present in
the system, as this device isn't necessary for *building*
Python. Instead, presence of /usr/include/sys/audioio.h
is necessary. I'm puzzled that this file isn't there (it
is part of the core development environment, AFAIK); the
build process assumes that the header is present if the
system name is "sunos5".

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if
it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need
that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as
--enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to
exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 22, 2006, 1:53 PM

Post #11 of 13 (773 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-22 22:53

Message:
Logged In: YES
user_id=21627
Originator: NO

You still haven't demonstrated a problem. Compiling Python produces some
error messages, sure, but does the resulting Python binary actually work
or not?

If it works, what is the problem? That you appreciate not to see error
messages does not make it a bug.

You cannot build Python *at all* with just the standard gnu from
sunfreeware.com. You do need system header files, and those are not
provided by GCC. So if you have header files, where did you get them from?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-22 12:50

Message:
Logged In: YES
user_id=1597584
Originator: YES

may i open it again?

there is a lot of builds on solaris without the core development
environment, so assuming it is there is erronous.

e.g. we build everything with standard gnu from e.g. sunfreeware.com.




----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-19 09:15

Message:
Logged In: YES
user_id=21627
Originator: NO

Closing as "won't fix". There are no plans to implement
--disable-sunaudiodev --disable-tk options to configure.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-06 18:51

Message:
Logged In: YES
user_id=21627

The component isn't vital. It shouldn't be relevant for
building sunaudiodev whether an audio device is present in
the system, as this device isn't necessary for *building*
Python. Instead, presence of /usr/include/sys/audioio.h
is necessary. I'm puzzled that this file isn't there (it
is part of the core development environment, AFAIK); the
build process assumes that the header is present if the
system name is "sunos5".

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if
it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need
that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as
--enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to
exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 23, 2006, 12:20 AM

Post #12 of 13 (746 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by thurnerrupert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-23 09:20

Message:
Logged In: YES
user_id=1597584
Originator: YES

which header files do you mean? the sun/audioio.h header file e.g. is not
there, but standard sun header files of course are there.

it is though possible to get a running python. but i'm unsure what works
and what not, so you could classify it as "cleanup" too, if you prefer.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-22 22:53

Message:
Logged In: YES
user_id=21627
Originator: NO

You still haven't demonstrated a problem. Compiling Python produces some
error messages, sure, but does the resulting Python binary actually work
or not?

If it works, what is the problem? That you appreciate not to see error
messages does not make it a bug.

You cannot build Python *at all* with just the standard gnu from
sunfreeware.com. You do need system header files, and those are not
provided by GCC. So if you have header files, where did you get them from?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-22 12:50

Message:
Logged In: YES
user_id=1597584
Originator: YES

may i open it again?

there is a lot of builds on solaris without the core development
environment, so assuming it is there is erronous.

e.g. we build everything with standard gnu from e.g. sunfreeware.com.




----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-19 09:15

Message:
Logged In: YES
user_id=21627
Originator: NO

Closing as "won't fix". There are no plans to implement
--disable-sunaudiodev --disable-tk options to configure.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-06 18:51

Message:
Logged In: YES
user_id=21627

The component isn't vital. It shouldn't be relevant for
building sunaudiodev whether an audio device is present in
the system, as this device isn't necessary for *building*
Python. Instead, presence of /usr/include/sys/audioio.h
is necessary. I'm puzzled that this file isn't there (it
is part of the core development environment, AFAIK); the
build process assumes that the header is present if the
system name is "sunos5".

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if
it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need
that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as
--enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to
exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


noreply at sourceforge

Nov 23, 2006, 9:52 AM

Post #13 of 13 (742 views)
Permalink
[ python-Bugs-1579029 ] --disable-sunaudiodev --disable-tk does not work [In reply to]

Bugs item #1579029, was opened at 2006-10-17 17:03
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: ThurnerRupert (thurnerrupert)
Assigned to: Martin v. Löwis (loewis)
Summary: --disable-sunaudiodev --disable-tk does not work

Initial Comment:
trying to disable sunaudiodev and tk does not really
work in solaris.

./configure --prefix=/usr/local/Python-2.5 --enable-
shared --disable-sunaudiodev --disable-tk

building 'sunaudiodev' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/sunaudiodev.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/sunaudiodev.o
/usr/local/Python-2.5/Modules/sunaudiodev.c:20:25:
sun/audioio.h: No such file or directory

building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -DWITH_APPINIT=1 -
I/usr/openwin/include -I. -I/usr/local/Python-
2.5/./Include -I/cs/ecms/2.0.0/include -I./Include -
I. -I/usr/local/include -I/usr/local/Python-
2.5/Include -I/usr/local/Python-2.5 -
c /usr/local/Python-2.5/Modules/_tkinter.c -o
build/temp.solaris-2.8-sun4u-2.5/usr/local/Python-
2.5/Modules/_tkinter.o
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:96:23: X11/Xlib.h: No such
file or directory
In file included from /usr/local/Python-
2.5/Modules/_tkinter.c:67:
/usr/local/include/tk.h:572: error: syntax error
before "Window"
/usr/local/include/tk.h:572: error: `Window' declared
as function returning a function
/usr/local/include/tk.h:575: error: syntax error
before "XEvent"
/usr/local/include/tk.h:584: error: syntax error
before "Tk_ClassCreateProc"
/usr/local/include/tk.h:592: error: syntax error
before '}' token
/usr/local/include/tk.h:678: error: syntax error
before "Bool"

is it possible to correct this or state clearly in
the configure options how to disable it correctly?

we also checked the Modules/Setup and both seems
commented.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-23 18:52

Message:
Logged In: YES
user_id=21627
Originator: NO

It's not sun/audioio.h that's missing, but (apparently)
/usr/include/sys/audioio.h; this
should have come from the SUNWaudh package (Audio Header Files).

If you want to find out what works and what not, you should run the test
suite.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-23 09:20

Message:
Logged In: YES
user_id=1597584
Originator: YES

which header files do you mean? the sun/audioio.h header file e.g. is not
there, but standard sun header files of course are there.

it is though possible to get a running python. but i'm unsure what works
and what not, so you could classify it as "cleanup" too, if you prefer.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-22 22:53

Message:
Logged In: YES
user_id=21627
Originator: NO

You still haven't demonstrated a problem. Compiling Python produces some
error messages, sure, but does the resulting Python binary actually work
or not?

If it works, what is the problem? That you appreciate not to see error
messages does not make it a bug.

You cannot build Python *at all* with just the standard gnu from
sunfreeware.com. You do need system header files, and those are not
provided by GCC. So if you have header files, where did you get them from?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-22 12:50

Message:
Logged In: YES
user_id=1597584
Originator: YES

may i open it again?

there is a lot of builds on solaris without the core development
environment, so assuming it is there is erronous.

e.g. we build everything with standard gnu from e.g. sunfreeware.com.




----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-19 09:15

Message:
Logged In: YES
user_id=21627
Originator: NO

Closing as "won't fix". There are no plans to implement
--disable-sunaudiodev --disable-tk options to configure.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-06 18:51

Message:
Logged In: YES
user_id=21627

The component isn't vital. It shouldn't be relevant for
building sunaudiodev whether an audio device is present in
the system, as this device isn't necessary for *building*
Python. Instead, presence of /usr/include/sys/audioio.h
is necessary. I'm puzzled that this file isn't there (it
is part of the core development environment, AFAIK); the
build process assumes that the header is present if the
system name is "sunos5".

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-06 10:23

Message:
Logged In: YES
user_id=1597584

i would appreciate if the build completes without errors. i won't care if
it attemts to build, but it should figure
out that the sunaudiodev is not there. to my knowledge servers do not need
that component. and python should not
need it too then.

do you see any reason why these components are vital for python?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 00:25

Message:
Logged In: YES
user_id=21627

It doesn't build the modules, as it doesn't succeed when
attempting to. Why do you want it not to attempt?

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-03 12:56

Message:
Logged In: YES
user_id=1597584

what do you suggest then to convince the build not to build it?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-02 06:40

Message:
Logged In: YES
user_id=21627

Re: enable/disable: What makes you think "sunaudiodev" and
"tk" are valid values for "FEATURE"? configure --help lists
the valid values for FEATURE, namely universalsdk,
framework, shared, profiling, toolbox-glue, ipv6, and unicode.

Re: there is a compilation error. Sure, an error is
reported. However, compilation should not fail because of
that. Instead, compilation should complete successfully, and
just end up not building these modules.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-02 00:31

Message:
Logged In: YES
user_id=1597584

and there is no X on the server.

----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:49

Message:
Logged In: YES
user_id=1597584

and what does that mean?

Optional Features:
--disable-FEATURE do not include FEATURE (same as
--enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]


----------------------------------------------------------------------

Comment By: ThurnerRupert (thurnerrupert)
Date: 2006-11-01 23:47

Message:
Logged In: YES
user_id=1597584

because there is a compilation error with both. sunaudio.h seems not to
exist on our
server, and tk gives other compilation errors.

and i have no idea why i would need these modules on our server.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 17:43

Message:
Logged In: YES
user_id=21627

I fail to see a bug here. What makes you think
--disable-sunaudiodev --disable-tk exist? ./configure --help
does not claim they do.

In fact, it is not possible to disable modules. Why do you
want that?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579029&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.