473,573 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Issues compiling with large file support

Hello all,
I am having issues compiling Python with large file support. I tried
forcing the configure script to add it but then it bombs in the make
process. Any help will be appreciated.

Information:
Architecture:
PowerPc on AIX version 5

Compiler:
VisualAge C++ Professional / C for AIX Compiler, Version 6

Python version:
Python 2.4.1

Error Message:
cc_r -c -DNDEBUG -g -O2 -D_LARGEFILE64_S OURCE -D_FILE_OFFSET_B ITS=64
-I
.. -I./Include -DPy_BUILD_CORE -o Objects/fileobject.o
Objects/fileobject.c
"Objects/fileobject.c", line 382.2: 1506-205 (S) #error "Large file
support, but neither off_t nor fpos_t is large enough."
"Objects/fileobject.c", line 389.27: 1506-046 (S) Syntax error.
"Objects/fileobject.c", line 423.2: 1506-205 (S) #error "Large file
support, but no way to fseek."
"Objects/fileobject.c", line 431.8: 1506-166 (S) Definition of function
Py_off_t requires parentheses.
"Objects/fileobject.c", line 432.1: 1506-276 (S) Syntax error: possible
missing
'{'?"Objects/fileobject.c", line 446.2: 1506-205 (S) #error "Large file
support, but no way to ftell."
"Objects/fileobject.c", line 456.18: 1506-275 (S) Unexpected text
offset encountered.
"Objects/fileobject.c", line 456.9: 1506-045 (S) Undeclared identifier
Py_off_t.
"Objects/fileobject.c", line 468.9: 1506-045 (S) Undeclared identifier
offset.
"Objects/fileobject.c", line 476.48: 1506-099 (S) Unexpected argument.
"Objects/fileobject.c", line 494.18: 1506-275 (S) Unexpected text
newsize encountered.
"Objects/fileobject.c", line 494.9: 1506-045 (S) Undeclared identifier
Py_off_t.
"Objects/fileobject.c", line 496.18: 1506-275 (S) Unexpected text
initialpos encountered.
"Objects/fileobject.c", line 513.9: 1506-045 (S) Undeclared identifier
initialpos.
"Objects/fileobject.c", line 525.17: 1506-045 (S) Undeclared identifier
newsize.
"Objects/fileobject.c", line 586.52: 1506-099 (S) Unexpected argument.
"Objects/fileobject.c", line 604.18: 1506-275 (S) Unexpected text pos
encountered.
"Objects/fileobject.c", line 604.9: 1506-045 (S) Undeclared identifier
Py_off_t.
"Objects/fileobject.c", line 610.9: 1506-045 (S) Undeclared identifier
pos.
make: 1254-004 The error code from the last command is 1.

Stop.
More info:

checking MACHDEP... aix5
checking EXTRAPLATDIR...
checking for --without-gcc...
checking for --with-cxx=<compiler>. .. no
checking for c++... no
checking for g++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for gcc... cc_r
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc_r accepts -g... yes
checking for cc_r option to accept ANSI C... none needed
checking how to run the C preprocessor... cc_r -E
checking for egrep... grep -E
checking for AIX... yes
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERS ION).a
checking LINKCC... $(srcdir)/Modules/makexp_aix Modules/python.exp .
$(LIBRARY);
$(PURIFY) $(CC)
checking for --enable-shared... no
checking for --enable-profiling...
checking LDLIBRARY... libpython$(VERS ION).a
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... ./install-sh -c
checking for --with-pydebug... no
checking whether cc_r accepts -OPT:Olimit=0... no
checking whether cc_r accepts -Olimit 1500... no
checking whether pthreads are available without options... yes
checking for ANSI C header files... yes

Jul 21 '05 #1
0 1984

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

Similar topics

0
1772
by: Aliencat | last post by:
I'm having issues compiling php v4.2.2 on Redhat 9.0. The goal ultimately is to compile in mcrypt support, but that's a bit down the road from here. I've chased down the dependencies for the configure options below (I think), but it still won't configure. It appears to be choking on MySql (v3.23.54). The error I get is something like: ...
0
1679
by: Johnathan Doe | last post by:
I've been thinking about what the issues would be in compiling Python into native machine code, and since type information is important in Python, it seems possible that Python code can be compiled into native machine code (albeit with a lot of extra effort). For instance, type information is discovered when something is assigned to a...
0
1702
by: mmarkzon | last post by:
I have been struggling compiling linkchecker from http://linkchecker.sourceforge.net/. The last thing I get is "error: command 'gcc' failed with exit status 1" which is not very helpful. This is with Python 2.4.1 on Solaris 2.8. Can anyone help? Thank you. -> python setup.py build creating...
11
6570
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on where the job is running, the job runs sucessfully, PDF files got generated, everything is good. If I scheduled the job to run at the time that I am...
6
16083
by: Anthony Williams | last post by:
Hi all, Am I right in thinking that if I set Server.ScriptTimeout to, say, 600 that every request for an .ASPX page will wait up to 600 seconds before responding with a "Request Timed Out" exception? If I am right, then something screwy is going on with my server. Allow me to explain. I have a wee page that sends 30 emails out to...
0
9736
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile. I need it to be compiled with threads. Anyone have any wisdom on how best to do this? Here's a transcript of my latest attempt. It's long; you...
2
1941
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the contents of his/her game, that you would end up with a tiny executable and a huge datafile. We wanted to keep clear of this as disk accesses take a...
1
6307
by: Lars B | last post by:
Hey guys, I have written a C++ program that passes data from a file to an FPGA board and back again using software and DMA buffers. In my program I need to compare the size of a given file against a software buffer of size 3MB. This is needed so as to see which function to use to read from the file. As the files used range from very large...
3
1453
arunmib
by: arunmib | last post by:
Hi all, I have a two doubt....Will there be any issues in using standard C functions in CPP file and compiling it with CPP compiler. To make things clear I'll add an example, // File name : Test.cpp #include <iostream> #include <stdio.h> using namespace std;
0
7765
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...
0
8000
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. ...
0
8194
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...
0
6398
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5578
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...
0
5288
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3729
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3729
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1294
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.