473,587 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Build issue on AIX 5.3 with python 2.4.2

I'm trying to build python 2.4.2 on AIX 5.3 with the IBM xlC compiler
as per the notes in the AIX Readme file. Basically my make fails with
the errors listed below.

I'm calling configure with:

../configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64"
--disable-ipv6 AR="ar -X64"

It looks like it's not resolving symbols in readline. I originally
tried the RPMS IBM supplies for GNU readline, then tried compiling GNU
readline 5.1 myself, same errors with either version of the libraries.

Anyone run into this with AIX and resolved it?

Kurt

building 'readline' extension
xlc_r -q64 -DNDEBUG -O -I. -I/home/ktelep/Python-2.4.2/./Include
-I/usr/local/include -I/home/ktelep/Python-2.4.2/Include
-I/home/ktelep/Python-2.4.2 -c
/home/ktelep/Python-2.4.2/Modules/readline.c -o
build/temp.aix-5.3-2.4/readline.o
"/home/ktelep/Python-2.4.2/Modules/readline.c", line 675.34: 1506-068
(W) Operation between types "char**" and "int" is not allowed.
../Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp
build/temp.aix-5.3-2.4/readline.o -L/usr/lib/termcap -L/usr/local/lib
-lreadline -lcurses -o build/lib.aix-5.3-2.4/readline.so
ld: 0711-317 ERROR: Undefined symbol: rl_instream
ld: 0711-317 ERROR: Undefined symbol: rl_outstream
ld: 0711-317 ERROR: Undefined symbol: .rl_prep_termin al
ld: 0711-317 ERROR: Undefined symbol: .history_get_hi story_state
ld: 0711-317 ERROR: Undefined symbol: .history_get
ld: 0711-317 ERROR: Undefined symbol: .add_history
ld: 0711-317 ERROR: Undefined symbol: rl_event_hook
ld: 0711-317 ERROR: Undefined symbol: .readline
ld: 0711-317 ERROR: Undefined symbol: .using_history
ld: 0711-317 ERROR: Undefined symbol: rl_readline_nam e
ld: 0711-317 ERROR: Undefined symbol: rl_insert
ld: 0711-317 ERROR: Undefined symbol: .rl_bind_key
ld: 0711-317 ERROR: Undefined symbol: rl_complete
ld: 0711-317 ERROR: Undefined symbol: emacs_meta_keym ap
ld: 0711-317 ERROR: Undefined symbol: .rl_bind_key_in _map
ld: 0711-317 ERROR: Undefined symbol: rl_startup_hook
ld: 0711-317 ERROR: Undefined symbol: rl_attempted_co mpletion_functi on
ld: 0711-317 ERROR: Undefined symbol:
rl_completer_wo rd_break_charac ters
ld: 0711-317 ERROR: Undefined symbol: rl_completion_a ppend_character
ld: 0711-317 ERROR: Undefined symbol: .rl_initialize
ld: 0711-317 ERROR: Undefined symbol: .completion_mat ches
ld: 0711-317 ERROR: Undefined symbol: rl_attempted_co mpletion_over
ld: 0711-317 ERROR: Undefined symbol: .rl_redisplay
ld: 0711-317 ERROR: Undefined symbol: .rl_insert_text
ld: 0711-317 ERROR: Undefined symbol: .clear_history
ld: 0711-317 ERROR: Undefined symbol: rl_line_buffer
ld: 0711-317 ERROR: Undefined symbol: .replace_histor y_entry
ld: 0711-317 ERROR: Undefined symbol: .remove_history
ld: 0711-317 ERROR: Undefined symbol: .write_history
ld: 0711-317 ERROR: Undefined symbol: .history_trunca te_file
ld: 0711-317 ERROR: Undefined symbol: .read_history
ld: 0711-317 ERROR: Undefined symbol: .rl_read_init_f ile
ld: 0711-317 ERROR: Undefined symbol: .rl_parse_and_b ind
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
*** WARNING: renaming "readline" since importing it failed: Could not
load module build/lib.aix-5.3-2.4.
System error: No such file or directory
error: No such file or directory
make: The error code from the last command is 1.
Stop.

Mar 13 '06 #1
0 1750

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

Similar topics

2
4366
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two files containing some templates: adjacency_list.hpp and mem_fn.hpp can not compile. Does anyone have any solutions?
14
1881
by: Giovanni Bajo | last post by:
Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here: http://mail.python.org/pipermail/python-list/2004-July/229096.html I don't think I fully understand the reason why additional .pyd modules were built into the .dll. OTOH, this does not help anyone, since: - Normal users don't care about the size of the pythonXX.dll, or the number of
10
1967
by: magneticlemur | last post by:
Hi, Does anyone know of an available downloader for an amd64 bit build of (a modern) python? I've done my due diligence search of python docs and mailing archives, and I'm somewhat mystified by the lack of info on this topic. I'm embedding python in a native 64 bit application so python32 using WOW64
13
6483
by: 7stud | last post by:
test1.py: -------------------- import shelve s = shelve.open("/Users/me/2testing/dir1/aaa.txt") s = "red" s.close() --------output:------ $ python test1.py
12
1673
by: chardish | last post by:
Hello, I'm trying to build an executable with py2exe, but unfortunately the version I have is 0.6.6, which has a rather annoying bug that doesn't let you rename the executable file if you bundle everything in a single executable. It seems fairly unacceptable to tell our customers that they can't rename a file we send them. I hear this problem is fixed in 0.6.8, but unfortunately there's no standalone installer for py2exe 0.6.8 - the...
0
2436
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb _sqlite3 _tkinter gdbm linuxaudiodev spwd sunaudiodev
0
1932
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see math, mmap and readline modules, that worked fine before, cannot be built anymore.
0
1805
by: M.-A. Lemburg | last post by:
On 2008-10-25 20:19, Akira Kitada wrote: Thanks. The errors you are getting appear to be related to either some missing header files or a missing symbol definition to enable these - looking at the ticket, you seem to have resolved all this already :-)
15
14733
by: Kurda Yon | last post by:
Hi, I try to "build" and "install" pysqlite? After I type "python setup.py build" I get a lot of error messages? The first error is "src/ connection.h:33:21: error: sqlite3.h: No such file or directory". So, I assume that the absence of the "sqlite3.h" is the origin of the problem. I found on the web, that this file should be either in "/usr/local/ include" or in "/usr/local/lib". I check this directories and I really
0
7927
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7857
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8220
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8352
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7981
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
5723
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1457
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1194
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.