473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Python 2.5 CVS broken for HP-UX platform?

mg
Hello,

While trying to compile Python 2.5 from the nighlty CVS image, it raises
the following errors on HP-UX. This disables me the use of HP-UX for
some projects:

Compilation flags:
export CC=aCC
export CFLAGS="-Ae +DD64"
export LDFLAGS="+DD64"
make clean
../configure --prefix=/usr/local/python_cvs --with-cxx=aCC
(...)
creating Makefile
aCC -c -DNDEBUG -O -I. -I./Include -DPy_BUILD_CORE -o
Modules/ccpython.o ./Modules/ccpython.cc
"/usr/include/sys/unistd.h", line 594: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline truncate(const char *a, off_t b) { return
__truncate64(a,b); }
^

"/usr/include/sys/unistd.h", line 595: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline prealloc(int a, off_t b) { return
__prealloc64(a,b); }
^

"/usr/include/sys/unistd.h", line 596: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline lockf(int a, int b, off_t c) { return
__lockf64(a,b,c); }
^

"/usr/include/sys/unistd.h", line 597: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline ftruncate(int a, off_t b) { return
__ftruncate64(a,b); }
^

"/usr/include/sys/stat.h", line 173: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline lstat __((const char *, struct stat *));
^

"./Include/pyport.h", line 612: error #2035: #error directive: "LONG_BIT
definition appears wrong for platform (bad gcc/glibc
config?)."
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
^

1 error detected in the compilation of "./Modules/ccpython.cc".
*** Error exit code 2

Stop.
aCC -c -DNDEBUG -O -I. -I./Include -DPy_BUILD_CORE -o
Modules/ccpython.o ./Modules/ccpython.cc
"/usr/include/sys/unistd.h", line 594: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline truncate(const char *a, off_t b) { return
__truncate64(a,b); }
^

"/usr/include/sys/unistd.h", line 595: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline prealloc(int a, off_t b) { return
__prealloc64(a,b); }
^

"/usr/include/sys/unistd.h", line 596: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline lockf(int a, int b, off_t c) { return
__lockf64(a,b,c); }
^

"/usr/include/sys/unistd.h", line 597: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline ftruncate(int a, off_t b) { return
__ftruncate64(a,b); }
^

"/usr/include/sys/stat.h", line 173: warning #2837-D: omission of
explicit
type is nonstandard ("int" assumed)
inline lstat __((const char *, struct stat *));
^

"./Include/pyport.h", line 612: error #2035: #error directive: "LONG_BIT
definition appears wrong for platform (bad gcc/glibc
config?)."
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
^

1 error detected in the compilation of "./Modules/ccpython.cc".
*** Error exit code 2

Stop.

Jul 19 '05 #1
1 2399
mg wrote:
While trying to compile Python 2.5 from the nighlty CVS image, it raises
the following errors on HP-UX. This disables me the use of HP-UX for
some projects:


Please submit patches to sf.net/projects/python.

Thanks,
Martin
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: hokieghal99 | last post by:
While trying to learn more about Python's standard modules, I noticed that there are *a lot* of Mac only modules... more so than Unix and Windows specific modules combined. Is there a reason for...
2
by: Michael Chermside | last post by:
A Evans writes: > I am by no means a programmer at this stage. > But as I learn more and more I see Python as the > Holy Grail of programming languages Then you have much to learn. Different...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 241 open ( -6) / 2622 closed (+26) / 2863 total (+20) Bugs : 764 open ( +6) / 4453 closed (+38) / 5217 total (+44) RFE : 150 open...
11
by: Matt Gerrans | last post by:
Looks like the installer for the Win32 extensions has changed from Wise to distutils, so now my automated silent installations don't work anymore. Anyone know if the distutils binary installer can...
17
by: seb.haase | last post by:
Hi, Is it true that that "Python 3000" is dead ? Honestly I think that e.g. changing 5/2 to be 2.5 (instead of 2) would just break to much code :-( On the otherhand I'm using Python as "Matlab...
52
by: Steve Holden | last post by:
I've been thinking (and blogging) about python evangelism since PyCon, as a result of which I created a squidoo lens: http://www.squidoo.com/pythonlogy Imagine my surprise at discovering that...
6
by: Pete | last post by:
I am using xpsp2, and I have two versions of python (2.2 and 2.2.3 - both are listed as 29.3 mb, and listed as rarely used, which means never to me) listed in add/remove programs in the control...
8
by: js | last post by:
HI guys, How do you write Perl's print a ... z, A ... Z, "\n"' in Python In Python?
29
by: Carl Banks | last post by:
Anyone with me here? (I know the deadline for P3 PEPs has passed; this is just talk.) Not many people are bit-fiddling these days. One of the main uses of bit fields is flags, but that's not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.