Thanks Senthil,

1.) Yes compiling and linking with gcc (32-bit) and acc (32-bit) has lesser 
errors, more modules built successfully compared to acc (64-bit). The main 
thing I discovered is +DD64 is not recognized as a valid flag in ld command 
(the linker). This command is automatically generated in Makefile. I have 
posted my question to bugs.python.org and the community there responded failure 
to build a module is not a bug and asked me to refer to other community.

2.) The reason I am sticking to acc is, I am also using tcl/tk. I have built 
tcl/tk with gcc however the tk (wish) crashes with a core dump file generated 
when gcc is used. Switching to acc, the tk can run without an issue. Also, I 
need Oracle plug-in in both python and tcl. Oracle only supports HP C Compiler 
stuffs and not gcc. All these resulted me to focus on acc to get all stuffs 
done.

3.) Yes I do see cType failed to build when gcc (32) and acc (32) is used. I 
didn't pursue with python bug community as I don't think I am using either 
module. What failed to build in 64-bit acc build really worried me. I don't 
think without those it is usable. ;p. 


(>>>> From make test of acc 32-build and gcc 32-bit build)

Failed to build these modules:
_ctypes            termios                  

4.) Let me try again with --enable-shared and revert. 


Thanks!



________________________________
From: Senthil Kumaran <sent...@uthcode.com>
To: Wah Meng Wong <wah_m...@yahoo.com>; Bangalore Python Users Group - India 
<bangpypers@python.org>
Sent: Sunday, September 18, 2011 6:23 PM
Subject: Re: [BangPypers] Python 2.7.1 build successful, however many modules 
failed on HP-UX 11.31 ia64 with aCC

On Sun, Sep 18, 2011 at 02:15:31AM -0700, Wah Meng Wong wrote:

> I am trying to build python 64-bit on HP Itanium platform with HP-UX
> Ansi C compiler. The python executable is successfully built however
> there are many errors generated when option +DD64 is passed in, many
> (more) modules failed to build (compared to 32-bit option is used).  

You mean to say that python is building properly with all those
modules properly with 32bit compiler and not in 64 bit?
If that is the case, then it surely looks like a bug. You may want to
file open a issue at bugs.python.org

> Appreciate any input on this issue when 64-bit option is passed into
> aCC that cause so many errors on my server. Thanks! 

Few pointers.

- Can you use gcc instead of aCC in your machine and see if it can
  build?
- I see at least one open bug with ctypes module not compiling with 64 bit
  HP-UX.
- Try --enable-shared  switch of configure and see if it helps.

If nothing, please do open a bug report and you could get some pointers
from people familiar with that platform.

-- 
Senthil
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to