473,787 Members | 2,931 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SIP won't compile on OSX 10.3

Hi! I'm trying to install SIP on my Mac with the eventual aim of
installing PyQt. The "python configure.py" stage works fine, but when
I type make this is what I see:
cc -c -pipe -Os -w -I. -o main.o main.c
cc -c -pipe -Os -w -I. -o transform.o transform.c
cc -c -pipe -Os -w -I. -o gencode.o gencode.c
cc -c -pipe -Os -w -I. -o export.o export.c
cc -c -pipe -Os -w -I. -o heap.o heap.c
cc -c -pipe -Os -w -I. -o parser.o parser.c
cc -c -pipe -Os -w -I. -o lexer.o lexer.c
c++ -headerpad_max_i nstall_names -o sip main.o transform.o gencode.o
export.o heap.o parser.o lexer.o
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o siplib.o siplib.c
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o qtlib.o qtlib.c
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o threads.o threads.c
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o objmap.o objmap.c
c++ -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o bool.o bool.cpp
c++ -headerpad_max_i nstall_names -bundle -F/Library/Frameworks -
framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o
ld: Undefined symbols:
_fstatvfs referenced from Python expected to be defined in libSystem
_lchown referenced from Python expected to be defined in libSystem
_statvfs referenced from Python expected to be defined in libSystem
make[1]: *** [sip.so] Error 1
make: *** [all] Error 2

I'm not an expert at linking, but it looks like the Python lib was
built incorrectly. Or is this a SIP problem? Thanks.

Nov 6 '07 #1
1 1320
On Nov 5, 10:41 pm, Benjamin <musiccomposit. ..@gmail.comwro te:
Hi! I'm trying to install SIP on my Mac with the eventual aim of
installing PyQt. The "python configure.py" stage works fine, but when
I type make this is what I see:
cc -c -pipe -Os -w -I. -o main.o main.c
cc -c -pipe -Os -w -I. -o transform.o transform.c
cc -c -pipe -Os -w -I. -o gencode.o gencode.c
cc -c -pipe -Os -w -I. -o export.o export.c
cc -c -pipe -Os -w -I. -o heap.o heap.c
cc -c -pipe -Os -w -I. -o parser.o parser.c
cc -c -pipe -Os -w -I. -o lexer.o lexer.c
c++ -headerpad_max_i nstall_names -o sip main.o transform.o gencode.o
export.o heap.o parser.o lexer.o
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o siplib.o siplib.c
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o qtlib.o qtlib.c
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o threads.o threads.c
cc -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o objmap.o objmap.c
c++ -c -pipe -fPIC -Os -w -I. -I/Library/Frameworks/Python.framewor k/
Versions/2.5/include/python2.5 -o bool.o bool.cpp
c++ -headerpad_max_i nstall_names -bundle -F/Library/Frameworks -
framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o
ld: Undefined symbols:
_fstatvfs referenced from Python expected to be defined in libSystem
_lchown referenced from Python expected to be defined in libSystem
_statvfs referenced from Python expected to be defined in libSystem
make[1]: *** [sip.so] Error 1
make: *** [all] Error 2

I'm not an expert at linking, but it looks like the Python lib was
built incorrectly. Or is this a SIP problem? Thanks.
Do a google search for _fstatvfs, _lchown, _statvfs. I don't use mac
but I'd guess your missing a needed library.

Nov 6 '07 #2

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

Similar topics

2
1955
by: Gary Redmond | last post by:
I am writing a program to store stuff to xml using the storeToXML method but I can;t get it to compile here it is; any ideas? import java.io.*; import java.util.*;
47
2623
by: Will Stuyvesant | last post by:
Hello all, So Zope still lives, yay. Well, I like that they use Python. <rant> What amazed me is they write that they "added types to the variables and hope that it will be added to the Python project too". Really. ROFL.
19
3786
by: Christopher | last post by:
I am getting a parse error from g++ pointing at my catch line and can't figure out whats wrong with this code: #include "BigPosInt.h" #include <iostream> #include <new> #include <assert.h> BigPosInt::BigPosInt(int init_max_digits) {
4
466
by: Vince | last post by:
I'm getting this message when I try and run a .net web app in the development system: CS0016: Could not write to output file 'c#:\windows nt\Microsoft..net framework\v1.1.4322\Temporary ASP.NET Files\ssrpttest\44d149b5\fdee4a07\c22wlbzl.dll' -- 'Access is denied. ' I just upgraded to visual studio .net 2003 and now none of my applications wil work!
3
1506
by: Dave C | last post by:
I've written the following code that won't compile, trimmed down to just the pertinent stuff: --- WindowClass.hxx ---------------------------------------------------- #include <set> class Window; class WindowClass { public:
4
2632
by: David Killian Woods | last post by:
I just installed VC++.NET and haven't had much luck. It just won't compile anything that isn't stored on a local hard drive. Local projects are fine (well, other than my stupid mistakes) and compile without a problem. Below is the error log generated from a wizard-created project -- I didn't add any code myself. It was created in a folder accessed from browsing through the network neighborhood, but I've also tried it using mapped...
10
2017
by: Martin Jørgensen | last post by:
Hi, I got this piece of code, but I won't compile: #include <iostream> using namespace std; //////////////////////////////////////////////////////////////// struct link //one element of list { int data; //data item
4
10501
by: Susan Rice | last post by:
I'm new to using CString. Why won't the following compile? I'm using Microsoft Visual C++ 6.0 Line 37 which it complains about is the function: 37 CString ConvertFile(char *szFileName) I tried throwing in a bunch of #includes but didn't help. Here's the compiler errors: Compiling...
2
1821
by: APA | last post by:
The problem is that there is no reference to the DLL anywhere in the solution. I have other developers running this identical solution with no problems but on my machine it won't compile if I don't have this DLL in my website's bin folder. I recently formatted my hard drive and re-installed XP Pro and it is still doing this, but only on my PC. This DLL is an OLD DLL that we used to use but was removed from the solution a year ago. Any...
6
1204
by: bc1891 | last post by:
#include <stdio.h> #include <stdlib.h> def RecursiveFact(n): if(n>1): return n*RecursiveFact(n-1) else: return 1 fact = RecursiveFact(31)
0
9655
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
9498
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
10172
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...
0
9964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
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
5398
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5535
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
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.