twisted / twisted

Event-driven networking engine written in Python.
https://twisted.org
Other
5.8k stars 1.19k forks source link

Twisted 1.0.7 build error on HP-UX #7509

Closed twisted-trac closed 21 years ago

twisted-trac commented 21 years ago
rptownsend's avatar rptownsend reported
Trac ID trac#251
Type defect
Created 2003-09-15 14:45:09Z

Attachments:

Searchable metadata ``` trac-id__251 251 type__defect defect reporter__rptownsend rptownsend priority__high high milestone__ branch__ branch_author__ status__closed closed resolution__fixed fixed component__ keywords__ time__1063637109000000 1063637109000000 changetime__1064348183000000 1064348183000000 version__ owner__ cc__exarkun cc__spiv cc__rptownsend ```
twisted-trac commented 14 years ago
Automation's avatar Automation removed owner
twisted-trac commented 21 years ago
rptownsend's avatar rptownsend commented
#!html
<pre>
OS = HP-UX11i
Python = 2.3
While running 'python setup.py install' I get:

cc -Ae -DNDEBUG +O2 -z +Onofltacc +ESlit +Oentrysched 
+Odataprefetch +Onolimit +DAportable +z -
I/opt/python/include/python2.3 -c conftest.c -o conftest.o
cpp: "conftest.c", line 3: error 4062: _DIRENT_HAVE_D_TYPE 
is not defined

</pre>
twisted-trac commented 21 years ago
itamarst's avatar @itamarst commented
#!html
<pre>
Looks like an issue with twisted.python.dir.

</pre>
twisted-trac commented 21 years ago
itamarst's avatar @itamarst commented
#!html
<pre>
This error is just printed, yes? That's ok, it's just
checking to C if it's possible to compile a certain C
extension that is used as an optimization if available. If
build stage *fails*, that's a problem, but if it's just
printing this then it's fine.

</pre>
twisted-trac commented 21 years ago
rptownsend's avatar rptownsend commented
#!html
<pre>
Yes, the message is just printed. Setup goes on to complete 
the installation.

</pre>
twisted-trac commented 21 years ago
spiv's avatar spiv commented
#!html
<pre>
rptownsend: Also, try CVS.  I believe the cross-platform
support for t.p.dir has improved recently.

</pre>
twisted-trac commented 21 years ago
itamarst's avatar @itamarst commented
#!html
<pre>
OK, since it's only printed, it's not a bug, merely messy
output, so I'm marking this closed. I added a little
informative message in setup.py to clarify this.

</pre>